docs-rewrite

Audit, rewrite, and validate technical documents against a rubric.

18|1|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/nexus-substrate/nexus-agents --skill docs-rewrite-nexus-substrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-rewrite
Source: https://github.com/nexus-substrate/nexus-agents/tree/main/skills/docs-rewrite
Command: npx skills add https://github.com/nexus-substrate/nexus-agents --skill docs-rewrite-nexus-substrate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Improves an existing technical document’s clarity and rubric compliance by making changes only after an audit, then re-validating so the document never regresses in score.

Core Features & Use Cases

  • Audit-first, destructive changes prevented: Runs a read-only docs-review audit to capture baseline score, top issues, and exact problem locations before editing.
  • Operator-controlled rewrite plan: Forces a mandatory section-by-section rewrite plan and requires explicit approval before any edits occur.
  • Rubric-aligned rewrite patterns: Applies answer-first H2s, citation capsules, and info-gain markers per .rules/docs-rubric.md, without re-implementing scoring.
  • Research when claims need sources: Finds Tier 1-3 evidence for flagged unsourced assertions and either sources, removes, or reframes as original data/personal experience when appropriate.
  • Validate with rubric again: Re-runs docs-review after rewriting and rejects the rewrite if the score drops below the baseline.

Quick Start

Use the docs-rewrite skill to improve the document you are editing by running an audit, drafting an approved rewrite plan, applying rubric-aligned changes, and then re-running the audit to confirm the score increased.

Frequently Asked Questions about docs-rewrite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve technical documentation without losing original quality?

Technical documentation improvement can be achieved by running an audit-first workflow that captures a baseline quality score, drafts an approved rewrite plan, and rejects edits if the post-rewrite validation score drops.

What is the best way to rewrite an RFC or ADR while preserving technical accuracy?

Rewriting RFCs or ADRs requires an operator-controlled rewrite plan that applies rubric-aligned patterns, such as answer-first H2s and citation capsules, ensuring technical accuracy and structural clarity are preserved.

How do you audit and source unsourced claims in technical writing?

Auditing technical writing identifies unsourced assertions and finds Tier 1-3 evidence to source, remove, or reframe them as original data, ensuring all claims meet the required documentation quality rubric.

Can I automatically rewrite READMEs and architecture docs without manual review?

No, rewriting READMEs and architecture docs requires mandatory pre-edit operator approval, ensuring a section-by-section rewrite plan is explicitly accepted before any structural or clarity edits occur.

Does documentation rewriting prevent destructive changes to existing files?

Yes, documentation rewriting prevents destructive changes by running a read-only audit to capture the baseline state, then validating the rewritten document against that baseline to reject any score regressions.

When should I use an audit-then-validate workflow for docs review?

Use an audit-then-validate workflow for docs review when editing technical documents like CLAUDE.md files or blog posts that need strict clarity, evidence, and structure adjustments without regressing quality.