From codebake
Use when a Codebake PRD exists and you need to load the Codebake project with individually-grabbable tasks via the Codebake MCP — uses tracer-bullet vertical slices so each task is end-to-end demoable.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codebake:task-writerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read a PRD and create real Codebake tasks via the Codebake MCP. Tasks are **tracer-bullet vertical slices** — each one cuts end-to-end through every layer (data → logic → API → UI → tests) and is demoable on its own. Each task carries enough context to be picked up by a fresh agent or human **without reading the full PRD** — copy what's relevant, link to the rest.
Read a PRD and create real Codebake tasks via the Codebake MCP. Tasks are tracer-bullet vertical slices — each one cuts end-to-end through every layer (data → logic → API → UI → tests) and is demoable on its own. Each task carries enough context to be picked up by a fresh agent or human without reading the full PRD — copy what's relevant, link to the rest.
Announce at start: "Using codebake:task-writer to load tasks from the PRD."
codebake:prd-writer) at .claude/codebake/prds/mcp__codebake__projects)codebake:prd-writer firstRead resource://workflow from the Codebake MCP (ReadMcpResourceTool server=codebake uri=resource://workflow). This is the canonical source for completion / commenting / code-change reporting rules. Follow it.
Read the PRD in full plus the spec it references. Note every user story and module.
Identify the Codebake project.
mcp__codebake__projects action=list and confirm with the useraction=details for phases, labels, members, and the task_prefixConfirm target phase with the user. Default to the current phase unless the PRD explicitly spans multiple.
Decompose the PRD into vertical slices. Each slice is a tracer bullet:
- Cuts a narrow but COMPLETE path through every relevant layer (schema → logic → API → UI → tests) - A completed slice is demoable or verifiable on its own — not "the schema half of US-3" - Prefer many thin slices over few thick ones - Cross-cutting items (migrations, infra, docs, observability) → their own tasks only when they truly aren't part of any sliceFor each slice, decide:
AFK (agent can complete autonomously) vs HITL (needs human decision — design review, architectural choice, ambiguity in PRD). Prefer AFK.Write the proposed task list to the user FIRST. Do NOT call tasks_mutate yet.
Format:
Proposed tasks for <project> in phase <phase>:
1. <title> [AFK]
Covers: US-1, US-2
Blocked by: none
2. <title> [HITL]
Covers: US-3
Blocked by: #1
3. ...
Wait for approval. Iterate on granularity, dependencies, and AFK/HITL marking until the user is happy.
Create tasks in dependency order (blockers first) so you can reference real Codebake identifiers in "Blocked by".
For each approved task, call mcp__codebake__tasks_mutate action=add:
project_id — slug or UUIDphase_id — confirmed phasetitle — action-oriented, starts with a verbdescription — see template below; rich markdown, self-containedtags — type marker (afk or hitl) plus area (e.g., backend, ui, migration, docs)agent: "claude_code" — required when called from a human PAT (per Codebake workflow). Always pass it.idempotency_key — stable per task (e.g., <prd-slug>-slice-1) so re-runs are safeSubtasks only when work genuinely splits. Use tasks_mutate action=add_subtasks with the parent's task_identifier. Don't subtask just to look organized.
Verify. tasks_query action=list project_id phase_id and report created identifiers (e.g., CB-201–CB-208) plus the PRD path back to the user.
Pretend the agent picking up this task has never seen the PRD and may not be able to read the project's files. Can they start working from the description alone?
If no, the description is incomplete. Add what's missing — but copy only the relevant section, not the whole PRD.
**Type:** AFK | HITL
**Covers:** US-N (and US-M if multi-story)
**Blocked by:** #<task-id> | none
## Why
<1–2 sentences. The user-story value this slice delivers end-to-end.>
## What to build
<End-to-end behavior of this slice. Describe what works at the end, not layer-by-layer implementation.>
## Acceptance Criteria
- Given <…>
- When <…>
- Then <…>
## Tests
Use the project's actual test framework (read the project manifest — `package.json` / `mix.exs` / `Cargo.toml` / etc — and follow the prior-art test in the PRD).
- What to test: <plain English>
- Prior art: `<path>` (from PRD)
- Scaffold:
```<lang-from-prd>
// starter test in the project's chosen framework
```
## Implementation Hints
*(Omit this section if the PRD didn't have any.)*
- <copy from PRD>
## Files
- New: `<path>`
- Modify: `<path>`
- Test: `<path>`
## Reference
- PRD: `.claude/codebake/prds/<file>.md` (US-N)
- Spec: `.claude/codebake/specs/<file>.md`
afk / hitl) and area tag are present and consistent across the batch.tasks_mutate add before the user approves the proposed task listagent: "claude_code" on add / start / complete — Codebake workflow violationresource://workflow — that resource is the source of truth and may have evolved since this skill was writtenProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.
npx claudepluginhub misfitlab/codebake-skills --plugin codebake