- Home
- Skills
- Business & Operations
- traceability
traceability
Maintain a validated traceability matrix linking requirements, code, tests, and documentation for audit readiness.
Free
Works with the AI Agents you already use
traceability
Example session with this skill installed
I need to add a new requirement for user account deletion to the traceability matrix. The ID is RF-082, it's in version 1.2, and it's implemented in the auth service.
- Read your context and instructions
- Compiled the traceability
- Generated the data export
I have updated the traceability matrix with the new requirement for user account deletion. I've mapped it to the auth service components, the corresponding DELETE endpoint, and the existing test suite.
Traceability Matrix Update
| req | title | status | version | section_fd | section_td | components | endpoints | gateway_route | tests | adr | notes |
|---|---|---|---|---|---|---|---|---|---|---|---|
| RF-082 | User account deletion | implemented | 1.2 | 3.2.1 | 5.4.0 | svc-auth/src/delete/handler.py;svc-auth/src/models/user.py | DELETE /v1/users/{id} | /api/auth/* | svc-auth/test/delete_test.py | 0012 | Mandatory 30-day data retention logic included. |
Validation Results
- Requirement ID Unique: Pass (RF-082 is unique).
- Component Paths: Found 2/2 files.
- Test Paths: Found 1/1 files.
- ADR Reference: ADR-0012 verified in
docs/adr/. - Status Consistency: Pass (Requirement marked
implementedcontains all mandatory documentation and test links).
Next steps
- Run
python3 scripts/validate_traceability.py docs/traceability/matrix.csvlocally to confirm the filesystem paths match your current branch. - Ensure the Technical Design section 5.4.0 is updated to reflect the new deletion flow.
- Commit the changes to
docs/traceability/matrix.csvalongside your code changes.
matrix.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Keeping requirements, code, and tests in sync is a manual nightmare that usually fails during the first audit. This skill provides a structured framework to maintain a traceability matrix, ensuring every functional requirement maps directly to specific source files, API endpoints, and test suites. It replaces vague "documentation is up to date" claims with a machine-validated CSV that serves as a single source of truth for developers, testers, and auditors.
What it does
- Requirement mapping links functional and non-functional requirement IDs to specific code components.
- Coverage validation identifies implemented requirements that lack associated tests or design documentation.
- API tracking maps endpoints to gateway routes and technical design sections for contract consistency.
- Decision linking connects architectural decision records (ADRs) to the requirements they fulfill.
- CI integration provides a zero-dependency Python script to break the build when traceability gaps are detected.
How it works
- Initialize the matrix by creating a standardized CSV structure based on the project's requirements.
- Update specific columns (components, endpoints, tests) during the development and testing cycles.
- Verify consistency by running the validation script to check file paths, unique IDs, and document sections.
- Audit the project using the matrix to provide bi-directional proof of implementation for every requirement.
Frameworks & tools
This skill uses a standardized CSV schema and a standalone Python validation script. It is designed to work within any git repository and integrates into CI/CD pipelines via standard shell execution.
Why this beats prompting it yourself
Generic prompts often fail to maintain the rigid structure required for formal audits or forget to cross-reference file paths against the actual filesystem. This skill enforces a multi-role ownership model and provides a specialized validation script that turns traceability into an automated check rather than a manual guessing game.
Use cases
- Map requirement RF-102 to specific Go handlers, unit tests, and design docs.
- Identify which requirements are missing tests before a production release.
- Audit the relationship between API endpoints and their corresponding gateway routes.
- Link architectural decisions to the specific features they influenced.
Known limitations
Does not perform static code analysis to verify logic; it only validates the existence of paths and structural consistency of the matrix. Requires manual updates of CSV rows during development.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 5 days ago
- Free to download with an account