원클릭으로
refine
Code refinement orchestrator. NOT for targeted fixes (use improve).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Code refinement orchestrator. NOT for targeted fixes (use improve).
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Development wisdom and workflow rules. NOT for project-specific conventions (those live in CLAUDE.md, edit via wisdom).
The `BUGS.md` open-issues queue — entry format, lifecycle, pruning to diary. NOT for the record-don't-fix policy (that's CLAUDE.md Bug Triage Protocol), NOT for resolved-bug history (use /diary), NOT for feature backlog (use TODO.md/specs).
Terminal demo GIF + MP4 recordings for READMEs and social (asciinema + agg + ffmpeg). NOT for general Makefile targets (use software) or GUI screenshots (use visual).
Go development. NOT for non-Go code (use rs, py, ts, tsx, or sh).
Humanize text: strip AI-isms and add real voice. NOT for drafting new copy (use writing).
Python development. NOT for shell scripting (use sh) or non-Python code.
| name | refine |
| description | Code refinement orchestrator. NOT for targeted fixes (use improve). |
| when_to_use | finalizing a finished feature, refine this, polish this |
| user-invocable | true |
Orchestrates code refinement. Runs in main context for full conversation visibility.
Skill(commit, "chore: checkpoint before refine")CLAUDE.md plus the loaded SKILL.md files), split it into thematic chunks (whatever the current WISDOM holds — minimality, orthogonality, fail-loud/error-handling, one-renderer-many-sinks, strict-not-magical, naming, testing, docs …), one chunk = one lens; derive from the live text, NEVER a frozen checklist. Tag each lens simplify (reuse / dead-code / minimization) or correctness (bugs, logic errors, edge cases), and scale the lens count to the diff (see Rules).Task(agent="improve", model=<by tag>), 1-3 lenses per sub, never more (a focused rubric beats a groupthink dump). Prompt: "Lenses: <1-3, each with the exact WISDOM excerpt or code-quality rule it checks>. Skills: . Files: . Report violations only, NO edits."
4b. Triage findings as they return - drop findings that (a) add abstractions, (b) target unused code (grep first), (c) conflict with the original Intent, (d) can't be verified against the codebase. A survivor that needs a redesign (new contract, changed control flow, cross-cutting) → record in BUGS.md as proposed (CLAUDE.md System-change discipline), NOT applied without sign-off. Only inline-simple survivors go to Apply.Task(agent="readme")Skill(commit, "refa: apply refinements")for d in .claude/worktrees/*/; do
git worktree remove "$d" --force
done
Intent: [user's original request, not summary]
Primary: [files to modify]
Context: [read-only reference, if needed]
For readme agent: list what changed (file + one-line each).
oracle.model= by lens tag: simplify → sonnet, correctness → opus. NEVER hunt bugs on sonnet; NEVER burn opus on candidate-finding. (improve pins no model — the call site controls it.)