# traceability

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

traceability is a free AI agent skill on Agensi by Rubén Fernández, in Business & Operations. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Rubén Fernández](https://www.agensi.io/creators/rub-n-fern-ndez)
- Category: [Business & Operations](https://www.agensi.io/skills/business-operations)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-15
- Security: scan passed (2026-10-15); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/traceability
- Tags: project-management, documentation, code-review, testing, python

## 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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the traceability skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill help me pass a formal technical audit?

This skill automates the verification of your traceability matrix, ensuring every requirement is physically linked to code files and test suites, preventing 'audit shock' by flagging missing links before release.

### What technical assets are included in this purchase?

The skill includes a standardized CSV schema and a standalone Python validation script that integrates easily into any Git repository and major CI/CD pipelines like GitHub Actions or GitLab CI.

### Does the agent automatically scan my source code to generate the links for me?

No, the skill validates the structural integrity and existence of paths; it relies on your team to update the CSV rows as they develop new features to ensure human-verified accuracy.

### Are there any specific programming languages or frameworks this skill is restricted to?

The skill is framework-agnostic and works with any language (Go, Python, Java, etc.) as long as the file paths are correctly referenced within the provided matrix structure.

### Can't I just ask a standard AI to track my requirements for me?

Unlike a basic prompt, this skill provides a rigid validation framework and a zero-dependency script that checks the filesystem to ensure your documentation actually matches your repository's reality.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
