From task-planner
Turn a vague feature idea into a rigorous, implementation-ready plan. Triggers when the user asks to "spec out", "plan", "decompose", "architect", "design", or "break down" a feature, or says things like "I want to build X — give me a plan", "let's spec this", "draft an implementation plan", "написать план задачи", "спланируй мне фичу", "распиши задачу". Especially appropriate when the request is multi-area (DB + API + UI + email + realtime), when the project has an existing architecture (FSD, hexagonal, clean) that the plan must respect, or when the deliverable is a wiki/spec artifact. Use this skill instead of jumping straight to code — it forces clarifying questions first, surfaces hidden trade-offs, and produces a phased plan with explicit risks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/task-planner:task-plannerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A workflow for converting a fuzzy "I want feature X" into a complete implementation plan that respects the existing project architecture and ends with a versioned artifact (wiki task page).
A workflow for converting a fuzzy "I want feature X" into a complete implementation plan that respects the existing project architecture and ends with a versioned artifact (wiki task page).
Without structure, Claude tends to start coding immediately on the most visible part of a request, miss cross-cutting concerns (auth, realtime, email, i18n), and produce plans that don't fit the project's existing patterns (FSD layering, naming conventions, glass-style cards, etc.). The result is rework.
This skill enforces a slow start — clarify, map to architecture, phase, document — so the eventual implementation is straight-line.
If in doubt, run the Phase 0 trigger check below; if it fails on more than one criterion, don't trigger.
Skip this skill if ALL of:
Use this skill if ANY of:
The whole flow is: discover → clarify → design → phase → document. Don't compress phases. The clarify phase is where the most value is created.
Before asking the user anything, read the project's hot context. The goal is to be briefed enough to ask specific questions instead of generic ones.
Read in this order, stopping when you have enough:
wiki/_meta/hot.md, CLAUDE.md, or README.md. Get a feel for stack, current focus, and recent work.wiki/tasks/index.md if exists. CRITICAL — see Phase 1.5 below for the business-draft handoff protocol.wiki/_meta/index.md or equivalent. See what entities/features already exist that this task might touch.db-club-application.md + feature-club-applications.md first because the pattern is the same. A "leaderboard widget" → read existing widget patterns.Budget: ≤ 8000 tokens of project context. Don't read the whole codebase.
If the project has no wiki / index / schema, just read the README and ask the user where to find architectural context.
Always run this phase if wiki/tasks/index.md exists. It bridges the non-technical partner's planning skill (task-business-planner) and this technical one.
Open wiki/tasks/index.md and look for the section "🔮 Бизнес-черновики" (or business-drafts in English). Each row references a task file with frontmatter status: business-draft and ready_for_dev: false.
Read the title and 1–2 sentence summary of each draft. You're checking whether the user's current request semantically matches one of them.
Test for a match using the user's prompt:
If you found a strong match, skip Phase 2 entirely (the business questions are already answered in the draft) and tell the user:
"Нашёл бизнес-черновик
wiki/tasks/<file>.mdот партнёра — ''. Беру его за основу и сразу задам технические уточнения."
Then:
If you found a weak match, ask one targeted question via the structured-question tool before Phase 2:
"Нашёл похожий бизнес-черновик от партнёра: ''. Это та же задача или другая?"
Options:
- Та же — берём в работу, дополняем техническим планом.
- Связана, но это другая фича — учти её как зависимость.
- Не связана.
Branch on the answer.
If you used a business-draft (strong match), the artifact is the same file the partner created. You don't make a new one — you append technical sections.
After writing the technical plan, also:
status: business-draft → status: pending, ready_for_dev: false → ready_for_dev: true.wiki/tasks/index.md from "🔮 Бизнес-черновики" to "🟡 Очередь".
| YYYY-MM-DD | Дополнено техническим планом через task-planner. Status: business-draft → pending. |
This keeps a clean audit trail: the same file shows the partner's original framing, the technical refinement, and the eventual implementation result.
Use the project's AskUserQuestion-style tool (or numbered questions if no tool available). Ask 2–4 questions per round, max 2 rounds before drafting the plan. The questions must be:
See references/clarifying-questions-guide.md for the four classes of questions to cover and ready-to-adapt templates.
After Round 1, if the user's answer reveals an inconsistency (e.g., they want X but their other choice forbids X), call it out before drafting:
"One nuance: you picked A and also said the system can never have B, but A implies B in case Y. Want to revisit?"
This is the highest-leverage moment in the whole workflow. Don't skip it.
Now produce the technical plan. Do it in this order — schema first, because everything downstream depends on it.
For each new entity:
User, Tournament, etc.). Show the + field diff.@@unique and @@index decisions and explain why — index choice is a small but real architectural decision.For each new endpoint:
For server actions, the same in "use server" form.
Map the work to the project's layering. For FSD specifically, list every slice you'll touch:
| Layer | Path | Action |
|---|---|---|
| db | prisma/schema.prisma | + 5 models, + 4 enum |
| entity | src/entities/<name>/ | create |
| feature | src/features/<name>/ | create |
| widget | src/widgets/<name>/ | create |
| view | src/views/<name>/ | create |
| route | app/[locale]/<path>/page.tsx | create / edit |
| api | app/api/<path>/route.ts | create |
For non-FSD projects, adapt the column names — but keep the table. Seeing every touched file in one place is the value.
See references/architecture-mapping.md for templates per architecture (FSD, hexagonal, clean, MVC, plain Next.js).
Write 4–8 bullet points of the form "X — chosen instead of Y because Z". These are the trade-offs you've already resolved on the user's behalf. If you're not sure why a decision was made, it's not yet a decision.
Examples of what belongs here:
A flat list of warnings the implementer will thank you for. Each is one line, starting with ⚠️. Cover at minimum:
Pull from the project's existing GOTCHA list (e.g. wiki/_meta/hot.md "GOTCHA" sections). If the project has known traps with the framework version (HeroUI v3 broken tokens, Tailwind v4 cascade, etc.), surface the ones that apply.
Decompose into 8–14 numbered phases, each with:
Order phases so each one is reviewable independently. Schema migration should usually be Phase 1 and committable on its own.
If the project has a UX-first rule (e.g. "always run ux-senior + storybook-expert before any UI feature"), respect it — slot Phase 0 with both agents in parallel.
End with a QA gate phase: lint + types + tests + screenshots. This is non-negotiable for any non-trivial change.
Produce a single durable artifact. Look for the project's task-template convention:
wiki/tasks/YYYY-MM-DD-NNN-short-name.md from wiki/tasks/_template.mddocs/adr/NNN-decision-name.mdIf the project has a template, use it verbatim. If not, fall back to the structure in references/task-template.md.
The artifact MUST contain:
🟡 pending)After writing the artifact, also:
wiki/tasks/index.md or equivalent)hot.md, add a one-line entry under "Current focus" — but only if the user signals they're going to start work soon.prisma, typescript, sql).**Decision** — rationale.⚠️ <risk>.Before returning the plan, self-check:
pending + ready_for_dev: true AND moved the row in wiki/tasks/index.md from "Бизнес-черновики" to "Очередь"If any check fails, revise before producing the final artifact.
references/clarifying-questions-guide.md — the four classes of questions every plan must cover, with ready-to-adapt templates.references/architecture-mapping.md — how to structure the layer-mapping table for FSD, hexagonal, clean, MVC, and plain Next.js projects.references/task-template.md — fallback artifact template when the project has no convention of its own.references/example-trainers-task.md — a real example: turning "интеграция функционала тренеров" into a complete plan, including all five phases. Read this to calibrate the level of detail expected.These should reliably activate the skill:
These should NOT activate it:
If the request is borderline, default to running the Phase 0 trigger check explicitly and showing the user your decision.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub lumbagog/claude-skills-marketplace --plugin task-planner