apply-turbo-handoffs
Audit the turbo skill lessons that /self-improve writes into this repo's .turbo/handoff/ from other projects, apply the ones the…
Produce an implementation plan at .turbo/plans/<slug>.md. Use when the user asks to \"draft a plan\", \"draft the plan\", \"write an implementation plan\", \"plan this change\", \"create an implementation plan\", or needs a first-draft plan file before refinement.
Claude Code
$ npx -y skills add tobihagemann/turbo --skill draft-plan --agent claude-code
Codex
$ npx skills add tobihagemann/turbo --skill draft-plan -a codex -y
Cursor
$ npx skills add tobihagemann/turbo --skill draft-plan -a cursor -y
Gemini CLI
$ npx skills add tobihagemann/turbo --skill draft-plan -a gemini-cli -y
GitHub Copilot
$ npx skills add tobihagemann/turbo --skill draft-plan -a github-copilot -y
OpenCode
$ npx skills add tobihagemann/turbo --skill draft-plan -a opencode -y
Windsurf
$ npx skills add tobihagemann/turbo --skill draft-plan -a windsurf -y
name: draft-plan description: "Produce an implementation plan at .turbo/plans/[slug].md. Use when the user asks to \"draft a plan\", \"write an implementation plan\", \"plan this change\", or needs a first-draft plan file."
Produce an implementation plan at `.turbo/plans/<slug>.md`. Capture the task, survey patterns, escalate decisions, discuss, and draft.
Use `TaskCreate` to create a task for each step:
1. Capture the task and pick a slug 2. Run `/survey-patterns` skill 3. Consult task-specific skills and docs 4. Escalate product decisions 5. Deep-dive discussion 6. Draft and write the plan file 7. Present summary 8. Act on the user's reply
Absorb the user's request without interrupting. Restate the goal in one or two sentences and confirm.
Generate a slug for the plan file from the task title:
Example: "Add a caching layer to the image pipeline" → `add-a-caching-layer-to-the-image-pipeline`.
If `.turbo/plans/<slug>.md` already exists, append `-2`, `-3`, etc. until the path is free. Do not overwrite.
The user may pass an explicit slug or output path in their request (e.g., "draft plan as `auth-rewrite`"). If so, honor it. If `.turbo/plans/<slug>.md` exists in that case, use `AskUserQuestion` to ask whether to overwrite, append a numeric suffix, or pick a different slug.
A path to a file that already exists is background input rather than an output destination. Treat it as the output path only when the request says so explicitly.
State the chosen slug and the resulting plan path before continuing.
If a path to a background document is passed as input (a design doc, an issue, a written proposal), treat it as the source of truth for product decisions and discussion areas. Read it, then:
A question is resolved only when the document makes a definitive statement that answers it. Mentions without a chosen direction, open questions, and deferred decisions do not count as resolved; escalate those normally. Neither does a constraint on the solution that the document carries from someone other than the user: it stays open for Step 4, however definitively the document states it.
Step 2 (pattern survey) and Step 3 (consult skills and docs) still run in full. The document describes what; `/draft-plan` still surveys how.
Run the `/survey-patterns` skill with the confirmed task description. Keep the returned findings in conversation context for use in Steps 5 and 6.
Ground library and framework choices in current reality before escalating decisions.
1. **Scan for matching skills.** Compare the task description against available skill trigger descriptions. For each unambiguous match, run the skill via the Skill tool. This loads decision-level guidance (idiomatic patterns, known pitfalls, version constraints) before product decisions are made. If unsure, do not load. 2. **Look up library docs.** For libraries or frameworks the task clearly depends on, query documentation MCP tools (or WebSearch as a fallback) when the decision hinges on current library state such as whether a feature exists, which versions support it, or whether an API has been deprecated. 3. **Read both sides of an interface the task implements or adapts.** Read the interface's shipped declaration at the installed version in full, including the obligations its documentation places on implementers; it outranks hosted docs for version-exact facts. Read the production code on the other side as well: the implementation real callers pass in, or the caller that drives the new work.
Keep findings at the decision level: what a library can do, which approach is idiomatic, which version to target. Do not embed specific API signatures or code snippets into the plan. Those belong at execution time, where the same skills are re-loaded.
Identify product or design decisions the user's request did not resolve. Escalate these via `AskUserQuestion` before drafting steps.
**Escalate when:**
**Do not escalate** technical decisions the agent can make autonomously: which data structure, which existing pattern to follow, internal implementation approach. The boundary is product intent.
**Confirm external constraints before escalating.** When an option depends on a thir
Reusable workflows for planning, building, reviewing, and shipping with Claude Code and Codex.
Audit the turbo skill lessons that /self-improve writes into this repo's .turbo/handoff/ from other projects, apply the ones the…
Apply findings by making the suggested code changes. Applies accepted verdicts, escalates ambiguous findings to the user, and…
Assess project-wide structural technical debt: complexity hotspots, deprecated API usage, duplication clusters, architecture rot,…
Shared changelog conventions and formatting rules referenced by /create-changelog and /update-changelog. Not typically invoked…
Enforce existence, reuse, mirror, and symmetry principles to keep new code minimal and consistent with surrounding code. Use when…
Run autonomous task execution using the codex CLI. Use when the user asks to \"codex exec\", \"run codex exec\", \"execute a task…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.