deep-audit

Audits codebases for architectural alignment, deduplication, and widget contract integrity with human review.

Updated Jan 2, 2025
One-click install
npx skills add https://github.com/mcinnisd/gymbro --skill deep-audit-mcinnisd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deep-audit
Source: https://github.com/mcinnisd/gymbro/tree/main/.agents/skills/deep-audit
Command: npx skills add https://github.com/mcinnisd/gymbro --skill deep-audit-mcinnisd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Large codebases drift away from their documented architecture over time, accumulating duplicated logic, inconsistent error handling, and mismatched frontend/backend contracts. This Skill performs a structured, multi-axis audit of the entire repository and converts confirmed findings into tracked GitHub issues, while requiring human approval before any tickets are created. ## Core Features & Use Cases - Multi-Axis Codebase Scan: Evaluates domain/architecture alignment against CONTEXT.md and ADRs, backend deduplication (Flask routes, Supabase queries), frontend health (Expo/React Native navigation, render performance), and agent tool/widget payload contract integrity. - Human-in-the-Loop Review: Presents a prioritized health scorecard (P0/P1/P2 findings with file links and assumptions) and pauses for user feedback before creating any issues. - Wayfinder Issue Integration: Converts approved findings into GitHub issues with labels like ready-for-agent and wayfinder:task, wiring native blocked-by dependencies via the GitHub CLI. - Use Case: Before a major refactor of a fitness app's agent engine, run the audit to detect duplicated Garmin/Strava normalization logic and mismatched widget payloads, then turn the approved findings into an executable ticket roadmap. ## Quick Start Ask the AI to run a deep audit of the repository and present prioritized findings for review before creating any GitHub issues.

Frequently Asked Questions about deep-audit

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

FAQPage Schema
How do I audit a codebase for architectural drift and duplication?

Run the deep-audit workflow, which scans the repository across five axes: domain alignment, deduplication, frontend health, backend hygiene, and agent widget contracts. It reads CONTEXT.md and ADRs first so it never re-litigates settled decisions.

How to turn code audit findings into GitHub issues?

After human approval of the findings, the skill creates a Wayfinder map issue and child tracer-bullet tickets using the gh CLI with labels like ready-for-agent and wayfinder:task. It also wires blocked-by dependencies through the GitHub API.

Does the audit create GitHub issues automatically without review?

No. The skill enforces a human-in-the-loop checkpoint in Phase 3, presenting a prioritized scorecard and assumption list, and only creates issues after the user explicitly approves the findings and scope.

What does the audit check in a Flask and React Native codebase?

It checks Flask blueprints for consistent JSON error envelopes, Pydantic schema validation, and transaction safety, plus Expo/React Native navigation clarity, render performance, duplicated fetch utilities, and dead code.

When should I not run a deep codebase audit?

Avoid running it without first checking active Wayfinder maps and open GitHub issues, since auditing in a vacuum can duplicate in-flight roadmap work. It is also unsuited for small single-file fixes where a targeted review suffices.