Export Traceability Matrix
SkillFiles & storageExport the REQ↔DES↔TEST traceability matrix for a feature in csv or markdown format. Phase D ships csv + markdown; Phase E (Assured) extends with standard-specific formats.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Export Traceability Matrix skill
What this skill tells your AI
The instructions your AI receives, as published by stevegjones/ai-first-sdlc-practices in skills/traceability-export/SKILL.md and read by ahel’s review.
Produce an audit-friendly REQ↔DES↔TEST traceability matrix.
Arguments
<format>—csvormarkdown<feature-id>— short slug for the feature[output-path]— optional. Defaults todocs/specs/<feature-id>/traceability.<ext>where.extis.csvor.md.
Steps
FORMAT="$1"
FEATURE_ID="$2"
OUTPUT_PATH="${3:-}"
if [ -z "$FORMAT" ] || [ -z "$FEATURE_ID" ]; then
echo "Usage: traceability-export <format> <feature-id> [output-path]" >&2
exit 1
fi
case "$FORMAT" in
csv|markdown) ;;
*)
echo "format must be one of: csv, markdown" >&2
exit 1
;;
esac
FEATURE_DIR="docs/specs/$FEATURE_ID"
if [ -z "$OUTPUT_PATH" ]; then
case "$FORMAT" in
csv) OUTPUT_PATH="$FEATURE_DIR/traceability.csv" ;;
markdown) OUTPUT_PATH="$FEATURE_DIR/traceability.md" ;;
esac
fi
python3 << PYEOF
from pathlib import Path
from sdlc_programme_scripts.programme.traceability import (
TraceabilityError, export_csv, export_markdown,
)
format = "$FORMAT"
feature_id = "$FEATURE_ID"
feature_dir = Path("$FEATURE_DIR")
output_path = Path("$OUTPUT_PATH")
try:
if format == "csv":
text = export_csv(feature_dir, feature_id)
elif format == "markdown":
text = export_markdown(feature_dir, feature_id)
except TraceabilityError as e:
print(f"ERROR: {e}", flush=True)
raise SystemExit(1)
output_path.parent.mkdir(parents=True, exist_ok=True)
output_path.write_text(text)
print(f"Wrote {format} traceability matrix to {output_path}")
PYEOF
Done
Report:
- Format used (csv or markdown)
- Output path
- Number of REQ rows in the matrix
- Any orphan REQs (declared but no DES/TEST satisfying them) — these are coverage gaps the team should resolve
Model selection
This skill runs deterministic Python helpers. Smaller models are sufficient.
Signals
- GitHub stars
- 41
- Forks
- 6
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
traceability-export- Source
- github.com/stevegjones/ai-first-sdlc-practices