From story-skills
Validates structure, reindexes registries, checks links & continuity, and counts words for Story Skills markdown projects. Also imports/exports manuscripts and runs the story CLI for deterministic maintenance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/story-skills:story-maintenanceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run deterministic maintenance for Story Skills projects. Use the CLI for structure validation, registry rebuilds, word counts, link checks, continuity checks, project reports, next-action reports, schema migration, entity helpers, manuscript import, and manuscript export. The creative skills still own story decisions; this skill handles mechanical consistency.
Run deterministic maintenance for Story Skills projects. Use the CLI for structure validation, registry rebuilds, word counts, link checks, continuity checks, project reports, next-action reports, schema migration, entity helpers, manuscript import, and manuscript export. The creative skills still own story decisions; this skill handles mechanical consistency.
Prefer the first available command:
story <command> - when the package bin is installedbun run story -- <command> - when working from this repositorynode scripts/story.js <command> - bundled fallback, resolving scripts/story.js relative to this skill folderIf none of these are available, perform the requested maintenance manually using the conventions in story-init.
Run the installed or bundled CLI in place. Do not copy scripts/story.js into the user's story project, and do not create project-local build scripts, generator scripts, or bulk writer scripts to generate story content. Story projects should remain markdown-first, plus explicitly requested exports such as manuscript.md.
Run commands from the story project root, or pass the story path explicitly.
story validate .
story reindex .
story wordcount . --write
story links .
story continuity .
story import draft.md --title "Title"
story report .
story report . --actionable
story next .
story doctor .
story migrate .
story add character "Name"
story rename character old-id "New Name"
story remove promise old-promise
story export . --out manuscript.md
story build . --format markdown
story build . --format epub
story build . --format docx
Use:
validate after initialization and at the end of any multi-file editreindex after adding/removing/renaming characters, locations, systems, arcs, or chapterswordcount --write after writing or revising chapterslinks after changing character relationships, notable locations, arc participants, or chapter referencescontinuity after drafting or revising a chapter, and whenever the user asks about contradictions, dead characters appearing, unfired setups, or stale state; it deterministically checks died-in ordering, promise/question chapter ordering, Chekhov gaps, POV/cast consistency, and continuity/state.md referencesimport when the user has an existing manuscript or chapter drafts and wants a Story Skills project built from them; follow up by creating character and location files from the printed entity candidatesreport when the user asks for project status, inventory, progress, or a quick health summarynext before a drafting session to identify the next deterministic actiondoctor when the user asks what is stale, broken, or inconsistentmigrate when a project has an older schema version or missing v2 pathsadd, rename, and remove for deterministic entity file operations when they fit the requested changeexport only when the user asks for a combined manuscript at a specific pathbuild when the user asks to build the book artifact; supports markdown, EPUB, and DOCX outputs in dist/npx claudepluginhub danjdewhurst/story-skills --plugin story-skillsRevises story projects with continuity-aware editing: chapter revisions, continuity audits, developmental edits, line edits, and timeline consistency checks while updating metadata and cross-references.
Generates structured confirmation notes for storytelling projects by reading config, arc, outline, and recent episode files. Supports new-story and continue-story modes.
Deploys web novel writing tool infrastructure (hooks, rules, agents, CLAUDE.md) to a user project directory. Merges configs without overwriting. Activated via /story-setup or writing project setup requests.