agentleFS
ByronFinnByronFinn/dev-skills/skills/story/SKILL.md

story

Skill4 starsChanged 3 days agoMITView on GitHub

Break a plan into executable Issues using vertical slices. Accepts an existing PRD or a direct feature description. Use when the user wants to convert a plan to Issues, create implementation tickets, or decompose work into subtasks. Trigger words: breakdown, story, 拆分, Issues, tasks, subtasks, decompose.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use story-long-write, story-short-analyze and 10 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.
  • XiaoyangySkill

    story-long-write

    长篇网文写作方法论与 novel-studio pipeline 适配器。用于把长篇开书、大纲、日更、续写、重写等需求整理为 pipeline 输入;在 novel-studio 内禁止直接生成正文。触发方式:/story-long-write、/写长篇、「帮我开书」「写大纲」「日更」「续写」「继续写」「修改第X章」「回炉」「重写第X章」。

    Also in 5 projects that use this

  • XiaoyangySkill

    story-short-analyze

    短篇网文拆文。拆解爆款短篇小说(番茄短篇 / 故事会 / 知乎盐选 / 追妻 / 世情 / 重生 / 虐渣等通俗题材)的故事核、结构、情感线、反转设计、写作手法、共鸣层次。单一全量拆解管道:跑完 Stage 2-6 产出完整拆文报告,落盘到 deconstruction-library/{书名}/,下游 story-short-write 同时读拆文报告 + 情节节点 + 写作手法 + 原文 + _meta.json 写下一篇。触发方式:/story-short-analyze、/短篇拆文、「拆短篇」「拆这篇短文」「短篇拆文」「精细拆解短篇」「8000 字短篇拆解」「番茄短篇拆文」「故事会拆解」「盐言故事拆解」「分析这篇短篇」——均进入同一管道。

    Also in 5 projects that use this

  • worldwondererSkill

    story-cover

    小说封面生成与提示词设计。根据书名、作者名和题材构建封面提示词;用户只要提示词时不生图,要求封面图时调用 GPT-Image-2,Codex CLI 优先使用内置 ImageGen。触发方式:/story-cover、/封面、「帮我做个封面」「生成封面图」「封面提示词」「封面设计」。

    Also in 4 projects that use this

  • worldwondererSkill

    story-import

    逆向导入已有小说。将已写好的小说(半成品或完本)反向解析为标准项目目录结构,兼容 story-long-write / story-short-write 后续写作流程;内部复用 story-long-analyze / story-short-analyze 的拆解管道,按篇幅自动分流。触发方式:/story-import、「导入小说」「反向解析」「导入」「把我的书导进来」。

    Also in 4 projects that use this

  • marketcallsSkill

    story-setup

    Set up the story-telling environment. Checks Node, installs dependencies, creates .env from the template, verifies the Sarvam, fal and OpenAI keys, and confirms all Remotion packages are on one version.

    Also in 5 projects that use this

  • linuxhsjSkill

    browser-cdp

    Control a browser via Chrome DevTools Protocol (CDP) proxy. Use when: (1) navigating to URLs and reading page content, (2) taking screenshots, (3) executing JavaScript in the browser, (4) clicking elements or filling forms, (5) searching and installing Chrome Web Store extensions, (6) interacting with web APIs that require a real browser. NOT for: simple HTTP requests (use curl), local file operations, or when no CDP proxy is available.

    Also in 4 projects that use this

  • +2 more from Xiaoyangy
  • +3 more from worldwonderer

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Done when: All issues created with dependencies mapped.

    line 15
  2. Very specific:

    Step 0: Read project configuration — apply the Skill Entry Protocol.

    line 29
  3. Very specific:

    Step 3: Ensure PRD exists — if not, create a minimal PRD capturing the requirements (run the PRD Conflict Check first.

    line 35
  4. Very specific:

    Step 8: Update PRD with child issues.

    line 45
  5. Distinctive:

    Prefer many thin slices over few thick ones

    line 71
  6. Distinctive:

    Avoid file paths or code snippets — they become stale

    line 72

“Common” is measured: kept by at least 6 in 10 of the 13 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

Story: Break Plan Into Issues

🥷 Vertical slices, each issue is end-to-end.

Break plan into independently actionable issues using vertical slices (tracer bullets). Accepts an existing PRD or a direct feature description.

Outcome Contract

  • Outcome: Set of Issues, each executable independently, covering the full plan
  • Done when: All issues created with dependencies mapped; PRD created or updated with child issues
  • Evidence: Created Issues with proper acceptance criteria, PRD (created or updated) with child issue links
  • Output: Issue count list, PRD created/updated, next step to /implement

Prerequisites

  • Input: an existing PRD at docs/prd/PRD-NNNN-<title>.md, or a direct feature description from the user
  • Apply the Skill Entry Protocol to locate domain docs and issue tracker config
  • docs/agents/issue-tracker.md — read for issue creation convention
  • docs/agents/triage-labels.md — read for label mapping
  • Missing tracker config → the Entry Protocol's fallback applies; /story then either creates the missing config files for the tracker the user names, or suggests /setup-project for full interactive setup

Process Summary

Step 0: Read project configuration — apply the Skill Entry Protocol; read docs/agents/issue-tracker.md and triage-labels.md for tracker convention and label mapping (see Prerequisites for fallback when missing)

Step 1: Determine input source — locate existing PRD, or capture feature description from user

Step 2: Extract requirements — from PRD or from user description + codebase exploration

Step 3: Ensure PRD exists — if not, create a minimal PRD capturing the requirements (run the PRD Conflict Check first; see think/REFERENCE.md)

Step 4: Explore codebase (optional) — understand current state, use domain glossary, respect ADRs

Step 5: Draft vertical slices — each is a thin vertical slice through all layers (schema, API, UI, tests)

Step 6: Present to user — show title, type (HITL/AFK), blocked-by, user stories; self-check granularity/dependencies first, then ask one approval question

Step 7: Publish issues in dependency order (blockers first). Issue title format: [PRD-NNNN] <slice-description> — <core-behavior>. Issue body includes a Meta section (PRD reference, Type, Siblings).

Step 8: Update PRD with child issues; set Status to Sliced in the PRD metadata line. Update the ## Traceability Sliced into field with the child issues list (number, title, type, status).

Step 9: Sync Issue (if parent exists). Update the parent Issue body, append child issues list.

Slice Types:

  • HITL: Human-in-the-loop — requires human judgment (architecture, design, UX). Agent pauses at decision points for input.
  • AFK: Away-from-keyboard — implementable end-to-end without human interaction.

See STORY-FORMAT.md for the issue title/body template (single source) and REFERENCE.md for input handling, slicing detail, and examples.

Gotchas

What happenedRule
Horizontal slicing (all schema, then all API)Use vertical slices through all layers
Slices too thickPrefer many thin slices over few thick ones
Dependencies wrongPublish in dependency order (blockers first)
PRD/parent issue not updatedStep 8/9: Update PRD and sync Issue
Input too vague for slicingSuggest /think — do not run a full brainstorming session yourself
Forced a wide refactor (rename shared column, retype shared symbol) into tracer bulletsVertical Slice Rules: slice it expand → migrate batches → contract; a slice that can't land green alone isn't a slice
Same topic got two PRDs (e.g. PRD-0001 + PRD-0002)Step 3 (Ensure PRD Exists): run PRD Conflict Check (see think/REFERENCE.md §PRD Conflict Check) before creating

Vertical Slice Rules

  • Each slice traces one narrow but complete path through every layer
  • Completed slice is demonstrable or verifiable on its own
  • Prefer many thin slices over few thick ones
  • Avoid file paths or code snippets — they become stale

Wide refactors are the exception. A wide refactor is one mechanical change (rename a shared column, retype a shared symbol) whose blast radius spans the whole codebase — no vertical slice can land green on its own. Don't force it into tracer bullets; slice it as expand → migrate → contract: (1) one ticket adds the new form beside the old so nothing breaks; (2) migration tickets move call sites in batches sized by blast radius (per package/directory), each batch keeping the suite green because the old form still exists, each blocked by the expand; (3) one contract ticket deletes the old form, blocked by every migrate batch. See REFERENCE.md for the sequence diagram.

Output

Story complete.

Created issues:
* #<issue-1> — <title> (AFK)
* #<issue-2> — <title> (HITL, blocked by #1)

Updated files:
- docs/prd/PRD-NNNN-<title>.md — child issues updated (Status → Sliced)

Next: Run `/implement` — it implements one issue or many.

Example

PRD: User subscription (PRD-0003-subscription)

Proposed:
1. Create subscription data model (AFK) — schema + API + tests
2. Payment flow integration (AFK, blocked by #1) — gateway + webhooks + tests
3. Management UI (HITL, blocked by #2) — design review + components + E2E

User: granularity looks right, proceed → [Create 3 issues, Update PRD]

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.