Repository health audit — rubric across structure, documentation, tests, CI and gates, dependencies, security hygiene (secrets, branch protection), ownership, conventions, agent-readiness (AGENTS.md, skills); scored report with prioritized actions. Use for repository health checks (repository audit, repo health, codebase assessment).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Repository Audit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vectora-os-repository-audit)
---
name: repository-audit
description: Repository health audit — rubric across structure, documentation, tests, CI and gates, dependencies, security hygiene (secrets, branch protection), ownership, conventions, agent-readiness (AGENTS.md, skills); scored report with prioritized actions. Use for repository health checks (repository audit, repo health, codebase assessment).
metadata:
category: engineering-excellence
---
# Repository audit
## Purpose
Give an honest, scored view of repository health with the most valuable fixes.
**Use when:** periodic audits or adoption of a repository.
**Not for:** deep security audit.
## Inputs
- Repository, history, CI results.
## Outputs
- Scored audit with actions.
## Read first
- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "repository audit"` for prior decisions, patterns and anti-patterns.
- [Repository audit rubric](../../../checklists/repository-audit.md)
## Steps
1. **Collect.** Gather evidence per rubric dimension.
Done when evidence per dimension.
2. **Score.** Score 0–4 per dimension with rationale.
Done when scores justified.
3. **Prioritize.** Actions by impact/effort.
Done when top 5 actions.
4. **Report.** Trend versus last audit.
Done when trend shown.
## Best practices
- Evidence over impressions.
- Re-audit with the same rubric.
## Common mistakes
- Scoring without evidence.
- Endless action lists.
## Example
Score 68/100; top actions: branch protection, tests for 3 modules, remove 14 unused deps.
## Reusable prompt
```text
Apply the Repository audit skill (.agents/skills/repository-audit/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Audit the repository against the rubric, score each dimension with evidence and list the top actions.
Return: Scored audit with actions..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```