/spec-development:plan-to-ticketsfrom spec-development
Converts structured planning documents into ticket hierarchies in task trackers (ClickUp, Linear, Jira, Asana, etc.) with dependency wiring and ID mapping.
Ships in spec-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill converts a written plan into a hierarchy of tickets in a task tracker (ClickUp, Linear, Jira, Asana, Notion, GitHub Projects, etc.). It captures the durable process lessons that aren't obvious the first time you do it at scale, plus platform-specific quirks that will bite if you don't know about them.
The work is mostly mechanical — read structured input, create things, wire relationships — but two failure modes are common and expensive:
86ahjxrh2, LIN-1234, etc.) when you create a ticket. You need those to wire dependencies later. If you don't capture them as you create each ticket, you'll have to do a second pass to look them all up — slow and error-prone.The rest of this skill exists to make sure you don't fall into either trap and to surface the smaller gotchas (status string formats, markdown rendering, batching strategy).
The operator will hand you either a planning document or point at one. Before any tool calls, confirm three things:
After reading the source doc and before doing anything else, assess whether the plan is actually ready to become tickets. Importing a half-baked plan produces half-baked tickets — and unlike a draft doc, you can't easily edit 100+ tickets into shape after the fact. It's much cheaper to refuse the work and ask the operator to tighten the plan first.
Required signals (if any are missing, stop and inform the operator):
P1.T07 — even just numbered tasks per section is fine — but every task needs to be uniquely addressable.Strongly recommended signals (if missing, warn the operator but proceed if they confirm):
Blocked by:, "after X is done", arrows in a diagram — any signal of ordering. Without this, dependency wiring (Step 6) is impossible and the tracker becomes a flat bag of work.Nice-to-have (worth noting but never blocking):
If required signals are missing, stop here and tell the operator something like:
"The plan you've shared isn't ready for ticket creation yet — it reads more like a [brief / design narrative / meeting notes / vision doc]. Before we can ticket this, the plan needs to:
- [specific gap 1, e.g., 'Break the work into named or numbered tasks; right now it's a single section of prose']
- [specific gap 2, e.g., 'Group those tasks under phases or milestones']
- [specific gap 3, e.g., 'Add a one-sentence "what does done look like" line per task']
Want help spec'ing this out first? I can [reference relevant skill:
superpowers:writing-plansif available, or 'walk through it with you']. Once the plan looks like an implementation plan, come back and we'll ticket it."
Be specific about what's missing — generic "the plan needs more detail" feedback isn't actionable. Quote actual lines from the source doc to show what you saw vs. what you'd need to see.
If strongly-recommended signals are missing, warn explicitly and get the operator's explicit consent before continuing:
"I can ticket this, but heads-up: the plan doesn't include acceptance criteria per task. The resulting tickets will have titles and a context paragraph but no 'definition of done' — which usually causes scope creep later. Want to add ACs before we ticket, or proceed as-is?"
Don't quietly proceed in this case. The cost of asking is 30 seconds; the cost of importing 100 low-quality tickets is hours of cleanup.
If the operator didn't name a tracker, use AskUserQuestion with a single question listing the trackers you can actually drive. Don't just list every popular tracker — only offer ones where you have a working MCP or integration. Before asking, do a quick capability check against your actual available-tools list (the MCP prefixes vary by environment — common ones are mcp__clickup__*, mcp__linear__*, mcp__atlassian_* for Jira/Confluence, mcp__asana__*, mcp__github__* — but always verify against what's actually loaded; don't assume from these prefixes).
If none are available, offer the file-based fallback before assuming the operator wants to wire up an integration: "I don't see a connected task-tracker integration. I can either (a) generate a directory of markdown files that act as checkbox-driven tickets — same hierarchy, checkable by agents, version-controlled in your repo — or (b) wait while you add a tracker MCP. Want the markdown fallback?" If they say yes, read references/markdown-fallback.md for the full pattern (root README.md with phase checkboxes that link to per-phase files, each task with a [ ] Task complete box and a ### Steps checklist underneath).
If exactly one is available, default to it and just confirm: "I'll import this into ClickUp via the connected MCP — is that right?"
If multiple are available, ask which one, with each option labeled by the integration name so the operator sees what's actually wired up.
These prevent the most expensive rework. Ask all four in one pass with AskUserQuestion rather than one at a time. Tailor the option labels to the source doc's actual structure (e.g., if the doc uses "Phases" and "Tasks", say so).
Hierarchy depth
Handling of already-done items — Skip / include all open / include with appropriate statuses set. If a prereq section calls some items complete and others in progress, "include with statuses set" is usually right.
Dependencies — Wire Blocked by: relationships as tracker-native dependency links, or leave them in the description only. Native dependencies are worth it if the tracker has a critical-path view; descriptions-only is fine for small plans.
Tags — Phase / effort (S/M/L) / domain. Skip entirely is also a fine answer if hierarchy already encodes the grouping.
Why ask all four together: they're not independent. If hierarchy is 2-level, then phase tags become less useful because the parent already encodes phase. If you skip dependencies, the ordering question changes. Asking together lets the operator see the shape of the build before committing.
Estimate ticket count and time before you start:
If the math says >30 minutes of tool calls, tell the operator the rough estimate before starting. They may want to narrow scope (one phase at a time) or accept the time cost.
Before creating the first ticket, decide where you'll keep the plan_id → tracker_id map. This is what makes dependency wiring possible without a second lookup pass — and it's also what makes the build resumable if the conversation gets interrupted.
Default to a repo-local path so the file survives reboots and is reviewable by the operator:
mkdir -p .plan-import && echo "plan_id,tracker_id" > .plan-import/ids.csv
echo ".plan-import/" >> .gitignore # if a git repo and not already ignored
Use /tmp/plan-import/ only if explicitly asked for ephemeral state, or if you're not in a directory you can write to. /tmp is wiped on reboot, which kills resume.
After every successful create call, append <plan_id>,<returned_tracker_id> to the file. Don't batch this — do it immediately. The cost is one tiny echo per ticket; the benefit is that if anything goes wrong, the file accurately reflects what's actually in the tracker.
Things can and do go wrong mid-build (network blip, rate limit, operator changes their mind). Treat the ID map as the single source of truth:
plan_id, but do not write to ids.csv. Continue with the next ticket. At the end, report the failed plan_ids so the operator can decide whether to retry or fix manually. Don't retry inline — the failure may be informative (e.g., a permission issue that affects every subsequent call)..plan-import/ids.csv first. Every plan_id already in that file is already created — skip it. Pick up creating from the first unmapped plan_id. This is why per-ticket appends matter: a batched write that never flushed would leave you with no resume point.Build in dependency order: root → phase parents → task children. Within each parent, ticket-creation calls share no state with each other, so siblings could be parallelized — but in practice the parent ID is the dependency, so creates are sequential within a parent and the speedup is small. Keep it linear and simple.
Skip dependency wiring during this step — that's a separate batch pass in Step 6. Trying to set dependencies inline forces creates to be ordered by dependency depth and slows everything down for no benefit. Just create the tickets here; wire edges later.
For each ticket:
markdown_description (the plain description field renders as literal text); see references/<tracker>.md for your tracker's exact field name.## Steps markdown checklist at the bottom of each task description with the step items (e.g., for TDD: red → green → refactor → verify → complete).For status-setting on already-done items: status strings vary per tracker — see references/<tracker>.md. Trackers commonly fail the entire create call when an unknown status is passed (ClickUp does this; others may too). Safe pattern: create the ticket without a status, then call the update endpoint with the desired status separately. An update failure just leaves the status as the default — far less destructive than a failed create.
Don't try to interleave dependency creation with ticket creation. Do all creates first, then dependencies as a single batch pass.
The pattern:
Blocked by: edge from the source doc into a separate CSV: .plan-import/deps.csv with format child_plan_id,parent_plan_id.ids.csv from Step 4. Use awk with exact-match on the first field, not grep — plan IDs like P1.T1 and P1.T10 will false-match each other under a prefix regex:
while IFS=, read -r child parent; do
child_id=$(awk -F, -v k="$child" '$1==k {print $2}' .plan-import/ids.csv)
parent_id=$(awk -F, -v k="$parent" '$1==k {print $2}' .plan-import/ids.csv)
echo "$child_id,$parent_id"
done < .plan-import/deps.csv > .plan-import/deps-resolved.csv
wc -l deps.csv deps-resolved.csv should match. Any missing line means an unresolved plan_id — likely a typo in the source doc or a create that failed silently. Fix before proceeding..plan-import/deps-failed.csv and continue. At the end, retry the failures once; report what still fails so the operator can review.Direction matters: trackers usually have two ways to express the same edge (A waiting_on B and B blocking A). Pick one direction and use it consistently. The natural reading of Blocked by: in a plan doc is "child waiting on parent" — so most trackers map cleanly with child_id waiting_on parent_id. ClickUp follows this convention; verify your tracker's reference file before assuming.
Before declaring done, sanity-check by spot-reading 2–3 tickets in the tracker UI:
# headers, you used description instead of markdown_description.)Count the tickets created (one per ticket creation API call) and compare to expected. Report the totals back to the operator with a link to the root ticket.
When working with a specific tracker, read the corresponding reference file:
references/clickup.md (filled in)references/linear.md (filled in)references/jira.md (stub)references/asana.md (stub)references/notion.md (stub)references/github-projects.md (stub)references/markdown-fallback.md — produces a checkbox-driven directory of phase + task markdown files that agents can self-coordinate against, with git as the audit trail.The stubs aren't empty — each lists the specific things to capture (MCP tool names, status workflow, dependency direction, field-type quirks) so the first person to use the skill against that tracker has a checklist instead of a blank page. When you finish a job against a stubbed tracker, fill in what you learned before signing off — future you will thank present you.
TodoWrite in Claude Code, TaskCreate / TaskUpdate in some Anthropic-internal harnesses) so the operator can see progress at a glance. Create one todo per phase; mark it in-progress when you start the phase and completed when every task in that phase is done.references/asana.md (opens in a new tab)references/clickup.md (opens in a new tab)references/github-projects.md (opens in a new tab)references/jira.md (opens in a new tab)references/linear.md (opens in a new tab)references/markdown-fallback.md (opens in a new tab)references/notion.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub donnfelker/loop-skills --plugin spec-developmentOther plugins' skills for the same job