agentleFS
mik2winmik2win/foureyes/skills/to-issues/SKILL.md

to-issues

Skill2 starsChanged 3 months agoMITView on GitHub

Break a plan, spec, or PRD into independently-grabbable issues using TRACER-BULLET vertical slices — each slice cuts end-to-end through every layer (schema→logic→API→UI→tests), is demoable on its own, and declares what blocks it. Writes the issues as local markdown files in the project's backlog (the local issue tracker), in dependency order. TRIGGER when: the user wants to split a plan/PRD/spec into work items, "make issues/tickets out of this", "break this down into slices", or set up grabbable units for later implementation. DO NOT TRIGGER, above all, on close-out — "I implemented the plans, check everything is done, can I move the epic to done?" is /close-epic, not breakdown. This skill looks FORWARD: it creates work that has not happened yet. Also DO NOT TRIGGER when: the user wants the parallel-safe execution decomposition with file-ownership waves (use /prepare), or wants to build one known change now (use /implement).

130 other projects use a version of this, 93 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use decision-mapping, modern-go and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • FabienDehopreSkill

    decision-mapping

    Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.

    Also in 7 projects that use this

  • jidechaoSkill

    modern-go

    Modernize Go code by applying version-appropriate idioms and APIs (gofix-style transformations). Scans go.mod for the Go version, then transforms Go source files to use modern patterns—from Go 1.0 through 1.26+. Use when the user says "现代化","现代Go语言", "地道的", "idiomatic", "modernize", "modern-go", "update Go code", "gofix", or wants to upgrade Go idioms.

    Also in 3 projects that use this

  • victorgarciaesgiSkill

    zoom-out

    Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

    Also in 49 projects that use this

  • jidechaoSkill

    loop-it

    Automated issue loop with checkpoint/resume: fetch open GitHub issues → dependency-aware topological sort → implement each issue end-to-end → review with /review-it → document with /note-it → ship with /ship-it → repeat. Persists state to .loop-state.json for crash recovery. Triggers on: loop-it, loop issues, auto implement, 批量实现, 循环实现, 实现所有issue, 恢复循环, resume loop.

    Also in 3 projects that use this

  • simo97Skill

    request-refactor-plan

    Use this skill when user wants to create a refactor plan.

    Also in 18 projects that use this

  • simo97Skill

    edit-article

    The user will invoke this skill to help them edit an article.

    Also in 18 projects that use this

  • +2 more from jidechao
  • +2 more from simo97

The file

We split this skill into the rules it gives an agent

7 rules. 1 is common, 2 are distinctive, and 4 are very specific to this project.

  • 1

    Common

    Most of the 123 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Routing check before anything else: If the request is about work the user says they have *already finished* ("реализовал/implemented the …

    line 32
  2. Very specific:

    Read .claude/PROJECT.md — the Issue tracker (local) and Issues directory (where issue files live, e.g.

    line 42
  3. Very specific:

    If CONTEXT.md exists, read it — issue titles and bodies use the project's domain vocabulary and respect any ADRs in the area touched.

    line 47
  4. Very specific:

    Read the source in $ARGUMENTS (plan/PRD/spec) in full, including its user stories.

    line 49
  5. Distinctive:

    If you haven't already, explore the affected code (Grep/Glob, or the Explore agent for a wide repo) to understand the current state.

    line 55
  6. Common:

    Should any slices be merged or split?

    line 86
  7. Distinctive:

    Vertical, not horizontal: Every slice is an end-to-end demoable increment.

    line 147

“Common” is measured: kept by at least 6 in 10 of the 123 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

To Issues: $ARGUMENTS

Break a plan into independently-grabbable issues using vertical slices (tracer bullets). Each issue is a thin slice that cuts through all integration layers end-to-end — a narrow but COMPLETE path someone can pick up, build, and demo on its own. This is the product-level breakdown that turns a PRD into a backlog of real work items.

$ARGUMENTS is the plan/PRD/spec to break down (a file path, or the current conversation).

This skill carries only invariant logic. The backlog location, the local issue-tracker convention, and triage labels come from .claude/PROJECT.md; domain vocabulary comes from CONTEXT.md.

Routing check before anything else. If the request is about work the user says they have already finished ("реализовал/implemented the plans — check it's all done, can this go to done?"), that is /close-epic, not breakdown. Close-out phrased as work is the single most frequent misroute into the grooming skills — 7 sessions, corpus 2026-07-31. Say which skill you are routing to and stop; do not slice a finished epic into fresh issues.


Phase 0 — Load profile

  1. Read .claude/PROJECT.md — the Issue tracker (local) and Issues directory (where issue files live, e.g. <backlog>/issues/), plus Triage labels and Architecture. If missing or TEMPLATE, fall back to the root CLAUDE.md (always in context) when it carries the issues directory and architecture — note you're running without a kit profile; STOP → /bootstrap first only if neither has them.
  2. If CONTEXT.md exists, read it — issue titles and bodies use the project's domain vocabulary and respect any ADRs in the area touched.
  3. Read the source in $ARGUMENTS (plan/PRD/spec) in full, including its user stories.

Phase 1 — Explore for prefactors (optional)

If you haven't already, explore the affected code (Grep/Glob, or the Explore agent for a wide repo) to understand the current state. Look for a prefactor that would make the slices easier — "make the change easy, then make the easy change." A prefactor becomes the first slice (it blocks the rest), not a hidden assumption inside another slice.


Phase 2 — Draft the vertical slices

Cut the plan into tracer-bullet issues:

<vertical-slice-rules> - Each slice delivers a narrow but **COMPLETE** path through every layer it needs (schema, domain logic, API, UI, tests) — NOT a horizontal slice of one layer ("all the models", "all the UI"). - A completed slice is **demoable or verifiable on its own** — it adds one real, usable increment. - Any **prefactor** is its own first slice and blocks the slices that depend on it. - Slices are **independently grabbable**: minimal coupling, explicit `blocked_by` where order matters. </vertical-slice-rules>

Horizontal slicing is the anti-pattern: splitting by layer produces issues that can't be demoed until the last one lands and that all break together. Slice by capability, not by layer.


Phase 3 — Quiz the user

Present the proposed breakdown as a numbered list. Per slice show: Title, Blocked by (which slices must finish first), and User stories covered (US-n from the source, if any). Ask:

  • Does the granularity feel right (too coarse / too fine)?
  • Are the dependency relationships correct?
  • Should any slices be merged or split?

Iterate (via AskUserQuestion for concrete forks) until the user approves the breakdown. Don't write files before approval.


Phase 4 — Write the issues (local files)

Create the issues directory if it doesn't exist (to-issues owns it). Then write one markdown file per approved slice to the issues directory from PROJECT.md (the local issue tracker), in dependency order (blockers first) so blocked_by can reference real slice ids. Naming: <issues-dir>/NNNN-<slug>.md (zero-padded sequence). Body:

---
id: NNNN
title: <short capability name>
status: needs-triage   # the entry state — /triage moves it to ready; never stamp ready here
blocked_by: [<ids, or empty>]
user_stories: [US-1, US-3]
---

## Capability
<the narrow end-to-end increment this slice delivers — demoable on its own>

## Layers touched
<schema / domain / API / UI / tests — the complete path this slice cuts, with real paths from
PROJECT.md → Architecture>

## Acceptance
- [ ] <verifiable check that proves the slice works end-to-end>

## Notes
<prefactor needed? patterns to follow? pitfalls? — cite path:line>

Then write/update the index at <issues-dir>/00-index.md (this exact name, so /triage can find it): the slice list with titles, status, blocked_by, and the dependency order, so the backlog is scannable.


Output

## Issues — <source>

| # | Title | Blocked by | Stories | File |
|---|-------|-----------|---------|------|
| 0001 | <slice> | — | US-1 | <path> |

**Order**: 0001 → 0002, 0003 → 0004
**Wrote**: <N issue files + index> to <issues dir>
**Next**: /triage (sort the backlog) · /prepare <issue> (plan a slice) · /implement <issue>

Hard rules

  • Vertical, not horizontal. Every slice is an end-to-end demoable increment. Reject any "all the X layer" issue.
  • Independently grabbable. Explicit blocked_by; minimal coupling; prefactor first.
  • Local files only. Issues are markdown in the backlog location — no external tracker calls.
  • Approve before writing. Phase 3 sign-off precedes any file write.
  • Facts from PROJECT.md. Issues dir, triage labels, architecture, and naming come from the profile; vocabulary from CONTEXT.md.

See also

  • Before: /to-prd or /analyst (the source plan/PRD).
  • /prepare — for an approved slice that's complex, produces the parallel-safe execution decomposition (file-ownership waves). to-issues = product slices; /prepare = how to build one.
  • After: /triage (sort/label the backlog) · /implement (build a slice).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.