traceability

    1

    Maintain a validated traceability matrix linking requirements, code, tests, and documentation for audit readiness.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    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

    reqtitlestatusversionsection_fdsection_tdcomponentsendpointsgateway_routetestsadrnotes
    RF-082User account deletionimplemented1.23.2.15.4.0svc-auth/src/delete/handler.py;svc-auth/src/models/user.pyDELETE /v1/users/{id}/api/auth/*svc-auth/test/delete_test.py0012Mandatory 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 implemented contains all mandatory documentation and test links).

    Next steps

    1. Run python3 scripts/validate_traceability.py docs/traceability/matrix.csv locally to confirm the filesystem paths match your current branch.
    2. Ensure the Technical Design section 5.4.0 is updated to reflect the new deletion flow.
    3. Commit the changes to docs/traceability/matrix.csv alongside your code changes.

    matrix.csv

    CSV · data export

    Generated

    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

    1. Initialize the matrix by creating a standardized CSV structure based on the project's requirements.
    2. Update specific columns (components, endpoints, tests) during the development and testing cycles.
    3. Verify consistency by running the validation script to check file paths, unique IDs, and document sections.
    4. 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

    Listed5 days ago

    What's inside

    Frequently Asked Questions