About refine-it
An editing skill for improving text and other artifacts, suited to people refining documents, instructions, or prompts. It identifies the goal and scope, evaluates clarity and structure, and preserves factual constraints and operational meaning.
Key features
- 01Identify artifact type, audience, and purpose
- 02Match the requested scope of edits
- 03Check structure, clarity, and repetition
- 04Preserve facts and operational meaning
- 05Return a refined version directly
Use cases
- 01Condense and reorganize documentation
- 02Polish agent instructions or runbooks
- 03Revise text within a specified scope
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ alannkl/ skills --skill refine-itAfter installing, type/refine-itin Claude Code to confirm it loaded.
Details
From the project READMERefine It
Workflow
-
Identify the artifact and its job.
- Infer the artifact type, audience, purpose, desired tone, and level of intervention from the prompt and surrounding context.
- A request naming a specific edit — fix, replace, add, remove, correct — scopes the pass to that edit; refine open-endedly only when asked to.
- Preserve explicit constraints, factual claims, and decisions. Restructure, merge, reorder, or condense sections when doing so makes the artifact clearer or more useful.
- Treat operational text — triggers, permissions, labels, statuses, API names, configuration keys, routing and eligibility language — as behavior: polish its wording and grouping, never its meaning.
- If intent is genuinely ambiguous, ask only the smallest necessary question; otherwise choose the level of intervention that best improves the artifact for its apparent job.
-
Evaluate before rewriting.
- Look for unclear purpose, weak structure, repetition, vague wording, hidden assumptions, missing context, tone mismatch, overclaiming, and unfinished parts — every section assessed against this list before any rewriting.
- Check grounding: a concept leaned on before it is introduced is a structural defect that reordering usually fixes. The unit is the concept, not the word — a passage can lean on an idea the reader lacks with no jargon in sight.
- Separate refinement problems from strategy problems. Improve the current direction decisively without changing the artifact's goal, audience, or operational behavior unless the user asks.
- If the artifact is already strong for its job, make only light polish or state that no substantive edits are needed; do not invent changes merely to produce a visibly different version.
-
Refine and polish directly.
- Produce a stronger version, not just critique, unless the user asks for review notes only.
- Cut filler and duplication, choose concrete verbs and nouns, sharpen hierarchy, make implicit decisions explicit. Whether a passage earns its place is a check, not a feeling: what breaks if it is cut, and what does it do for the reader that the previous one didn't?
- Choose form by content: prose carries argument; lists carry truly parallel items; a table earns its place when the same shape repeats three or more times; quote when the wording itself is the point. Headings carry the point, not just the topic.
- Before trimming, identify protected terms — domain terms, qualifiers, constraints, intentionally specific phrasing — and keep them unless clearly redundant.
- Add only content that follows clearly from the existing artifact.
- In artifacts that instruct an executor — skills, runbooks, policies, agent prompts — cut clauses that change no behavior and add no judgment: pure emphasis, and rationale that only restates the rule it follows. Keep rationale that informs a call the reader has to make unaided.
- Preserve the user's voice; keep casual, direct, or opinionated writing in its own register rather than flattening it into generic corporate prose.
- When a rule in this workflow makes a sentence worse, fix the sentence another way or leave it alone: the rules serve the reader, and a sentence that follows every rule but sounds machine-written has failed.
-
Finalize the handoff.
- Make a final compression pass over the refined version: prefer the shortest phrasing that preserves meaning, tone, and any explicitness added in step 3.
- Put the final version first when the user is likely to use it directly.
- For short artifacts, return only the refined version unless a note would prevent confusion. For longer artifacts, use
Final Versionfollowed by optionalNotes. - Keep notes concise and include them only when useful: major changes, assumptions, unresolved ambiguity, claims that need verification, or key terminology that was removed, renamed, or compressed.
- If editing a repo file, update the file and summarize changed files. This is a text-edit pass only; do not run linters, link checks, builds, or other tooling.
Example
Before: "In order to be able to leverage this functionality, users will need to first go ahead and configure their settings." After: "To use this, configure your settings first." (Removes filler, picks concrete verbs, keeps the meaning and direct tone.)
Comments
Markdown supported