analyzing-release-readiness
Skill2.8k starsChanged 6 months agoApache-2.0View on GitHub
Trigger a pre-merge release readiness review 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. Trigger words include release readiness, 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.
- Commits and pushes
Trending
Less talk lately.about the whole repository
Who's talking about aws/agent-toolkit-for-aws
- A Hacker News story“Agent Toolkit for AWS”Hacker News · Jun 8, 2026 · 5 points
- @yug1224.com“AIエージェントがAWS環境の構築や運用を効率よく行うための公式ツールキットらしい ClaudeやCursorなどのエージェントに導入して開発を自動化するのが楽しみ yug1224 starred …”Bluesky · Jun 27, 2026 · 2 likes
- @librecanada.bsky.social“GitHub - Webpage "GitHub - aws/agent-toolkit-for-aws: Official, AWS-supported MCP servers, skills, and …”Bluesky · May 10, 2026 · 2 likes
- @yug1224.com“AIエージェントにAWSの操作や開発をサポートさせるためのツールキットらしい 実務でAIを活用してインフラ構築を効率化するのに使えそう yug1224 starred aws/agent-toolkit-for-aws…”Bluesky · Jun 27, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-03 → 0-unstable-2026-10-05”GitHub · Oct 5, 2026
The biggest 5 of 44 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 44
Talked about on GitHub, Bluesky and Hacker News (44 times).
On GitHub · 39
- Oct 5, 2026agent-skills.github.aws.agent-toolkit-for-aws: 0-unstable-2026-10-03 → 0-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 4, 2026codex-plugins.github.aws.agent-toolkit-for-aws: init at 0-unstable-2026-10-03 — sudosubin/agents.nix0 reactions
- Oct 4, 2026codex-marketplaces.github.aws.agent-toolkit-for-aws: init at 0-unstable-2026-10-03 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.aws.agent-toolkit-for-aws: init at 0-unstable-2026-10-03 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.aws.agent-toolkit-for-aws: init at 0-unstable-2026-10-03 — sudosubin/agents.nix0 reactions
34 more on GitHub
- Oct 3, 2026agent-skills.github.aws.agent-toolkit-for-aws: init at 0-unstable-2026-10-03 — sudosubin/agents.nix0 reactions
- Oct 3, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Oct 1, 2026docs(aws): update EFS performance guidance — mouadja02/skills0 reactions
- Sep 30, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 28, 2026aws-skills: upstream update — robomotionio/robomotion-skills0 reactions
- Sep 24, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 23, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026Agent toolkit for AWS — freeflow-community/skill-explorer0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 19, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions · 1 comment
- Sep 8, 2026aws-core: marketplace pins agent-toolkit-for-aws to a pre-fix commit — asm-exec resolves no secrets (fixed upstream, PR #296) — anthropics/claude-plugins-official0 reactions
- Sep 8, 2026feat(telemetry): hook-driven migration telemetry emitter with on-disk attribution — awslabs/startups0 reactions · 1 comment
- Sep 3, 2026(aws-api-mcp-server): MIGRATION.md lists aws___call_aws as a live tool, AWS removed it on 2026-08-31 — awslabs/mcp0 reactions
- Aug 25, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 21, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 18, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 14, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 11, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 7, 2026[bot] Generate Manifests — sator-imaging/suggest-skills0 reactions
- Aug 7, 2026Skills 需补充 references 参考文档(对标 AWS agent-toolkit) — huaweicloud-mate/huaweicloud-devkit0 reactions
- Aug 4, 2026fix: discover skills nested under two categories — vercel-labs/skills0 reactions
- Aug 4, 2026Expand development environment sections — aws/aws-durable-execution-docs0 reactions · 1 comment
- Aug 4, 2026Schedule Batch: Media Host port (JPG convert, S3 upload/delete) with fake + live adapter — SandroBlunt/OrganicGrowthLegacy0 reactions
- Aug 3, 2026add agent skill for using this package — correspondMerchant/LAGO-R-Package0 reactions
- Jul 31, 2026[docs]: Remove Duplicated Kiro Power Content — aws/aws-durable-execution-docs0 reactions
- Jul 25, 2026Install and configure APM tool — scalasm/strands-agents0 reactions
- Jul 7, 2026feat: add Claude Platform on AWS migration skill (.claude/skills/) — aws-samples/anthropic-on-aws0 reactions · 5 comments
- Jul 6, 2026Add weekly AWS resources - 2026-07-06 — sebastianmarines/awesome-aws0 reactions
- Jun 26, 2026agent-toolkit-for-aws: AWS 환경을 위한 MCP 서버 및 도구 모음 — roomedia/ax-trend0 reactions
- Jun 26, 2026Add aws/agent-toolkit-for-aws to Awesome Open Source AI — alvinreal/awesome-opensource-ai0 reactions
- Jun 23, 2026Sandbox backend: AWS Lambda microVMs (Firecracker) — sseshachala/conductai0 reactions
- Jun 17, 2026Agent skills — ryandam9/Explorer0 reactions
- May 14, 2026[Bug]: Cannot install skill using the `npx skills add` command — vercel-labs/skills0 reactions
On Bluesky · 4
- Jun 27, 2026AIエージェントがAWS環境の構築や運用を効率よく行うための公式ツールキットらしい ClaudeやCursorなどのエージェントに導入して開発を自動化するのが楽しみ yug1224 starred aws/agent-toolkit-for-aws… — @yug1224.com2 likes and reposts · 1 reply
- May 10, 2026GitHub - Webpage "GitHub - aws/agent-toolkit-for-aws: Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on… — @librecanada.bsky.social2 likes and reposts
- Jun 27, 2026AIエージェントにAWSの操作や開発をサポートさせるためのツールキットらしい 実務でAIを活用してインフラ構築を効率化するのに使えそう yug1224 starred aws/agent-toolkit-for-aws… — @yug1224.com1 likes and repost
- May 8, 2026aws/agent-toolkit-for-aws: Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS #devopsish — @chrisshort.net0 likes and reposts · 1 reply
On Hacker News · 1
- Jun 8, 2026Agent Toolkit for AWS5 points
In this repository185 other files it gives its agents.
- chatting-with-aws-devops-agentSkill
- coordinating-multi-space-devops-agentSkill
- diff-scanning-with-aws-security-agentSkill
- investigating-incidents-with-aws-devops-agentSkill
- pentesting-with-aws-security-agentSkill
- remediating-with-aws-security-agentSkill
- running-release-testsSkill
- scanning-with-aws-security-agentSkill
- setup-devops-agentSkill
- setup-security-agentSkill
- setupSkill
- threat-modeling-with-aws-security-agentSkill
- agents-buildSkill
- agents-connectSkill
- agents-debugSkill
- agents-deploySkill
- agents-get-startedSkill
- agents-hardenSkill
- agents-optimizeSkill
- agents-paySkill
- agents-paySkill
- amazon-bedrockSkill
- aws-ai-mlSkill
- aws-authSkill
- aws-billing-and-cost-managementSkill
- aws-blocksSkill
- aws-cdkSkill
- aws-cloudformationSkill
- aws-computeSkill
- aws-containersSkill
- aws-databaseSkill
- aws-deploymentSkill
- aws-iamSkill
- aws-messaging-and-streamingSkill
- aws-networkingSkill
- aws-observabilitySkill
- aws-sdk-js-v3-usageSkill
- aws-sdk-python-usageSkill
- aws-sdk-swift-usageSkill
- aws-secrets-managerSkill
- aws-securitySkill
- aws-serverlessSkill
- aws-storageSkill
- aws-well-architected-reviewSkill
- launch-with-awsSkill
- signing-in-to-awsSkill
- amazon-opensearch-serviceSkill
- authoring-mwaa-workflowSkill
- connecting-to-data-sourceSkill
- creating-data-lake-tableSkill
- debugging-mwaa-workflowSkill
- exploring-data-catalogSkill
- finding-data-lake-assetsSkill
- ingesting-into-data-lakeSkill
- querying-data-lakeSkill
- redshift-guideSkill
- storing-and-querying-vectorsSkill
- testing-mwaa-workflowSkill
- upgrading-mwaa-environmentsSkill
- agent-advisorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
43 rules. About 0 are common, 22 are distinctive, and 21 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
21
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Run a release readiness review via the AWS DevOps Agent.
- Distinctive: line 19
If a PR/MR URL is provided: Extract ALL fields from the URL.
- Distinctive: line 21
Only: use the local workspace flows when the user references a repository or package without a PR/MR link.
- Distinctive: line 99
Determine the base branch: Use main unless the user specifies a different branch.
- Distinctive: line 108
If the fetch fails (e.g., "couldn't find remote ref"), ask the user to specify the base branch and stop.
- Very specific: line 109
Check for local changes: Run git status --short and git rev-list --count origin/$BASE_BRANCH..HEAD to determine the state and communicate …
- Distinctive: line 114
If there are one or more unpushed commits (rev-list count >= 1), tell the user:
- Distinctive: line 116
If there are no other unpushed commits (rev-list count = 0), tell the user:
- Distinctive: line 118
Do NOT proceed until the user approves: If they decline, stop.
- Distinctive: line 121
If ahead by more than 1 commit, tell the user:
- Distinctive: line 123
If ahead by exactly 1 commit, tell the user:
- Distinctive: line 147
Before staging, check for sensitive files:
- Distinctive: line 153
If sensitive files are detected, warn the user and ask for confirmation before proceeding.
- Distinctive: line 167
If the user already approved the push in step 3, proceed directly.
- Distinctive: line 169
Do NOT push until the user approves: If they decline, abort and skip to step 11.
- Very specific: line 177
Determine the repository identifier and hostname: Run git remote get-url origin | sed 's|://[^@]*@|://|' to extract the owner/repo and …
- Distinctive: line 194
If step 4 was executed (uncommitted changes were stashed), also run:
- Distinctive: line 200
Important: Do NOT create a PR/MR — only push the branch.
- Very specific: line 220
If the user says "yes" / "include testing" / "full analysis" / "run tests" → use skip_automated_testing=false
- Very specific: line 221
If the user says "no" / "static only" / "skip testing" / "quick" / declines → use skip_automated_testing=true
- Distinctive: line 222
If the response is ambiguous (e.g., "go ahead", "sure", "proceed") → ask the user to clarify which option they prefer.
- Very specific: line 242
Call aws_devops_agent__get_task(task_id=TASK_ID) every 30 seconds until the status transitions to IN_PROGRESS or a terminal state …
- Very specific: line 248
Call aws_devops_agent__list_journal_records(execution_id=EXEC_ID, order="ASC") to fetch new findings.
- Very specific: line 250
Use next_token from the response to fetch only new records on subsequent polls.
- Very specific: line 252
Check aws_devops_agent__get_task(task_id=TASK_ID) periodically — stop when terminal status.
- Very specific: line 259
Call aws_devops_agent__get_release_readiness_report(execution_id=EXEC_ID) to retrieve the full report.
- Distinctive: line 260
Write the report contents to a markdown file:
- Distinctive: line 267
Auto-fix flow (MANDATORY): After saving the report, you MUST attempt to generate and present fixes for all actionable risks — this is the …
- Very specific: line 269
Run ls to list available directories in the workspace.
- Very specific: line 271
If a single match is found, confirm with the user: "I found <match> — is this the correct local copy of <namespace/repo>?"
- Distinctive: line 272
If multiple matches are found, ask the user which one is correct.
- Very specific: line 273
If no obvious match exists, ask the user: "I couldn't find a local directory matching <repo-name>.
- Very specific: line 275
Verify branch: Run git -C <repo-directory> branch --show-current to confirm you're on the expected branch.
- Very specific: line 289
Before pushing, verify branch again: Run git branch --show-current and confirm it shows feat/release-readiness-fix*.
- Distinctive: line 297
If the report finds no risks or issues: Inform the user the analysis completed with no actionable findings.
- Very specific: line 298
If FAILED or TIMED_OUT: Present the error information and suggest next steps.
- Very specific: line 299
If CANCELED: Inform the user the job was canceled and no report is available.
- Very specific: line 309
If FAILED or TIMED_OUT — stop and present the error.
- Very specific: line 310
If job does not reach IN_PROGRESS within 5 minutes — cancel with cancel_release_readiness_review.
- Very specific: line 311
If throttled (429 or ThrottlingException) — wait 30 seconds, retry up to 3 times.
- Distinctive: line 312
If the error does not match any known pattern above, present the raw error output to the user.
- Very specific: line 316
If the aws-devops-agent remote server is unavailable, use the AWS CLI directly:
- Very specific: line 344
Default is "skipAutomatedTesting": true (static only).
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Release Readiness Review
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 release readiness review 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 belowGitHub 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_release_readiness_reviewundercontent.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_release_readiness_reviewundercontent.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 commits to a new branch for analysis. All changes will appear as a single diff against the base branch. Shall I proceed?"
- If there are no other unpushed commits (rev-list count = 0), tell the user:
"I'll commit your uncommitted changes and push them to a new branch for release readiness review. Shall I proceed?"
- Do NOT proceed until the user approves. If they decline, stop.
- If there are one or more unpushed commits (rev-list count >= 1), tell the user:
- Clean but ahead of remote (rev-list count > 0, no uncommitted changes):
- If ahead by more than 1 commit, tell the user:
"You have N unpushed commits. I'll push all of them to a new branch for analysis. All changes will appear as a single diff against the base branch. Shall I proceed?"
- If ahead by exactly 1 commit, tell the user:
"I'll push your latest commit to a new branch for release readiness review. Shall I proceed?"
- Do NOT proceed until the user approves. If they decline, stop.
- If ahead by more than 1 commit, tell the user:
Stash uncommitted changes (skip this step if working directory is clean):
git stash push --include-untracked -m "release-analysis: preserve working changes"Create review branch (do this BEFORE committing so the snapshot commit only lives on the disposable branch):
ORIGINAL_BRANCH=$(git rev-parse --abbrev-ref HEAD) BRANCH_NAME="feat/release-readiness-review" git checkout -b $BRANCH_NAME 2>/dev/null || { BRANCH_NAME="feat/release-readiness-review-$(date +%Y%m%d-%H%M%S)"; git checkout -b $BRANCH_NAME; }Apply stashed changes and commit on the review branch (skip this step if working directory was clean — go straight to step 7):
git stash applyBefore staging, check for sensitive files:
git status --short | grep -iE '\.(env|pem|key|p12|pfx|credentials|secret)'If sensitive files are detected, warn the user and ask for confirmation before proceeding. If the user declines, abort:
git checkout $ORIGINAL_BRANCH && git branch -D $BRANCH_NAME && git stash dropOnce confirmed (or no sensitive files found):
git add -A git commit -m "chore: snapshot for release readiness review"Push all unpushed commits (requires prior user approval): If the user already approved the push in step 3, proceed directly. Otherwise (e.g., the flow reached here without an explicit approval prompt), confirm before pushing:
"I'm about to push branch
$BRANCH_NAMEtoorigin. This is a prerequisite step, can I proceed?" Do NOT push until the user approves. If they decline, abort and skip to step 11.Once approved (or if already approved in step 3):
git push -u origin HEAD- Determine the repository identifier and hostname: Run
git remote get-url origin | sed 's|://[^@]*@|://|'to extract theowner/repoand hostname.- GitHub URLs (github.com or self-hosted) → use
githubPrContent, hostname from URL - GitLab URLs (gitlab.com or self-hosted) → use
gitlabMrContent, hostname from URL
- GitHub URLs (github.com or self-hosted) → use
- Build the content: Set
headBranchto$BRANCH_NAME,repositoryto the extractedowner/repo, andhostnameto the value from step 8. Wrap the object in an array:- GitHub:
{"githubPrContent": [{"repository": "owner/repo", "headBranch": "feat/release-readiness-review", "hostname": "github.com"}]} - GitLab:
{"gitlabMrContent": [{"repository": "namespace/repo", "headBranch": "feat/release-readiness-review", "hostname": "gitlab.com"}]}
- GitHub:
- Inform the user: Tell them which branch was created and pushed, then proceed with the core workflow below.
After analysis completes: Clean up and restore working state:
git checkout $ORIGINAL_BRANCH git push origin --delete $BRANCH_NAME 2>/dev/null || true git branch -D $BRANCH_NAME 2>/dev/null || trueIf step 4 was executed (uncommitted changes were stashed), also run:
git stash pop
Important: Do NOT create a PR/MR — only push the branch. The release readiness review agent will read the branch directly.
Core workflow
STRICT SEQUENCING: Steps below are numbered. You MUST complete each step before moving to the next. In particular, step 1 (automated testing prompt) MUST NOT happen until the entire "Gathering execution parameters" flow above is fully complete — all git operations done, branch pushed (if local flow), content object built, and user informed of the branch. Only THEN proceed to step 1.
1. Determine skip_automated_testing (ask ONLY after content is ready)
The skip_automated_testing parameter controls whether the agent runs automated testing (automated verification tests) or only static analysis.
| Value | Behavior |
true | Skip automated testing, run static analysis only (fast — code review, risk assessment, dependency checks) |
false | Full analysis including automated testing (longer — spins up a testing environment, builds code, runs automated verification tests) |
Present the choice and wait for a response:
"Would you like a quick static analysis (code review, risk assessment, dependency checks), or a full analysis that also includes automated testing? Automated testing spins up a testing environment, builds your code, and runs automated verification tests — it's more thorough but takes longer."
Do NOT proceed until the user answers.
- If the user says "yes" / "include testing" / "full analysis" / "run tests" → use
skip_automated_testing=false - If the user says "no" / "static only" / "skip testing" / "quick" / declines → use
skip_automated_testing=true - If the response is ambiguous (e.g., "go ahead", "sure", "proceed") → ask the user to clarify which option they prefer.
2. Check tool availability
Verify that the following tools are available: aws_devops_agent__create_release_readiness_review, aws_devops_agent__get_task, aws_devops_agent__list_journal_records, aws_devops_agent__get_release_readiness_report. These tools are NOT deferred/lazy-loaded — if they do not appear in your tool list, they are unavailable. Do NOT search for them via ToolSearch. If any are missing, skip the remaining steps in this section and use the "Fallback (aws-mcp)" path below instead. Tell the user: "Remote server unavailable — using direct aws-mcp server fallback."
3. Start the Job
aws_devops_agent__create_release_readiness_review(
content={...},
skip_automated_testing=true/false
)
→ {"taskId": "...", "executionId": "...", "status": "started"}Record the taskId and executionId from the response.
4. Poll for Status
Call aws_devops_agent__get_task(task_id=TASK_ID) every 30 seconds until the status transitions to IN_PROGRESS or a terminal state (COMPLETED, FAILED, CANCELED, TIMED_OUT).
5. Monitor Until Completion
Once IN_PROGRESS, poll for progress in a loop:
- Call
aws_devops_agent__list_journal_records(execution_id=EXEC_ID, order="ASC")to fetch new findings. - Present each record to the user with a friendly progress update.
- Use
next_tokenfrom the response to fetch only new records on subsequent polls. - Wait 15 seconds between each poll iteration.
- Check
aws_devops_agent__get_task(task_id=TASK_ID)periodically — stop when terminal status.
6. Present Results
Once the job reaches a terminal status:
- If
COMPLETED:- Call
aws_devops_agent__get_release_readiness_report(execution_id=EXEC_ID)to retrieve the full report. Write the report contents to a markdown file:
release-readiness-review-<YYYY-MM-DD-HHmmss>.md- Inform the user that the report was saved, including the file path.
- Auto-fix flow (MANDATORY): After saving the report, you MUST attempt to generate and present fixes for all actionable risks — this is the primary value of the review workflow, not an optional step.
- First, locate the analyzed repository in the current workspace:
- Run
lsto list available directories in the workspace. - Match by repo name (the last segment of
owner/repoornamespace/repo). For example,testgroupadthiru/repo1updated→ look for a directory namedrepo1updated. - If a single match is found, confirm with the user: "I found
<match>— is this the correct local copy of<namespace/repo>?" - If multiple matches are found, ask the user which one is correct.
- If no obvious match exists, ask the user: "I couldn't find a local directory matching
<repo-name>. Is it available locally under a different name, or should I just show the suggested fixes?"
- Run
- If found locally:
- Verify branch: Run
git -C <repo-directory> branch --show-currentto confirm you're on the expected branch. If not on the expected branch, check out the correct one before proceeding. - Scan the relevant code, interpret the risks/issues from the report. Then tell the user:
"The report identified N actionable issues. I can generate the fixes in your local repository, and push them to a new branch
feat/release-readiness-fix. Shall I proceed?" - Do NOT proceed until the user approves. If they decline, stop.
Once approved, generate the fixes. Then:
cd <repo-directory> git checkout -b feat/release-readiness-fix 2>/dev/null || { git checkout -b "feat/release-readiness-fix-$(date +%Y%m%d-%H%M%S)"; } # Apply the fixes git add -A git commit -m "fix: Address issues identified by release readiness review"Before pushing, verify branch again: Run
git branch --show-currentand confirm it showsfeat/release-readiness-fix*. Do NOT push if you're on any other branch.git push -u origin HEADInform the user: which issues were fixed, what branch was created, and that the fix has been pushed.
- Verify branch: Run
- If NOT found locally: Present the suggested fixes from the report as concrete, ready-to-apply code patches. Use the
suggestedFixfield from each risk. Format them as code blocks the user can copy-paste directly. Walk through each actionable risk: explain the issue, show the exact fix, and state which file/line it targets. - If the report finds no risks or issues: Inform the user the analysis completed with no actionable findings.
- First, locate the analyzed repository in the current workspace:
- Call
- If
FAILEDorTIMED_OUT: Present the error information and suggest next steps. - If
CANCELED: Inform the user the job was canceled and no report is available.
Cancelling a job
aws_devops_agent__cancel_release_readiness_review(task_id=TASK_ID)Error handling
- If
FAILEDorTIMED_OUT— stop and present the error. If the job failed quickly (within the first poll or two), callaws_devops_agent__list_associations()to check whether the target repository's hosting service (GitHub/GitLab hostname) is associated with the agent space. - If job does not reach
IN_PROGRESSwithin 5 minutes — cancel withcancel_release_readiness_review. - If throttled (
429orThrottlingException) — wait 30 seconds, retry up to 3 times. - If the error does not match any known pattern above, present the raw error output to the user.
Fallback (aws-mcp)
If the aws-devops-agent remote server is unavailable, use the AWS CLI directly:
Tell the user: "Remote server unavailable — using the aws-mcp server fallback."
1. Select Agent Space
List available agent spaces:
aws devops-agent list-agent-spaces --region us-east-1Present the list to the user and ask which agent space they'd like to use. Do NOT proceed until the user has selected one. Use the selected agentSpaceId as SPACE_ID in all subsequent calls.
2. Start the Job
aws devops-agent create-backlog-task \
--agent-space-id SPACE_ID \
--task-type RELEASE_READINESS_REVIEW \
--title 'Release Readiness Review' \
--priority MEDIUM \
--description '{\"agentInput\": {\"content\": <CONTENT_JSON>, \"metadata\": {\"skipAutomatedTesting\": true}}}' \
--region us-east-1CRITICAL: The
contentvalue must be a single object — NOT wrapped in a list. Correct:"content": {"githubPrContent": [...]}. Incorrect:"content": [{"githubPrContent": [...]}]. Wrapping in a list causes a Pydantic validation failure on the backend. The values in the content should all be of string format e.g. the PR number should be a string.
Default is "skipAutomatedTesting": true (static only). Set to false only if user explicitly opted into automated testing.
3. Poll for Status
aws devops-agent get-backlog-task \
--agent-space-id SPACE_ID \
--task-id TASK_ID \
--region us-east-1Poll every 30 seconds until the status transitions to IN_PROGRESS or a terminal state (COMPLETED, FAILED, CANCELED, TIMED_OUT).
4. Monitor Until Completion
Once IN_PROGRESS, poll for progress in a loop:
aws devops-agent list-journal-records \
--agent-space-id SPACE_ID \
--execution-id EXEC_ID \
--order ASC \
--region us-east-1- Present each record to the user with a friendly progress update.
- Use
next_tokenfrom the response to fetch only new records on subsequent polls. - Wait 15 seconds between each poll iteration.
- Check
get-backlog-taskperiodically — stop when terminal status.
5. Present Results
Once the job reaches a terminal status:
- If
COMPLETED:Retrieve the report:
aws devops-agent list-journal-records \ --agent-space-id SPACE_ID \ --execution-id EXEC_ID \ --record-type release_analysis_report \ --order ASC \ --region us-east-1Write the report contents to a markdown file:
release-readiness-review-<YYYY-MM-DD-HHmmss>.md- Inform the user that the report was saved, including the file path.
- Auto-fix flow (MANDATORY): After saving the report, you MUST attempt to generate and present fixes for all actionable risks — this is the primary value of the review workflow, not an optional step. Follow the same auto-fix flow described in the Core workflow section above (locate repo, verify branch, generate fixes, push to
feat/release-readiness-fix).
- If
FAILEDorTIMED_OUT: Present the error information and suggest next steps. - If
CANCELED: Inform the user the job was canceled and no report is available.
Cancelling (fallback)
aws devops-agent update-backlog-task \
--agent-space-id SPACE_ID \
--task-id TASK_ID \
--task-status CANCELED \
--region us-east-1Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

