agentleFS
bladecoderbladecoder/narrative-skills/skills/rewrite-chapter/SKILL.md

rewrite-chapter

Skill0 starsChanged 7 months agoMITView on GitHub

Revise an existing chapter draft using its review feedback, style bible, chapter plan, and continuity constraints when the chapter needs a real rewrite instead of a fresh draft or a high-level plan.

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. About 0 are common, 17 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to rewrite a drafted chapter after editorial feedback.

    line 10
  2. Distinctive:

    Use this skill when:

    line 14
  3. Very specific:

    Do not use this skill to create a first draft from scratch.

    line 21
  4. Distinctive:

    Ask questions only when the target chapter or review scope is genuinely unclear.

    line 35
  5. Distinctive:

    Read these when present and relevant:

    line 48
  6. Very specific:

    Read story.language before rewriting.

    line 71
  7. Distinctive:

    Keep file and folder names in English.

    line 72
  8. Distinctive:

    Write the chapter body and revision note in the selected story language.

    line 73
  9. Distinctive:

    Use correct orthography, accents, and normal Unicode for that language.

    line 74
  10. Very specific:

    If story.language is missing, gather it before writing.

    line 75
  11. Very specific:

    If the target files use a different language than story.language, flag the mismatch and resolve it deliberately.

    line 76
  12. Distinctive:

    Read the current chapter and its review completely before rewriting.

    line 80
  13. Distinctive:

    Read the minimum surrounding context needed to preserve continuity and chapter-to-chapter flow.

    line 85
  14. Distinctive:

    If a review point would require changing the story beyond the chapter's remit, defer it explicitly instead of improvising a larger fix.

    line 88
  15. Distinctive:

    Write a revision artifact that records what changed.

    line 89
  16. Distinctive:

    no hidden structural rewrite happened without being documented.

    line 118
  17. Distinctive:

    After running the skill, provide:

    line 123
  18. Distinctive:

    Do not place editorial notes inside the chapter body.

    line 142
  19. Distinctive:

    Do not turn a chapter rewrite into a full-book rewrite.

    line 143
  20. Distinctive:

    Do not resolve review comments by inventing canon-breaking shortcuts.

    line 144
  21. Distinctive:

    Do not discard the existing draft's useful material without reason.

    line 145

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Rewrite Chapter

Overview

Use this skill to rewrite a drafted chapter after editorial feedback. It should produce a stronger chapter draft while leaving a separate revision artifact that explains which review findings were applied, deferred, or left unresolved.

When To Use

Use this skill when:

  • a chapter draft already exists;
  • a chapter review identifies issues that require rewriting rather than minor line edits;
  • the chapter needs to absorb feedback without re-planning the whole manuscript;
  • the user wants a revised chapter plus a traceable record of changes.

Do not use this skill to create a first draft from scratch. Use draft-chapter for that.

Required Inputs

Gather or infer these inputs:

  • story.yaml metadata;
  • target chapter number;
  • existing chapter draft;
  • chapter review;
  • chapter plan or outline context;
  • style and continuity constraints;
  • adjacent chapter context only when needed for transitions.

Ask questions only when the target chapter or review scope is genuinely unclear.

Files To Read

Always read:

  • story.yaml
  • 05_draft/chapter_XX.md
  • 06_review/chapter_XX.review.md
  • 01_style/voice.md
  • 01_style/prose_rules.md
  • 01_style/pov.md

Read these when present and relevant:

  • 01_style/taboo_list.md
  • 01_style/lexical_notes.md
  • 04_outline/chapter_XX.plan.md
  • 02_story/chapter_list.md
  • relevant files under 03_characters/
  • adjacent chapters in 05_draft/
  • 07_continuity/*

Files To Write

Write or update:

  • 05_draft/chapter_XX.md
  • 06_review/chapter_XX.revision.md

The revision note must remain separate from the chapter body.

Language Rules

This skill depends on story.yaml as the source of truth for project metadata.

  • Read story.language before rewriting.
  • Keep file and folder names in English.
  • Write the chapter body and revision note in the selected story language.
  • Use correct orthography, accents, and normal Unicode for that language.
  • If story.language is missing, gather it before writing.
  • If the target files use a different language than story.language, flag the mismatch and resolve it deliberately.

Procedure

  1. Read the current chapter and its review completely before rewriting.
  2. Classify the review findings into:
    • must apply now;
    • can defer safely;
    • conflicts with canon, outline, or other accepted constraints.
  3. Read the minimum surrounding context needed to preserve continuity and chapter-to-chapter flow.
  4. Rewrite the chapter so that the accepted feedback is reflected in the narrative itself, not in commentary.
  5. Preserve the project voice, POV, tense, and canon boundaries.
  6. If a review point would require changing the story beyond the chapter's remit, defer it explicitly instead of improvising a larger fix.
  7. Write a revision artifact that records what changed.

Output Requirements

Revised Chapter

05_draft/chapter_XX.md should contain only:

  • chapter heading or identifier consistent with project convention;
  • the revised narrative text;
  • optional minimal metadata only if already used by the project.

Revision Artifact

06_review/chapter_XX.revision.md should include:

  • short summary of the revision pass;
  • review findings applied;
  • findings deferred;
  • findings rejected due to conflict with canon or structure;
  • continuity or structural risks that remain;
  • recommended next skill.

Quality Bar

The revised chapter should make it clear that:

  • the key review issues were addressed inside the prose;
  • the chapter remains aligned with style and continuity;
  • no hidden structural rewrite happened without being documented;
  • another agent can continue from the new state without ambiguity.

Output

After running the skill, provide:

  • a short summary of the rewrite;
  • the most important changes applied;
  • any findings explicitly deferred;
  • the recommended next step, usually continuity-check or update-character-state.

Definition Of Done

This skill is done when:

  • the chapter draft has been revised;
  • a separate revision note exists;
  • the rewrite respects story.language;
  • the rewritten chapter is cleaner without breaking canon or outline;
  • deferred issues are explicit rather than silently ignored.

Restrictions

  • Do not place editorial notes inside the chapter body.
  • Do not turn a chapter rewrite into a full-book rewrite.
  • Do not resolve review comments by inventing canon-breaking shortcuts.
  • Do not discard the existing draft's useful material without reason.

Example Invocation

Use $rewrite-chapter to revise chapter 2 from its review feedback, preserving the current tone and continuity while tightening the scene logic.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.