/aspark:sparkfrom aspark
Orchestrates the full SPARK agile loop (Specify → Plan → Act → Review → Keep) for one feature, pausing at each gate for user decisions. Starts fresh features or resumes mid-loop features from their artifact statuses.
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 conducting the entire SPARK loop for one feature. You don't do the phase work yourself — each ceremony's skill defines it. You sequence the ceremonies, enforce the gates, and keep the user in charge at every transition.
.spark/<feature-name>/spec.md, through /story-time. It is never
a source file, however small or obvious the change looks..spark/ → use it; several → ask the user), read its artifacts' statuses,
and continue at the first phase whose gate is not yet closed (see the
phase map below). Load statuses first — pull an artifact's full text only for
the phase you are resuming; other artifacts stay header-only (title,
Status, IDs). The per-ceremony context budget is defined in
docs/workflow.md § Context Budget.released or handed-off, or .spark/ is empty) → don't guess an idea. Tell the user
there's nothing to resume. If .spark/constitution.md doesn't exist,
name /charter as the first step and offer it, ahead of anything else —
never invoke it yourself; if they decline, offer /next-steps, /backlog
(when docs/ exists) or their own idea, exactly as today. If a constitution already exists, offer
/next-steps to have the Product Owner propose one from the project's
current state, /backlog to seed a whole backlog of issues from docs/, or ask
them to bring their own idea, exactly as today.Determine the current position from artifact statuses in
.spark/<feature-name>/ — from the statuses, not the artifacts. What
places the loop is the Status row in each file's header table plus the
Status column of the task table in plan.md. Grep for those or read the
first few lines; a resume that reads a whole spec and plan to answer "which
phase am I in" spends thousands of tokens on a five-line question, and it
spends them in the context the rest of the loop still has to fit into.
| Artifact state | Next ceremony |
|---|---|
no spec.md | /story-time |
spec.md is draft, UI-facing, design review empty | /look-and-feel |
spec.md is draft otherwise | finish /story-time (approval) |
spec.md approved, no/unapproved plan.md | /sprint-plan — or, when the spec header says Path light, the short plan (see The Light Path) |
plan.md approved, tasks not all done | /increment |
tasks done, review.md missing or not passed | /peer-review |
review.md passed, qa.md missing or not passed | /demo-day — or, when the spec header says Path light, straight to /go-live |
review.md + qa.md passed, no released/handed-off release | /go-live |
release released | loop closed — tell the user |
release handed-off | loop closed for this team — tell the user it's handed off, not yet approved elsewhere |
A small change with no open decision takes a shorter route. Which route a
feature takes is a fact on disk: the Path row in the header table of
spec.md. light means this section applies; full, or no row, means the
phase map above applies unchanged and you never mention the light path. Only
/story-time writes light, at the spec gate, on the user's explicit
choice. You never set it, and you never talk a user into it.
On Path light, after the spec is approved:
.spark/<feature-name>/plan.md from
${CLAUDE_PLUGIN_ROOT}/templates/plan.md yourself, status draft: §1 in
one or two sentences saying which existing structure the change follows
and that the light path makes no architecture decision; §2 the files; §3
at most five tasks, each mapped to its story and ending in an inline
files: note; §4 one line per acceptance criterion saying which test
proves it; §5 none beyond the spec or the one risk you see. Then stop
for the user's approval exactly as at any plan gate. Only on their yes:
status approved. This is still the hard stop it always was./increment, unchanged./peer-review, unchanged, but with a cap of one
Reviewer round, whatever §11 says./demo-day is not run and no qa.md is written. The
proof is the green test suite and the review's traceability table./go-live. Its gate accepts a missing qa.md for a spec
whose Path is light and records that in the release report.Leave the light path the moment it stops fitting. Any one of these switches the feature to the full loop:
/increment stops because the plan is wrong, has to touch a file the
plan's §2 does not name, or meets a question the spec does not answer;To switch: change the spec's Path row to full in the same turn, tell the
user in one line that the feature left the light path and why, and continue
from the phase map. A plan you wrote goes to /sprint-plan as a revision,
so the Engineering Manager owns it from here; an open review finding routes
as usual, now under the normal round cap; /demo-day runs before
/go-live. Switching is not a failure and needs no approval. Staying on the
light path past one of these points is the failure.
This is prompt material: it makes the shorter route likely to be taken and left at the right moments, not certain. What it saves is not measured.
.spark/constitution.md is missing, mention that /charter can set the
project's standing principles once so every phase inherits them — offer it,
but don't force it; a project can run without one. If a constitution already
declares active lenses, just confirm which are on — the ceremonies read and
pass them from the constitution themselves. If no constitution exists,
give a one-line nudge: glance at the repo (signals in
${CLAUDE_PLUGIN_ROOT}/lenses/README.md), name the likely type(s)/
characteristics you see, and note that /charter records them so the
matching lenses — see ${CLAUDE_PLUGIN_ROOT}/lenses/README.md's Available
lenses table for the current set — activate for every phase. Without a
constitution no lens is applied —
the nudge only surfaces the choice; the constitution is the single source of
truth.
Companion offer (one line, never forced). On a fresh loop where
.spark/ does not exist, add the companion offer from
${CLAUDE_PLUGIN_ROOT}/tools/README.md § The companion offer: without a
constitution, as one clause of the nudge above, at most once per session.
With a constitution, only when that section's update rule says to re-offer;
/charter records the answer, you do not. Name the install command; never
run it. This is onboarding, not a gate: it blocks nothing./increment starts, ask how
the app will be run for /demo-day (start command, URL) and confirm
browser tooling exists — a loop that stalls at QA for missing setup
wastes the whole session.
Unless the project already declared its QA method: if
.spark/constitution.md §8 QA Method names both
Browser-observable surface: no and a substitute method, don't ask any of
that and don't re-negotiate the method — say in one line which method QA
will use and move on. Absent, incomplete, or yes → ask exactly as above.
Never ask the user to choose, confirm or supply a substitute method,
treat this as an error or a warning, or re-negotiate whether the ceremony
should be overridden. Fine, not a violation: stating in your own
words that no declaration applies. Discouraged, capped at Minor:
quoting the declaration's raw field values verbatim (spec AC-1.3/
NFR-4, C19). Like every other ceremony, /spark only ever reads
it: creating or amending it is /charter's alone.${CLAUDE_PLUGIN_ROOT}/skills/<ceremony>/SKILL.md and follow it exactly
— same agents, same templates, same gate procedure. You add nothing and
skip nothing./spark). Never roll
through a gate on momentum — an approval for the spec is not an approval
for the plan./increment), QA (/demo-day), and every fix round — tell them in
one line: the conversation is still carrying everything that phase read,
edited and logged, and none of it is needed for the next phase. They can
/clear and continue with /spark, which resumes from the artifacts
exactly where they stand. Before you offer it, make sure every status on
disk is current — the resume reads those and nothing else. Offer it;
never do it for them, and never present it as damage control. It's how
the loop is built./increment (fix-mode) and then re-run the phase that found them. Count
the rounds from the Round row of the report, not from memory. Review
has its own cap, two Reviewer rounds unless the constitution's §11
names another number (/peer-review step 4 holds the procedure). For QA:
after 3 failed rounds, stop. In both cases lay the situation before
the user — the plan or the spec is probably wrong, and grinding harder
won't fix that. Offer /sprint-plan (revision) or /story-time.Status row says now, read again after
the ceremony returned, not what the ceremony was meant to achieve./go-live, and just the same whenever the
loop stops anywhere else: a gate the user did not approve, a round cap, a
red pre-flight, a session about to end. Build it at the moment you write
that message:
Read again, now, the header table of spec.md, plan.md, review.md,
qa.md and release.md in .spark/<feature-name>/ (the first lines
are enough), the Open: line of the Handoff block in the two reports,
and the Status column of the task table in plan.md.
Print this table, one row per artifact, every value copied as it stands
in the file. A file that does not exist reads missing; a value you
cannot find reads unreadable. Never fill a cell from what you remember
having done.
| Artifact | Status | Round | Open |
|---|---|---|---|
spec.md | … | n/a | n/a |
plan.md | … (tasks: d of n done) | n/a | n/a |
review.md | … | … | … |
qa.md | … | … | … |
release.md | … | n/a | n/a |
On a spec whose Path row says light, the qa.md row reads
not run (light path), and one line above the table says Path: light.
If the feature left the light path during this run, that line says
Path: full (left the light path: <reason>).
Under it, one line: Loop: followed by closed, released, closed, handed-off, or open, next: /<ceremony>, taken from the phase map
applied to those rows.
Every status word in the rest of your message ("review passed", "QA
green", "released", "done") must agree with a row of the table. Where
your memory of the session and a file disagree, the file wins: say what
the file says and name the difference.
After the block, and only after /go-live, summarize the journey: idea →
what shipped, rounds needed (the Round rows), learnings kept. Then offer
/story-time for the next idea, or /next-steps if the user wants the
Product Owner to propose one instead of bringing their own.
/go-live. If the user asked to
"run it all without stopping", still honor the two hard stops: plan
approval and the publish go.plan.md reads approved,
write and edit nothing outside .spark/. This is an instruction, so it
makes the order likely, not certain; the companion aspark-guard (0.3.0
and later) denies the write in code./spark resumes from them. Leave statuses accurate at all times.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
spark-loop, agile-workflow, feature-development, orchestrator
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