Run WCAG 2.2 Level AA accessibility audits against generated UI. Use when a story has ui:true or when asked to audit accessibility.
日本語の概要は準備中です。原文の説明を表示しています。
Audit code changes against Karpathy's 4 principles (Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution). Auto-called after Phase 5 IMPLEMENT; can also be invoked manually. Produces scored compliance report and blocks advancement if threshold not met.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Audit PRs and code changes against Andrej Karpathy's 4 principles for reducing LLM coding mistakes.
/karpathy-audit or @karpathy-audit in chatDon't assume. Don't hide confusion. Surface tradeoffs.
Minimum code that solves the problem. Nothing speculative.
Touch only what you must. Clean up only your own mess.
Define success criteria. Loop until verified.
Auto-call (Phase 5 → Phase 6 gate): Orchestrator automatically calls this skill after IMPLEMENT phase to audit the diff.
Manual call:
/karpathy-audit
or
@karpathy-audit
The skill produces a compliance report written to .claude/state/karpathy-report.json:
{
"phase": "IMPLEMENT",
"timestamp": "2026-05-18T21:25:00Z",
"spec_file": "docs/stories/user-auth/Story.md",
"audit": {
"think_before_coding": {
"score": 85,
"violations": ["Assumed DB schema without asking"],
"evidence": ["Line 42: const User = model('User')"]
},
"simplicity_first": {
"score": 92,
"violations": [],
"evidence": ["Reduced 180→120 lines in refactor"]
},
"surgical_changes": {
"score": 78,
"violations": ["Modified logging in unrelated file"],
"scope_creep_files": ["src/logging/index.ts"],
"out_of_spec": true
},
"goal_driven": {
"score": 100,
"violations": [],
"evidence": ["All tests passing. RED→GREEN→REFACTOR complete."]
},
"overall": 89,
"gate_decision": "PASS_WITH_APPROVAL",
"recommendation": "Score 89: Pass scope and simplicity checks. Recommend human approval before advancing to Phase 6."
}
}
| Overall Score | Decision | Action |
|---|---|---|
| ≥90 | 🟢 PASS | Auto-advance to next phase |
| 70-89 | 🟡 PASS_WITH_APPROVAL | Pause. Require human approval to advance. |
| <70 | 🔴 FAIL | BLOCK. Orchestrator halts. Requires remediation + re-audit. |
Compares two sources:
docs/stories/{story}/Story.md (required scope)Violations flagged:
Orchestrator behavior:
Phase 5 (IMPLEMENT) complete
↓
Auto-call: /karpathy-audit
↓
Analyze spec + PR diff + 4 principles
↓
Write `.claude/state/karpathy-report.json`
↓
Score ≥90? → Auto-advance to Phase 6
Score 70-89? → Pause. Display report. Require [a]pprove or [c]cancel
Score <70? → HALT. Show violations. Require /karpathy-audit re-run after fixes
The TUI displays:
If audit fails or scores <70:
1. Orchestrator shows violation details
2. Specialist agent re-assesses work against the principle
3. Fix or remove out-of-scope code
4. Manually re-run: /karpathy-audit
5. If all 4 principles ≥70 now, approve advancement
User: /feature "add password reset via email"
Orchestrator: [Phase 1-5 complete]
Orchestrator: Auditing against Karpathy principles...
karpathy-audit: Running audit...
[Analyze spec vs PR diff]
[Score each principle]
karpathy-audit: 📋 Report written to .claude/state/karpathy-report.json
karpathy-audit: 🟡 Score 82/100 — PASS_WITH_APPROVAL
karpathy-audit: ⚠️ Scope creep: modified src/logging (out of spec)
Dashboard: [Shows approval gate, awaiting [a] key]
User: a [approve]
Dashboard: [Phase 6 VALIDATE begins]
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Run WCAG 2.2 Level AA accessibility audits against generated UI. Use when a story has ui:true or when asked to audit accessibility.
日本語の概要は準備中です。原文の説明を表示しています。
Generate a complete component file tree wired to design tokens with tests and Gherkin spec. Use when scaffolding a new UI component.
日本語の概要は準備中です。原文の説明を表示しています。
Extract Gherkin scenarios from story markdown files into runnable .feature files and generate step definition stubs. Use when syncing stories to test suites.
日本語の概要は準備中です。原文の説明を表示しています。
Read and write design tokens in W3C DTCG format (tokens.json) and emit CSS, Tailwind, and Mantine outputs. Use when modifying or generating design tokens.
日本語の概要は準備中です。原文の説明を表示しています。
Apply Docker and Docker Compose best practices for containerising services. Use when writing or reviewing Dockerfiles and compose configs.
日本語の概要は準備中です。原文の説明を表示しています。
Identify and annotate cloud cost implications of architectural decisions. Use when reviewing infrastructure changes or designing new services.
日本語の概要は準備中です。原文の説明を表示しています。