agentleFS
ES-92ES-92/esc/skills/story/SKILL.md

story

Skill0 starsChanged 5 months agoMITView on GitHub

Bereitet eine einzelne Story von ESC zur Implementierung vor, indem sie zu einer self-contained Story-Datei angereichert wird — mit allem Kontext (relevante Requirements, ADRs, betroffene Dateien, Constitution-Regeln, testbaren Akzeptanzkriterien, Testplan), den ein KI-Agent zur fehlerfreien Umsetzung braucht. Use when the user says "create story", "nächste Story vorbereiten", "Story-Kontext", "esc story [id]" before implementing.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use story-deslop, story-long-write 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-deslop

    网文去AI味。检测并清除文本中的AI写作痕迹,让文字回归自然、非模板化。触发方式:/story-deslop、/去AI味、「去AI味」「这篇太AI了」「网文去AI味」。

    Also in 5 projects that use this

  • XiaoyangySkill

    story-long-write

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

    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

  • badgidsSkill

    story-review

    Diagnose existing prose at a chosen editorial level, from whole-story and developmental problems through scene, line, copy, and proof passes, without rewriting until the diagnosis is accepted.

    Also in 5 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

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test laufen lassen — Erwartet: FEHLSCHLAG

    line 57
  2. Distinctive:

    Test laufen lassen — Erwartet: BESTANDEN

    line 59

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

esc:story — Self-contained Story-Kontext aufbauen

Ziel: aus einer Backlog-Story eine selbst-enthaltene Story-Datei machen, sodass ein frischer Agent sie ohne weitere Recherche korrekt umsetzen kann. Das bekämpft Kontextverlust und „falsche Library / falscher Ort / kaputte Regression".

Sichtweise & Schärfe

Diese Phase wird aus der Planungs-Sicht geführt — vollständiger, abhängigkeits-bewusster Story-Kontext (${CLAUDE_PLUGIN_ROOT}/shared/viewpoints.md). Bei Unklarheiten fragt die skeptische Sicht nach, statt zu raten; Tiefe nach level (${CLAUDE_PLUGIN_ROOT}/shared/intensity.md).

Lies zuerst

  • esc/state.yaml (Story-Liste + Reihenfolge), esc/specs/epics.md
  • esc/specs/prd.md/quick-spec.md, esc/specs/architecture/architecture.md, esc/specs/architecture/decisions/, esc/specs/ux-spec.md, esc/specs/constitution.md
  • esc/specs/sources.md (bindende externe Quellen, falls vorhanden) — relevante Vorgaben in die Story-Constraints zitieren
  • Relevante Codebase-Stellen via Glob/Grep (tatsächliche Dateipfade, bestehende Muster).

Ablauf

1. Story wählen

Nimm $ARGUMENTS als Story-ID. Fehlt sie, schlage anhand state.yaml die nächste todo-Story in Reihenfolge vor. Status auf in_progress setzen.

2. Kontext zusammentragen (nur das Relevante — Just-in-Time)

Extrahiere gezielt:

  • Die zugehörigen Requirement-IDs + die testbare Anforderung aus dem PRD.
  • Relevante ADR-Entscheidungen und Constitution-Regeln, die hier gelten.
  • Konkrete betroffene Dateien/Module (echte Pfade) und bestehende Muster, an die sich die Umsetzung halten soll.
  • UX-Verhaltensregeln (falls UI).

3. Story-Datei schreiben

esc/specs/stories/<id>-<slug>.md mit diesen Abschnitten:

  • Story — „Als … will ich … damit …".
  • Akzeptanzkriterien — nummeriert, jedes testbar (festes Satzmuster).
  • Kontext & Constraints — relevante Requirements, ADRs, Constitution-Regeln (zitiert, nicht nur verlinkt).
  • Betroffene Dateien — konkrete Pfade + ob neu/ändern, bestehende Muster zum Nachahmen.
  • Testplan — welche Tests (Unit/Integration/E2E) decken welche Akzeptanzkriterien ab.
  • Umsetzungsplan — siehe unten (Pflicht).
  • Out-of-Scope — was diese Story bewusst NICHT tut.
  • Offene Fragen — falls etwas unklar ist: hier festhalten und den Nutzer fragen, nicht raten.

3a. Umsetzungsplan schreiben (Pflicht)

Ein abhakbarer Plan, den ein Agent ohne Vorwissen befolgen kann. Regeln:

  • Datei-Landkarte zuerst, dann Tasks. Task-Right-Sizing: kleinster Schnitt, den ein Reviewer eigenständig freigeben/ablehnen könnte; endet mit einem unabhängig testbaren Ergebnis.
  • Je Task Interfaces (Consumes/Produces mit exakten Signaturen) + exakte Dateipfade.
  • Bite-sized Schritte (je eine Aktion, 2–5 Min), TDD-strukturiert:
    1. Scheiternden Test schreiben
    2. Test laufen lassen — Erwartet: FEHLSCHLAG
    3. Minimale Implementierung
    4. Test laufen lassen — Erwartet: BESTANDEN
    5. Committen
  • Keine Platzhalter: kein „TBD/TODO/später", kein „Fehlerbehandlung ergänzen" ohne Konkretisierung, kein „ähnlich wie Task N" (Code wiederholen — Tasks werden evtl. außer Reihenfolge gelesen).
  • Plan-Self-Review (selbst, kein Subagent): Spec-Abdeckung (jede Anforderung → ein Task), Platzhalter-Scan, Typ-/Namens-Konsistenz über Tasks (clearLayers() vs. clearFullLayers() ist ein Bug).

4. Selbst-Check

Prüfe: Könnte ein Agent ohne weitere Dateien diese Story korrekt umsetzen? Wenn nein, fehlenden Kontext ergänzen. Keine Widersprüche zwischen Akzeptanzkriterien und Constraints.

5. Routen

Wenn der Nutzer offene Fragen geklärt hat → esc:implement <id>.

Definition of Done

  • Mitlaufende Artefakte aktualisiert: esc:track (Story-Status auf in_progress).
  • Story-Datei ist self-contained (Agent braucht nichts weiter zu lesen).
  • Akzeptanzkriterien sind testbar und mit Tests verknüpft.
  • Betroffene Dateien sind mit echten Pfaden benannt.
  • Umsetzungsplan vorhanden: bite-sized TDD-Schritte, exakte Pfade/Interfaces, keine Platzhalter, Plan-Self-Review erfolgt.
  • Offene Fragen sind markiert, nicht überspielt.

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.