cw/skills/kb-management/SKILL.md
Maintaining the story knowledge base: creating, updating, and organizing wiki-style reference pages in kb/. Use when capturing finalized story knowledge, updating character profiles, documenting world mechanics, or restructuring the kb.
npx skillsauth add haowjy/creative-writing-skills cw/skills/kb-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The knowledge base (kb/) is the project's durable memory. Every agent reads
from it for context. This skill covers how to maintain it well.
Canon: established facts the story has committed to. Once a chapter is published/finalized, the facts it establishes are canon. Contradicting canon breaks reader trust.
Wiki: synthesized reference pages. How the magic system works, character relationships, faction politics. Living documents that evolve as the story develops.
Styles: voice reference files derived from prose samples. The writer and critic agents depend on these for voice consistency.
Vocab: canonical story terms, aliases, and exclusions. Project-wide terms
live in kb/vocab.md; domain terms live beside the domain they govern, such as
kb/world/vocab.md.
Issues: tracked writing problems that span multiple chapters (recurring tics, pacing patterns, continuity errors). See the writing-issues skill.
Each doc covers one coherent topic: one character, one location, one system. When a doc covers two unrelated topics, split it. When two docs explain the same thing from different angles, merge or cross-reference.
Name files by what they describe (fire-magic.md, protagonist.md), not
when they were written (session-3-notes.md).
kb/
characters/
<name>.md # one file per character
vocab.md # project-wide canonical terms
world/
vocab.md # worldbuilding terms when needed
<topic>.md # locations, factions, systems
<domain>/
vocab.md # subdomain terms when needed
<topic>.md # nest when a domain has many pages
timeline/
<arc-or-period>.md # chronological entries
canon/
<chapter-or-arc>.md # hard facts per chapter/arc
styles/
<style-name>.md # voice reference files
issues/
<issue-name>.md # tracked writing problems
The project's CLAUDE.md may customize this. Read it first.
Link to related pages with relative paths. Cross-reference instead of duplicating: one source of truth per concept. A character page links to the location page for their home, the timeline entry for their arc, etc.
Write pages that work in isolation:
Use vocab pages when terms matter across agents: magic names, faction labels, place names, titles, relationship labels, invented words, recurring in-world phrases, and genre terms with project-specific meanings.
Each entry should include:
Resolve conflicts early. If two terms seem to name the same thing, pick the canonical form with the author or flag it in the report instead of carrying both forward silently.
Create a new page when a concept is finalized enough to be referenced by other agents. Don't create pages for things still in brainstorming.
Update an existing page when new chapters establish facts about it, when the author makes decisions that change it, or when a page has become stale.
Split when a page grows past ~200 lines or covers multiple unrelated concepts.
kb/work/kb/canon/ or relevant wiki pageThe chronicler agent handles routine extraction from completed chapters. Direct kb edits are for the author or muse when capturing decisions interactively.
data-ai
Team composition for writing workflows: which agents to spawn, how many, what focus areas to assign, and how to scale effort. Use when composing critic panels, dispatching researchers, staffing draft/revise loops, or setting up brainstorm fan-outs.
testing
Logging and referencing writing issues: craft problems, tics, inconsistencies, and structural concerns found during analysis, critique, or review. Use when an agent identifies something worth tracking beyond a single critique report: repeated tics across chapters, inconsistencies that affect multiple scenes, structural problems that need the author's attention, or patterns that should be fixed in revision.
development
Arc structure, narrative design, and pacing at multiple scales: saga, arc, chapter, scene. Use when structuring story at any level, planning arcs, designing chapter outlines, or evaluating whether narrative structure serves the story's goals.
testing
Prose-level immersion patterns for narrative fiction. Use when writing or revising prose: the sentence-level and paragraph-level craft that pulls readers into the story. Project-specific voice comes from style files passed alongside this skill.