~aod-build
Generate standardized checkpoint reports for multi-phase implementation projects. Use this skill when pausing implementation at strategic milestones (phase completion, user story completion, critical features) to create comprehensive progress reports with task breakdowns, metrics, knowledge base entries, and resume instructions.
Best use case
~aod-build is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate standardized checkpoint reports for multi-phase implementation projects. Use this skill when pausing implementation at strategic milestones (phase completion, user story completion, critical features) to create comprehensive progress reports with task breakdowns, metrics, knowledge base entries, and resume instructions.
Teams using ~aod-build should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/~aod-build/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ~aod-build Compares
| Feature / Agent | ~aod-build | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate standardized checkpoint reports for multi-phase implementation projects. Use this skill when pausing implementation at strategic milestones (phase completion, user story completion, critical features) to create comprehensive progress reports with task breakdowns, metrics, knowledge base entries, and resume instructions.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Implementation Checkpoint Skill
## Purpose
Automatically generate standardized checkpoint reports that document implementation progress at strategic milestones. Each report includes completed tasks, remaining work, technical achievements, knowledge base entries, quality metrics, and resume instructions.
## When to Use
Create a checkpoint at:
1. **Complete phase finish** - All tasks in a phase marked complete
2. **User story completion** - Entire user story implemented and tested
3. **Critical milestone** - Core functionality ready (e.g., MVP core)
4. **Before pausing** - Stopping for review, testing, or user feedback
5. **After architect review** - Major approval/sign-off received
## How to Use
### Quick Usage
```bash
# Navigate to skill directory
cd .claude/skills/~aod-build
# Generate checkpoint (interactive prompts will follow)
python scripts/generate_checkpoint.py \
--tasks-file ../../specs/{feature-id}/tasks.md \
--output-dir ../../specs/{feature-id} \
--description "{Phase-Description}"
```
### Step-by-Step Process
1. **Analyze completion status**
```bash
# Script automatically:
# - Reads tasks.md
# - Counts [X] completed vs [ ] pending
# - Calculates progress percentage
# - Identifies completed phases
# - Determines task range
```
2. **Provide context when prompted**
```
Key achievements (3-5 bullet points):
> - Achievement 1
> - Achievement 2
> - Achievement 3
Knowledge base entries captured (count or 'none'):
> 2
[For each KB entry, provide: Title, Problem, Solution]
```
3. **Review generated report**
```bash
# Output: CHECKPOINT-{NN}_{Description}_{TaskRange}.md
# Location: specs/{feature-id}/
```
4. **Verify index updated**
```bash
# Check: CHECKPOINTS_README.md includes new checkpoint
```
### Checkpoint Naming Convention
**Format**: `CHECKPOINT-{NN}_{Phase-Description}_{TaskRange}.md`
**Components**:
- `{NN}`: Sequential checkpoint number (01, 02, 03...) - auto-detected
- `{Phase-Description}`: Milestone name (e.g., "Phase1-2-Complete", "US1-Complete")
- `{TaskRange}`: Task IDs covered (e.g., "T001-T030")
**Examples**:
```
✓ CHECKPOINT-01_Phase1-2-Complete_T001-T030.md
✓ CHECKPOINT-02_US1-Complete_T001-T039.md
✓ CHECKPOINT-03_MVP-Ready_T001-T101.md
✓ CHECKPOINT-04_ProductionReady_T001-T120.md
```
See `references/naming_conventions.md` for detailed rules.
### Required Sections
Every checkpoint report includes:
1. **Executive Summary** - What was completed, what's next
2. **Completion Status** - Progress table with percentages
3. **What Was Implemented** - Detailed task breakdown by phase
4. **Key Technical Achievements** - Highlights and innovations
5. **Files Created/Modified** - Complete file inventory with counts
6. **Knowledge Base Captured** - Critical learnings documented
7. **Server/Database Status** - Current state of running services
8. **Quality Metrics** - Code quality, reviews, test coverage
9. **Remaining Work** - What's left and estimated time
10. **Resume Instructions** - How to continue implementation
### Metrics Calculated Automatically
- **Progress percentage**: `(completed / total) * 100`
- **Phase completion**: Per-phase progress tracking
- **Task range**: Start and end task IDs
- **Next task**: First pending task to work on
See `references/metrics_formulas.md` for formulas and examples.
### Knowledge Base Integration
When prompted for knowledge base entries, provide learnings that:
✅ **DO include**:
- Solved problems that took >30 minutes
- Non-obvious gotchas or edge cases
- Architectural decisions with trade-offs
- Patterns that should be reused
- Issues that could happen again
❌ **DON'T include**:
- Obvious facts ("we use PostgreSQL")
- Generic statements ("testing is important")
- Implementation progress ("completed task T026")
- Temporary workarounds
### Output Files
The skill generates/updates:
1. **Checkpoint Report**: `CHECKPOINT-{NN}_{Description}_{TaskRange}.md`
- Location: `specs/{feature-id}/`
- Size: ~15-20 KB
- Format: Markdown with tables and code blocks
2. **Checkpoints Index**: `CHECKPOINTS_README.md` (updated)
- Location: `specs/{feature-id}/`
- Adds new checkpoint entry
- Updates progress tracking table
### Resume Commands Generated
The checkpoint report includes auto-generated resume commands:
```bash
# For team-lead orchestration
/aod.build --resume
# For direct continuation
# Continue from task {NEXT_TASK}
```
## Scripts Reference
### analyze_tasks.py
Parse tasks.md and extract metrics.
**Input**: Path to tasks.md file
**Output**: JSON with completion metrics
**Usage**:
```bash
python scripts/analyze_tasks.py specs/001-{{PROJECT_NAME}}/tasks.md
```
**Output Format**:
```json
{
"total_tasks": 120,
"completed_tasks": 32,
"progress_percentage": 26.67,
"phases": [...],
"task_range": "T001-T030",
"next_task": "T031"
}
```
### generate_checkpoint.py
Generate checkpoint report from template.
**Usage**:
```bash
python scripts/generate_checkpoint.py \
--tasks-file specs/{feature-id}/tasks.md \
--output-dir specs/{feature-id} \
--description "{Phase-Description}"
```
**Interactive Prompts**:
- Key achievements summary
- Knowledge base entries (optional)
- Per-entry: title, problem, solution
**Output**: Complete checkpoint report file
### update_index.py
Update CHECKPOINTS_README.md with new checkpoint.
**Usage**:
```bash
python scripts/update_index.py \
--checkpoints-readme specs/{feature-id}/CHECKPOINTS_README.md \
--checkpoint-file CHECKPOINT-{NN}_{Description}_{TaskRange}.md \
--checkpoint-num {NN}
```
**Changes Made**:
- Adds checkpoint to "Active Checkpoints" section
- Updates progress tracking table
- Updates "Next Checkpoint Planned" footer
## Templates Reference
### checkpoint_template.md
Complete Markdown template for checkpoint reports. Contains all required sections with template variables for substitution.
**Location**: `references/checkpoint_template.md`
**Key Variables**:
- `{CHECKPOINT_NUM}`, `{PHASE_DESCRIPTION}`, `{TASK_RANGE}`
- `{DATE}`, `{FEATURE_ID}`, `{TOTAL_TASKS}`, `{COMPLETED_TASKS}`
- `{PROGRESS_PERCENTAGE}`, `{PHASES_TABLE}`, `{KEY_ACHIEVEMENTS}`
- `{KB_ENTRIES}`, `{NEXT_TASK}`, `{RESUME_COMMAND}`
### CHECKPOINTS_README_template.md
Template for creating the checkpoints index file (first-time use).
**Location**: `assets/CHECKPOINTS_README_template.md`
**Usage**: Copy to `specs/{feature-id}/CHECKPOINTS_README.md` when creating first checkpoint.
## Examples
### Example 1: After Completing Phase 1-2
```bash
$ python scripts/generate_checkpoint.py \
--tasks-file specs/001-{{PROJECT_NAME}}/tasks.md \
--output-dir specs/001-{{PROJECT_NAME}} \
--description "Phase1-2-Complete"
Analyzing tasks.md...
✓ Found 120 total tasks
✓ Found 32 completed tasks (27%)
✓ Task range: T001-T030
✓ Checkpoint #01 (auto-detected)
Key achievements (3-5 bullet points):
> - Database schema with 6 entities, 19 indexes
> - Architect review APPROVED
> - MVP core: Atomic locking with row-level locks
Knowledge base entries: 5
[... interactive prompts for KB entries ...]
✓ Generated: CHECKPOINT-01_Phase1-2-Complete_T001-T030.md
✓ Updated: CHECKPOINTS_README.md
Next: Resume with /aod.build --resume
```
### Example 2: After Completing User Story 1
```bash
$ python scripts/generate_checkpoint.py \
--tasks-file specs/001-{{PROJECT_NAME}}/tasks.md \
--output-dir specs/001-{{PROJECT_NAME}} \
--description "US1-Complete"
✓ Checkpoint #02: US1-Complete (T001-T039)
✓ Progress: 33% (39/120 tasks)
[... prompts and generation ...]
✓ Generated: CHECKPOINT-02_US1-Complete_T001-T039.md
```
## Troubleshooting
**Q: Script can't find tasks.md**
A: Provide absolute path or verify relative path from skill directory
**Q: Checkpoint number is wrong**
A: Manually specify with `--checkpoint-num NN` flag
**Q: Template variables not substituted**
A: Check template file exists in `references/checkpoint_template.md`
**Q: Index file not updating**
A: Verify CHECKPOINTS_README.md exists in output directory
## Best Practices
1. **Create checkpoints proactively** - Don't wait until pausing
2. **Capture knowledge fresh** - Document learnings immediately
3. **Be specific in achievements** - "Implemented X" not "Made progress"
4. **Validate metrics** - Review auto-calculated percentages
5. **Test resume commands** - Verify they work before distributing
---
**Skill Version**: 1.0.0
**Last Updated**: 2025-11-20
**Maintainer**: Team Lead Agent
---
## Common Rationalizations
| Rationalization | Reality |
|---|---|
| "I'll skip the checkpoint — I'm only mid-phase" | Step 1 (line 17) lists critical milestones too; mid-phase pause without report leaves no resume artifact. |
| "KB entries can wait until after delivery" | Line 307 directs capturing knowledge fresh; deferred entries miss the gotchas described in lines 121-126. |
| "Achievements like 'made progress' are fine" | Line 308 requires specific achievements; vague entries violate the KB DON'T list (line 130). |
| "I can hand-write achievements without the script" | Quick Usage (line 27) requires `generate_checkpoint.py` — manual reports skip the auto progress percentage from line 109. |
| "Resume commands are documentation, not testing" | Line 311 requires testing resume commands before distributing; untested commands break next session. |
## Red Flags
- Agent creates a checkpoint without running `analyze_tasks.py` per the metrics block (lines 162-183).
- Agent's KB entries match the DON'T list (line 128): "obvious facts," "generic statements," "implementation progress."
- Agent skips line 310 (validate metrics): publishes auto-calculated percentages without sanity-checking them.
- Agent omits the Required Sections list (line 96) — Quality Metrics, Resume Instructions, or Files Created.
- Agent uses arbitrary checkpoint numbering instead of the auto-detected `{NN}` from the script (line 78).
- Agent's report contains template variables like `{NEXT_TASK}` unsubstituted — Troubleshooting Q3 (line 298) flags this.Related Skills
~aod-status
On-demand backlog snapshot and lifecycle stage summary. Regenerates BACKLOG.md from GitHub Issues and displays item counts per stage. Use this skill when you need to check backlog status, view stage counts, regenerate BACKLOG.md, or get a lifecycle overview.
~aod-spec
Validates specification completeness and quality by checking for mandatory sections, [NEEDS CLARIFICATION] markers, testable criteria, and clear scope boundaries. Use this skill when you need to check if spec is complete, validate specifications, review spec.md, or check specification quality. Ensures specifications are ready for architecture and implementation phases.
~aod-score
Re-score an existing idea's ICE rating when circumstances change. Use this skill when you need to re-evaluate ideas, update ICE scores, change idea priority, or re-assess deferred ideas.
~aod-run
Full lifecycle orchestrator that chains all 6 AOD stages (Discover, Define, Plan, Build, Deliver, Document) with disk-persisted state for session resilience and governance gates at every boundary. Use this skill when you need to run the full lifecycle, orchestrate stages, resume orchestration, or check orchestration status.
~aod-project-plan
Validates architecture documentation completeness by checking for technology stack, API specifications, database schema, security architecture, and alignment with feature specification. Use this skill when you need to check if plan.md is complete before implementation, validate architecture documentation, or review technical plans for completeness.
~aod-plan
Plan stage orchestrator that runs all three Plan sub-steps (spec → project-plan → tasks) in sequence with governance gates. Stops on rejection, continues through approvals. Use this skill when you need to run the full Plan stage, navigate planning sub-steps, or resume after a rejection.
~aod-kickstart
POC kickstart skill that transforms a project idea into a sequenced consumer guide with 6-10 seed features. Use when a developer invokes /aod.kickstart to generate a consumer guide, when starting a new project and needing a structured backlog plan, or when converting a project idea into seed features for the AOD lifecycle. Three-stage workflow: Idea Intake, Stack Selection, Guide Generation.
~aod-discover
Unified discovery skill with 4 entry points: /aod.discover (full flow: capture + score + validate), /aod.discover --seed (fast-track pre-vetted ideas with auto defaults), /aod.idea (capture + score only), /aod.validate (PM validation for existing idea). Use this skill when you need to capture ideas, run discovery, validate ideas with PM, generate user stories, log feature requests, or add items to the ideas backlog.
~aod-deliver
Structured delivery retrospective for the AOD Lifecycle's Deliver stage. Validates Definition of Done, captures delivery metrics (estimated vs. actual duration), logs surprises, feeds new ideas back into discovery via GitHub Issues, and creates Institutional Knowledge entries. Use this skill when you need to close a feature, run a delivery retrospective, capture lessons learned, or complete the AOD lifecycle.
~aod-define
Internal skill invoked by /aod.define to generate industry-standard PRD content using proven frameworks from Google, Amazon, and Intercom. Do NOT invoke directly — use /aod.define instead, which wraps this skill with Triad governance and sign-offs.
~aod-bugfix
One-shot governed bug fix loop: diagnose → plan → implement → verify → document. TRIGGER when: user reports a bug, pastes an error message/stack trace/failing test, or asks to fix a bug. Runs 5 Whys root cause analysis, presents confirmation gate before any code changes, implements fix, verifies with tests, and generates KB entry for review.
~aod-blueprint
Unified project setup and story generation skill that auto-detects new vs existing projects. Three modes: first-run (creates repo, registers project, activates), subsequent-run (skips setup, adds new stories with deduplication), and demo (loads pre-built Hello World stories). Generates ICE-scored, dependency-ordered stories as GitHub Issues and outputs a consumer guide. Use when a developer invokes /aod.blueprint to bootstrap or extend a project.