Enforce Spec-Driven Development across the full SDLC loop — Spec → Tickets → Dev →
Review → Update — from inside GitHub Copilot CLI. Integrates GitHub (gh) and Superpowers.
- Commands:
/aisdlc:spec,/aisdlc:tickets,/aisdlc:develop,/aisdlc:review,/aisdlc:sync,/aisdlc:status - Agents: po-agent, qa-agent, devlead-agent, developer-agent, reviewer-agent
- Skills: spec-driven-development, spec-to-tickets, ticket-driven-development, sdlc-review-and-sync
- Prompts: acceptance-criteria, definition-of-done
- Global instructions:
instructions/sdlc-standards.md(surfaced to consumer repos via the SessionStart hook) - Hook: SessionStart injects the Spec-Driven Contract
- Audit tooling:
scripts/audit-helpers.mjsrecords the mandatory per-feature audit JSON and enforces the fail-closed stage gate
- No tickets without an approved spec. 2. No code without a ticket. 3. No merge without a passing review.
- Audit is mandatory — every step is recorded to a committed audit file.
aisdlc owns a single artifact tree; Superpowers' docs/superpowers/** is left as-is (design input).
docs/aisdlc/
specs/ <spec-id>.md # canonical SDLC spec (Spec-ID, Gherkin, DoD)
plans/ <issue#>-<slug>.md # per-ticket implementation plans (produced at develop time)
audit/ <spec-id>.json # MANDATORY per-feature metrics/audit log (committed)
decisions/ <spec-id>.md # autonomous decision log
The audit JSON records every SDLC stage and every agent dispatch with start/end, duration,
status, gate results, traceability (Spec-ID/issue/branch/PR/commit), and produced artifacts.
It is written deterministically by scripts/audit-helpers.mjs and enforced fail-closed: each
stage runs audit-helpers.mjs check-gate and refuses to proceed unless the prior stage's step
is recorded and passed. Configure locations in .aisdlc.yml (spec_dir, plan_dir,
audit_dir, decision_dir).
# From the Copilot CLI:
/plugin marketplace add <owner>/aisdlc-copilot-plugin
/plugin install aisdlc@aisdlc-marketplaceThen ensure GitHub access:
gh auth login
gh auth refresh -s project # required for GitHub Projects v2cp .aisdlc.yml.example .aisdlc.yml
# edit repo, project_number, labels- GitHub CLI (
gh) authenticated. Node.js 18+ (for validation + helpers). - Recommended: the
superpowersplugin installed (this plugin invokes its skills).
/aisdlc:spec Add a dark-mode toggle to the settings page
-> brainstorming + PO/QA/Dev-Lead -> docs/aisdlc/specs/2026-07-20-dark-mode-toggle.md (Approved)
/aisdlc:tickets docs/aisdlc/specs/2026-07-20-dark-mode-toggle.md
-> epic/stories/tasks as GitHub Issues (devlead decomposition; epic body holds the roadmap)
-> idempotent: re-run to reconcile (create/update/close-obsolete), critic-reviewed, user-approved
/aisdlc:develop 42
/aisdlc:develop 42
-> preflight: comprehend ticket + check-deps gate (hard-stop if a dependency isn't Done)
-> Phase 1 Plan PR: writing-plans -> docs/aisdlc/plans/42-dark-mode.md, "Plan for #42", AI review+confidence, dev-lead merges
-> Phase 2 Dev PR: branch feat/42-dark-mode, TDD via Superpowers, PR "Closes #42" (blocked until Plan PR merged)
/aisdlc:review 42
-> reviewer checks acceptance criteria + verification, posts advisory confidence -> dev-lead Approves
/aisdlc:sync 42 --status Done
-> board + issue reflect completion
/aisdlc:status
-> table of specs, tickets, PRs and their stage
/aisdlc:<stage> -> command -> loads a stage skill
|- dispatches role-agent(s)
|- invokes Superpowers skill(s)
|- calls gh (Issues / Projects / PRs)
'- runs scripts/verify-artifacts.mjs (artifact gate)
Enforcement: instructions/sdlc-standards.md + SessionStart hook + per-command gates
+ per-stage artifact gate (verify-artifacts.mjs must exit 0 before handoff)
Each stage declares the concrete artifacts it must produce and runs
scripts/verify-artifacts.mjs <stage> before handoff, so steps that produce artifacts (e.g. the
per-ticket Superpowers writing-plans → docs/aisdlc/plans/<issue#>-<slug>.md in develop Phase 1)
can't be silently skipped:
node scripts/verify-artifacts.mjs spec --spec docs/specs/<date>-<slug>.md
node scripts/verify-artifacts.mjs tickets --spec docs/specs/<date>-<slug>.md
node scripts/verify-artifacts.mjs plan --issue <#>
node scripts/verify-artifacts.mjs develop --issue <#>
node scripts/verify-artifacts.mjs review --issue <#>Filesystem artifacts (spec/plan files + required sections) are enforced; GitHub checks degrade to
warnings when gh is unavailable, so the gate still works offline and in CI.
Before any code, /aisdlc:develop runs a senior-dev preflight: comprehend the ticket, check
dependencies, confirm clarity, and confirm scope. Tickets declare prerequisites in a
## Dependencies section plus a <!-- aisdlc-deps: <numbers> --> marker; the gate reads them and
hard-stops (fail-closed) if any prerequisite isn't closed or Done:
node scripts/check-deps.mjs --issue <#> # exit 0 clear, 1 blocked, 2 usage/config errorIf a dependency is unmet, develop refuses to start — run /aisdlc:develop on the blocking ticket
first.
node tests/validate.mjs # or: npm testThe repo is the marketplace, so pushing/merging to main publishes the
plugin. Every publish must bump the version. Never hand-edit the version — it
lives in three manifests (package.json, .claude-plugin/plugin.json,
.claude-plugin/marketplace.json) that must stay in sync.
npm run bump -- patch # or: minor | major | X.Y.Z
npm test # validates structure + version consistency
git commit -am "chore: release vX.Y.Z"
git push # -> main == publishSemver: patch = fix/docs, minor = new command/skill/agent/prompt, major =
breaking change. See the version-and-publish skill for the full checklist.
See DECISION.md for the autonomous decision audit log and docs/aisdlc/specs/ for the design spec.