refine-context
Iteratively improve a context document.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Iteratively improve a context document.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Make a set of things (code, prose, config, docs) consistent along a dimension the user names, by picking a canonical form and conforming every member to it.
Remove illegal states from data structures by redesigning their types so the illegal states cannot be represented at all.
Remove unnecessary comments from code: tombstones, redundant restatements, and comments a well-named variable or function would replace.
Perform a task with a worker agent, critique it with an adversary agent, and apply the accepted critiques with a reconciler agent.
Replace jargon and imported metaphors in code and prose with concrete, domain-fitting terms a reader understands without translation.
Create a new Claude Code skill following the conventions of existing skills.
| name | refine-context |
| description | Iteratively improve a context document. |
| argument-hint | [file path or document to refine] |
Iteratively improve the given context document.
jj show --git
Arguments: $ARGUMENTS
Refine the target named in the arguments if given; otherwise the document changed in the current commit shown above; if there are no arguments and the commit has no changes, ask the user what to refine and stop.