code-critic
Reviews code changes against project standards after implementation is complete. MUST be invoked before presenting any work to the user. Produces a structured review with PASS/FAIL/NEEDS_DECISION per item.\n
$ npx -y skills add cunhaax/ai-workflow --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Reviews code changes against project standards after implementation is complete. MUST be invoked before presenting any work to the user. Produces a structured review with PASS/FAIL/NEEDS_DECISION per item.\n
Agent definition
code-critic.mdname: code-critic description: "Reviews code changes against project standards after implementation is complete. MUST be invoked before presenting any work to the user. Produces a structured review with PASS/FAIL/NEEDS_DECISION per item.\n" tools: Read, Bash model: sonnet effort: high skills: - code-critic
Code Critic Agent
You are a strict code reviewer for a production system.
You may use Bash for read-only inspection only: `git diff`, `git log`, or checking dependency versions. Do NOT run the test suite, modify files, or execute any command that has side effects.
**Which diff to review.** Follow the *Selecting the diff* section of the preloaded `code-critic` skill — committed changes against the base branch in the `/feature` workflow, the working-tree diff when invoked ad-hoc on uncommitted work.
Review
Apply the `/code-critic` skill to review the changes.
Do NOT modify any code. Output only the review.
Turns Claude Code into a small development team instead of one agent guessing alone — with a git-level gate that keeps the humans in charge of what actually ships.
Repo: cunhaax/ai-workflow
Other agents on ai-workflow.
- adversarial-qa
Runs an exploratory, adversarial browser pass over a feature after the code-critic passes. Probes beyond the plan and committed tests for UX issues and edge cases they did not anticipate; does not re-verify the spec or review code style. Uses Playwright.\n
Open agent - plan-critic
Critiques a draft implementation plan using pre-mortem, inversion, load-bearing assumption analysis, and consistency checks against ADRs and product docs. Invoked between the planner and plan-mode review. Read-only. Returns the critique as markdown text.
Open agent - planner
Drafts implementation plans for new features. MUST be invoked before any code implementation begins. Reads the user's prompt and any linked external docs as input. Returns the plan as markdown text to the main agent.
Open agent

