18 skills for structured, multi-phase development with Claude Code
The workflow has 18 skills in five groups. Each runs on the model best suited to its job: Opus for reasoning-heavy work, Sonnet for efficient execution, Haiku for structured template tasks.
| Command | What it does | Model |
|---|---|---|
| /init_workflow | One-time project bootstrap. Creates .workflow_artifacts/ structure, configures permissions, runs /discover. | Opus |
| /discover | Scans all repos, builds inventory, architecture map, and git log. Run once on setup. Also populates .workflow_artifacts/cache/ with per-repo and per-module code summaries (knowledge cache) for faster subsequent skill runs. | Opus |
| /architect | Deep system design. Spawns scan agents in parallel, then synthesizes on Opus. Produces architecture.md. | Opus |
| /thorough_plan | Orchestrates the plan-critic-revise loop. Auto-triages tasks as Small/Medium/Large. | Opus |
| /plan | Creates the initial detailed plan. Reads lessons-learned.md. Can be used standalone. | Opus |
| /critic | Reviews plan in a fresh session against actual code. Reads lessons-learned.md. | Opus |
| /revise | Addresses critic feedback. Used in Large/strict mode (all-Opus). | Opus |
| /revise-fast | Addresses critic feedback. Used in Medium mode (cost-efficient). | Sonnet |
| Command | What it does | Model |
|---|---|---|
| /implement | Writes code from the plan. Requires your explicit command. Never auto-invoked. | Sonnet |
| /review | Verifies implementation vs plan. Integration safety, risk assessment. | Opus |
| /end_of_task | Finalizes accepted work. Commits, pushes branch. Does NOT create PR. Requires your explicit command. | Sonnet |
| Command | What it does | Model |
|---|---|---|
| /gate | Runs automated checks (tests, lint, secrets scan) and STOPS for your approval between every phase. | Sonnet |
| /rollback | Maps commits to plan tasks. Shows what would revert. Requires your confirmation before acting. | Sonnet |
| /expand | User-facing escape hatch to read terse workflow artifacts in English. Resolves .original.md side-files for contract artifacts, or does a lossy LLM re-expansion (banner-flagged) for ephemeral files. Invoke as /expand <path>. | Sonnet |
| Command | What it does | Model |
|---|---|---|
| /start_of_day | Reads daily cache, checks git state, presents briefing with exactly where to resume. | Haiku |
| /end_of_day | Saves session state, consolidates unfinished work, promotes insights to lessons-learned. | Haiku |
| /weekly_review | Aggregates the week's progress, decisions, and outcomes into a structured review. | Haiku |
| Command | What it does | Model |
|---|---|---|
| /capture_insight | Logs a pattern, gotcha, or decision rationale to .workflow_artifacts/memory/daily/insights-<date>.md without interrupting your current task. | Haiku |
/thorough_plan auto-triages every task into one of three profiles. You can override with a prefix: small: add health endpoint, large: rewrite auth layer. When in doubt, Medium is the default.
| Profile | When to use | Planning | Critic loop | Typical cost |
|---|---|---|---|---|
| Small | 1-3 files, single module, no integration risk (bug fix, config change, simple endpoint) | Single /plan pass |
Skipped | ~$2.49 |
| Medium | Multiple files, 1-2 modules, some integration points | /plan + critic loop (/revise-fast on Sonnet) |
Up to 4 rounds | ~$2.99-$4.00 |
| Large | Cross-service, high risk, data migrations, auth changes | /plan + critic loop (/revise on Opus) |
Up to 5 rounds | ~$4.65+ |
Important: /architect is a separate, optional phase you run before /thorough_plan when the task needs system-level design. /thorough_plan does not call /architect. Typically only Large tasks need it.
You just cloned your repos into a project folder and want to set up the workflow.
.workflow_artifacts/memory/: repos-inventory.md, architecture-overview.md, dependencies-map.md, git-log.md. The API gateway routes to all three backend services. Payment and notification communicate via Kafka. 47 recent commits captured. Also wrote .workflow_artifacts/cache/ with repo and module summaries (~5–20K tokens) to speed up /plan, /implement, and /review.That's it for setup. The memory files persist across sessions. Re-run /discover only when repos change significantly.
You need to add a refund flow that touches the payment service, API gateway, and notification service.
.workflow_artifacts/refund-flow/architecture.md. Decomposed into 3 stages: (1) Payment service refund logic + Stripe integration, (2) Gateway endpoint + validation, (3) Notification templates + Kafka consumer. Each stage is independently deployable./thorough_plan to proceed, or tell me what to adjust./plan Opus for stage 1 (payment service refund logic)....workflow_artifacts/refund-flow/current-plan.md./critic Opus in fresh session (round 1).../revise Opus to address critic feedback.../critic round 2....workflow_artifacts/refund-flow/current-plan.md. It took 2 rounds. Main revision: added async refund status handling via Stripe webhooks./implement to start coding.Notice: Claude stops here and waits. It will not start writing code until you explicitly say so.
feat/refund-flow. All existing tests pass. Running gate.../review to proceed..workflow_artifacts/refund-flow/review-1.md. Verdict: CHANGES_REQUESTED./end_of_task to finalize, commit, and push the branch.Again, Claude stops and waits. It won't push until you explicitly accept the work. PR creation is a separate step you do when ready.
feat/refund-flow to origin..workflow_artifacts/memory/lessons-learned.md. Task refund-flow marked as completed.You need to add rate limiting to the API gateway. Touches multiple files but stays within one service.
/plan Opus: 5 tasks — Redis connection, rate limit middleware, per-user config, per-endpoint config, tests. Saved to .workflow_artifacts/api-rate-limiting/current-plan.md./critic Opus round 1: 1 issue — plan uses fixed-window algorithm, should use sliding window to prevent burst at window boundaries. Verdict: REVISE./revise-fast Sonnet: Updated to sliding window with Redis sorted sets. Round 2 critic: PASS./implement to start coding.Medium tasks use Sonnet for /revise-fast (cost-efficient) while keeping /critic on Opus (thorough). This balances cost and quality.
A bug comes in: refunds are failing silently for amounts under $1.
refund.service.go:84, the amount is cast to int before sending to Stripe, so $0.50 becomes $0. Stripe rejects $0 refunds but the error is swallowed at line 91.For small, well-understood fixes, /thorough_plan auto-triages as Small and runs a single-pass plan with no critic loop:
int to int64 (cents), add validation for amount > 0. (2) Add test cases for $0.50, $0.01, and $0 refunds. Files: refund.service.go, refund_test.go./implement./review./end_of_task to finalize.fix/sub-dollar-refund to origin. Task complete.The implementation went wrong and you want to undo it.
feat/refund-flow.e4f5g6 (task 3: event publishing) and h7i8j9 (task 4a: webhook handler).feat/refund-flow is now at commit c3d4e5. Tasks 3 and 4a marked as pending in the plan. Tests pass..workflow_artifacts/memory/... Current stage: implement (tasks 1-4a done, tasks 5-8 pending). Branch: feat/refund-flow. Updating git-log.md with 12 commits from today....workflow_artifacts/memory/lessons-learned.md. Daily cache saved to .workflow_artifacts/memory/daily/2026-03-17.md. 1 session active (refund-flow, in-progress). Tomorrow's priority: finish tasks 5-8 (tests) and run /review./start_of_day when you're back.feat/refund-flow. Resume at: write unit tests for refund.service.go (Task 5 in .workflow_artifacts/refund-flow/current-plan.md)./implement?You're mid-way through the refund feature but an urgent fix comes in.
feat/refund-flow).auth-token-fix/ subfolder.When you're ready to go back:
feat/refund-flow, tasks 1-4a done, tasks 5-8 pending. Ready for /implement.End of day captures both sessions:
/architect is a separate, optional phase you run before /thorough_plan when the task needs system-level design..workflow_artifacts/refund-flow/, .workflow_artifacts/auth-token-fix/ — parallel tasks never mix. Descriptive kebab-case names. Completed tasks move to .workflow_artifacts/finalized/ via /end_of_task.The workflow accumulates knowledge at three levels:
.workflow_artifacts/memory/daily/insights-<date>.md): Claude writes here automatically during task work — patterns, gotchas, decision rationale. Use /capture_insight to log something explicitly..workflow_artifacts/memory/lessons-learned.md): Promoted from Tier 1 at /end_of_day with your confirmation. Planning and review skills read this automatically to avoid repeating past mistakes..workflow_artifacts/memory/workflow-suggestions.md): Insights about the workflow itself. Surfaced at /end_of_day for you to apply to the workflow repo manually.Context windows fill up. This is expected and the workflow is designed for it. Each skill can run in its own chat session — the files on disk are the shared memory between sessions.
Every skill has a "session bootstrap" step. When it starts in a fresh session, it reads what it needs from disk:
| Skill | Reads on startup |
|---|---|
| /architect | CLAUDE.md, .workflow_artifacts/memory/lessons-learned.md, /discover memory files, .workflow_artifacts/<task-name>/ |
| /plan | CLAUDE.md, .workflow_artifacts/memory/lessons-learned.md, .workflow_artifacts/<task-name>/architecture.md, prior critic responses |
| /critic | CLAUDE.md, .workflow_artifacts/memory/lessons-learned.md, .workflow_artifacts/<task-name>/current-plan.md, actual source code |
| /revise | CLAUDE.md, .workflow_artifacts/<task-name>/current-plan.md, latest critic-response |
| /implement | CLAUDE.md, .workflow_artifacts/memory/lessons-learned.md, .workflow_artifacts/memory/sessions/ state, .workflow_artifacts/<task-name>/current-plan.md, source code |
| /review | CLAUDE.md, .workflow_artifacts/memory/lessons-learned.md, .workflow_artifacts/<task-name>/current-plan.md, .workflow_artifacts/<task-name>/architecture.md, git diff + full files |
You never have to re-explain context. If it's in the files, the skill reads it.
Claude saves architecture.md. Close this session.
Claude reads architecture.md from disk, runs plan-critic-revise loop. Saves current-plan.md. Close.
Fresh context! Clean session means Claude focuses on code, not planning noise. Reads the plan from disk. Close when tasks are done.
Fresh eyes on the diff. Reads plan + code, no implementation bias. Close when done.
Short enough to fit in one context. No need to split.
The session state file tells the new session exactly where you left off.
Full pipeline (Large tasks):
Medium/Small tasks (skip /architect):
Inside /thorough_plan (Medium and Large only):
Session lifecycle:
Available at any time:
What gets created in your project folder: