Traceability render

From SteveGJones/ai-first-sdlc-practices · View interactive version

Traceability render is an AI agent skill from the GitHub repository SteveGJones/ai-first-sdlc-practices. Render module-scoped human-readable traceability for a single module — REQs, DESs, TESTs, code locations with anchor links, plus the module-dependency graph as a markdown edge-list.

How to use this skill

Skill file

<!-- implements: DES-assured-skills-007 -->

Skill: traceability-render

Use this skill when a reviewer or auditor needs a human-readable view of one module's traceability. Produces a markdown document with anchors that resolve in any markdown renderer, no Sphinx required.

Inputs

Steps

  1. Validate the module exists. Read programs.yaml; confirm the module is declared.
  1. Load the registry. Read library/_ids.md and library/_code-index.md.
  1. Filter to the module. Keep only IDs whose module assignment matches.
  1. Render the module scope. Use render_module_scope.
  1. Render the dependency graph. Walk source-file imports to derive the actual_edges. Use render_module_dependency_graph.
  1. Concatenate scope + dependency graph into one document.
  1. Write to docs/traceability/<module-id>.md. Idempotent.
  1. Print the path of the rendered document.

Done criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.