Skip to content
Development
Skill

/to-issues

Decompose a PRD and/or SPEC into implementable, vertically-sliced Issues with real blocking edges, then create them in your chosen platform (GitHub or Local). Use after /prd (and optionally /prd-to-spec) to turn requirements into agent-ready tickets. Triggers on: create issues,

From plugin
goal-workflow-skills
29820 skills

Claude Code

$ npx -y skills add smallnest/goal-workflow --skill to-issues --agent claude-code

SKILL.md

to-issues.SKILL.md
name: to-issues
description: "Decompose a PRD and/or SPEC into implementable, vertically-sliced Issues with real blocking edges, then create them in your chosen platform (GitHub or Local). Use after /prd (and optionally /prd-to-spec) to turn requirements into agent-ready tickets. Triggers on: create issues, to-issues, 创建issue, 拆解issue, 生成卡片, 创建卡片, generate issues from PRD, issues from spec."
user-invocable: true

to-issues — PRD/SPEC to Issues

Decompose a PRD and/or technical SPEC into small, **independently demoable** Issues, each sized to fit a single fresh context window, then create them in your chosen platform. Works standalone — you don't need to have run `/prd` first.

Every Issue this skill produces is **agent-ready by construction**: a fresh session that has never seen your PRD/SPEC can pick it up and finish it.

---

Core principle: tracer bullets, not layers

This is the rule that matters most, and the one models break most often.

  • A **horizontal** slice ships one layer of the change (all the schema in one ticket, all the API in another, all the UI in a third). Nothing works until every layer lands, and each ticket's acceptance criteria have to reach into work another ticket owns. This is the default the model falls into — **avoid it.**
  • A **vertical** slice — the *tracer bullet* — ships one thin but complete path through every layer at once (schema + API + UI + tests for a single narrow behaviour). It is verifiable alone the moment it lands, and it owns everything it grades.

**The test for every Issue: "What can I demo when this is done?"** If the answer is a layer ("the database has a priority column") rather than a behaviour ("a user can set a task's priority and see it persist"), it is a horizontal slice — re-slice it.

**Sizing floor:** if the whole change fits in one context window, you don't need Issues at all. Say so and point the user straight at `/goal`.

> Keep this skill in the **same context window** as `/prd-to-spec`. Don't clear or compact between them, or the SPEC has to be re-fetched and may truncate.

---

The Job

1. **Locate input** — find a PRD or SPEC file (auto-detect or user-specified) 2. **Find prefactoring** — surface "make the change easy, then make the easy change" work and order it first 3. **Decompose into vertical Issues** — break behaviour into tracer-bullet tickets with blocking edges 4. **Quiz the user** — present the numbered list and push on granularity, edges, and demo paths before publishing 5. **Choose platform** — GitHub / Local 6. **Create Issues** — blockers first, with native blocking links, then print summary

---

Step 1: Locate Input

Find the input document:

What should I base the Issues on?

A. Auto-detect: scan tasks/ for recent PRDs and SPECs
B. Specific PRD file (e.g., tasks/prd-priority-system.md)
C. Specific SPEC file (e.g., tasks/spec-priority-system.md)
D. Both PRD and SPEC (best: PRD for requirements, SPEC for technical contracts)
E. Paste requirements directly

If auto-detecting, list available files and let the user choose.

If both PRD and SPEC are available, use the SPEC's Section 10.2 (Issue Mapping) as the primary guide, supplemented by PRD's User Stories. If only PRD is available, generate Issues directly from User Stories.

---

Step 2: Find Prefactoring First

Before slicing features, look for **prefactoring**: mechanical groundwork that makes the feature Issues small and safe — extracting a shared helper, widening a type, adding a seam, moving a file. Order this work **first**, as its own Issue(s), so the feature tickets that depend on it stay thin.

If you find none, skip this step. Don't invent busywork.

---

Step 3: Decompose into Vertical Issues

Generate the Issue list. Rules:

  • **Each Issue is a tracer bullet** — a narrow, complete, demoable path through every layer it touches. Not "the backend for X"; rather "X, end to end, for one case."
  • **Each Issue fits one fresh context window** — a single agent session completes it without needing you in the room.
  • **Split by behaviour, not by layer** — if a User Story is large, split it into 2-3 *narrower behaviours*, each still vertical, with explicit blocking edges. Never split it into a backend ticket and a frontend ticket.
  • **Merge tiny stories** — 1-2 trivial criteria that don't stand alone as a demo should merge into a related Issue.
  • **Declare blocking edges explicitly** — every Issue lists what must finish before it can start. These edges are the point of the artifact.
  • **Number Issues in dependency order** — blockers first, so an implementer (or the tracker) always has a valid frontier to start from.
  • **If SPEC is available** — enrich each Issue with SPEC references (API contracts, data model sections, error handling). But keep file paths and line numbers *out* of the body — they rot; describe behaviour and contracts instead.

**Falsifiable acceptance criteria.** For each criterion, name the observation that would show it *false*, and confirm it would fail at the commit the implementer starts from. Reject three shapes: a criterion already true at the base commit, one that can only be satisfied by work another Issue owns, and one that merely restates the request. A vertical slice delivers behaviour that didn't exist before, so it should be red at the base commit by construction.

**Issue format:**

Issue #N: [Title — a behaviour, not a layer]
---
Description: [What behaviour this delivers, end to end, and why]
Demo path: [The one thing you can show working when this lands]
Acceptance Criteria:
- [ ] [Falsifiable — names an observation that fails at the base commit]
- [ ] ...
Blocked by: [None / Issue #X, #Y]
Priority: [high / medium / low]
SPEC Reference: [Section X.Y — contracts only, no file paths; only if SPEC available]

---

Step 4: Quiz the User (do not skip)

Present the breakdown as a numbered list and **quiz** the user before publishing anything. Over-decomposition and accidental horizontal

Read more
@smallnest
Ships withgoal-workflow-skills

An AI-driven development workflow — from PRD to shipped code, all within Claude Code.

Stars on GitHub

Momentum

stars in total
298
Star history of smallnest/goal-workflow on GitHub, a chart by star-history.com

Other skills on goal-workflow-skills.

design-it

design-it

Use when turning a requirement, spec, or feature brief into a single self-contained HTML design document in a fixed house style —…

graph

graph

Graph engineering for parallel task execution: convert a task, PRD, SPEC, or issue set into a dependency graph (DAG), layer it…

humanize-it

humanize-it

对指定文档进行去 AI 味的改写。自动选择最合适的人性化策略(humanizer-zh / humanize-chinese / technical-writing), 迭代改写直到效果达标或迭代 42 次为止。适用于中文文本的去 AI…

insight-diagram

insight-diagram

为任意项目生成 UML 图、架构图和流程图。分析代码库后让用户选择要生成的图表类型,使用 architecture-diagram skill 渲染为 HTML+SVG,保存到 docs/ 目录。适用于任何软件项目的文档可视化。

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about to-issues.

Which coding agents can use to-issues?
to-issues installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.