/aspark:story-timefrom aspark
Turns feature ideas into structured specs with user stories and acceptance criteria. Part of the SPARK loop's Specify phase. Can import GitHub issues as seeds.
Ships in aspark. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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.
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 a Gate comment URL is a resume, not a rework: skip steps 3-7 and continue at step 8 with Ticket gate question step 3..spark/constitution.md has 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 public website — an seo lens would apply"), and
point the user to /charter to 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..spark/constitution.md §11 names a model for product-owner, pass exactly
that as the agent call's model; if it names none, or there is no
constitution or no §11, pass no model, so the agent's own default
(sonnet) applies. Then invoke the product-owner agent 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.md if 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's
Ticket row and state once, in §1, that the spec was seeded from that
issue, with its URL.draft and hand off to
/look-and-feel.approved and check the gate boxes
that are genuinely true.grep -rlF each file path the change will touch (for example
src/greet.py, never a bare word such as greet) across
.spark/*/spec.md and .spark/*/plan.md, leaving out this
feature's own folder. A hit means another feature made a promise
about that file, so the route is full; do not argue a hit away.
If the spec names no file yet, find the one or two files by reading
the code first;.spark/constitution.md §11 does not say Light path: off.
If all six hold, tell the user in two lines what the light path skips
(the Engineering Manager's plan, the QA Tester, a second review round)
and what it keeps (this spec, a short plan they approve, one review,
the release gate), and ask: light or full. Only on their explicit
choice of light, write the header row Path as light, and name
/spark as the next step: it writes the short plan. /sprint-plan run
on its own always makes a full plan. In every other
case — a line fails, you could not check one, or the user did not
choose — write nothing or full, and do not mention the light path at
all when a line fails. Never choose light yourself. This rule is
prompt material: it makes the right sizing likely, not certain.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>.
Gate comment row. If it holds a
comment URL, post nothing (a rerun never posts twice) and go to 3.
Otherwise run one gh 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's Gate comment row in the same edit. If gh fails, record
Gate comment: skipped, <reason> and carry on in the conversation only;
never retry in the same run.draft and the comment posted.gh issue view <n> --repo <owner/repo> --json comments and take comments
created after the gate comment, oldest first. For each author check
gh api repos/<owner/repo>/collaborators/<login>/permission --jq .permission;
only admin, maintain or write count. 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 sets approved per the Rules below.approved without 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)./sprint-plan./look-and-feel (Designer checks the spec)/sprint-planrejected as
a documented decision.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub a-lottes/aspark --plugin aspark12 skills in this plugin
/backlogSeed a backlog from the project's documents: the Product Owner reads docs/ (plus the constitution and ROADMAP.md), proposes an ordered list of feature-sized items each traced to a source section, the user edits the list, and on explicit confirmation each item is filed as a GitHub issue that /story-time <n> can import. Use on a new or document-first repo with no backlog, or when a tracker or runner needs proposed work as issues.
/campaignStart a campaign draft: build `.spark/campaigns/<name>/campaign.md` from an existing campaign kind, asking only what the kind leaves open. Only when the user types /campaign.
/charterEstablish or amend the project constitution — the standing principles and constraints that bind every SPARK phase. Use once at project start to give the team its ground rules, or any time a project-wide decision (stack choice, quality bar, non-negotiable) changes and should apply to all future features.
/demo-dayHands-on QA in a real browser: the QA Tester clicks through the running app, verifies every acceptance criterion from the spec, explores beyond the happy path and files reproducible bugs. Use after /peer-review passes, or to re-test after fixes. Requires a running app and browser tooling.
/go-liveStart the Keep phase of the SPARK loop: the Release Manager runs fresh pre-flight checks, writes the user-facing changelog, prepares tag/PR/ deploy, publishes on the user's explicit go, and records the cycle's learnings. Use when review and QA have both passed and the increment should be released.
/incrementStart the Act phase of the SPARK loop: build the increment strictly following the approved plan, task by task, with progress tracked in the plan. Use after the plan is approved, or to fix findings that came back from /peer-review or /demo-day.
Other plugins' skills for the same job