marketplace/bundles/pm-requirements/skills/traceability/SKILL.md
Standards for linking specifications to implementation code and maintaining bidirectional traceability between documentation and source code
npx skillsauth add cuioss/plan-marshall 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.
Execution mode: Reference library; load standards on-demand for traceability tasks.
Prohibited actions:
Constraints:
pm-documents:ref-asciidocStandards for connecting specification documents with implementation code, establishing bidirectional traceability, and maintaining documentation throughout the implementation lifecycle.
This skill covers linking between documents and code: bidirectional navigation, API documentation references, test coverage documentation, and link maintenance. For creating and maintaining document content (structure, SMART principles, ID schemes, lifecycle management), see pm-requirements:requirements-authoring. For what belongs in specifications vs. API documentation, see standards/information-distribution.md.
Effective documentation provides a complete view at multiple levels:
Proper linkage ensures seamless navigation between these levels.
Each piece of information should have one authoritative location:
Documentation evolves through implementation phases (PLANNED → IN PROGRESS → IMPLEMENTED). For the complete lifecycle model, see pm-requirements:requirements-authoring → standards/documentation-lifecycle-management.md. This skill provides the traceability-focused subset in the "Documentation Update Workflow by Phase" section below.
CRITICAL: Load traceability standards based on task context.
Always load information distribution standards:
Read: standards/information-distribution.md
Defines what belongs in specifications vs API documentation.
Load standards based on task context:
If linking from specifications to code:
Read: standards/specification-to-code-linking.md
If linking from code to specifications (API documentation):
Read: standards/code-to-specification-linking.md
If updating documentation through implementation phases, use the phase guidance below.
If documenting test coverage and validation:
Read: standards/verification-and-validation-linking.md
If maintaining existing traceability links:
Read: standards/cross-reference-maintenance.md
If verifying traceability quality:
Read: standards/quality-standards.md
Apply the loaded standards to your specific task:
For New Implementation:
For Documentation Updates:
For Test Documentation:
For Maintenance:
Use quality-standards checklists to verify:
Traceability-specific guidance for updating documentation through implementation lifecycle phases. For the complete lifecycle model (PLANNED → IN PROGRESS → IMPLEMENTED → DEPRECATED), see pm-requirements:requirements-authoring → standards/documentation-lifecycle-management.md.
code-to-specification-linking.md)| Document | Contains | Does NOT Contain | |----------|----------|------------------| | Specification | What and why | Implementation details | | API docs (JavaDoc, docstrings, JSDoc) | How and when | Architecture decisions | | Tests | Validation and coverage | Design rationale |
Use cross-references instead of duplicating information across these layers. Update links immediately when source files are created.
pm-requirements:requirements-authoring - Standards for creating requirements and specifications that form the traceability foundationpm-requirements:setup - Standards for setting up documentation structure in new projectspm-requirements:planning - Standards for planning documents that track implementation taskspm-dev-java:javadoc - JavaDoc specification references (Java projects)pm-dev-frontend:javascript - JSDoc specification references (JavaScript projects)pm-documents:ref-asciidoc - AsciiDoc formatting for specification documentstesting
A test skill for README generation
testing
A test skill with existing references
tools
Skill without references directory
development
Test skill with table-format references