repo-audit-refactor-optimize is a repository-local skill for running a structured audit and remediation workflow across Python, C, Rust, and assembly codebases.
It focuses on:
- bootstrapping required subskills
- profiling repository structure and verification surfaces
- synthesizing a ranked remediation backlog
- executing safe cleanup, refactors, and performance work in verified batches
SKILL.md: top-level orchestration workflowreferences/: stage order, lane activation, prioritization, and verification guidancescripts/check_skill_requirements.py: bootstrap checker for required and optional subskillstests/: unit tests covering bootstrap and lane resolution behavioragents/openai.yaml: example agent interface metadata
Run the bootstrap checker against a target repository:
python3 scripts/check_skill_requirements.py \
--repo /path/to/target-repo \
--out-dir /tmp/repo-audit-refactor-optimize/runRun the tests:
pytest -qThis repository contains the skill definition, reference material, bootstrap manifest, and tests for the bootstrap checker.