Kb Management

haowjy/creative-writing-skills/cw/skills/kb-management

作者 haowjy254d4bb9b3b2e50a47def955b6461c06057eedae无许可证收录于 2026年10月9日更新于 2026年10月9日

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.

仅含说明Writing & Content
AI 生成的概览

维护故事知识库,管理设定、角色、世界、文风与术语等维基式参考页面。

功能
该技能说明如何维护项目在 kb/ 目录中的长期故事知识库。它描述了知识库的各个层次(设定、维基、文风、术语、问题),页面约定(如一个文档只讲一个概念、按描述对象命名)、建议的目录结构、链接与可读性规则,以及术语条目的组织方式。它还说明了何时新建、更新或拆分页面,以及哪些内容应放在 kb/ 而非 work/。
适用场景
适用于沉淀已定稿的故事知识、更新角色档案、记录世界机制,或重构知识库时。它面向直接编辑 kb 页面的作者或 muse 工作,而非从已完成章节中例行提取事实。
运行要求
无需脚本或特殊工具,仅为说明性内容。它假定项目中有 kb/ 目录和可能自定义结构的 CLAUDE.md 文件,并引用另一个 story-memory 技能。

KB Management

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.

Layers

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 story-memory skill.

Page Conventions

One Concept Per Document

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).

Organization

text
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.

Linking

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.

Readability

Write pages that work in isolation:

  • Self-contained: enough context that a reader doesn't need three other pages first
  • Scannable: headers, bullets, tables. Bold key terms on first use.
  • Concrete: specific quotes, chapter references, scene citations
  • Current: update when the story invalidates or extends what's here

Vocab Pages

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:

  • Canonical name: the form agents should use
  • Definition: one to three sentences, including what the term is not when ambiguity is likely
  • Aliases: names the author, characters, drafts, or older kb pages actually use
  • Source: where the usage was established or decided

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.

When to Create vs Update

Create a new page when a concept is finalized enough to be referenced by other agents. Don't create pages for things still in story-planning.

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.

What Belongs in KB vs Work

  • Finalized knowledge → kb/
  • Draft iterations, brainstorm captures, critique reports → work/
  • Promoted facts after a draft completes → kb/canon/ or relevant wiki page

Use /story-memory for routine fact extraction from completed chapters. Direct kb edits are for the author or muse when capturing decisions interactively.

来源与署名

来源:haowjy/creative-writing-skills位于cw/skills/kb-management提交254d4bb

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架