code-refiner
Composite review-and-fix for the current diff — run the correctness review (validate) and structural-quality review (simplify) in parallel, merge their findings, then apply all fixes in a single serial pass and re-verify. Supports --effort, --fix, --comment. For a full-repo survey use /audit.
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- code-refiner
- license
- MIT
- metadata
- { "author": "victusfate", "version": "1.0" }
- description
- Composite review-and-fix for the current diff — run the correctness review (validate) and structural-quality review (simplify) in parallel, merge their findings, then apply all fixes in a single serial pass and re-verify. Supports --effort, --fix, --comment. For a full-repo survey use /audit.
03 SKILL.md 正文
Read and follow the complete skill instructions in skills/code-refiner.md.
04 同仓库更多 Skills
improve
Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.
validate
Validate the current diff for correctness bugs and test-integrity regressions (a test weakened to pass is a defect); supports --effort low|medium|high|max, --full to scan the whole repo, --fix to apply fixes, --comment to post as PR inline comments.
to-prd
Use when the user wants to turn current conversation context and codebase understanding into a structured PRD. Do not re-interview — synthesize what is already known.
tdd
Use when the user wants to build a feature or fix a bug using test-driven development, or mentions red-green-refactor, TDD, or test-first development.
sync-scaffold
Sync this repo from the upstream scaffold, or bootstrap scaffold support if it isn't set up yet. Use when the user wants to sync from scaffold, initialize scaffold, or run the bootstrap script.
skillify
Capture a completed session as a reusable, registered skill. Run when the user wants to turn the current session into a skill, extract a repeatable workflow, or create a new skill from work just finished. Reconstructs context, interviews briefly, generates a SKILL.md + tests, registers it in RESOLVER.md, and opens a PR to scaffold.