robisson/build-like-amazon-agent-skills/code-review-bar-raising
Claude Code and agent skill by robisson/build-like-amazon-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Applying Amazon's raise-the-bar principle to every code review. What reviewers look for — clarity, correctness, design, reuse, operational readiness. "Ship It" means the change raises or maintains the quality bar.
Install
npx vskill@latest install robisson/build-like-amazon-agent-skills/code-review-bar-raisingSKILL.md
The same SKILL.md was published earlier as robisson/build-like-amazon-agent-skills/code-review-bar-raising.
Raising the Bar in Code Review
Overview
Raising the Bar in Code Review applies Amazon's raise-the-bar principle to software changes. This is not a special role or a designated reviewer. It is the expected behavior of every engineer who reviews code: protect the current quality standard and look for opportunities to improve it.
No code should ship to production without at least one meaningful review ("Ship It"). This is not a formality — the reviewer actively evaluates code against five dimensions: clarity, correctness, design, reuse, and operational readiness. A reviewer who rubber-stamps code is lowering the bar.
The system works because it creates a forcing function: every engineer knows their code will be evaluated against the highest standards, so they write to that standard from the beginning.
When to Use
- Every code change before it merges to the main branch
- Design decisions that manifest in code structure
- Infrastructure changes (Terraform, CDK, CloudFormation)
- Configuration changes that affect production behavior
- Database migrations and schema changes
- Test additions or modifications
Agent Persona
Load agents/code-review-bar-raiser.md for code review. Use it to evaluate clarity, correctness, design quality, reuse, testing, and operational readiness before approving a change.
Amazon Context
Amazon's raise-the-bar principle is simple: important decisions should improve the standard over time, not merely avoid obvious failure. The principle appears in multiple areas — hiring, documents, design, operations, and technical reviews.
This skill adapts that principle to code review by making the expected reviewer behavior explicit for agents and teams using this library.
The review exists to protect the codebase from gradual quality erosion. Delivery pressure must never become the measure of review quality. An approval that lowers the bar is a failure of the process.
The Process
1. Author Responsibilities (Before Requesting Review)
Before marking a PR for review, the author must:
- [ ] Self-review the diff (read your own code as if seeing it for the first time)
- [ ] Verify all tests pass and coverage hasn't decreased
- [ ] Write a clear PR description explaining:
- What changed and why
- How to test it (manually, if applicable)
- Risk level and rollback plan
- Dependencies or ordering constraints
- [ ] Keep the PR focused (one logical change, < 400 lines preferred)
- [ ] Respond to pre-existing lint/style issues in the changed files
- [ ] Link to the relevant design document or ticket
2. The Five Dimensions of Review
Reviewers evaluate every PR against these dimensions:
Clarity
"Can a new team member understand this code without additional context?"
- [ ] Names are descriptive and consistent (variables, functions, classes)
- [ ] Complex logic has explanatory comments (why, not what)
- [ ] Abstractions have clear responsibilities
- [ ] No clever tricks that sacrifice readability for brevity
- [ ] Function length is reasonable (< 30 lines for most functions)
- [ ] Code reads top-to-bottom without jumping around
Correctness
"Does this code do what it claims to do, in all cases?"
- [ ] Happy path works correctly
- [ ] Edge cases handled (null, empty, max values, concurrent access)
- [ ] Error conditions produce appropriate responses
- [ ] Thread safety considered (if applicable)
- [ ] No off-by-one errors in loops or boundaries
- [ ] Tests actually verify the claimed behavior (not just exercising code)
- [ ] No silent data loss or truncation
Design
"Is the architecture appropriate for the problem and the system?"
- [ ] Follows established patterns in the codebase
- [ ] Appropriate level of abstraction (not over- or under-engineered)
- [ ] Dependencies flow in the right direction
- [ ] New interfaces are minimal and extensible
- [ ] Changes are backward-compatible unless explicitly versioned
- [ ] Separation of concerns is maintained
- [ ] SOLID principles applied where relevant
Reuse
"Does this leverage existing code and create reusable components?"
- [ ] No reinventing existing utilities (checked internal libraries)
- [ ] Shared logic extracted to appropriate level (util, library, service)
- [ ] New utilities are generic enough for reuse
- [ ] DRY principle applied in production code (not tests)
- [ ] Common patterns use established team conventions
Operational Readiness
"Can we operate this code in production at 3 AM?"
- [ ] Metrics emitted for new code paths (latency, errors)
- [ ] Structured logging with appropriate detail
- [ ] Feature flags for behavioral changes
- [ ] Graceful degradation for new dependencies
- [ ] Timeout and retry configuration present
- [ ] Alarms defined for new failure modes
- [ ] Rollback strategy is clear and tested
- [ ] No hardcoded values that should be configuration
3. Review Workflow
4. Comment Severity Levels
Reviewers categorize their feedback:
| Prefix | Meaning | Author Action | |
|---|---|---|---|
[BLOCKING] | Must fix before merge. Correctness or operational issue. | Fix required. | |
[IMPORTANT] | Should fix. Design or clarity issue. | Fix or explain why not. | |
[NIT] | Minor style or preference. Nice to have. | Fix if easy, skip if not. Never blocks, and never counts toward the blocking total — a held gate is never a [NIT]'s doing. | |
[QUESTION] | Clarification needed. Might reveal an issue. | Answer in comment or code. | |
[PRAISE] | Particularly good code. Worth calling out. | Enjoy. Keep doing this. |
5. When to Escalate or Discuss
- Fundamental design disagreement → Schedule a focused discussion
- PR too large to review effectively → Ask author to split
- Cross-team impact → Pull in a reviewer from the affected team
- Performance-critical path → Request benchmark data
- Security-sensitive change → Include security review
6. Review Decision Framework
The compensating duty for that last line. "Ship It" does not require understanding every line — but every line you did not understand must be declared in the review. Name the file and the range you did not follow and say why (generated code, an unfamiliar framework, outside your area), so the author and the next reviewer can see where the review's coverage actually ends. A review that did not reach the bar of understanding for the change it is approving emits INCOMPLETE, not Ship It. A partial read is a legitimate outcome; presenting it silently as a full one is not, because everyone downstream treats "Ship It" as evidence the change was understood. INCOMPLETE is defined in AGENTS.md → One Severity Scale and One Verdict Scale.
7. Finding lifecycle in a persisted report
A review written to a file outlives the conversation that produced it, so each finding needs a state and the file needs a history. Every finding in a persisted report carries exactly one of five states. This closed set is the only lifecycle vocabulary in this library — the reviewers in agents/ and the commands that run them refer back to this table rather than defining their own.
| State | Meaning | Who may set it | |
|---|---|---|---|
OPEN | Reported and unresolved. The state on entry. A BLOCKING finding in this state holds the gate. | The reviewer, on entry | |
FIXED | The condition no longer holds, confirmed at the anchor by a re-read of the code — not by the author's assurance that it was addressed. | The re-review | |
ACCEPTED-WITH-RISK | Deliberately not fixed, with a row in the accepted-risk table (AGENTS.md → Operating Behavior 3) naming the mitigation, the owner and the date. This is the only way a finding leaves OPEN without being fixed. | The human who owns the decision | |
NOT-REPRODUCIBLE | The condition could not be reproduced on re-examination. Record what was tried, so the next reviewer does not start from zero. | The re-review | |
SUPERSEDED | The code or artifact changed enough that the finding no longer describes it. Name the finding or the change that replaces it. | The re-review |
A later review updates the report; it does not recreate it. Every report path in this library is fixed — .bla/specs/<slice-name>/implementation-review.md, .bla/reviews/<feature-name>/code-review.md, and the equivalents each reviewer declares in its IO contract — so writing a fresh report over one destroys the history that makes it useful: which findings were accepted, by whom, and what was already ruled not reproducible. On re-review, keep every existing ID, move states forward, append new findings with the next free IDs, and stamp the round. A finding never disappears; it changes state.
Scope. This lifecycle, and the IDs it depends on, apply only when the report is persisted to disk — Medium and Large on the ceremony ladder. An inline review of a Trivial change has no file, no IDs and no lifecycle: it has a conversation and a fix.
Mechanisms Over Good Intentions
| Mechanism | What It Enforces | How | |
|---|---|---|---|
| Branch protection rules | No merge without meaningful review | GitHub/GitLab configured to require review approval | |
| Reviewer calibration | Reviewers apply a consistent standard | Review past reviews, compare decisions, and align expectations | |
| Review comment templates | Structured feedback | IDE/tool integration prompts for severity and category | |
| Quarterly review calibration | Consistent standards across reviewers | Reviewers assess the same PR independently, then compare notes |
Common Rationalizations
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/code-review-bar-raising/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/robisson/build-like-amazon-agent-skills/code-review-bar-raising)