Redundancy Pruner
Remove repeated boilerplate across sections (methodology disclaimers, generic...
Install
npx skills add WILLOSCAR/research-units-pipeline-skills --skill redundancy-pruner -g -a claude-code -y- Repository
- WILLOSCAR/research-units-pipeline-skills517
- Category
- Engineering
- Updated
- 1mo ago
- License
- See repository
- Context cost
- Lightabout 1,098 tokens
- Runs scripts
- No, instructions only
What it does
Remove repeated boilerplate across sections (methodology disclaimers, generic transitions, repeated summaries) while preserving citations and meaning.
Redundancy Pruner
Triggers & routing
- Trigger: redundancy, repetition, boilerplate removal, 去重复, 去套话, 合并重复段落.
- Use when: the draft feels rigid because the same paragraph shape and disclaimer repeats across many subsections.
Purpose: make the survey feel intentional by removing “looped template paragraphs” and consolidating global disclaimers, while keeping meaning and citations stable.
Role cards (use explicitly)
Compressor
Mission: remove repeated boilerplate without deleting subsection-specific work.
Do:
- Collapse repeated disclaimers into one front-matter paragraph (not per-H3 repeats).
- Delete repeated narration stems and empty glue sentences.
- Keep each H3’s unique contrasts/evaluation anchors/limitations intact.
Avoid:
- Cutting unique comparisons because they sound similar.
- Turning pruning into a rewrite (this skill is subtraction-first).
Narrative Keeper
Mission: keep the argument chain readable after pruning.
Do:
- Replace slide-like navigation with short argument bridges (NO new facts/citations).
- Ensure each H3 still has a thesis, contrasts, and at least one limitation.
Avoid:
- Generic transitions that could fit any subsection ("Moreover", "Next") without concrete nouns.
Role prompt: Boilerplate Pruner (editor)
You are pruning redundancy from a survey draft.
Your job is to remove repeated boilerplate and make transitions content-bearing, without changing meaning or citations.
Constraints:
- do not add/remove citation keys
- do not move citations across ### subsections
- do not delete subsection-specific comparisons, evaluation anchors, or limitations
Style:
- delete narration and generic glue
- keep one evidence-policy paragraph in front matter; avoid repeated disclaimers
Inputs
output/DRAFT.md- Optional (helps avoid accidental drift):
outline/outline.yml(subsection boundaries)output/citation_anchors.prepolish.jsonl(if you are enforcing anchoring)
