ai-team-library/claude/skills/build-traceability/SKILL.md
# Skill: Build Traceability ## Description Maps user stories and their acceptance criteria to test cases, producing a traceability matrix that shows coverage relationships and identifies gaps. Every acceptance criterion should trace forward to at least one test case, and every test case should trace back to at least one requirement. This bidirectional mapping ensures nothing is tested without purpose and nothing is required without verification. ## Trigger - Invoked by the `/build-traceabili
npx skillsauth add beekeeper-lab/foundry ai-team-library/claude/skills/build-traceabilityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Maps user stories and their acceptance criteria to test cases, producing a traceability matrix that shows coverage relationships and identifies gaps. Every acceptance criterion should trace forward to at least one test case, and every test case should trace back to at least one requirement. This bidirectional mapping ensures nothing is tested without purpose and nothing is required without verification.
/build-traceability slash command.| Input | Type | Required | Description |
|-------|------|----------|-------------|
| stories_dir | Directory path | Yes | Directory containing user story files (e.g., ai/outputs/ba/user-stories/) |
| tests_dir | Directory path | No | Directory containing test case files; defaults to ai/outputs/tech-qa/ |
| existing_matrix | File path | No | Previous traceability matrix to update incrementally |
STORY-001-AC-01).| Output | Type | Description | |--------|------|-------------| | traceability_matrix | Markdown file | Criteria-to-test mapping table with coverage indicators | | coverage_summary | Section in matrix | Metrics: total criteria, covered, gaps, coverage percentage | | gap_report | Section in matrix | List of uncovered criteria and orphaned tests with recommendations |
| Error | Cause | Resolution |
|-------|-------|------------|
| StoriesDirNotFound | Stories directory does not exist | Check the path; ensure stories have been created |
| NoStoriesFound | Stories directory exists but contains no story files | Run /notes-to-stories first to create stories |
| NoCriteriaFound | Stories exist but none contain parseable acceptance criteria | Add acceptance criteria to the story files |
| TestsDirNotFound | Tests directory does not exist | Create test cases first or specify a different path |
/notes-to-stories skill)development
# Skill: VDD (Verification-Driven Development) Gate ## Description Runs the programmatic VDD gate for a bean: parses the bean's `## Acceptance Criteria` section, dispatches each criterion's evidence type to the matching runner (test, lint, file, file-contains, or manual), aggregates the results into a pass/fail verdict, and writes a structured markdown report at `ai/outputs/tech-qa/vdd-<NNN>.md` (zero-padded NNN). This is the machine-checkable counterpart to the prose VDD policy in `ai/contex
tools
# Skill: Spawn Task ## Description Dispatches a single specialist persona to execute a single task with only that task's context. Auto-detects the runtime environment and chooses one of two execution paths: - **In tmux** (`$TMUX` set): spawn a worker in a git worktree using a child tmux window. Process-isolated, parallelizable, durable across the calling session's lifetime. Same pattern as `/spawn-bean` but at task granularity. - **Not in tmux**: invoke the `Agent` tool with `subagent_typ
development
# Skill: Orchestration Report ## Description Aggregates the per-bean **Orchestration Telemetry** blocks (BEAN-278) across recent Done beans and produces a markdown report that answers the architecture-aware-evaluation question: **is the orchestration paying for itself?** Distinct from `/telemetry-report` (which aggregates raw cost, duration, and tokens); this skill aggregates the orchestration-quality metrics layered on top — bounces, persona activations, contract violations, escape-hatch usag
development
# Skill: Health Check ## Description Runs all health checks defined in `ai/context/health-checks.md` and produces a table-format report. Can be called standalone or by other skills (e.g., `/long-run`). ## Trigger - Invoked by the `/health-check` slash command. - Called programmatically by `/long-run` at the start of each cycle. ## Inputs | Input | Type | Required | Description | |-------|------|----------|-------------| | health_checks | Markdown file | Yes | `ai/context/health-checks.md`