gap-audit-then-fix

Audit a codebase against a formal specification and generate a GAPS.md registry.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits a codebase against a formal specification to surface gaps, severities, and remediation tasks.

Core Features & Use Cases

  • Spec Review: Extract the required artifacts from the specification for the audit checklist.
  • Deep Audit & Classification: Verify existence and correctness of each artifact and categorize gaps by severity.
  • Parallel Fix Registry: Dispatch actionable fixes for P1/P0 gaps while maintaining a living GAPS.md registry.

Quick Start

Run a gap-audit-then-fix session against your repository to generate a GAPS.md and begin fixes.

Frequently Asked Questions about gap-audit-then-fix

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

FAQPage Schema
How do I audit my codebase against a formal specification for implementation gaps?

A codebase gap audit compares your repository artifacts against a formal specification to verify existence and correctness. It categorizes uncovered gaps by severity and generates a durable GAPS.md registry with per-file remediation guidance.

What is the best way to track and fix codebase gaps found during a specification review?

Tracking and fixing codebase gaps is handled by dispatching actionable fixes for P1 and P0 severities in parallel while maintaining a living GAPS.md registry. This registry acts as a checklist-driven audit output with targeted per-file remediation tasks.

Can I use a gap audit when implementation coverage is uncertain but a specification exists?

A gap audit applies when a formal specification exists but implementation coverage is uncertain. It extracts required artifacts from the specification into an audit checklist, verifies each artifact, and surfaces gaps with assigned severities for targeted fixes.

Does a gap audit generate a registry for ongoing codebase quality tracking?

A gap audit generates a durable GAPS.md registry for ongoing codebase quality tracking. This living registry documents severities, verification passes, and per-file remediation guidance so teams can resolve specification gaps methodically over time.

How does a spec review classify codebase gaps by severity?

A spec review classifies codebase gaps by verifying the existence and correctness of each required artifact, then categorizing gaps by severity. It prioritizes P0 and P1 gaps for immediate parallel fixes while logging lower severity issues in the registry.

What do I need to start a gap audit session on my repository?

To start a gap audit session you need a formal specification detailing required artifacts and a codebase to evaluate. The audit extracts the specification requirements into a checklist, verifies implementation coverage, and outputs a GAPS.md registry to begin fixes.