analyzing-release-readiness
БесплатноБез исполняемых скриптовНе проверенTrigger a pre-merge code change risk analysis on a GitHub PR, GitLab MR, or local branch. Use when the user wants to analyze code changes for risk…
от aws★ 3 696 звёзд на GitHubОб этом скилле
Code Change Risk Analysis
AgentSpace routing (SigV4 only): If
list_agent_spacesis available in your tool list and the multi-space orchestration skill has NOT been invoked yet this session, invoke it first to determine whichagent_space_idto use. Then passagent_space_idon all tool calls below. For bearer token auth this is unnecessary — the token is already scoped to one space.
Run a code change risk analysis via the AWS DevOps Agent. Analyzes a code change for risk, correctness, and potential rollback issues. Returns a structured report with actionable findings.
Rules:
- If a PR/MR URL is provided: Extract ALL fields from the URL. Do NOT inspect the local workspace or git state.
- NEVER use
ghCLI,glabCLI, or any external tool to fetch PR/MR details. All required fields (repository, prNumber/mergeRequestIid, hostname) MUST be parsed directly from the URL or user input. The DevOps Agent fetches the content itself — you only need to pass identifiers. - Only use the local workspace flows when the user references a repository or package without a PR/MR link.
Gathering execution parameters
Infer everything automatically from the user's request — do not ask for parameters that can be derived.
Input source decision tree:
Has the user provided a pull request/merge request link or ID?
├── Yes: github.com PR URL → use "GitHub PR" flow below
├── Yes: gitlab.com MR URL → use "GitLab MR" flow below
└── No link provided — repo name only → use "Local GitHub/GitLab repo" flow below
GitHub PR (github.com URL or PR reference)
- Parse the input to extract fields — do NOT attempt a web fetch unless fields cannot be determined from the input.
repository(required):owner/repofrom the PR URL- At least one of the following is required:
headSha(commit SHA),headBranch(branch name),prNumber(PR number as a string, e.g."8"not8) hostname: Extract from the URL (e.g.,github.comor a self-hosted hostname)- Pass these fields to
create_code_change_risk_analysisundercontent.githubPrContentas an array of objects (even for a single PR).
Example:
{
"content": {
"githubPrContent": [
{
"repository": "owner/repo",
"prNumber": "8",
"hostname": "github.com"
}
]
}
}
Critical format rules:
githubPrContentMUST be an array (not a single object).prNumberMUST be a string (not an integer).
GitLab MR (gitlab.com URL)
- Parse the input to extract fields — do NOT attempt a web fetch unless fields cannot be determined from the input.
repository(required):owner/repofrom the MR URL- At least one of the following is required:
headSha(commit SHA),headBranch(branch name),mergeRequestIid(MR number as a string, e.g."1"not1) hostname: Extract from the URL (e.g.,gitlab.comor a self-hosted hostname)- Pass these fields to
create_code_change_risk_analysisundercontent.gitlabMrContentas an array of objects (even for a single MR).
Example:
{
"content": {
"gitlabMrContent": [
{
"repository": "namespace/repo",
"mergeRequestIid": "1",
"hostname": "gitlab.com"
}
]
}
}
Critical format rules:
gitlabMrContentMUST be an array (not a single object).mergeRequestIidMUST be a string (not an integer). Violating either causes immediate task failure with no journal records.
Local GitHub/GitLab repo (no PR/MR URL provided — local workspace ONLY)
MANDATORY: When the user references a repository or branch without a PR/MR link, you MUST execute every step below in order. Do NOT shortcut by grabbing the remote URL and SHA directly — the review agent needs a pushed branch to read from. Skipping the push step will cause the analysis to fail or produce incomplete results.
Navigate to the repository directory:
cdto the repo root (e.g., the clone directory). Ask the user if needed.Determine the base branch: Use
mainunless the user specifies a different branch. Verify the remote tracking branch exists:BASE_BRANCH="main" if ! git show-ref --verify --quiet refs/remotes/origin/$BASE_BRANCH; then git fetch origin $BASE_BRANCH fiIf the fetch fails (e.g., "couldn't find remote ref"), ask the user to specify the base branch and stop.
Check for local changes: Run
git status --shortandgit rev-list --count origin/$BASE_BRANCH..HEADto determine the state and communicate accordingly:Clean AND not ahead: Inform the user there's nothing new to analyze and stop.
Has uncommitted changes (with or without unpushed commits):
- If there are one or more unpushed commits (rev-list count >= 1), tell the user:
"You have uncommitted changes and N unpushed commits. I'll commit your uncommitted changes on top, then push all N+1
- If there are one or more unpushed commits (rev-list count >= 1), tell the user:
Установить analyzing-release-readiness в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл analyzing-release-readiness?
Trigger a pre-merge code change risk analysis on a GitHub PR, GitLab MR, or local branch. Use when the user wants to analyze code changes for risk, correctness, and potential rollback issues before merging. Formerly called a release readiness review. Trigger words include code change risk analysis, CCRA, release readiness, code review, change review, analyze PR, analyze MR, review PR, risk analysis, pre-merge, safe to ship, ready to merge, ready to commit, any risks, before merging, validate changes, release management.
Как установить скилл analyzing-release-readiness?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analyzing-release-readiness запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic