Repository-specific code review and quality-gate workflow for completed checkpoints, implementation prompts, branches, and pull requests. Use after implementation, before merge, when reviewing code written by a human or agent, validating a correction commit, or deciding readiness for manual QA, further revision, push, or merge.
a completed implementation prompt or local checkpoint
a correction commit
several checkpoints, a branch, or a pull request
code written by a human or agent
a bug fix, refactor, migration, RLS/RPC change, validation boundary, frontend change, test change, or documentation change
whether implementation matches an approved plan
whether manual QA can begin
whether a change is ready for the next approved Git or merge action
Review is read-only by default. Do not modify code unless the user explicitly asks for fixes or the approved workflow already authorizes them.
Ownership
This skill owns:
understanding approved intent and scope
choosing the review range
coordinating domain-specific review skills
evaluating correctness, boundaries, maintainability, and evidence
classifying findings
identifying scope creep and missing work
issuing and updating a readiness verdict
It does not own planning, commit creation, push permission, domain implementation rules, test taxonomy, or comment policy.
Related skills
Use:
implementation-planning-and-pr-breakdown for goal, scope, dependencies, acceptance criteria, risks, and planned verification
git-checkpoint-workflow for branch state, baseline, checkpoint ranges, commit boundaries, and remote-action limits
frontend-workflow and frontend-design for frontend implementation and UI/UX
nextjs-server-action-zod for validation, Server Actions, Route Handlers, payloads, and schema/type SSOT
supabase-safe-migration for migrations, RLS, RPC, triggers, constraints, and concurrency
test-quality-strategy for test layers, behavior coverage, test-plan headers, and verification
code-commenting-and-maintainability for comments, JSDoc/TSDoc, TODO/FIXME, and structured file documentation
Read all relevant skills before issuing findings or a verdict.
Resource routing
Read only the references whose conditions match:
Resource
Read condition
Skip when
references/domain-review-dimensions.md
Must read when formal or integration review inspects validation, database/concurrency, frontend/UX, tests or CI coverage, manual behavior evidence, security, performance, comments, Git state, or cross-owner change-set evidence. This includes correction re-review with post-correction tests/status and any verdict limited by required manual behavior or a state matrix
The task only classifies or renders already-supplied findings, prepares a bounded specialist package without inspecting its sources, or performs a small docs/metadata review with none of these boundaries
references/special-review-cases.md
Must read only when the prompt or review target explicitly identifies a bug fix needing root-cause/regression assessment, a refactor needing contract-preservation assessment, a dead-code removal, or a dependency change
A correction re-review only verifies resolution of earlier findings, or a feature/checkpoint review has none of the four explicit change types
references/specialist-review.md
After the applicable main review, the concise core gate leaves a materially viable specialist candidate; read before deciding, packaging, executing, or reconciling that action
Default main-only review, or no candidate passes the core gate
references/review-report-templates.md
Must read before producing or classifying a formal report with multiple current supported findings, or preparing any bounded specialist package
Small review has no actionable finding and needs only a compact verdict, or a correction re-review only records disposition of earlier resolved findings
Treat every matching read condition as mandatory: read that direct reference before answering instead of relying on a remembered or core summary. When signals overlap, apply these boundaries before the broader table wording:
Producing or classifying a report from already-supplied findings reads only the report template; mentioning Git, tests, permission, naming, or other domains inside those findings does not select domain dimensions.
Deciding or preparing a bounded specialist action reads the specialist and report references; the owning domain skill may remain active, but do not read this skill's domain-dimensions reference unless the main review itself is inspecting domain sources.
Re-reviewing a correction against post-correction tests or verification status reads domain dimensions; do not read special cases or the report template merely because the correction resolves earlier defects or the answer uses report headings.
Issuing a limited verdict because required manual behavior or a state matrix remains pending reads domain dimensions.
Enforcing read-only authority or returning Blocked because the review target, range, or implementation evidence was not supplied uses the core only; do not read domain dimensions merely to restate the absent inputs or forbidden mutations.
Reviewing baseline, range, currentness, ancestry, divergence, worktree state, or cumulative change-set evidence reads domain dimensions only; do not read special cases or the report template merely because the range contains a refactor or supports multiple findings.
Do not preload references merely because this skill is active, and do not infer a route from subject matter alone when its skip condition matches. The core remains sufficient to select the applicable main review depth and decide whether each reference must be read.
Core principles
Review against approved behavior, not personal preference.
Read the task, plan, and repository context before judging the diff.
Review observable behavior and system guarantees, not only style.
Verify claims through code, tests, types, migrations, and repository evidence.
A passing test suite is evidence, not proof of completeness.
Do not rubber-stamp, invent defects, soften blockers, or turn review into unrelated redesign.
Separate required changes from suggestions.
Follow repository conventions when multiple valid approaches exist.
Surface conflicts instead of averaging them.
Keep findings surgical, evidenced, and actionable.
Approval never grants permission to push or merge.
Approval standard
Approve only when:
approved behavior and acceptance criteria are satisfied
explicit exclusions were respected
no Critical or Required finding remains
relevant domain rules are satisfied
verification is current and appropriate
required manual QA is complete, or the verdict explicitly remains limited
no known security, authorization, data-integrity, migration, or concurrency blocker remains
the diff is coherent and free of unrelated scope expansion
comments, tests, and progress documentation match the implementation
Do not approve merely because the code is cleaner. Do not reject merely because it differs from your preferred implementation.
Review targets and ranges
Prompt checkpoint or correction
Typical commands:
git show --stat --oneline HEAD
git diff HEAD^..HEAD
Review the prompt outcome, coherence, verification, and any correction regression.
Read instructions: applicable AGENTS.md, domain skills, tests, docs, and similar repository patterns.
Inspect tests early: confirm they protect approved behavior and meaningful failure/boundary paths.
Trace integration: follow input or user action through validation, permission, business rule, side effect, persistence, response, UI feedback, tests, and docs.
Apply relevant review dimensions.
Audit the change set: scope, missing files, unrelated work, generated files, comments, dead code, and progress documentation.
Verify evidence: commands, results, later edits, skipped checks, environment limits, and manual QA.
Classify findings with one severity taxonomy.
Issue a verdict and exact next action.
If reliable approved scope is missing, state that the review is limited.
Unrelated changes should normally be removed. Unclear ownership must be investigated.
Do not use line or file count as a hard gate. Reviewability depends on independent behaviors, domains, semantic risk, migration/permission sensitivity, concurrency, verification complexity, and rollback needs.
Recommend splitting when outcomes, dependency chains, review models, verification, or rollback should be independent.
Review depth and specialist orchestration
Review levels
Use the smallest level that can establish readiness:
Level
Purpose
Route
Minimum review
Audit every actual change for intended scope, artifacts, truthful claims and proportional verification
Lifecycle invariant; exact change-set/Git audit belongs to git-checkpoint-workflow
Formal main review
Apply this skill's full intent, range, domain, finding and verdict workflow
Checkpoint, branch or PR when the task or lifecycle requires it
Main integration review
Trace and reconcile a multi-boundary outcome rather than concatenate domain reports
Main agent; required when correctness depends on interactions across owners
Specialist review
Answer a bounded uncertainty for one hard-risk cluster
Optional, separately justified, and covered by current explicit permission after main review remains insufficient
For integration review, trace only affected boundaries, for example data/storage invariant → schema/type → validation/permission/business rule → action/handler/RPC → result contract → UI state → tests/fixtures/manual QA. The main agent verifies every reported issue and owns the final readiness verdict.
Applicable main review depth
Use final sizing and the actual review target to select the smallest sufficient main-agent depth:
Final small/low-risk work normally completes the universal minimum review and skips specialist-decision evaluation.
Formal main review applies when the task, checkpoint, lifecycle or discovered risk requires the full workflow. A medium size label alone does not require a heavyweight formal-review ceremony.
Main integration review applies when correctness depends on interactions across owners or boundaries.
A self-authored non-small implementation uses formal main review when the task, checkpoint, lifecycle or discovered risk requires it, plus integration review when affected boundaries require it.
A human- or other-agent-authored branch or PR uses formal main review, plus integration review when its risk or boundaries require it; do not label that work main self-review.
An agent-authored durable plan keeps the narrower planning-owned rule that main-agent plan self-review comes first.
If review evidence exposes a concrete hard risk or material uncertainty that invalidates final sizing, reclassify before specialist consideration, complete the newly applicable formal or integration review, and then evaluate the gates below.
Two-tier activation and permission
An owning domain signal first activates the relevant domain skill for the main agent. It does not automatically call a specialist.
Default to 0 specialist; small tasks do not spawn a reviewer.
After the main agent completes the applicable review depth, a specialist may be considered for each candidate cluster only when all of these are true:
an activated owning domain skill supplies a concrete hard-risk signal, or the owner explicitly requests a specialist perspective;
the unresolved uncertainty could materially change correctness, safety or readiness;
repository evidence, main review and current verification remain insufficient;
the uncertainty fits one risk cluster and 1–3 exact questions;
expected benefit justifies the initial context/quota cost;
current permission explicitly allows the specialist action.
Task size, file count, domain activation, a formal-review route, or a confidence label is not a specialist trigger or permission. Before domain-owned signals exist, do not invent one from a subjective “complex task” label. An explicit owner request activates consideration outside the default trigger, but does not bypass applicable review depth, material uncertainty, the evidence gap, bounded context, expected quota benefit or explicit specialist permission.
If specialist evidence is necessary to establish safety but permission or a valid bounded package is unavailable, report the evidence as not_run and use Blocked when the main review cannot reach a trustworthy result. Escalation never grants edit, commit, push, PR, merge, production, database or remote permission.
Finding severity
Keep the exact severity taxonomy and semantics below. In a Vietnamese owner-facing report, present each label with the unambiguous mapping Nghiêm trọng (Critical), Bắt buộc (Required), Đề xuất (Suggestion), Tiểu tiết (Nit), or Thông tin (FYI). If a machine-readable consumer requires the canonical value, use the exact English value.
Nghiêm trọng (Critical)
Blocks approval. Use for exploitable security issues, data loss/corruption, authorization bypass, broad RLS exposure, broken migration paths, destructive production behavior, core workflow failure, irrecoverable consistency violations, or exposed secrets.
Bắt buộc (Required)
Blocks approval. Use for missing/incorrect approved behavior, important unhandled paths, invalid permission or state transition, necessary regression/verification gaps, wrong contract ownership, scope that must be removed, or misleading documentation that affects correctness.
Minor non-blocking wording, formatting, or local consistency issue.
Thông tin (FYI)
Information only; no change required.
Do not disguise blockers as suggestions or nits.
Verification status
Keep the exact verification-status taxonomy and semantics below. In a Vietnamese owner-facing report, use the mapped labels below. If a machine-readable consumer requires a canonical value, use the exact English value. Verification statuses are not finding severities or review verdicts.
Đã xác minh (Verified): evidence directly covers affected behavior
Xác minh một phần (Partially verified): relevant evidence exists but important behavior remains unchecked
Chưa xác minh (Not verified): no meaningful or still-valid evidence exists
Bị chặn (Blocked): environment, dependency, conflict, or missing decision prevents verification
Check what changed, which risks were tested, commands and results, skipped checks, manual QA, and whether later edits invalidated evidence.
Manual QA pending may allow:
Implementation review passed; manual QA pending.
It does not allow Approved when that QA is required.
Re-review
After corrections:
Review the correction diff.
Confirm every Critical and Required finding is resolved.
Check for new regressions.
Rerun affected verification.
Confirm comments and docs were updated.
Confirm a new local correction checkpoint exists.
Update the verdict.
Do not rely only on the author’s claim that findings were fixed.
Kết luận review
Được duyệt (Approved)
All required behavior, evidence, manual QA, scope, and documentation are complete. No Critical or Required finding remains.
No code-review blocker remains and automated verification is appropriate, but required manual QA is outstanding.
Cần thay đổi (Changes required)
One or more blocking findings, incorrect scope/behavior, or insufficient verification remains.
Bị chặn (Blocked)
Missing context, unclear baseline/ownership, repository conflict, environment limitation, or unresolved decision prevents a trustworthy review.
Cách tiếp cận bị từ chối (Rejected approach)
The implementation strategy fundamentally violates approved architecture, safety, or business constraints and cannot be repaired incrementally.
Final checklist
Goal, scope, exclusions, and acceptance criteria are understood
Baseline and review range are correct
Relevant skills, tests, and docs were read
Implementation was traced through affected layers
Scope creep, missing files, and dead code were checked
Relevant validation, permission, database, frontend, test, security, and performance risks were reviewed
Comments, progress docs, and Git checkpoints match behavior
Verification evidence is current
Manual QA status is explicit
Findings use the defined severity taxonomy
Verdict matches remaining risk
Next action is clear
No remote action is implied
1---2name: code-review-and-quality3description: Repository-specific code review and quality-gate workflow for completed checkpoints, implementation prompts, branches, and pull requests. Use after implementation, before merge, when reviewing code written by a human or agent, validating a correction commit, or deciding readiness for manual QA, further revision, push, or merge.4---56# Code Review and Quality78## Activation scope910Use this skill when reviewing:1112* a completed implementation prompt or local checkpoint13* a correction commit14* several checkpoints, a branch, or a pull request15* code written by a human or agent16* a bug fix, refactor, migration, RLS/RPC change, validation boundary, frontend change, test change, or documentation change17* whether implementation matches an approved plan18* whether manual QA can begin19* whether a change is ready for the next approved Git or merge action2021Review is read-only by default. Do not modify code unless the user explicitly asks for fixes or the approved workflow already authorizes them.2223## Ownership2425This skill owns:2627* understanding approved intent and scope28* choosing the review range29* coordinating domain-specific review skills30* evaluating correctness, boundaries, maintainability, and evidence31* classifying findings32* identifying scope creep and missing work33* issuing and updating a readiness verdict3435It does not own planning, commit creation, push permission, domain implementation rules, test taxonomy, or comment policy.3637## Related skills3839Use:4041* `implementation-planning-and-pr-breakdown` for goal, scope, dependencies, acceptance criteria, risks, and planned verification42* `git-checkpoint-workflow` for branch state, baseline, checkpoint ranges, commit boundaries, and remote-action limits43* `frontend-workflow` and `frontend-design` for frontend implementation and UI/UX44* `nextjs-server-action-zod` for validation, Server Actions, Route Handlers, payloads, and schema/type SSOT45* `supabase-safe-migration` for migrations, RLS, RPC, triggers, constraints, and concurrency46* `test-quality-strategy` for test layers, behavior coverage, test-plan headers, and verification47* `code-commenting-and-maintainability` for comments, JSDoc/TSDoc, TODO/FIXME, and structured file documentation4849Read all relevant skills before issuing findings or a verdict.5051## Resource routing5253Read only the references whose conditions match:5455| Resource | Read condition | Skip when |56| --- | --- | --- |57| [`references/domain-review-dimensions.md`](references/domain-review-dimensions.md) | Must read when formal or integration review inspects validation, database/concurrency, frontend/UX, tests or CI coverage, manual behavior evidence, security, performance, comments, Git state, or cross-owner change-set evidence. This includes correction re-review with post-correction tests/status and any verdict limited by required manual behavior or a state matrix | The task only classifies or renders already-supplied findings, prepares a bounded specialist package without inspecting its sources, or performs a small docs/metadata review with none of these boundaries |58| [`references/special-review-cases.md`](references/special-review-cases.md) | Must read only when the prompt or review target explicitly identifies a bug fix needing root-cause/regression assessment, a refactor needing contract-preservation assessment, a dead-code removal, or a dependency change | A correction re-review only verifies resolution of earlier findings, or a feature/checkpoint review has none of the four explicit change types |59| [`references/specialist-review.md`](references/specialist-review.md) | After the applicable main review, the concise core gate leaves a materially viable specialist candidate; read before deciding, packaging, executing, or reconciling that action | Default main-only review, or no candidate passes the core gate |60| [`references/review-report-templates.md`](references/review-report-templates.md) | Must read before producing or classifying a formal report with multiple current supported findings, or preparing any bounded specialist package | Small review has no actionable finding and needs only a compact verdict, or a correction re-review only records disposition of earlier resolved findings |6162Treat every matching read condition as mandatory: read that direct reference before answering instead of relying on a remembered or core summary. When signals overlap, apply these boundaries before the broader table wording:6364* Producing or classifying a report from already-supplied findings reads only the report template; mentioning Git, tests, permission, naming, or other domains inside those findings does not select domain dimensions.65* Deciding or preparing a bounded specialist action reads the specialist and report references; the owning domain skill may remain active, but do not read this skill's domain-dimensions reference unless the main review itself is inspecting domain sources.66* Re-reviewing a correction against post-correction tests or verification status reads domain dimensions; do not read special cases or the report template merely because the correction resolves earlier defects or the answer uses report headings.67* Issuing a limited verdict because required manual behavior or a state matrix remains pending reads domain dimensions.68* Enforcing read-only authority or returning `Blocked` because the review target, range, or implementation evidence was not supplied uses the core only; do not read domain dimensions merely to restate the absent inputs or forbidden mutations.69* Reviewing baseline, range, currentness, ancestry, divergence, worktree state, or cumulative change-set evidence reads domain dimensions only; do not read special cases or the report template merely because the range contains a refactor or supports multiple findings.7071Do not preload references merely because this skill is active, and do not infer a route from subject matter alone when its skip condition matches. The core remains sufficient to select the applicable main review depth and decide whether each reference must be read.7273## Core principles7475* Review against approved behavior, not personal preference.76* Read the task, plan, and repository context before judging the diff.77* Review observable behavior and system guarantees, not only style.78* Verify claims through code, tests, types, migrations, and repository evidence.79* A passing test suite is evidence, not proof of completeness.80* Do not rubber-stamp, invent defects, soften blockers, or turn review into unrelated redesign.81* Separate required changes from suggestions.82* Follow repository conventions when multiple valid approaches exist.83* Surface conflicts instead of averaging them.84* Keep findings surgical, evidenced, and actionable.85* Approval never grants permission to push or merge.8687## Approval standard8889Approve only when:9091* approved behavior and acceptance criteria are satisfied92* explicit exclusions were respected93* no Critical or Required finding remains94* relevant domain rules are satisfied95* verification is current and appropriate96* required manual QA is complete, or the verdict explicitly remains limited97* no known security, authorization, data-integrity, migration, or concurrency blocker remains98* the diff is coherent and free of unrelated scope expansion99* comments, tests, and progress documentation match the implementation100101Do not approve merely because the code is cleaner. Do not reject merely because it differs from your preferred implementation.102103## Review targets and ranges104105### Prompt checkpoint or correction106107Typical commands:108109```bash110git show --stat --oneline HEAD111git diff HEAD^..HEAD112```113114Review the prompt outcome, coherence, verification, and any correction regression.115116### Multiple checkpoints or branch117118Confirm the actual baseline, then inspect:119120```bash121git log --oneline <baseline>..HEAD122git diff <baseline>..HEAD123```124125Review both final cumulative behavior and checkpoint history when corrections matter.126127### Pull request128129Review goal, baseline, commit history, cumulative diff, dependency order, verification evidence, manual QA, and known limitations.130131Do not assume `main` is current or the branch started from the latest remote commit.132133## Review modes134135### Read-only review136137Default for review, audit, assessment, verification, or readiness requests.138139* do not edit140* do not commit or push141* report findings, verdict, and smallest next action142143### Fix and re-review144145Use only when fixes are explicitly authorized.1461471. Review and list findings.1482. Make surgical corrections.1493. Run relevant verification.1504. Audit the new diff.1515. Create a new local correction checkpoint through `git-checkpoint-workflow`.1526. Re-review the final state.153154Do not amend the earlier checkpoint by default.155156## Required review workflow1571581. **Understand intent:** goal, actor, current/expected behavior, business rules, scope, exclusions, acceptance criteria, dependencies, verification, manual QA, and known risks.1592. **Confirm range:** branch, baseline, commits, staged/unstaged changes, untracked files, and prerequisites.1603. **Read instructions:** applicable `AGENTS.md`, domain skills, tests, docs, and similar repository patterns.1614. **Inspect tests early:** confirm they protect approved behavior and meaningful failure/boundary paths.1625. **Trace integration:** follow input or user action through validation, permission, business rule, side effect, persistence, response, UI feedback, tests, and docs.1636. **Apply relevant review dimensions.**1647. **Audit the change set:** scope, missing files, unrelated work, generated files, comments, dead code, and progress documentation.1658. **Verify evidence:** commands, results, later edits, skipped checks, environment limits, and manual QA.1669. **Classify findings with one severity taxonomy.**16710. **Issue a verdict and exact next action.**168169If reliable approved scope is missing, state that the review is limited.170171## Review dimensions172173Apply only the dimensions relevant to the change.174175### Scope and behavior176177Check:178179* approved goal and acceptance criteria180* explicit exclusions181* missing prerequisites182* silent business-rule changes183* incomplete state transitions184* happy, failure, empty, null, boundary, retry, duplicate, stale, rollback, and partial-failure paths185* consistency between client, server, and persisted state186187A polished solution to the wrong problem is a failure.188189### Readability and architecture190191Check:192193* names and control flow194* responsibility and module boundaries195* abstractions that earn their complexity196* duplicated business rules or state197* client/server and database/application responsibility198* schema/type SSOT199* shared versus feature-specific components200* compatibility code and speculative generalization201* adherence to nearby patterns202203Do not demand abstraction because two blocks merely look similar.204205## Change-set audit206207Classify changed areas as:208209```txt210required for approved scope211directly supporting approved scope212unrelated213unclear ownership214```215216Unrelated changes should normally be removed. Unclear ownership must be investigated.217218Do not use line or file count as a hard gate. Reviewability depends on independent behaviors, domains, semantic risk, migration/permission sensitivity, concurrency, verification complexity, and rollback needs.219220Recommend splitting when outcomes, dependency chains, review models, verification, or rollback should be independent.221222## Review depth and specialist orchestration223224### Review levels225226Use the smallest level that can establish readiness:227228| Level | Purpose | Route |229| --- | --- | --- |230| Minimum review | Audit every actual change for intended scope, artifacts, truthful claims and proportional verification | Lifecycle invariant; exact change-set/Git audit belongs to `git-checkpoint-workflow` |231| Formal main review | Apply this skill's full intent, range, domain, finding and verdict workflow | Checkpoint, branch or PR when the task or lifecycle requires it |232| Main integration review | Trace and reconcile a multi-boundary outcome rather than concatenate domain reports | Main agent; required when correctness depends on interactions across owners |233| Specialist review | Answer a bounded uncertainty for one hard-risk cluster | Optional, separately justified, and covered by current explicit permission after main review remains insufficient |234235For integration review, trace only affected boundaries, for example data/storage invariant → schema/type → validation/permission/business rule → action/handler/RPC → result contract → UI state → tests/fixtures/manual QA. The main agent verifies every reported issue and owns the final readiness verdict.236237### Applicable main review depth238239Use final sizing and the actual review target to select the smallest sufficient main-agent depth:240241* Final `small/low-risk` work normally completes the universal minimum review and skips specialist-decision evaluation.242* Formal main review applies when the task, checkpoint, lifecycle or discovered risk requires the full workflow. A medium size label alone does not require a heavyweight formal-review ceremony.243* Main integration review applies when correctness depends on interactions across owners or boundaries.244* A self-authored non-small implementation uses formal main review when the task, checkpoint, lifecycle or discovered risk requires it, plus integration review when affected boundaries require it.245* A human- or other-agent-authored branch or PR uses formal main review, plus integration review when its risk or boundaries require it; do not label that work `main self-review`.246* An agent-authored durable plan keeps the narrower planning-owned rule that main-agent plan self-review comes first.247248If review evidence exposes a concrete hard risk or material uncertainty that invalidates final sizing, reclassify before specialist consideration, complete the newly applicable formal or integration review, and then evaluate the gates below.249250### Two-tier activation and permission251252An owning domain signal first activates the relevant domain skill for the main agent. It does not automatically call a specialist.253254* Default to `0 specialist`; small tasks do not spawn a reviewer.255256After the main agent completes the applicable review depth, a specialist may be considered for each candidate cluster only when all of these are true:257258* an activated owning domain skill supplies a concrete hard-risk signal, or the owner explicitly requests a specialist perspective;259* the unresolved uncertainty could materially change correctness, safety or readiness;260* repository evidence, main review and current verification remain insufficient;261* the uncertainty fits one risk cluster and 1–3 exact questions;262* expected benefit justifies the initial context/quota cost;263* current permission explicitly allows the specialist action.264265Task size, file count, domain activation, a formal-review route, or a confidence label is not a specialist trigger or permission. Before domain-owned signals exist, do not invent one from a subjective “complex task” label. An explicit owner request activates consideration outside the default trigger, but does not bypass applicable review depth, material uncertainty, the evidence gap, bounded context, expected quota benefit or explicit specialist permission.266267If specialist evidence is necessary to establish safety but permission or a valid bounded package is unavailable, report the evidence as `not_run` and use `Blocked` when the main review cannot reach a trustworthy result. Escalation never grants edit, commit, push, PR, merge, production, database or remote permission.268269## Finding severity270271Keep the exact severity taxonomy and semantics below. In a Vietnamese owner-facing report, present each label with the unambiguous mapping `Nghiêm trọng (Critical)`, `Bắt buộc (Required)`, `Đề xuất (Suggestion)`, `Tiểu tiết (Nit)`, or `Thông tin (FYI)`. If a machine-readable consumer requires the canonical value, use the exact English value.272273### Nghiêm trọng (`Critical`)274275Blocks approval. Use for exploitable security issues, data loss/corruption, authorization bypass, broad RLS exposure, broken migration paths, destructive production behavior, core workflow failure, irrecoverable consistency violations, or exposed secrets.276277### Bắt buộc (`Required`)278279Blocks approval. Use for missing/incorrect approved behavior, important unhandled paths, invalid permission or state transition, necessary regression/verification gaps, wrong contract ownership, scope that must be removed, or misleading documentation that affects correctness.280281### Đề xuất (`Suggestion`)282283Non-blocking maintainability, clarity, low-risk test, future refactor, documentation, or UX improvement.284285### Tiểu tiết (`Nit`)286287Minor non-blocking wording, formatting, or local consistency issue.288289### Thông tin (`FYI`)290291Information only; no change required.292293Do not disguise blockers as suggestions or nits.294295## Verification status296297Keep the exact verification-status taxonomy and semantics below. In a Vietnamese owner-facing report, use the mapped labels below. If a machine-readable consumer requires a canonical value, use the exact English value. Verification statuses are not finding severities or review verdicts.298299* **Đã xác minh (`Verified`):** evidence directly covers affected behavior300* **Xác minh một phần (`Partially verified`):** relevant evidence exists but important behavior remains unchecked301* **Chưa xác minh (`Not verified`):** no meaningful or still-valid evidence exists302* **Bị chặn (`Blocked`):** environment, dependency, conflict, or missing decision prevents verification303304Check what changed, which risks were tested, commands and results, skipped checks, manual QA, and whether later edits invalidated evidence.305306Manual QA pending may allow:307308```txt309Implementation review passed; manual QA pending.310```311312It does not allow `Approved` when that QA is required.313314## Re-review315316After corrections:3173181. Review the correction diff.3192. Confirm every Critical and Required finding is resolved.3203. Check for new regressions.3214. Rerun affected verification.3225. Confirm comments and docs were updated.3236. Confirm a new local correction checkpoint exists.3247. Update the verdict.325326Do not rely only on the author’s claim that findings were fixed.327328## Kết luận review329330### Được duyệt (`Approved`)331332All required behavior, evidence, manual QA, scope, and documentation are complete. No Critical or Required finding remains.333334Approval does not authorize push or merge.335336### Review implementation đạt; còn manual QA (`Implementation review passed; manual QA pending`)337338No code-review blocker remains and automated verification is appropriate, but required manual QA is outstanding.339340### Cần thay đổi (`Changes required`)341342One or more blocking findings, incorrect scope/behavior, or insufficient verification remains.343344### Bị chặn (`Blocked`)345346Missing context, unclear baseline/ownership, repository conflict, environment limitation, or unresolved decision prevents a trustworthy review.347348### Cách tiếp cận bị từ chối (`Rejected approach`)349350The implementation strategy fundamentally violates approved architecture, safety, or business constraints and cannot be repaired incrementally.351352## Final checklist353354* [ ] Goal, scope, exclusions, and acceptance criteria are understood355* [ ] Baseline and review range are correct356* [ ] Relevant skills, tests, and docs were read357* [ ] Implementation was traced through affected layers358* [ ] Scope creep, missing files, and dead code were checked359* [ ] Relevant validation, permission, database, frontend, test, security, and performance risks were reviewed360* [ ] Comments, progress docs, and Git checkpoints match behavior361* [ ] Verification evidence is current362* [ ] Manual QA status is explicit363* [ ] Findings use the defined severity taxonomy364* [ ] Verdict matches remaining risk365* [ ] Next action is clear366* [ ] No remote action is implied
Run npx skillmds@latest add khangnhoang/code-review-and-quality in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Repository-specific code review and quality-gate workflow for completed checkpoints, implementation prompts, branches, and pull requests. Use after implementation, before merge, when reviewing code written by a human or agent, validating a correction commit, or deciding readiness for manual QA, further revision, push, or merge. It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
khangnhoang (@khangnhoang) published this skill. Their other Agent Skills are listed on their SkillMD profile.