codebase-improvement-planner
Skill2 starsChanged 11 days agoMITView on GitHub
Discover and prioritize evidence-backed improvements when no specific change has been chosen. Use for open-ended requests to improve, modernize, simplify, harden, or clean up a repository. Not for a known bug or an already chosen migration, refactor, or fix.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- cmdr-chara/codex-toolkitword for word, first seen Oct 31, 2026
Other versions1 project uses a version of this.
Word for word · 1
- cmdr-chara/codex-toolkit★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bin/AGENTS.mdAGENTS.md
- evaluations/AGENTS.mdAGENTS.md
- orchestration/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- skills/llms.txtllms.txt
- bug-finderSkill
- codebase-evolution-controllerSkill
- completion-proofSkill
- content-provenance-hygieneSkill
- cpp-engineeringSkill
- debugging-investigatorSkill
- delegate-with-mission-cardsSkill
- documentation-synchronizerSkill
- expo-react-native-builderSkill
- flutter-production-builderSkill
- go-engineeringSkill
- kotlin-engineeringSkill
- mobile-architecture-directorSkill
- multi-agent-work-coordinatorSkill
- optimize-codebase-performanceSkill
- product-design-directorSkill
- production-web-builderSkill
- python-engineeringSkill
- repository-intelligenceSkill
- review-and-refactor-codeSkill
- rust-engineeringSkill
- screenshot-to-interfaceSkill
- security-reviewSkill
- swift-engineeringSkill
- toolchain-preflightSkill
- typescript-quality-enforcerSkill
- verification-and-releaseSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 12
Use this skill for:
- Distinctive: line 17
Do not trigger for:
- Distinctive: line 29
Do not install, upgrade, regenerate, delete, rename, or broadly rewrite merely to discover candidates.
- Distinctive: line 30
Treat volatile dependency, runtime, security, and platform claims as unverified until checked against current primary sources.
- Distinctive: line 31
Do not edit generated output before identifying its authoritative generator.
- Very specific: line 55
If evidence is too weak to rank safely, narrow the claim, request or gather the missing evidence, or hand off to repository-intelligence.
- Distinctive: line 59
Stop when the user has an evidence-backed ranked backlog and a clearly owned next action, or when an approved bounded slice is complete and …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codebase Improvement Planner
Choose the highest-value next improvement from repository evidence, then stop before broad implementation unless the user has already authorized a bounded slice.
Trigger boundary
Use this skill for:
- open-ended "what should we improve next?" requests;
- repository modernization or cleanup without a predefined target;
- balanced improvement backlogs across correctness, architecture, delivery, maintainability, and performance.
Do not trigger for:
- a concrete bug or reproduced failure;
- a defined migration, refactor, performance bottleneck, security review, or platform implementation;
- final release approval.
Required inputs
Resolve the repository root, working-tree state, user goal, protected contracts, generated/vendor boundaries, available verification evidence, and whether implementation is already authorized. If business priorities are unknown, rank from technical evidence without inventing product value.
Safety baseline
- Preserve uncommitted user work and start read-only.
- Do not install, upgrade, regenerate, delete, rename, or broadly rewrite merely to discover candidates.
- Treat volatile dependency, runtime, security, and platform claims as unverified until checked against current primary sources.
- Do not edit generated output before identifying its authoritative generator.
Workflow
- Frame the decision. Record scope, desired outcomes, constraints, exclusions, and evidence limits.
- Map the baseline. Inspect structure, contracts, tests/CI, error handling, operational boundaries, and concentrated change/risk areas. Use
repository-intelligencefirst when ownership or blast radius is too uncertain. - Admit candidates. Require a concrete signal: failing/weak evidence, repeated cost, risky coupling, unsupported dependency, missing critical verification, or demonstrable delivery friction. For recurring agent-created defects, distinguish truly repeated mechanisms from one-off mistakes; choose the closest existing engineering specialist for an enforceable fix, not a new generic rules file. Do not turn style preferences into findings.
- Rank candidates. Apply
references/improvement-ranking.md. Keep change magnitude separate from priority. - Select the next upgrade. State the evidence, expected value, scope, risk, reversibility, verification method, and owning specialist.
- Stop or execute. Without prior authorization, return the backlog and mark the selected item
AWAITING_APPROVAL. With explicit authorization, execute only the selected bounded maintenance slice or hand it to the specialist that owns the concrete task.
Handoffs and interaction boundaries
security-reviewowns security-focused code review.typescript-quality-enforcerowns recurring TypeScript/lint policy.review-and-refactor-codeowns defined structural cleanup.optimize-codebase-performanceowns measured bottlenecks.codebase-evolution-controllerowns migrations and upgrades.debugging-investigatorowns concrete failures with unknown causes.production-web-builder,flutter-production-builder, andexpo-react-native-builderown implementation once a platform-specific improvement is selected.verification-and-releaseowns integrated ship judgment.
Failure handling
If evidence is too weak to rank safely, narrow the claim, request or gather the missing evidence, or hand off to repository-intelligence. Keep uncertain candidates explicitly labeled instead of promoting them by intuition.
Stop conditions
Stop when the user has an evidence-backed ranked backlog and a clearly owned next action, or when an approved bounded slice is complete and verified. Do not continue into unrelated cleanup.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

