pr-review
Skill329 starsChanged 7 days agoMIT-0View on GitHub
Use for 'review <PR or MR URL>': a read-only structured review of someone else's GitHub PR or GitLab MR answering whether it is good, safe, well documented and safe to merge.
198 other projects use a version of this.
Adopted by
Most recently taken up by
- RoboFinSystems/robosystemstheir own version, first seen Nov 30, 2026
- assawalhy/awesome-agenttheir own version, first seen Nov 29, 2026
- ErikaAX08/erikas-skillstheir own version, first seen Nov 29, 2026
- hukusuke1007/agent-skillstheir own version, first seen Nov 29, 2026
- ccomkhj/skillstheir own version, first seen Nov 29, 2026
- ericmjl/skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use expert-reset, updates and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jtenniswoodSkillexpert-reset
Reimagine this repository from first principles using the current product and user experience as the target. Use when the user says "/expert-reset", asks how the project should be rebuilt if starting again, wants bold architecture or component-structure recommendations, or wants a research-only reset plan unconstrained by current implementation details.
Also in 3 projects that use this
jtenniswoodSkillupdates
Summarize user-facing project updates from the last 7 days, ordered by importance and written as one-sentence "Feature: description" entries. Use when the user says "/updates", asks what changed recently, or wants a concise list of recent features, device support, fixes that users will notice, or other product value.
Also in 3 projects that use this
openchamberSkillclack-cli-patterns
Use when creating or modifying OpenChamber CLI commands, prompts, terminal output, non-TTY behavior, `--quiet`, or `--json` behavior.
Also in 3 projects that use this
openchamberSkilldrag-to-reorder
Use when implementing or modifying OpenChamber sortable or drag-to-reorder behavior, especially `@dnd-kit`, touch/mobile interactions, variable-width items, or wrapping layouts.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
- +6 more from openchamber
Other versions198 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 198
- Significant-Gravitas/AutoGPT★ 188ksame name
- pytorch/pytorch★ 106ksame name
- rtk-ai/rtk★ 88ksame name
- saadeghi/daisyui★ 43ksame name
- rustfs/rustfs★ 37ksame name
- dotnet/maui★ 23ksame name
- NVIDIA/Megatron-LM★ 19ksame name
- MiniMax-AI/skills★ 14ksame name
- btriapitsyn/openchamber★ 13ksame name
- openchamber/openchamber★ 13ksame name
188 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- .claude/rules/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-modelSkill
- agent-capability-reviewSkill
- api-rbac-testSkill
- backend-lambdaSkill
- code-reviewSkill
- create-hf-dataset-prSkill
- curate-security-resultsSkill
- cut-release-changelogSkill
- dependabot-prsSkill
- documentationSkill
- extraction-pipelineSkill
- fix-single-issueSkill
- frontend-uiSkill
- full-test-batterySkill
- infrastructureSkill
- live-auth-checksSkill
- live-eval-and-costSkill
- prepare-changelogSkill
- prep-develop-for-releaseSkill
- product-demoSkill
- pr-review-ciSkill
- releaseSkill
- release-validationSkill
- remove-classification-flat-keysSkill
- repo-quality-reviewSkill
- run-benchmarksSkill
- run-stack-testsSkill
- srt-security-scanSkill
- sync-pii-anonymizerSkill
- testing-qaSkill
- test-upgradeSkill
- transform-deploy-testSkill
- ui-i18nSkill
- update-solution-profileSkill
- ux-test-ciSkill
- ux-testSkill
- ux-test-stories-ciSkill
- ux-test-storiesSkill
- work-the-backlog-hazardsSkill
- work-the-backlogSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. 0 are common, 12 are distinctive, and 13 are very specific to this project.
0
Common
Most of the 180 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user asks to review a pull request or merge request — typically with a prompt like:
- Very specific: line 31
If the PR targets a branch other than develop, call this out as the first finding.
- Distinctive: line 33
Keep findings factual and specific — quote the diff where useful.
- Very specific: line 54
Prefer the gh CLI via Bash:
- Very specific: line 65
If a GitHub MCP server is configured (e.g.
- Very specific: line 78
Use the glab CLI:
- Distinctive: line 155
No obvious race conditions, unbounded loops, or missing pagination
- Very specific: line 157
No removal of observability (X-Ray patch_all, structured logging)
- Very specific: line 183
Keep a repro script outside the working copy (scratch/ or a temporary directory), which leaves the review read-only per the ground rules.
- Very specific: line 188
Every release also ships a Terraform module generated from the CloudFormation templates (terraform/translator/, documented in …
- Very specific: line 264
Docs: If the change makes a Terraform deployment behave differently from a CloudFormation one, docs/terraform.md says so (its "Differences …
- Distinctive: line 292
No hardcoded credentials, API keys, or tokens
- Distinctive: line 293
No full JWTs logged in plaintext (Talos finding #10)
- Very specific: line 294
No hardcoded arn:aws: partitions — must use ${AWS::Partition} (validated by make check-arn-partitions)
- Very specific: line 296
No hardcoded amazonaws.com — must use ${AWS::URLSuffix}
- Distinctive: line 305
No new public S3 buckets, public SNS topics, or open security groups
- Distinctive: line 318
What document-derived or external text reaches it?: Document text and page images, extracted values, reporting rows, log lines, discovered …
- Distinctive: line 325
When all three hold at once (untrusted text in, private data readable, an external channel out), something in the code must limit each …
- Very specific: line 343
Run the scan locally when the CI job hasn't run yet (draft MR, non-develop target, pipeline still pending) and the PR changes code, …
- Very specific: line 373
If GraphQL schema changed, make codegen has been run and generated files are included in the PR (or a note explains why not)
- Distinctive: line 379
No unresolved review comments on the latest commit
- Very specific: line 382
No leftover TODO / FIXME / debug prints / commented-out code blocks
- Distinctive: line 438
Do not post the review as a PR/MR comment unless the user explicitly said "post this as a review comment" or similar.
- Distinctive: line 440
If the user asks follow-up questions, re-use the already-fetched diff / metadata rather than re-fetching.
- Distinctive: line 442
If the user asks you to implement the requested changes, switch context: treat it as a new implementation task following the relevant skill …
“Common” is measured: kept by at least 6 in 10 of the 180 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR / MR Review Skill
Use this skill when the user asks to review a pull request or merge request — typically with a prompt like:
review <MR/PR URL>(target develop branch)Is this a good PR? Safe? No regressions? Good UX? No security issues? Well documented? Safe to merge?
This skill is for reviewing someone else's PR/MR at a URL. It is distinct from the code-review skill (the pre-commit self-review checklist applied to my own changes before returning them to the user).
Ground Rules
- Never push, merge, approve, or comment on the PR from this skill unless the user explicitly asks. Produce a written review for the user to act on.
- Do not modify files in the working copy as part of the review. Reviewing is read-only.
- Reference specific files and line numbers whenever citing an issue.
- If the PR targets a branch other than
develop, call this out as the first finding. The expected target for this repo isdevelop. - Keep findings factual and specific — quote the diff where useful.
- A behavioural finding needs a run behind it. For any claim that the change
does the wrong thing, give the command you ran, the output it printed and the
output the change's intent requires — a failing test, a repro script, or
command output. A behavioural claim you could not run goes under its own
Unverified heading, not among the 🔴/🟡 findings, because it reads as
convincing whether or not it is true. Style, naming, documentation and
policy findings (wrong target branch, missing CHANGELOG entry) are checked
by reading and are exempt. When a nested or adversarial reviewer reports a
finding, rerun its command before passing the finding on, and drop it if the
output does not show the failure. The unattended CI review
(
pr-review-ci.md) holds no shell, so there the bar is a citedfile:lineplus the failure walked step by step, and each such finding says it was not run.
Step 1 — Detect the URL and fetch PR metadata
Identify the host from the URL.
GitHub PR (github.com/<owner>/<repo>/pull/<NN>)
Prefer the gh CLI via Bash:
gh pr view <NN> --repo <owner>/<repo> --json \
title,body,author,state,mergeable,mergeStateStatus,baseRefName,headRefName,\
additions,deletions,changedFiles,files,statusCheckRollup,reviews,comments,url
gh pr diff <NN> --repo <owner>/<repo>
gh pr checks <NN> --repo <owner>/<repo>If a GitHub MCP server is configured (e.g. for Cline), use its
pull_request_read methods instead of the shell — they are equivalent:
method=get→ title, body, author, base/head refs, mergeable statemethod=get_status→ CI / checks status on the head commitmethod=get_files→ changed files (paginate if > 100)method=get_diff→ unified diffmethod=get_reviews→ existing reviewsmethod=get_commentsandmethod=get_review_comments→ discussionget_file_contentson specific paths atref=refs/pull/<NN>/headto read full files when the diff lacks enough context
GitLab MR (code.aws.dev/<group>/<project>/-/merge_requests/<NN>)
Use the glab CLI:
glab mr view <NN> --repo <group>/<project>
glab mr diff <NN> --repo <group>/<project>
glab mr note list <NN> --repo <group>/<project>
glab ci status --repo <group>/<project>Fallback — curl against the GitLab API:
PROJECT=$(python3 -c "import urllib.parse,sys;print(urllib.parse.quote_plus(sys.argv[1]))" \
"<group>/<project>")
TOKEN="${GITLAB_TOKEN:-$(yq -r .token ~/.config/glab-cli/config.yml 2>/dev/null)}"
curl -sH "PRIVATE-TOKEN: $TOKEN" \
"https://code.aws.dev/api/v4/projects/$PROJECT/merge_requests/<NN>"
curl -sH "PRIVATE-TOKEN: $TOKEN" \
"https://code.aws.dev/api/v4/projects/$PROJECT/merge_requests/<NN>/changes"Collect at minimum
- PR/MR title, description, author
- Source branch → target branch (confirm target is
develop) - CI / pipeline status
- List of changed files with insertions / deletions
- The full diff
- Existing reviews and comments
- Linked issues, if any
For larger PRs (> ~500 lines changed or touching unfamiliar modules), read key
changed files in full — not just the diff — using the Read tool on paths at
the head ref so surrounding context is captured.
Step 2 — Evaluate the six review questions
Work through each question. Reuse project coding-standards knowledge from the other skill files in this directory (backend, frontend, infrastructure, documentation, testing, code-review).
1. Is this a good PR?
- Scope is focused (single feature / fix / refactor; not a grab-bag)
- Title is descriptive and follows convention (e.g.
feat:,fix:,docs:) - Description explains what and why, and links to an issue when applicable
- Targets
develop(flag otherwise) - CI is green (or failures are understood)
- Size is reviewable — very large PRs should be called out
2. Safe? No regressions?
- New/changed logic has unit tests; assertions are meaningful
- Existing tests are not deleted or weakened without justification
- Backward compatibility maintained for shared interfaces:
Documentmodel and its serialization- Config schemas under
config_library/ - GraphQL schema and generated types in
src/ui/src/graphql/generated/ - Lambda handler event/response contracts
- Quick Start still works? It is a new user's first experience, and it calls
surfaces other pages own, so it breaks with no failing test. If the PR changes
the agent chat route or stream, configuration profile creation or activation,
the discovery upload resolvers, schema authoring or the class catalog, the
Welcome page, side navigation or tour, the Test Set Generator extension, the
groups a role holds, or the stack wiring Quick Start reads (the
EnableQuickStartWidgetparameter and the installed-features SSM parameter), check in the diff that Quick Start still handles any contract it changes. If it renames a page, navigation item or product term, check that the Quick Start agent's prompt (lib/idp_common_pkg/idp_common/agents/quick_start/agent.py),docs/quick-start.mdand its stories inscripts/ux_stories.tomlstill match. A change the diff shows Quick Start's side cannot handle (a field it reads renamed or removed, a requirement it does not meet) is 🔴; a backward-compatible change needs nothing; one that may break it, or a prompt, page or story that no longer matches, is 🟡. Where the PR description or commit messages are available, also note whether they say how the change was checked: for a change to the journey or to a contract it calls, the journey on a stack (open Quick Start, describe a document, approve the drafted fields, profile created and activated); for any other change under the rule's paths, the offline suites. The paths are in.claude/rules/quick-start.md - No obvious race conditions, unbounded loops, or missing pagination
- Error handling uses explicit exceptions (no bare
except:), withexc_info=True - No removal of observability (X-Ray
patch_all, structured logging)
Name the fact the change is safe because of
Listing callers is not the job; grep does that in a second. Most changes that
look risky are safe because of one fact — "this call only drops cache entries that
are already dead", "every reader of this key tolerates a missing value" — and if
that fact holds, most of the risks clear at once. Find it, state it, and say how
far down this ladder you got it:
- Asserted. You said so. Worth nothing on its own.
- Cited. A real
file:line, or the line in the library's own source at the versionuv.lock/package-lock.jsonpins. - Walked. You traced the failure case step by step and it does not reach.
- Run. A script or test that calls the real code and fails loudly if the fact
is false. Usually one small file that imports the same
idp_commonthe Lambda ships and calls the exact function in question. - Reproduced. Observed on a running stack.
Take it as far as is cheap, and write unproven when you could not get past step 2. Spend the time on that fact rather than on a long list of maybes, and look where a symbol search stops: the JSON a resolver returns, a DynamoDB attribute, an S3 key layout, a config field read by the UI and by Python, a template parameter consumed three stacks away, the other language reading the same bytes. A search that finds nothing is still an answer and goes in the review as one.
Keep a repro script outside the working copy (scratch/ or a temporary
directory), which leaves the review read-only per the ground rules.
Terraform parity
Every release also ships a Terraform module generated from the CloudFormation
templates (terraform/translator/, documented in docs/terraform.md and
terraform/README.md), so a template change is a Terraform change too. Check
this whenever the PR touches template.yaml, nested/**, patterns/**
templates, terraform/**, the Terraform paths of idp_sdk/idp_cli, or
runtime code that looks resources up through CloudFormation.
- The
Terraform ChecksCI context is green.make terraform-checktranslates every template variant offline, validates the module on every pinned Terraform and OpenTofu version, then runsmake terraform-scan-diff(below). If it has not run yet, run it on the PR head; it needs no AWS credentials. The translator's own checks run inmake test(theterraform/translatorsuite) and fail the PR on any of the cases in the next bullets. - A new resource type, or a property shape the translator does not handle,
fails that gate on purpose. The fix belongs in the translator (a mapping in
aws_mappers*.pyor the vendoredawsccschema subset, refreshed withscripts/refresh_awscc_schema.py, and the create-only list, refreshed withscripts/refresh_create_only.py), with a translator test. Flag an entry added toAWSCC_PROPERTY_FIXUPS,LIFECYCLE_OVERRIDES,STABLE_CUSTOM_OUTPUTS,PASS_THROUGH_ATTRSorTERRAFORM_DIRECTORY_READERSintranslate.py, to a hand mapper'signore_changes(SpecMapperinaws_mappers.py, or a lifecycle block a mapper class emits itself), or tocompleteness.NOT_APPLICABLE, without a written reason and a test: each one is a place where Terraform deliberately differs from CloudFormation. A mapper'signore_changesis right only for a property the service cannot change after creation, or one CloudFormation never updates; anywhere else it hides a real change. - A property value that does not reach the Terraform. The completeness check
(
idp_tf/completeness.py) fails when a value in the template appears nowhere in the HCL emitted for its resource, which is how a hardening setting is lost silently. The right fix is almost always the mapper; aNOT_APPLICABLEentry must say where the value went instead. Upgrade safety. A Terraform upgrade replaces a resource wherever CloudFormation would, and in a few places CloudFormation would not. For a stateful resource (every type in
idp_tf/safety.py'sSTATEFUL_TYPES: tables, buckets, user pools, KMS keys, knowledge bases and data sources, the OpenSearch collection, the secret, the vector-store custom resources, and a parameter with a second writer) check each of these and flag a 🔴 where the PR does not handle it:- a renamed logical ID or nested stack needs an entry in
terraform/translator/renames.yaml(from,to,since,reason), from which the release's translation writes amovedblock. A resource moved between nested stacks with its logical ID unchanged is inferred, unless the same logical ID and type exist elsewhere; then it needs an entry too; - a changed create-only property (a name, a key schema, an encryption key) replaces the resource under CloudFormation too: ask what happens to the data on upgrade;
- a create-only property fed by a custom resource's output, directly or
through parameters, outputs or another resource. The translator lists every
such edge (
customOutputEdgesinidp-terraform.json, and acustom-output edge:line in its output) and fails on one into a stateful resource unlessSTABLE_CUSTOM_OUTPUTSsays why the handler returns the same value on every Update. Read that reason against the handler: it is a claim about the handler's code.
idp-cli deploy --terraformrefuses a plan that deletes or replaces any stateful or retained address (statefulAddressesandretainedAddresses), so a missed case is refused at deploy rather than lost; that is a backstop, and an upgrade a user has to override with--terraform-allow-replace-statefulis still a defect in the PR.- a renamed logical ID or nested stack needs an entry in
- Softer than CloudFormation.
make terraform-scan-diffruns a pinnedcheckovover the CloudFormation templates and the generated module and fails on a Terraform finding the CloudFormation side does not have. A new entry inscripts/terraform_scan_baseline.jsonneeds a reason for that one check on that one resource; prefer fixing the translation. - Runtime lookups through CloudFormation. Code calling
DescribeStacks/ListStackResources/DescribeStackResource(s), or filtering on theaws:cloudformation:stack-nametag, gets no answer from a Terraform deployment unless it goes throughidp_common.utils.terraform_stack(install_if_terraform()), its function is listed inTERRAFORM_DIRECTORY_READERS, and it filters onidp:stack-namewhenIDP_TF_RESOURCE_DIRECTORYis set (seesrc/lambda/data_mart_rollup/). - New stack parameters become Terraform variables with the same
constraints and appear read-only on the label stack.
NoEchoparameters must stayNoEcho, which keeps them off the label stack. - Docs. If the change makes a Terraform deployment behave differently from a
CloudFormation one,
docs/terraform.mdsays so (its "Differences from CloudFormation" section).
3. Good UX?
- Frontend (
src/ui/):- Cloudscape Design System components (not MUI / AntD / Bootstrap)
- Loading, empty, and error states handled
- Arrow-function components; hooks in kebab-case files
ConsoleLoggerused, no strayconsole.log- Accessibility: labels on inputs, keyboard nav, focus management
DOMPurifyused for anydangerouslySetInnerHTML- Responsive behavior reasonable
- Translations (
src/ui/src/i18n/), by the criteria in.claude/skills/ui-i18n/SKILL.md("Reviewing a change's translations"): English added or edited inen.jsoncomes with its French infr-CA.json, or with its stale entries dropped (make ui-i18n-drop-stale); a new product term has its glossary row; and the French leaves no English behind and keeps the English's meaning, the glossary's terms, the register, every argument, plural and tag, and fits its place. These are comments. Onlymake check-ui-i18n-catalogblocks a merge: on a stale entry, an entry the build rejects (for example a changed argument or tag), or a dead one. A missing translation never does
- Backend / API:
- Actionable error messages; failures surface to the UI (e.g. status on
Document) - Progress / status updated at meaningful checkpoints
- Sensible defaults; new required config has migration guidance
- Actionable error messages; failures surface to the UI (e.g. status on
4. No security issues?
- No hardcoded credentials, API keys, or tokens
- No full JWTs logged in plaintext (Talos finding #10)
- No hardcoded
arn:aws:partitions — must use${AWS::Partition}(validated bymake check-arn-partitions) - No hardcoded
amazonaws.com— must use${AWS::URLSuffix} - IAM policies scoped — no
Resource: "*"or wildcard S3 ARNs without written justification PermissionsBoundaryconditional present on new IAM roles- New IAM role or AWS service introduced? →
docs/aws-services-and-roles.mdupdated to match - New Lambdas have a dedicated
AWS::Logs::LogGroupwith KMS encryption - Input validation on new API surfaces; DOMPurify on HTML render paths
- New Python/npm dependencies are pinned and from trusted sources
cfn-nag/checkovsuppressions includereason:metadata- No new public S3 buckets, public SNS topics, or open security groups
Agent capability
Apply this when the change touches any of: a Strands tool or agent, a system or
user prompt, a model call, an MCP tool or client, a markdown renderer
(SafeMarkdown, safe-markdown-policy.ts, anything rendering model output), the web
UI content policy, or the IAM grants of a role that runs a model. For each surface
the change touches, answer three questions from the code, not from the PR text:
- What can the model read? Which tools does it hold, what do they reach with whose credentials, and which data is private (documents, reporting tables, another user's chat, logs, CI credentials)?
- What document-derived or external text reaches it? Document text and page images, extracted values, reporting rows, log lines, discovered configuration, MCP server responses, a PR's own diff. Any of these can carry instructions.
- Where can its output go? A rendered page that can request remote resources, the Code Interpreter sandbox, an MCP client or server, a PR comment, a saved configuration that a later model reads.
When all three hold at once (untrusted text in, private data readable, an external channel out), something in the code must limit each external channel. A system prompt instruction is not such a limit.
Then check that scripts/tests/agent_capabilities.yaml was updated to match: a new
tool or agent has an entry, a changed tool updates its entry's reads, inputs or
outputs, and a removed control is not still named. test_agent_capabilities.py
fails on an unregistered surface or a missing symbol, but it checks declarations,
not truth: an entry that understates what a model can read passes it. A manifest
that was not updated when the capability changed is 🟡 at least; a new
combination of all three with no control and no recorded finding is 🔴.
SRT security scan (make srt-scan)
CI runs the srt_security_review job on every MR targeting develop. Check
the pipeline first: if the job already ran, read its result and the
srt-issues.json artifact instead of re-running the scan.
Run the scan locally when the CI job hasn't run yet (draft MR, non-develop
target, pipeline still pending) and the PR changes code, templates, or
dependencies — skip it for docs-only PRs. SRT scans the checkout, not the
diff, so run it on the PR head in a throwaway worktree (this also keeps the
review read-only for your own working copy):
git fetch origin <headRef> && git worktree add /tmp/pr-<NN> FETCH_HEAD
cd /tmp/pr-<NN> && make srt-setup && make srt-scan # ~5–10 min
# … read results, then clean up:
cd - && git worktree remove --force /tmp/pr-<NN>Interpreting results:
- Outside CI the scan exits 0 even with findings and prints an
OPEN HIGH PRIORITY SECURITY ISSUEStable — read the output (or.srt/issues.json), don't rely on the exit code. - Attribute a finding to the PR only if it's in a file the PR touches; HIGH
Openfindings in changed files are 🔴 blocking. - New or modified suppressions in
scripts/srt/issues.jsonmust carry a specific justification — flag unexplained bulk suppressions as 🔴.
5. Well documented?
- User-facing changes update
CHANGELOG.md - Feature docs added/updated under
docs/with:- YAML frontmatter (
title:required) - License header after frontmatter
- YAML frontmatter (
- Cross-references to related docs added where helpful
- Public functions/classes have docstrings
- Complex logic has inline comments explaining why
- If GraphQL schema changed,
make codegenhas been run and generated files are included in the PR (or a note explains why not)
6. Safe to merge?
- Targets
develop✅ - CI / pipeline green ✅
- No unresolved review comments on the latest commit
- No merge conflicts
VERSION/ version bump done if required by change scope- No leftover
TODO/FIXME/ debug prints / commented-out code blocks - Migration notes provided for any breaking change
Step 3 — Produce the review
Output the review in this exact structure so the user can paste it or act on it:
## PR/MR Review: <title> (#<NN>)
**Repo:** <owner/repo>
**Author:** @<author>
**Source → Target:** `<source>` → `<target>` <!-- ⚠️ if not develop -->
**CI status:** ✅ passing | ❌ failing | ⏳ pending
**Size:** +<insertions> / -<deletions> across <N> files
### Summary
<1–3 sentence plain-English description of what this PR does.>
### Verdict
| Question | Verdict | Notes |
|---|---|---|
| Good PR? | ✅ / ⚠️ / ❌ | … |
| Safe / no regressions? | … | … |
| Good UX? | … / N/A | … |
| No security issues? | … | … |
| Well documented? | … | … |
| **Safe to merge?** | ✅ Approve / ⚠️ Request changes / ❌ Block | … |
### Safe because
<The one fact the change's safety rests on, and how far it got: asserted / cited /
walked / run / reproduced — with the command and its output when run. Or
"unproven".>
### Findings
- 🔴 **Blocking** — <file>:<line> — description + suggested fix
- 🟡 **Should fix** — <file>:<line> — description
- 🟢 **Nice to have** — <file>:<line> — description
### Unverified
<Behavioural concerns you could not run, each with what would confirm it. Omit
the heading when there are none.>
### Recommendation
**Approve** / **Request changes** / **Comment**
<one-paragraph rationale>Legend:
- ✅ pass / 🟢 nit — non-blocking
- ⚠️ / 🟡 — should fix before merge
- ❌ / 🔴 — blocking; must fix before merge
Step 4 — After delivering the review
- Do not post the review as a PR/MR comment unless the user explicitly said "post this as a review comment" or similar.
- If the user asks follow-up questions, re-use the already-fetched diff / metadata rather than re-fetching.
- If the user asks you to implement the requested changes, switch context: treat it as a new implementation task following the relevant skill files.
Quick Reference — Common Red Flags
Flag these immediately when seen in any diff:
arn:aws:literal in a CloudFormation / SAM templateamazonaws.comliteral (should be${AWS::URLSuffix})Resource: "*"in a new IAM policy statementPrincipal: "*"in a new resource policyconsole.log(in production UI code- English UI text added or edited in
src/ui/src/i18n/en.jsonwith no matchingfr-CA.jsonchange and nomake ui-i18n-drop-stale, or a new product term with no row inglossary.fr-CA.csv(a comment, not a block) - An entry of
src/ui/src/i18n/fr-CA.jsonwhose English changed but whose French did not (only itssourceHashmoved): check that the French still says what the new English says print(used for logging in Lambda code- New Lambda without dedicated LogGroup + KMS
- New IAM role without a
PermissionsBoundaryconditional - Secrets / access keys / JWTs in code, logs, or tests
- Deleted tests without a replacement
- Schema change in
nested/api-resolvers/src/api/schema.graphqlwithout regenerated files undersrc/ui/src/graphql/generated/ Documentmodel field removed or renamed without a migration path- Wildcards in S3 bucket/object ARNs without
reason:metadata - New/edited SRT suppressions in
scripts/srt/issues.jsonwithout justification - A template change that renames a logical ID or nested stack of a stateful
resource without a
terraform/translator/renames.yamlentry, or changes a create-only property of one with nothing said about upgrading existing Terraform deployments - A new
AWSCC_PROPERTY_FIXUPS,LIFECYCLE_OVERRIDES,STABLE_CUSTOM_OUTPUTS,PASS_THROUGH_ATTRSorTERRAFORM_DIRECTORY_READERSentry, a hand mapper'signore_changes, or acompleteness.NOT_APPLICABLEorscripts/terraform_scan_baseline.jsonentry, without a reason and a test - Runtime code that walks the stack through CloudFormation APIs or the
aws:cloudformation:stack-nametag without the Terraform resource-directory path
The safety-fact ladder and the run-backed finding rule are adapted from the
blast-radius and interrogate skills in
pstack (MIT licence).
Does 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.

