Agent skill
sdlc-checkpoint
Save SDLC milestone snapshot, verify phase gates, advance tracking, and tag git commit
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/core-andreibesleaga-gabbe-5
SKILL.md
SDLC Checkpoint Skill
Goal
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.
SDLC Phases
| Phase | Name | Gate Criteria |
|---|---|---|
| S01 | REQUIREMENTS | PRD.md with EARS syntax, ambiguities resolved, human approval |
| S02 | DESIGN | Architecture decided, C4 model documented, ADRs written, threats modeled |
| S03 | SPECIFICATION | Technical spec finalized, API contracts defined, migration plan ready |
| S04 | TASKS | Tasks decomposed to ~15-min units, all accepted |
| S05 | IMPLEMENTATION | All tasks in project/tasks.md have status DONE |
| S06 | TESTING | All tests passing, coverage > 96%, 7-gate quality passed |
| S07 | SECURITY | SECURITY_CHECKLIST.md completed, no critical CVEs, threat mitigations verified |
| S08 | REVIEW | Human code review approved, all blocking feedback addressed |
| S09 | STAGING | Deployed to staging, smoke tests passing |
| S10 | PRODUCTION | Production deployed, rollback plan documented, monitoring active |
Steps
-
Identify which phase is completing
- Determine the phase number (S01-S10) from current context
- Retrieve the gate criteria for this phase from the table above
-
Verify gate criteria are met
S01 gate check: [ ] PRD.md exists with EARS-formatted requirements [ ] No unresolved ambiguities in requirements [ ] Human has explicitly approved the PRD 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 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] [ ] Coverage >= 96%: [run coverage command, confirm threshold] [ ] Lint: zero errors [ ] Typecheck: zero errors [ ] agentic-linter: no architecture violations S07 gate check: [ ] templates/security/SECURITY_CHECKLIST.md fully completed [ ] No critical CVEs in dependency audit [ ] All High/Critical threats from threat model have mitigations implemented -
If gate criteria NOT met
- List what is missing
- Do NOT advance to next phase
- Report to human: "Phase [X] checkpoint cannot be created — gate criteria not met: [list]"
-
Create the SESSION_SNAPSHOT (when gate criteria are met)
Write file:
agents/memory/episodic/SESSION_SNAPSHOT/S0[X]_[phase-name].mdContent:
markdown# Snapshot S0[X] — [Phase Name] Timestamp: [ISO 8601 datetime] Phase: S0[X] 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] -
Update PROJECT_STATE.md
- Change current phase to the NEXT phase (or mark project complete at S10)
- Update "Last checkpoint" timestamp and phase
- Clear "Current Blockers" if resolved
-
Write to AUDIT_LOG.md
| [timestamp] | [session] | [agent] | PHASE_TRANSITION | S0[X] [Phase] checkpoint created | SUCCESS | episodic/SESSION_SNAPSHOT/S0[X]_[name].md | -
Tag git commit
bashgit tag checkpoint/S0[X]-[phase-name] -m "SDLC checkpoint: [phase] completed" # Note: only tag if working directory is clean (all changes committed)
Constraints
- NEVER create a checkpoint if gate criteria are not met
- NEVER advance to next phase without human approval at S01, S02, S07, S08
- Snapshots are immutable — never overwrite a snapshot file (create a new one if re-doing a phase)
- Git tag must match snapshot filename for traceability
Output Format
Created snapshot file path + updated PROJECT_STATE.md + AUDIT_LOG.md entry + git tag. Report: "Checkpoint S0[X] created. Next phase: S0[X+1]."
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?