codebase-audit-grounding

Audit a codebase to produce a measured current-state report.

2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/DojoGenesis/gateway --skill codebase-audit-grounding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-audit-grounding
Source: https://github.com/DojoGenesis/gateway/tree/main/plugins/specification-driven-development/skills/codebase-audit-grounding
Command: npx skills add https://github.com/DojoGenesis/gateway --skill codebase-audit-grounding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates speculation by providing a measured, data‑driven snapshot of a codebase, ensuring specifications are anchored in actual metrics rather than assumptions.

Core Features & Use Cases

  • Metric Collection: Counts test files, aria markers, error boundaries, localStorage usage, and dependency counts.
  • Audit Reporting: Generates a concise “Current State (Measured)” section ready for inclusion in specifications.
  • Use Cases: Ideal before writing new specs, during architectural reviews, or when assessing impact of changes in a repository.

Quick Start

Request a codebase audit by providing the repository path to the skill.

Frequently Asked Questions about codebase-audit-grounding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I quantify my codebase before writing specifications?

To quantify your codebase before writing specifications, you need a codebase audit that measures current metrics like test files, error boundaries, and dependency counts. This generates a measured current-state report to anchor your specs.

What codebase metrics are needed for specification-driven development?

Codebase metrics needed for specification-driven development include counts of test files, aria markers, error boundaries, localStorage usage, and dependencies. These measured data points eliminate speculation by providing a quantified snapshot of the actual repository state.

How do I audit my repository for test files and dependency counts?

You audit your repository for test files and dependency counts by executing grep and find commands across the file system and reading package manifests. This produces a concise measured report of your codebase's current state for specification grounding.

Does a codebase audit require file system access to read package manifests?

Yes, a codebase audit requires file system access to execute grep and find commands and read package manifests. This access is necessary to collect measured data on test, accessibility, error handling, storage, and dependency metrics for your specification.

When should I perform a codebase audit for an architectural review?

You should perform a codebase audit for an architectural review before writing new specs or when assessing the impact of changes in a repository. It provides a quantified current-state report to ground architectural decisions in actual metrics rather than assumptions.