Skip to main content
ClaudeWave
Skill1.3k repo starsupdated today

audit-trail

The audit-trail skill provides end-to-end traceability from product requirements documents through epics and tasks to GitHub issues and code commits. Use it to verify that all PRD user stories are mapped to development tasks, ensure tasks are linked to corresponding issues, validate completed work has associated commits, and generate coverage matrices showing requirement fulfillment across the development pipeline.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/audit-trail && cp -r /tmp/audit-trail/library/methodologies/ccpm/skills/audit-trail ~/.claude/skills/audit-trail
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Audit Trail

Full traceability from PRD to code commit through the CCPM spec-driven pipeline.

## Traceability Chain
PRD -> Epic -> Task -> GitHub Issue -> Code Commit

## Capabilities
- PRD user story to task mapping
- Task to GitHub issue linking
- Commit to issue cross-referencing
- Coverage matrix generation
- Audit completeness verification

## File Structure
```
.claude/
  prds/<feature-name>.md          # PRD with user stories
  epics/<feature-name>/
    epic.md                        # Technical epic
    1.md, 2.md, ...               # Individual tasks
    tasks-index.md                # Task index with traceability
```

## Audit Verification
The tracking process (`ccpm-tracking.js`) verifies:
- Every PRD user story maps to at least one task
- Every task maps to a GitHub issue (if sync enabled)
- Every completed task has associated commits
- Coverage percentage is reported