Skip to content
Back to skills

Spark

ASecurity

Run the full SPARK loop end-to-end for one feature: Specify → Plan → Act → Review → Keep, pausing at every gate for the user's decision. Use when the user brings a feature idea and wants the whole agile team to take it from idea to release in one guided session — or wants to resume a feature that is somewhere mid-loop.

  • 25 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added August 31, 2026
ai-agentsgo

Works with

  • cli

Security analysis

A100/100

Scanned November 13, 2026

npx -y skills add a-lottes/aSPARK --skill spark --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spark?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spark
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a-lottes-spark/badge)](https://www.skillsdirectory.com/skills/a-lottes-spark)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spark
description: >
  Run the full SPARK loop end-to-end for one feature: Specify → Plan → Act →
  Review → Keep, pausing at every gate for the user's decision. Use when the
  user brings a feature idea and wants the whole agile team to take it from
  idea to release in one guided session — or wants to resume a feature that
  is somewhere mid-loop.
---

# /spark — The Full Loop (Orchestrator)

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.

## Input

- **With an idea as argument** → start a fresh loop at Specify. Your first
  write is `.spark/<feature-name>/spec.md`, through `/story-time`. It is never
  a source file, however small or obvious the change looks.
- **Without an argument** → resume: pick the feature (single one in
  `.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*.
- **Without an argument, and no feature to resume** (every existing feature
  is `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.

## The Phase Map

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 |

## The Light Path

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`:

1. **Short plan, written by you, approved by the user.** Do not invoke the
   Engineering Manager. Write `.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.
2. **Build:** `/increment`, unchanged.
3. **One review:** `/peer-review`, unchanged, but with a cap of **one**
   Reviewer round, whatever §11 says.
4. **No QA ceremony.** `/demo-day` is not run and no `qa.md` is written. The
   proof is the green test suite and the review's traceability table.
5. **Release:** `/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:

- writing the short plan needs a choice between two designs, or more than
  five tasks;
- `/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;
- the one review round leaves a Blocker or a Major open;
- the user asks for it.

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.

## How You Conduct

1. **Set expectations once.** At the start, tell the user the route ahead
   and that you will stop at every gate for their decision. On a fresh loop,
   if `.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.
2. **Gather QA prerequisites early.** Before `/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.
3. **Run each ceremony by its own rules.** For every phase, read
   `${CLAUDE_PLUGIN_ROOT}/skills/<ceremony>/SKILL.md` and follow it exactly
   — same agents, same templates, same gate procedure. You add nothing and
   skip nothing.
4. **Stop at every gate.** Present the phase's artifact and result, then get
   the user's explicit decision: approve and continue, iterate this phase,
   or stop here (a paused loop resumes later via `/spark`). Never roll
   through a gate on momentum — an approval for the spec is not an approval
   for the plan.
5. **Offer the clean handoff at heavy gates.** The artifacts *are* the
   state, which makes every closed gate a safe place to start again with an
   empty context. After the user approves a gate that followed heavy work —
   Act (`/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.
6. **Handle the feedback loops.** Review or QA findings route back through
   `/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`.
7. **Keep the narrative.** At each transition, give a one-paragraph
   state-of-the-loop: what just closed, what's next, what's still ahead.
   The user should never wonder where in the loop they are. What "just
   closed" is what the artifact's `Status` row says now, read again after
   the ceremony returned, not what the ceremony was meant to achieve.
8. **Close from the trail, not from memory.** Your **last message** carries
   the status block below — after `/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.

## Rules

- Every gate needs the user's explicit decision **in this conversation** —
  including the final go for publishing in `/go-live`. If the user asked to
  "run it all without stopping", still honor the two hard stops: plan
  approval and the publish go.
- **No code before an approved plan.** Until `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.
- **A status you report is a status you just read.** Never state an
  artifact's status, a round count or an open-findings count from memory —
  not at a gate, not in the closing message (step 8).
- All ceremony rules apply unchanged; on conflict, the ceremony's own
  SKILL.md wins for its phase.
- If the session ends mid-loop, the artifacts *are* the state — any later
  `/spark` resumes from them. Leave statuses accurate at all times.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.