authoring
Write or revise a Genie skill so it survives the shipped contract — frontmatter, house size, starter card, and runtime-neutral voice.
Independently assess designs, plans, implementations, PRs, or repository quality; return evidence and SHIP, FIX-FIRST, or BLOCKED without applying fixes.
$ npx -y skills add automagik-dev/genie --skill review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Independently assess designs, plans, implementations, PRs, or repository quality; return evidence and SHIP, FIX-FIRST, or BLOCKED without applying fixes.
name: review description: "Independently assess designs, plans, implementations, PRs, or repository quality; return evidence and SHIP, FIX-FIRST, or BLOCKED without applying fixes." category: lifecycle mutates: none
The reviewer is different from the author and remains read-only. Return findings and a verdict; the caller owns fixes, records, task state, and delivery. The reviewer never mutates files or task state and posts nothing to the card: at the same moment the coordinator appends the evidence block to WISH.md it relays a one-line pointer with `genie task comment <task-id> --worker orchestrator -- 'review: SHIP|FIX-FIRST|BLOCKED — <gap count or summary>'`. The card comment is the pointer; WISH.md keeps the evidence. Assess the requested scope against user criteria and repository contracts.
Identify the target path, diff/commit, criteria, and relevant checks. For a PR, inspect the complete diff and individual commits in chronological order. For committed work under concurrent modification, the coordinator provides an immutable snapshot at the exact SHA; it also owns setup and cleanup. Reviewers never change repo-level git state. For uncommitted work, name the snapshot reviewed and invalidate the verdict if it changes.
Use current code and command output. Run relevant checks, or inspect current attributable results that cover the exact artifact; say which evidence was reused. Do not infer coverage from filenames or a worker’s claim. Preserve required full/integration/release gates. Shared runtime, schema, dependencies, executable artifacts, CI/release, broad refactors, or uncertain impact require the repository full gate plus affected builds/end-to-end checks. Zero validation is insufficient. A passing full suite is valid evidence; missing scope rationale alone is at most MEDIUM.
Blindness is a mechanism, not a disposition: an evaluator that has already read the work rationalizes what it reads. Run the assessment as two calls. The first sees only the scope, the group's criteria, and the validation contract, and emits the acceptance criteria plus what would trigger each of SHIP, FIX-FIRST, and BLOCKED. The second sees the artifact and scores it against that frozen plan, declaring any criterion added after the work was read. Where a single call is unavoidable, write the criteria and triggers before opening the diff and do not revise them afterwards.
Check that the problem, IN/OUT scope, chosen approach, alternatives, risks, and testable success criteria agree. The Simplicity Case must justify each additional mechanism with a current need. No unresolved placeholder may masquerade as a decision.
Return the exact content digest as `reviewed-sha256`, computed with the design-evidence helper bundled by `brainstorm` or `wish`. It excludes only the bounded evidence block. The caller passes that value unchanged to stamping; never recompute it for content you did not review. Missing/stale evidence requires fresh design review.
Check the actual template/schema, linked design’s current SHIP evidence, concrete deliverables and exclusions, per-group criteria and validation, dependency order, file ownership, feasible dispatch, and aggregate delivery gates. Deferred machinery must remain out of implementation.
Trace every criterion to code and evidence. Check correctness, failure behavior, compatibility, security, maintainability, performance where relevant, regression risk, and scope. Validate actual affected boundaries, including installed/compiled artifacts when source execution would miss a behavior. For deeper audits, select a relevant lens below; natural-language requests such as “review performance” are sufficient.
Load only the lens needed by the request. These are advisory evidence guides, not extra mandatory panels:
| Audit | Resource | |---|---| | Architecture and simplicity | `references/lenses/architecture.md` | | Types, lint, duplication, dead code | `references/lenses/code-quality.md` | | Documentation and contributor experience | `references/lenses/dx.md` | | Performance | `references/lenses/perf.md` | | Test quality | `references/lenses/qa.md` | | Repository hygiene | `references/lenses/repo-hygiene.md` | | Security and supply chain | `references/lenses/supply-chain.md` |
| Severity | Meaning | Blocking | |---|---|---| | CRITICAL | Demonstrated security exposure, data loss, or severe outage | Yes | | HIGH | Broken criterion, correctness defect, major performance/compatibility failure | Yes | | MEDIUM | Bounded maintainability or evidence-write-up gap | No | | LOW | Optional style or naming improvement | No |
Unjustified stateful machinery is a HIGH gap. If removing it changes the governing approach, return BLOCKED with `overdesigned-plan` for replanning.
Each finding names severity, file/line or command, concrete trigger and impact, evidence, and a correction. Each finding also names where its evidence came from: a command run in this assessment, a reused attributable result named with its source, or a read of the code at the stated SHA. A finding whose only provenance is a worker's claim, a filename, or a prior verdict is an unresolved hypothesis, not a confirmed finding. Distinguish confirmed findings from unresolved hypotheses. Return coverage and limitations even when there are no findings.
Return target SHA/path, criteria covered, commands/results, verdict, findings, and reviewer identity/time. The caller appends plan/execution/PR evidence under the wish’s `## Review Results`:
Wishes in, PRs out. CLI agent that interviews you, plans the work, dispatches parallel agents in isolated worktrees, and reviews code before you see it.
Repo: automagik-dev/genie
Write or revise a Genie skill so it survives the shipped contract — frontmatter, house size, starter card, and runtime-neutral voice.
Explore an ambiguous idea with the user, settle scope and success criteria, and produce an independently reviewed design for wish.
Assess a proposal through independent technical, product, risk, and dissenting lenses, then synthesize a decision without mutating unless explicitly requested.
Audit documentation and developer experience against the live product — drift, onboarding, error messages — and write or fix docs when asked.
Batch-execute SHIP-ready wishes overnight — pick wishes, orchestrate workers, review PRs, wake up to results.
Resolve blocking review gaps through bounded repairs and independent re-review; diagnose stalled attempts without expanding scope.