/aspark:next-stepsfrom aspark
Surveys project state (shipped features, in-flight work, open findings, goals) and proposes one concrete next feature ready for story-time or spark. Use when backlog feels stale or a loop just closed.
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 an advisory ceremony, not a gated one. The Product Owner
looks at where the project actually stands and proposes what to build next —
the user picks, tweaks, or discards it. Nothing here gets written to
.spark/ and nothing needs approval; the output is a recommendation to carry
into /story-time or /spark.
None required. Optionally the user may point at a theme or constraint (e.g. "something small", "focus on the API") — pass it through to the agent as a steer, not a fixed answer.
product-owner agent cannot run git or walk .spark/. Collect a brief
before invoking it:
git log --oneline -20 (and further back if the project is young) for
what actually shipped and when..spark/<feature-name>/ directory: for spec.md, plan.md,
review.md, qa.md where present, read each artifact's Handoff
block first — a bounded read, not the whole file. Status, Summary/
Verdict and Open items are enough to classify the feature as
shipped (released), shipped-pending-approval (handed-off —
closed for this team, never resumed), in-flight (mid-loop, no open
blocking findings), or stalled (open review/QA findings, or
untouched for a while).review.md or qa.md —
these are open points, not just status flags. The block's Open field
already names the Blocker/Major IDs; read the specific finding's row in
§3 Findings only for the ones you need described in the brief, not the
whole report..spark/constitution.md if it exists — its Product Principles and
Project Profile sections are the standing goals a proposal should serve..spark/constitution.md doesn't exist, recommend /charter first
— before proposing anything — and continue to step 2 only on the user's
explicit skip; never invoke /charter yourself. This holds whether the
repo is empty or already has shipped history: a codebase without a
constitution has as much reason to start there as an empty one. On an
empty .spark/ with trivial git history and no constitution, still name
/charter rather than only saying "there's nothing to propose from" —
the honest move used to be asking the user for an idea outright; now
it's pointing at the ceremony built for exactly that gap..spark/ and git history is empty or trivial,
say so plainly — there is no "state" to read yet — and ask the user for
the first idea rather than fabricate one. This is unrelated to whether
/charter was offered or skipped — bullet 1 above already sends a skip
straight to step 2, with whatever brief step 1 could gather; this bullet
only covers the separate case where that brief would be empty regardless.
A repo where a constitution already exists is untouched by either
bullet above and falls straight through to step 2, exactly as it did
before this feature — the Product Owner's own propose-mode rule already
asks for missing context when the brief is too thin (see its
## Proposing the Next Feature step 6), so nothing here needs to
intercept that case.gh issue list --state all --json number,title,state,labels,milestone,body,closedAt --limit 200 (or glab issue list, or a ticket MCP) and gh pr list --state all --json number,title,state,body,mergedAt,headRefName --limit 200. Capture labels, "blocked
by" / "depends on" / "#N" references, milestones and linked PRs. If no
tool works, note once for the closing report: "Could not see the
tickets" (one line by design, aSPARK issue #110: a deliberate exception
to aSPARK's own silent-fallback rule, waived by its maintainer) — then
skip the maturity ticket count, triage and gap bullets below (no
issue list means every function would look like a gap) and behave as
before this feature.git ls-files size, git log depth, .spark/ history and ticket count.
State the class and the evidence for it in the brief.ROADMAP.md and .spark/ specs with the
open and closed issues. A function described there that no issue
covers is a gap; a function an open issue covers is not (AC-3). Each gap
carries its source, e.g. constitution.md §3..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 in its
propose mode (see its ## Proposing the Next Feature section): give it
the brief from step 1 verbatim (shipped list, in-flight/stalled features
with their open points, constitution excerpt or "none", the project
maturity class with its evidence, the open issues with their blockers and
linked PRs, the "done, close it" list, the gap list with sources, and
whether the tickets were reachable), plus any user steer. Point it at .spark/constitution.md if present.existing #N, gap (new ticket, with source) or foundation. Then list
up to two alternatives, then the remaining gaps as a short list (each with
its source), then any "done, close it" issues. If the tickets were not
reachable, say so once, here in this closing report and nowhere else. If
the issue list loaded but the PR list did not, say that merged PRs could
not be checked.
Machine-readable block for the Factory. Only when agent.yaml exists
in the repo or the caller asks for it (a plain interactive run stays
free of it): end the report with one JSON
object in a fenced json block:
{"type": "existing|gap|foundation", "title": "...", "summary": "...", "source": "constitution.md §x", "existing_issue": 42}.
existing_issue (integer) is optional and set only when type is
existing; the Factory then labels and works that issue instead of
filing a duplicate. Omit the key entirely otherwise (never null). (The Factory-side parsing lives in
the aSPARK-Factory repo.)/story-time <idea> or the full /spark <idea> loop, and invoke it if they say yes.
Do not invoke either automatically — this skill only produces the idea.existing #N)./backlog)./backlog; this skill stays read-only..spark/ — this ceremony produces a
recommendation in conversation, not an artifact.released or handed-off and nothing is stalled, say that explicitly before proposing something new — a clean state is worth naming,
not skipped past./story-time <idea>
or /spark <idea>, on their explicit go.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 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.
npx claudepluginhub a-lottes/aspark --plugin asparkOther plugins' skills for the same job