Chapter writing

This skill should be used when the user asks to "write a chapter", "next chapter", "chapter outline", "draft chapter", "continue the story", "write a scene", "outline a chapter", or wants to write prose for a story project.

How to use it

Claude Code
  1. Run the line below. It pulls the whole folder into ~/.claude/skills/chapter-writing, including the files SKILL.md points to.
  2. Describe your job in plain words. Claude Code follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit danjdewhurst/story-skills/skills/chapter-writing#main ~/.claude/skills/chapter-writing

For one project only, change the path to .claude/skills/chapter-writing. This skill also uses story.md, style-sheet.md, progress.md — copying SKILL.md alone won't be enough. See the folder on GitHub.

Claude (web or desktop app)
  1. On this page open ⋯ → Download .md.
  2. Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
  3. Pick the file and Save. Claude shows the name and description and runs a security scan.
  4. Check the skill is switched on.
  5. Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
  1. ChatGPT: make a Project and paste it into Instructions.
  2. Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Source of Chapter writing

Show the full text132 lines
namedescription
chapter-writingThis skill should be used when the user asks to "write a chapter", "next chapter", "chapter outline", "draft chapter", "continue the story", "write a scene", "outline a chapter", or wants to write prose for a story project.

Chapter Writing

Overview

Write story chapters using an outline-first workflow. Gathers context from all other story elements (characters, world, plot) to maintain consistency, builds a beat-by-beat outline for approval, then writes full prose. After writing, updates all cross-references (chapter index, timeline, foreshadowing).

Prerequisites

A story project must already exist with at least:

  • story.md (story bible)
  • At least one character in characters/
  • A plot structure in plot/_index.md (recommended but not required for first chapters)

Before drafting or revising chapter prose, check whether the better-writing skill is available in the active agent environment. Detect it by looking for its skill directory in the configured skills paths:

ls -d ~/.claude/skills/better-writing .claude/skills/better-writing skills/better-writing 2>/dev/null
  • If a better-writing directory exists (containing SKILL.md), use it for prose quality, voice calibration, anti-generic writing checks, and the final pre-flight pass before saving the chapter.
  • If better-writing is not installed, point the user at forjd/better-writing and ask whether they want to install it; do not run any installer without explicit approval. Then continue with this skill's built-in writing guidelines (references/writing-guidelines.md) if the user does not install it.

Outline-First Workflow

1. Gather Context

Read these files to understand the current story state:

  • story.md - genre, themes, POV, tense
  • style-sheet.md, when present - voice, house spellings, dialogue punctuation, character voices, and watch words. If it is missing, draft normally and suggest the voice-style skill once a chapter exists
  • chapters/_index.md - what's been written, current word count
  • plot/_index.md - arc status, what needs to happen next
  • plot/timeline.md - chronological position
  • scenes/_index.md - scene state already recorded
  • continuity/state.md - character, object, and knowledge state
  • continuity/questions/_index.md and continuity/promises/_index.md - unresolved mysteries and setup/payoff commitments

If this isn't the first chapter, also read:

  • The previous chapter file - for continuity (ending state, cliffhangers, emotional tone)
  • Active arc files in plot/arcs/ - for upcoming plot beats
2. Determine Chapter Scope

Ask the user:

  • What should this chapter cover? (or suggest based on plot arcs)
  • Whose POV?
  • Which location(s)?

If plot arcs exist, suggest the next logical beats to advance.

3. Build the Outline

Create a beat-by-beat outline listing:

  • Each scene/beat and what it accomplishes
  • POV character and location for each beat
  • Which arc plot points are advanced
  • Any foreshadowing to plant or pay off
  • Any machine-readable state changes the scene should record

Load the POV character's file for voice reference. Load relevant location files for setting details.

Present the outline to the user for approval. Revise until approved.

4. Write the Chapter

With the approved outline, write the full prose:

  • Follow the POV and tense from story.md
  • Use the POV character's voice and speech patterns from their profile
  • Ground scenes in location details from worldbuilding files
  • Consult references/writing-guidelines.md for quick prose craft guidance. For the deep reference — the Scene/Sequel unit, dialogue subtext and voice-differentiation, deep POV and psychic distance — use the scene-craft skill.
  • When available, apply the better-writing skill before finalizing prose
  • Use the chapter template from references/chapter-template.md
  • Include the approved outline in the file above ## Chapter Text (for reference). CLI word counts start at that heading, so an outline kept above it never inflates word-count: run story wordcount . --write after writing to record counts.

Save to chapters/chapter-{NN}.md with appropriate frontmatter.

Create or update a matching scene file in scenes/chapter-{NN}-scene-{NN}.md for each scene. Scene frontmatter should include title, chapter, scene, pov, location, characters, mentions, arcs-advanced, status, and state-changes so continuity survives beyond prose.

Write chapter prose directly into the chapter markdown file. Do not stage prose in project-local build scripts, generator scripts, or bulk writer scripts (for example build-*.js) to emit chapters. If a temporary helper is truly unavoidable for mechanical file operations, keep it outside the story project and remove it before finishing.

5. Post-Write Updates

After the chapter is written:

  1. Update chapters/_index.md - add chapter to registry, update total word count
  2. Update plot/timeline.md - add events from this chapter in chronological order
  3. Update arc files - mark advanced plot points with chapter reference
  4. Update scene records - make sure every scene has a corresponding scenes/ file
  5. Update continuity - carry forward character state, object ownership, knowledge, open questions, and promises/payoffs. When story.md links other books through follows or precedes, give reveals the series depends on a stable fact id in knowledge-state (see series-continuity)
  6. Update foreshadowing - mark any items as planted or paid-off with chapter reference
  7. Note character changes - if a character's status changed (injury, revelation, relationship shift), flag for the user to update the character file
  8. Run CLI maintenance when available:
story wordcount . --write
story reindex .
story links .
story validate .
story next .
story progress . --log

story progress . --log records the session in progress.md and reports words against target-words, the deadline, and chapter target-words; skip the --log flag when the user does not keep a log.

Present a summary of all updates made.

Scene Breaks

Within a chapter, separate scenes with ---. Each scene should have a clear POV character (even if the same as the previous scene) and location.

Revision Handoff

When asked to revise, line edit, polish, or continuity-check an existing chapter, use the revision-continuity skill. This skill owns new drafting and chapter creation; revision-continuity owns targeted edits, continuity audits, and post-draft cleanup.

CLI Maintenance

Use the Story CLI when it is available. If story is not installed, use bun run story -- from the Story Skills repository checkout or the bundled fallback node ../story-maintenance/scripts/story.js with the same arguments, resolving the path relative to this skill folder. If no CLI is available, perform the registry, backlink, and word-count checks manually.

Reference Files

  • references/chapter-template.md - Frontmatter and structure template for chapter files
  • references/scene-template.md - Machine-readable continuity template for scenes
  • references/writing-guidelines.md - Quick-reference prose craft: show-don't-tell, POV, dialogue, pacing, scene structure, continuity. For the deep reference — the Scene/Sequel unit, dialogue subtext and voice-differentiation, deep POV and psychic distance — use the scene-craft skill.
1---
2name: chapter-writing
3description: This skill should be used when the user asks to "write a chapter", "next chapter", "chapter outline", "draft chapter", "continue the story", "write a scene", "outline a chapter", or wants to write prose for a story project.
4---
5 
6# Chapter Writing
7 
8## Overview
9 
10Write story chapters using an outline-first workflow. Gathers context from all other story elements (characters, world, plot) to maintain consistency, builds a beat-by-beat outline for approval, then writes full prose. After writing, updates all cross-references (chapter index, timeline, foreshadowing).
11 
12## Prerequisites
13 
14A story project must already exist with at least:
15- `story.md` (story bible)
16- At least one character in `characters/`
17- A plot structure in `plot/_index.md` (recommended but not required for first chapters)
18 
19## Recommended Companion Skill
20 
21Before drafting or revising chapter prose, check whether the `better-writing` skill is available in the active agent environment. Detect it by looking for its skill directory in the configured skills paths:
22 
23```shell
24ls -d ~/.claude/skills/better-writing .claude/skills/better-writing skills/better-writing 2>/dev/null
25```
26 
27- If a `better-writing` directory exists (containing `SKILL.md`), use it for prose quality, voice calibration, anti-generic writing checks, and the final pre-flight pass before saving the chapter.
28- If `better-writing` is not installed, point the user at [forjd/better-writing](https://github.com/forjd/better-writing) and ask whether they want to install it; do not run any installer without explicit approval. Then continue with this skill's built-in writing guidelines (`references/writing-guidelines.md`) if the user does not install it.
29 
30## Outline-First Workflow
31 
32### 1. Gather Context
33 
34Read these files to understand the current story state:
35 
36- `story.md` - genre, themes, POV, tense
37- `style-sheet.md`, when present - voice, house spellings, dialogue punctuation, character voices, and watch words. If it is missing, draft normally and suggest the `voice-style` skill once a chapter exists
38- `chapters/_index.md` - what's been written, current word count
39- `plot/_index.md` - arc status, what needs to happen next
40- `plot/timeline.md` - chronological position
41- `scenes/_index.md` - scene state already recorded
42- `continuity/state.md` - character, object, and knowledge state
43- `continuity/questions/_index.md` and `continuity/promises/_index.md` - unresolved mysteries and setup/payoff commitments
44 
45If this isn't the first chapter, also read:
46- The previous chapter file - for continuity (ending state, cliffhangers, emotional tone)
47- Active arc files in `plot/arcs/` - for upcoming plot beats
48 
49### 2. Determine Chapter Scope
50 
51Ask the user:
52- What should this chapter cover? (or suggest based on plot arcs)
53- Whose POV?
54- Which location(s)?
55 
56If plot arcs exist, suggest the next logical beats to advance.
57 
58### 3. Build the Outline
59 
60Create a beat-by-beat outline listing:
61- Each scene/beat and what it accomplishes
62- POV character and location for each beat
63- Which arc plot points are advanced
64- Any foreshadowing to plant or pay off
65- Any machine-readable state changes the scene should record
66 
67Load the POV character's file for voice reference. Load relevant location files for setting details.
68 
69Present the outline to the user for approval. Revise until approved.
70 
71### 4. Write the Chapter
72 
73With the approved outline, write the full prose:
74 
75- Follow the POV and tense from `story.md`
76- Use the POV character's voice and speech patterns from their profile
77- Ground scenes in location details from worldbuilding files
78- Consult `references/writing-guidelines.md` for quick prose craft guidance. For the deep reference — the Scene/Sequel unit, dialogue subtext and voice-differentiation, deep POV and psychic distance — use the `scene-craft` skill.
79- When available, apply the `better-writing` skill before finalizing prose
80- Use the chapter template from `references/chapter-template.md`
81- Include the approved outline in the file above `## Chapter Text` (for reference). CLI word counts start at that heading, so an outline kept above it never inflates `word-count`: run `story wordcount . --write` after writing to record counts.
82 
83Save to `chapters/chapter-{NN}.md` with appropriate frontmatter.
84 
85Create or update a matching scene file in `scenes/chapter-{NN}-scene-{NN}.md` for each scene. Scene frontmatter should include `title`, `chapter`, `scene`, `pov`, `location`, `characters`, `mentions`, `arcs-advanced`, `status`, and `state-changes` so continuity survives beyond prose.
86 
87Write chapter prose directly into the chapter markdown file. Do not stage prose in project-local build scripts, generator scripts, or bulk writer scripts (for example `build-*.js`) to emit chapters. If a temporary helper is truly unavoidable for mechanical file operations, keep it outside the story project and remove it before finishing.
88 
89### 5. Post-Write Updates
90 
91After the chapter is written:
92 
931. **Update `chapters/_index.md`** - add chapter to registry, update total word count
942. **Update `plot/timeline.md`** - add events from this chapter in chronological order
953. **Update arc files** - mark advanced plot points with chapter reference
964. **Update scene records** - make sure every scene has a corresponding `scenes/` file
975. **Update continuity** - carry forward character state, object ownership, knowledge, open questions, and promises/payoffs. When `story.md` links other books through `follows` or `precedes`, give reveals the series depends on a stable `fact` id in `knowledge-state` (see `series-continuity`)
986. **Update foreshadowing** - mark any items as `planted` or `paid-off` with chapter reference
997. **Note character changes** - if a character's status changed (injury, revelation, relationship shift), flag for the user to update the character file
1008. **Run CLI maintenance when available:**
101 
102```shell
103story wordcount . --write
104story reindex .
105story links .
106story validate .
107story next .
108story progress . --log
109```
110 
111`story progress . --log` records the session in `progress.md` and reports words against `target-words`, the `deadline`, and chapter `target-words`; skip the `--log` flag when the user does not keep a log.
112 
113Present a summary of all updates made.
114 
115## Scene Breaks
116 
117Within a chapter, separate scenes with `---`. Each scene should have a clear POV character (even if the same as the previous scene) and location.
118 
119## Revision Handoff
120 
121When asked to revise, line edit, polish, or continuity-check an existing chapter, use the `revision-continuity` skill. This skill owns new drafting and chapter creation; `revision-continuity` owns targeted edits, continuity audits, and post-draft cleanup.
122 
123## CLI Maintenance
124 
125Use the Story CLI when it is available. If `story` is not installed, use `bun run story --` from the Story Skills repository checkout or the bundled fallback `node ../story-maintenance/scripts/story.js` with the same arguments, resolving the path relative to this skill folder. If no CLI is available, perform the registry, backlink, and word-count checks manually.
126 
127## Reference Files
128 
129- **`references/chapter-template.md`** - Frontmatter and structure template for chapter files
130- **`references/scene-template.md`** - Machine-readable continuity template for scenes
131- **`references/writing-guidelines.md`** - Quick-reference prose craft: show-don't-tell, POV, dialogue, pacing, scene structure, continuity. For the deep reference — the Scene/Sequel unit, dialogue subtext and voice-differentiation, deep POV and psychic distance — use the `scene-craft` skill.
132 

Discussion