https://github.com/jc1122/repo-audit-refactor-optimize
Structured audit and remediation skill for Python, C, Rust, and assembly codebases — profiles structure, ranks a remediation backlog, and executes cleanup in verified batches
https://github.com/jc1122/repo-audit-refactor-optimize
audit c claude-code code-quality composite-skill ml-metaoptimization orchestrator-skill python refactoring rust skill
Last synced: 10 days ago
JSON representation
Structured audit and remediation skill for Python, C, Rust, and assembly codebases — profiles structure, ranks a remediation backlog, and executes cleanup in verified batches
- Host: GitHub
- URL: https://github.com/jc1122/repo-audit-refactor-optimize
- Owner: jc1122
- License: mit
- Created: 2026-03-06T01:08:54.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-06-11T23:57:18.000Z (12 days ago)
- Last Synced: 2026-06-12T00:04:42.065Z (12 days ago)
- Topics: audit, c, claude-code, code-quality, composite-skill, ml-metaoptimization, orchestrator-skill, python, refactoring, rust, skill
- Language: Python
- Size: 239 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repo Audit Refactor Optimize
`repo-audit-refactor-optimize` is a repository-local skill for running a structured audit and remediation workflow. Its deterministic diagnosis lanes (test, code-health, coverage) are Python-first, built on the repo-audit-skills family; C, Rust, and assembly codebases are handled in manual mode with the tooling gap recorded.
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
**Requirement:** the deterministic diagnosis lanes require `repo-audit-skills` v0.3.0+ installed (from github.com/jc1122/repo-audit-skills).
## Repository Layout
- `SKILL.md`: top-level orchestration workflow
- `references/`: stage order, lane activation, prioritization, and verification guidance
- `scripts/check_skill_requirements.py`: bootstrap checker for required and optional subskills
- `tests/`: unit tests covering bootstrap and lane resolution behavior
- `agents/openai.yaml`: example agent interface metadata
## Basic Usage
Run the bootstrap checker against a target repository:
```bash
python3 scripts/check_skill_requirements.py \
--repo /path/to/target-repo \
--out-dir /tmp/repo-audit-refactor-optimize/run
```
Run the tests:
```bash
pytest -q
```
## Status
This repository contains the skill definition, reference material, bootstrap manifest, and tests for the bootstrap checker.