A small collection of Codex skills for planning and refactors.
Planning / architecture
find-refactor-candidates: Search a repo for the top materially different refactor opportunities and create a candidate work item without committing yet.select-refactor: Pressure-test the shortlist, gather cheap repo evidence, and lock the final refactor decision before planning.execplan-create: Turn a decided refactor, PRD, RFC, or detailed brief into an ExecPlan inside a work-item directory.execplan-improve: Read an existing ExecPlan, analyze the referenced code paths, and rewrite the plan with concrete, code-grounded improvements.implement-execplan: Execute a work-item ExecPlan or legacy singleton plan while tracking implementation state explicitly.
Each skill lives in its own folder and is documented in its SKILL.md.
Published skills are meant to live in this repo and be symlinked into ~/.codex/skills with publish.sh, so edits here stay live in Codex without copy drift.
- Run
find-refactor-candidatesto create a work item under.agent/work/<id-slug>/withmeta.jsonandcandidates.md. - Run
select-refactorto challenge the shortlist and writedecision.md. - Run
execplan-createto writeexecplan.mdinside the same work item. - Run
execplan-improveto audit and strengthen the plan before executing. - Run
implement-execplanto carry out the plan while updating work-item lifecycle metadata instead of moving files todone/. - Run
review-recent-workto review the implementation against both the decision rationale and the ExecPlan.
MIT