ak-cook
Implement features, plans and fixes through a structured workflow.
Files11
View on GitHubSKILL.md.claude/skills/ak-cook/SKILL.md
GitHubCook
Invoke /ak-cook <task|plan-path> [flags] in Claude Code; use the runtime's
installed invocation form elsewhere.
Implement the full authorized outcome through verification and review. Capture or reuse outcome, constraints, non-goals and acceptance criteria; inspect nearby code and tests. Ask only for a material missing decision or an action outside that authorization. Repair regressions caused by the change and rerun affected checks before finishing.
Select a mode
| Input | Route |
|---|---|
| No flag | Continue authorized implementation, checks, review and completion |
| Accepted plan path | Execute the plan with current evidence; retain its explicit modes |
--interactive |
Pause for user review at major steps |
--fast |
Skip research; inspect, make a concise plan, implement and verify |
--parallel |
Delegate independent owned work when supported and authorized |
--auto |
Continue all authorized phases without routine approval |
--no-test |
Skip test execution and report that verification gap |
--tdd preserves current behavior with tests before each refactoring phase.
--advice loads references/advisory-supervision-checkpoints.md; also honor an
accepted plan's advice handover or Failure Protocol. Its failed-verification counsel
checkpoint remains active in every mode. --yagni opts into scope cutting; otherwise
deliver all requested scope and nothing extra. Pass selected flags to delegates.
Parse detailed signals with references/intent-detection.md only when necessary.
For cross-skill sequence decisions use references/workflow-routing.md.
Implement and finish
- Reuse valid inspection and acceptance evidence. A small change needs a concise plan; write phase files when modules, public contracts, schemas or data require coordination.
- Follow
references/workflow-steps.mdfor implementation, TDD and finalization. Resolve existing plans files-first viareferences/plan-state-files-first.md. - Run the narrowest useful checks, then broaden for affected callers and contracts. Reuse results only for unchanged source, inputs and environment. Do not weaken checks.
- Review acceptance, compatibility, security and regression risk. Use
references/review-cycle.mdandreferences/required-subagents.mdto scale review. - Continue repairing within scope. Pause for a changed product decision, destructive
action without authorization, or an evidenced blocker. Explicit interactive gates
are in
references/blocking-gates.md. - Reconcile existing plan state, update impacted docs, and report result, evidence and unresolved limitations. Commit/publish only within the user's authorized scope.
Journal step — opt-out
Skip the automatic /ak-journal step when either applies:
- The invocation includes the
--skip-journalflag, OR ak config prefs resolve --json | jq -r 'if .prefs.journal.auto == false then "false" else "true" end'returnsfalse. If the command errors or prints anything other than the exact stringfalse, treat astrue(default) — corrupt or missing config never suppresses the automatic journal.
Precedence: flag > project config > user config > default (true).
When skipped, print one line:
journal skipped by --skip-journal(flag), orjournal skipped by preference(config).
Explicit /ak-journal and ak journal create are unaffected. The opt-out covers the journal step only; the rest of the Finalize block still runs.