/gabbe:sdlc-checkpointfrom GABBE
Creates durable snapshots at SDLC phase gates (S00–S13), verifying gate criteria, writing memory checksums, advancing PROJECT_STATE.md, and proposing git tags. Use when completing a phase or milestone.
Ships in GABBE. 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.
Read when SKILL.md points to them.
Create durable snapshots at each SDLC gate so the project can be resumed, audited, or rolled back to any milestone. Verify all gate criteria before advancing to the next phase.
The lifecycle has 14 phases, S00–S13. The canonical table (lead persona, entry, exit, gate, artefacts) is "Lifecycle at a glance" in
agents/guides/processes/loki-sdlc-phases.md. This table repeats only the checkpoint criteria; if it differs from the canonical table, the canonical table wins.
| Phase | Name | Gate Criteria | Gate |
|---|---|---|---|
| S00 | Strategy & Discovery | Problem statement, opportunity assessment, North-Star/HEART, RICE, GO/NO-GO recommendation | HUMAN |
| S01 | Requirements | PRD.md with EARS syntax, ambiguities resolved, bias check done | HUMAN |
| S02 | Architecture | Architecture decided, C4 model documented, ADRs written, threats modeled, cost within envelope | HUMAN |
| S03 | Technical Spec | Technical spec finalized, API contracts defined, migration plan ready | prod-tech-lead |
| S04 | Task Decomposition | Atomic tasks, dependency graph acyclic, parallel groups conflict-free | orch-judge |
| S05 | Implementation | All tasks in project/TASKS.md have status DONE | verify green |
| S06 | Testing & Quality | Quality gates G1–G9 pass, final-review = SHIP, no performance regression | orch-judge |
| S07 | Security Review | SECURITY_CHECKLIST.md completed, no open HIGH finding, threat mitigations verified, sustainability report reviewed | HUMAN |
| S08 | Human Review | Review summary, double verification, final-review = SHIP, all blocking feedback addressed | HUMAN |
| S09 | Staging | Deployed to staging, smoke tests passing, restore from backup verified | smoke green |
| S10 | Production | The human said "deploy now" before the deploy; health checks pass after the deploy and the human confirms the observation window of loki-sdlc-phases.md (S10) has ended; rollback plan documented, monitoring active | HUMAN |
| S11 | Operate & Maintain | SLOs met, no open critical CVE, spend within budget | recurring |
| S12 | Evolve & Improve | Retrospective actions logged, experiments decided, DORA/SPACE reviewed | recurring |
| S13 | Decommission & Sunset | Entered on the human's decision to retire; data retained or migrated, users told, contracts wound down | exit criteria |
Snapshot names: S00_discovery, S01_requirements, S02_architecture, S03_tech_spec,
S04_task_decomp, S05_implementation, S06_testing, S07_security, S08_review,
S09_staging, S10_production, S11_operate, S12_evolve, S13_sunset.
Identify which phase is completing
Verify gate criteria are met
S00 gate check:
[ ] docs/discovery/PROBLEM_STATEMENT.md and OPPORTUNITY_ASSESSMENT.md exist
[ ] GO/NO-GO recommendation presented; the human answered GO (HUMAN_APPROVED row)
S01 gate check:
[ ] PRD.md exists with EARS-formatted requirements
[ ] No unresolved ambiguities in requirements
[ ] Human has explicitly approved the PRD (HUMAN_APPROVED row in AUDIT_LOG.md)
S02 gate check:
[ ] PLAN.md or architecture document exists
[ ] C4 diagrams exist in docs/architecture/ (or documented reason for exception)
[ ] ADR created for any significant technology decision
[ ] Threat model created for security-sensitive features
[ ] Cost check done (financial-governance.skill); the human approved the architecture
S03 gate check:
[ ] SPEC.md covers every PRD acceptance criterion; API contracts exist
[ ] prod-tech-lead approved (not a human gate)
S04 gate check:
[ ] project/TASKS.md has atomic tasks; the dependency graph has no cycles
[ ] orch-judge reviewed the decomposition (not a human gate)
S05 gate check:
[ ] All tasks in project/TASKS.md have status: DONE (none TODO, IN_PROGRESS, or BLOCKED)
[ ] No task has "pending human decision" that hasn't been resolved
S06 gate check:
[ ] All tests passing: [run test command, confirm green]
[ ] The quality gates G1–G9 pass (orch-judge; G7 and G8 may be N/A with a reason)
[ ] Coverage meets G3: [run coverage command, confirm the threshold]
[ ] final-review = SHIP; no performance regression against the baseline
S07 gate check:
[ ] templates/security/SECURITY_CHECKLIST.md fully completed
[ ] No open HIGH or CRITICAL finding in the dependency audit
[ ] All High/Critical threats from threat model have mitigations implemented
[ ] Sustainability report reviewed
[ ] Human security sign-off recorded (HUMAN_APPROVED row)
S08 gate check:
[ ] Review summary written; double verification done (orch-judge, prod-tech-lead, prod-ethicist)
[ ] final-review = SHIP; the human approved (HUMAN_APPROVED row)
S09 gate check:
[ ] Smoke tests green in staging; restore from backup verified; monitoring verified
S10 gate check:
[ ] The human said "deploy now" in this request, before the deploy (HUMAN_APPROVED row)
[ ] Health checks pass after the deploy; the human confirmed the observation window of `loki-sdlc-phases.md` (S10) has ended; rollback plan documented
S11 and S12 gate check (recurring, at the end of each cycle):
[ ] Exit criteria in the canonical table are met; the cycle is logged
S13 gate check:
[ ] The human's decision to retire the system is recorded (entry)
[ ] Data retained or migrated, users told, contracts wound down
If gate criteria NOT met
Create the SESSION_SNAPSHOT (when gate criteria are met)
Write file: agents/memory/episodic/SESSION_SNAPSHOT/S<NN>_<name>.md (names in the list above)
Content:
# Snapshot S<NN> — [Phase Name]
Timestamp: [ISO 8601 datetime]
Phase: S<NN>
Created by: [agent persona or "human"]
## What Was Decided / Built
[Summary of key decisions and artifacts produced in this phase]
## Artifact Status
- PRD.md: [✓ exists / ✗ missing]
- PLAN.md: [✓ exists / ✗ missing]
- project/TASKS.md: [✓ exists / N/M tasks done]
## Test Status
- Last run: [timestamp]
- Pass: [N] | Fail: [0] | Skip: [0]
- Coverage: [X]%
## Security Status
- Last audit: [timestamp or N/A]
- Open CVEs: [0 critical, 0 high]
- SECURITY_CHECKLIST: [X]% complete
## Key Decisions Made This Phase
- [decision 1 with rationale]
- ADRs created: [list]
## Open Issues / Known Debt
- [any unresolved issues that the NEXT phase should be aware of]
## Gate Criteria Verified
[✓] [criterion 1]
[✓] [criterion 2]
## Next Phase Entry Criteria
[what needs to happen to start the next phase]
## Memory Checksums
[filled in step 7]
Update PROJECT_STATE.md
Write to AUDIT_LOG.md
| [timestamp] | [session] | [agent] | PHASE_TRANSITION | S<NN> [Phase] checkpoint created | SUCCESS | episodic/SESSION_SNAPSHOT/S<NN>_<name>.md |
Record memory checksums (after steps 5 and 6, so the files are final for this checkpoint)
sha256sum agents/memory/PROJECT_STATE.md agents/memory/AUDIT_LOG.md agents/memory/CONTINUITY.md
wc -l agents/memory/AUDIT_LOG.md
Append both outputs under ## Memory Checksums at the end of the snapshot file. This is the only write to a snapshot after step 4. session-resume.skill compares these values on resume: later changes to PROJECT_STATE.md and CONTINUITY.md are normal, but the first lines of the append-only AUDIT_LOG.md must still match.
Tag git commit (propose the command below to the human; run it only when the human asked for a tag in this request)
git tag checkpoint/S<NN>-<name> -m "SDLC checkpoint: [phase] completed"
# Note: only tag if working directory is clean (all changes committed)
HUMAN_APPROVED row in AUDIT_LOG.md; without the row the phase is not advanced.
Not human gates: S03 (prod-tech-lead). S13 is entered on the human's decision to retire the system.
This set matches brain/loki-mode.skill and the canonical table.Created snapshot file path + updated PROJECT_STATE.md + AUDIT_LOG.md entry + the proposed git tag command. Report: "Checkpoint S created. Next phase: S<NN+1>."
HUMAN_APPROVED row.SESSION_SNAPSHOT/, use it.HUMAN_APPROVED is.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning./assurance-ladderChoose how strongly a component must be verified, from plain tests (level 0) to a machine-checked proof of a small core (level 3), record the choice in an ASSURANCE_PLAN, and know which evidence each level leaves. Use at S01/S02 when planning verification, when a requirement mentions concurrency, money, authorisation or safety, or when asked how sure we are that code is correct. Use when: assurance level, how strongly to verify, formal verification, choose verification level, assurance plan, prove correctness, model checking, high-risk component./audit-trailAppends one structured row per decision, phase change, approval or failure to agents/memory/AUDIT_LOG.md. Use when a decision, human approval, gate result or task outcome must be recorded, or when someone asks why something was done./characterization-testsUse before changing code that has no tests or weak tests. Pins what the code does today with golden-master and characterisation tests, handles non-determinism, and records a coverage baseline, so later changes can be checked against it. Use when: characterization test, characterisation test, golden master, approval test, pin behaviour, no tests, legacy tests, snapshot current behaviour, baseline coverage.npx claudepluginhub andreibesleaga/gabbe --plugin gabbeOther plugins' skills for the same job