一键导入
story
Generate story specifications from MVP stories list. Use when user wants to create detailed story documentation or mentions /story command.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate story specifications from MVP stories list. Use when user wants to create detailed story documentation or mentions /story command.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review the latest work unit with fresh, unnarrowed eyes and surface any problem it contains as follow-ups. Use after a work-unit commit, or when the user runs /agent-review.
Continue working on a story or task by reading progress.md, executing the next work unit, and updating progress. Use when user wants to resume story/task work or mentions /continue command.
Run a Selenium test in visible (non-headless) mode with slowdown so the user can watch it. Use when user wants to demo or visually watch a Selenium test or mentions /demo command.
Preview the planned design for a scenario before writing tests. Shows domain model changes, usecase patterns, and key design choices. Use before red-usecase to get user approval on the implementation approach. If the user rejects the design, offers to discuss inline or escalate to /architecture for a full ADR.
Write a journey summary capturing noteworthy moments (predictions, decisions, surprises, mistakes, quirks). Runs automatically the moment the agent observes something worth noting during work, and manually before /clear or /compact as a final sweep. Idempotent — skips entries already recorded. Use when the agent observes a noteworthy moment, before clearing context, or when the user mentions /handoff.
Re-explain the last thing in plain words. Use ONLY when the user explicitly types /plain or asks to "explain that simply / in plain words / like I'm not an expert". Never invoke on your own initiative — this is a manual button the user presses when something was hard to follow.
| name | story |
| description | Generate story specifications from MVP stories list. Use when user wants to create detailed story documentation or mentions /story command. |
Generate detailed story specifications following the established format, based on MVP stories list and product context.
/story "Story name"
/story 5 # By MVP story number
/story # Interactive selection
Before generating any specification, read and understand:
ProductSpecification/BriefProductDescription.txtProductSpecification/stories.mdProductSpecification/ExpectedLoad.txtProductSpecification/Archived/DraftStories/1st-iteration/ProductSpecification/stories/*/NN_StoryName.mdProductSpecification/stories/NN-story-name/interview.md
Parse user input to determine target story:
/story "Login/Logout" — Match story name via ProductSpecification/stories.md/story 5 — Story #5 via ProductSpecification/stories.md/story — List available MVP stories, ask user to chooseFind related archived draft in ProductSpecification/Archived/DraftStories/1st-iteration/ if exists.
Load .claude/templates/spec/story-templates.md for document structure.
Generate two files:
NN_StoryName.md (~50 lines max, implementation-focused)NN_StoryName_Notes.md (warnings, suggestions, technical details)Before output, scan the drafted spec against the hazard catalogue — the spec-time,
closed-list complement to the open-ended commit-time review passes. Per
.claude/guidelines/hazard-catalogue/_index.md (read its "How to apply it"), fan out
one hazard-scan-agent per group in the index's Groups list — iterate that list,
never a hand-copied set, or a newly-added group goes unchecked — each carrying the
drafted spec, _index.md, and its one group file; dispatch them concurrently, collect
each pass's GAPs and seam flags, then run one synthesis pass (per _index.md's "Reason
across the seams") over the index-named seams and every flagged seam. Fold every GAP back
into the spec as an explicit requirement or constraint (and its Notes file) so test-spec
and design-preview inherit it. At story altitude the guard is a named requirement, not yet
a test — but it must be specific enough that a downstream test could go red on it. An
unresolved GAP blocks Phase 5: fold every fired-trigger GAP in, or explicitly dismiss it
with a reason, before output.
ProductSpecification/stories.mdProductSpecification/stories/NN-story-name/Report: main spec path + line count, notes file path, confirmation, and the hazard-scan
result — the group set scanned (the _index.md Groups list at scan time, so a later
group addition can re-trigger per _index.md's "A new group obligates a re-scan"), each
group's verdict, and every GAP's disposition (folded → named requirement, or dismissed
with reason).