story-time
Skill25 starsChanged 3 months agoMITView on GitHub
Start the Specify phase of the SPARK loop: the Product Owner interrogates a product idea and turns it into a spec with user stories and testable acceptance criteria. Use when the user brings a new feature idea, product idea or change request that has no spec yet — or wants an existing spec challenged and reworked.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- backlogSkill
- campaignSkill
- charterSkill
- demo-daySkill
- go-liveSkill
- incrementSkill
- look-and-feelSkill
- next-stepsSkill
- peer-reviewSkill
- sparkSkill
- sprint-planSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Instead of an idea, the argument may be a bare GitHub issue number (/story-time 42).
- Distinctive: line 75
Relay, don't guess: If the agent returns open questions instead of a spec, put them to the user (use AskUserQuestion where the options are …
- Very specific: line 97
If the feature is UI-facing, the *Design Review* section is still empty — the gate stays open.
- Very specific: line 100
If design review is N/A (record why), ask the user for approval.
- Very specific: line 111
Post once: Read the spec header's Gate comment row.
- Very specific: line 120
Ask in the conversation as usual: If no answer can come (autonomous run, no one present), stop with the spec draft and the comment posted.
- Very specific: line 122
On resume, read the answer: Run gh issue view <n> --repo <owner/repo> --json comments and take comments created after the gate comment, …
- Very specific: line 136
Never set approved without the user's explicit approval in this conversation — or, for a ticket-seeded spec, a qualifying ticket comment …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/story-time — Specify (Product Owner)
You are running the Specify ceremony. The Product Owner challenges the idea; the outcome is a spec — or the insight that the idea shouldn't be built.
Input
The user's feature idea, usually passed as the command argument. If no idea was provided, ask for it before doing anything else.
Instead of an idea, the argument may be a bare GitHub issue number
(/story-time 42). Anything else — #42, a full issue URL, prose — is
treated as the idea text itself, not as a ticket reference; only a bare
number triggers the fetch below. Default when no argument is passed: unchanged from
today — ask for the idea, no ticket prompt, no mention that import is
possible. When an issue number is passed: resolve the current repo
once, from origin (git remote get-url origin / gh repo view), and
echo the resolved owner/repo to the user before fetching — this is the
only network-facing step in this ceremony, and the user should see which
repo it's about to read. If origin can't be resolved unambiguously (no
origin, or several remotes and no origin), STOP and report that
plainly — never guess a repo. Otherwise run
gh issue view <n> --repo <resolved owner/repo> --json number,title,body,url
— pinned to the same repo just echoed, never left for gh to re-resolve on
its own. If the issue doesn't
exist, the repo is private without access, or gh is missing or
unauthenticated, STOP, report the real error in plain language, and ask
whether to proceed with a manually supplied idea instead — never proceed
silently with an empty or invented brief. On success, pass the fetched
title+body+url into step 3 as the idea — everything downstream
(interrogation, Clarify pass, gate) proceeds exactly as it would for a typed
idea; a ticket is a seed for step 3's input, never a substitute for what
steps 3–8 do with it. If the target project's .spark/ is tracked in git,
state once, before writing, that the imported title/description is about to
become part of a (possibly public) committed artifact, so the maintainer can
decide whether that ticket's content belongs there.
Steps
- Name the feature. Derive a short kebab-case feature name from the idea
(e.g.
weekly-stats-dashboard). If.spark/<feature-name>/already exists, ask the user whether to rework that spec or pick a new name. Exception: a bare issue number whose existing spec has aGate commentURL is a resume, not a rework: skip steps 3-7 and continue at step 8 with Ticket gate question step 3. - Resolve active lenses. The constitution is the single source of truth. If
.spark/constitution.mdhas a Project Profile & Active Lenses section, take the active lenses from it and pass their paths in step 3. If there's no constitution, do not resolve or apply lenses for this run — only give a lightweight nudge: glance at the repo (signals in${CLAUDE_PLUGIN_ROOT}/lenses/README.md), name the likely type(s) in one line (e.g. "this looks like a publicwebsite— anseolens would apply"), and point the user to/charterto record the profile so the lens activates for every phase. No lens is applied off a fallback guess; nothing is switched on without a constitution entry the user confirmed. - Delegate to the Product Owner. Invoke the
product-owneragent with: the user's idea verbatim (or the fetched title+body, if this run started from an issue number — say so explicitly to the agent, don't let it rediscover the source), the feature name, the path.spark/<feature-name>/spec.md, and the spec template from${CLAUDE_PLUGIN_ROOT}/templates/spec.md. Point it at.spark/constitution.mdif that file exists — the spec must live within it. Pass the paths of any active lenses (${CLAUDE_PLUGIN_ROOT}/lenses/<name>.md) so the PO captures their concerns as measurable NFRs. If this run started from an issue number, also tell it to cite the reference in the spec'sTicketrow and state once, in §1, that the spec was seeded from that issue, with its URL. - Relay, don't guess. If the agent returns open questions instead of a spec, put them to the user (use AskUserQuestion where the options are enumerable), then re-invoke the agent with the answers. Repeat until the spec is drafted.
- Run the Clarify pass. Once a draft exists, have the PO scan it for ambiguity against its taxonomy (functional boundaries, data, permissions, error/edge cases, NFRs, integrations, UX states, out-of-scope). Put the returned clarification questions to the user — AskUserQuestion for enumerable choices — and re-invoke the agent to fold each answer into the right section and log it in the spec's Clarifications table. Repeat until no high-impact ambiguity is left unresolved or unparked. Don't skip this because the draft "looks complete" — that's exactly when a whole category is silently missing.
- Present the result. Show the user: the sharpened problem statement, the story list with MoSCoW priorities, the non-functional requirements, the named risks/assumptions, what was clarified, and what was cut to Out of Scope. If the PO recommends not building the feature, lead with that recommendation and its reasons.
- Iterate. Fold the user's feedback back into the spec via the agent until the user is satisfied.
- Walk the gate. Go through the SPEC GATE checklist at the bottom of
the spec together with the user:
- If the feature is UI-facing, the Design Review section is still empty
— the gate stays open. Set status
draftand hand off to/look-and-feel. - If design review is N/A (record why), ask the user for approval. Only
on their explicit yes: set status
approvedand check the gate boxes that are genuinely true.
- If the feature is UI-facing, the Design Review section is still empty
— the gate stays open. Set status
Ticket gate question (only when the spec was seeded from a ticket)
Applies when the Ticket row names a real issue and step 8 needs a user
decision (approval, or open questions). Ticket = none: skip this whole
section, behaviour unchanged. Resolve owner/repo from origin as in
Input, and always pass --repo <owner/repo>.
- Post once. Read the spec header's
Gate commentrow. If it holds a comment URL, post nothing (a rerun never posts twice) and go to 3. Otherwise run onegh issue comment <n> --repo <owner/repo>with: a 5-10 line spec summary, the open questions each with its recommended option, and how to answer (reply in the issue, e.g. "approve, option B"; only write-access collaborators count). Record the returned comment URL in the header'sGate commentrow in the same edit. Ifghfails, recordGate comment: skipped, <reason>and carry on in the conversation only; never retry in the same run. - Ask in the conversation as usual. If no answer can come (autonomous
run, no one present), stop with the spec
draftand the comment posted. - On resume, read the answer. Run
gh issue view <n> --repo <owner/repo> --json commentsand take comments created after the gate comment, oldest first. For each author checkgh api repos/<owner/repo>/collaborators/<login>/permission --jq .permission; onlyadmin,maintainorwritecount. A comment from anyone else, or a failed permission check, is not a decision: ignore it and say so. The latest qualifying comment that approves or picks options is the gate decision: fold chosen options into the spec, and record in the spec's Clarifications table the quoted comment, its author and its link (the gate record). Without a qualifying comment the gate stays open. An approval still only setsapprovedper the Rules below.
Rules
- Never set
approvedwithout the user's explicit approval in this conversation — or, for a ticket-seeded spec, a qualifying ticket comment from a user with write access (see Ticket gate question). - The spec contains no solutions — if technical questions come up, park them
for
/sprint-plan.
Handoff
- UI-facing feature →
/look-and-feel(Designer checks the spec) - Spec approved, no design review needed →
/sprint-plan - Idea rejected → archive nothing; leave the spec with status
rejectedas a documented decision.
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
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.

