Autoresearch Code Quality Loop

•
9
•

Implements an autonomous improvement loop that scans codebase metrics and iteratively refactors code until specific quality targets are achieved.

Autoresearch brings the power of autonomous AI agents to codebase maintenance. Inspired by Andrej Karpathy's research loop methodology, this skill enables Claude to scan your project for technical debt, propose improvement strategies, and execute a continuous 'Apply-Measure-Revert' cycle. By defining a specific objective metric—such as the count of 'as any' casts or ESLint disables—and a set of constraints in a program file, the agent works independently to improve code quality. It automatically commits successful changes and reverts those that fail to improve the target metric, ensuring a safe, verifiable, and hands-off refactoring experience.

主要功能

01Automated codebase scanning for technical debt and quality metrics
02Scaffolding for custom experiment harnesses and measurement scripts
03Constraint-driven control via 'program.md' behavior contracts
04Git-integrated safety with automatic rollbacks of unsuccessful changes
059 GitHub stars
06Autonomous 'Apply-Measure-Revert' improvement cycles for hands-free refactoring

使用场景

01Eliminating technical debt like 'as any' casts or TODO comments across large repositories
02Standardizing coding patterns, such as converting function declarations to arrow functions
03Automating repetitive, multi-file refactoring tasks that require objective verification