|
npx skills add https://github.com/WILLOSCAR/research-units-pipeline-skills --skill draft-polisher
Goal: turn a first-pass draft into readable survey prose without breaking the evidence contract.
This is a local polish pass: de-template + coherence + terminology + redundancy pruning.
Note: if the main issue is structural redundancy from section accumulation, push the change upstream to sections/ and use paragraph-curator before merge. draft-polisher should not be the primary place where you decide which paragraphs to keep.
Mission: remove generator voice and make prose read like one author wrote it.
Do:
Avoid:
Mission: prevent polishing from inflating claims beyond evidence.
Do:
Avoid:
You are the style and coherence editor for a technical survey.
Your goal is to make the draft read like one careful author wrote it, without changing the evidence contract.
Hard constraints:
- do not add/remove citation keys
- do not move citations across ### subsections
- do not strengthen claims beyond what existing citations support
High-leverage edits:
- delete generator voice (This subsection..., Next we move..., We now turn...)
- replace navigation with argument bridges (content-bearing handoffs)
- collapse repeated disclaimers into one methodology paragraph in front matter
- keep quantitative statements well-scoped (task/metric/constraint in the same sentence)
Working style:
- rewrite sentences so they carry content, not process
- vary rhythm, but avoid “template stems” repeating across H3s
output/DRAFT.mdoutline/outline.ymloutline/subsection_briefs.jsonloutline/evidence_drafts.jsonlcitations/ref.biboutput/DRAFT.md (in-place refinement)output/citation_anchors.prepolish.jsonl (baseline, generated on first run by the script)1) Citation keys are immutable
[@BibKey] keys.citations/ref.bib exists, do not introduce any key that is not defined there.2) Citation anchoring is immutable
### subsections.3) No evidence inflation
outline/evidence_drafts.jsonl and keep claims aligned to snippets.4) Citation shape normalization
[@a] [@b]).[@a; @a]).5) Quantitative claim hygiene
6) No pipeline voice
Best-of-2 micro-polish (recommended):
Role split:
Targets:
outline/outline.yml (if present) to avoid heading drift during edits.outline/subsection_briefs.jsonl to keep each H3’s scope/RQ consistent while improving flow.This subsection ..., In this subsection ...Next, we move from ..., We now turn to ..., In the next section ...From <X> to <Y>, ...citation-injector was used, smooth any budget-injection sentences so they read paper-like:e.g., ... clause tied to the subsection’s lens (no new facts).Key takeaway: across many H3s).Taken together, ...); vary synthesis phrasing and keep it content-bearing.Rewrite recipe for subsection openers (paper voice, no new facts):
This subsection surveys/argues... / In this subsection, we...A central tension is ...; ...; we contrast ...For builders, the crux is ...; ...Seen through the lens of ..., ...Role split:
Targets:
Role split:
Targets:
uv run python .codex/skills/draft-polisher/scripts/run.py --helpuv run python .codex/skills/draft-polisher/scripts/run.py --workspace <workspace>--workspace <dir>: workspace root--unit-id <U###>: unit id (optional; for logs)--inputs <semicolon-separated>: override inputs (rare; prefer defaults)--outputs <semicolon-separated>: override outputs (rare; prefer defaults)--checkpoint <C#>: checkpoint id (optional; for logs)output/citation_anchors.prepolish.jsonl):uv run python .codex/skills/draft-polisher/scripts/run.py --workspace <workspace>output/citation_anchors.prepolish.jsonl, then rerun the polisher.TODO/TBD/FIXME/(placeholder).… or ... truncation.Fix:
### subsection; if restructuring is intentional, delete output/citation_anchors.prepolish.jsonl and regenerate a new baseline.Fix:
DECISIONS.md (typically Approve C2) before doing prose-level edits.Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
Use when implementing any feature or bugfix, before writing implementation code
Use when you have a spec or requirements for a multi-step task, before touching code
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Use when writing or improving README files. Not all READMEs are the same — provides templates and guidance matched to your audience and project type.
| Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Official Opentrons Protocol API for OT-2 and Flex robots. Use when writing protocols specifically for Opentrons hardware with full access to Protocol API v2 features. Best for production Opentrons protocols, official API compatibility. For multi-vendor automation or broader equipment control use pylabrobot.
Take willoscar/draft-polisher from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.