ns-canon
Original:🇨🇳 Chinese
Translated
2 scriptsChecked / no sensitive code detected
Novel Canon Memory Maintenance Skill. Used to read and update established facts, plans, continuity, text indexes, style constraints, source boundaries, and visual indexes for a single NS project; maintains novel-studio/*.yaml and notes/*.md. Activated when users request to remember settings, save materials, update outlines, organize progress, handle end-of-chapter notes, correct continuity, or take over memory of an old novel. Initialization via ns-start.
11installs
Added on
NPX Install
npx skill4agent add honestman9527/novel-studio ns-canonTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →NS Canon
Only maintains fact sources and progress; does not write new text or create unrequested new settings.
Read memory-schema.md for the complete structure.
Responsibilities
- : Project identity.
project.yaml - : Overall book scale, volumes, chapters, side stories, next steps.
plan.yaml - : Characters, world, relationships, foreshadowing, genre modules.
memory.yaml - : Current status, events, unresolved plot threads, revision impacts.
continuity.yaml - : Text entry paths, status, word count, sorting.
index.yaml - : Writing style and chapter contracts.
style.yaml - : Sources and fact boundaries.
research.yaml - : Root directory of text and publishing rules.
publish.yaml - : Completion status and output index.
finish.yaml - : Visual consistency and file indexes.
art.yaml
YAML/Markdown Collaboration
- The Markdown frontmatter of chapters and volumes serves as the connection layer between YAML memory and text files.
- Frontmatter only includes identity, sorting, status, time, word count, and tags; long descriptions should be written in the Markdown text section or .
notes/*.md - must be reconstructible from chapter frontmatter and audited word counts.
index.yaml.entries - Volume maintains volume introductions, volume commitments, and chapter directories;
_index.mdmaintains plans, and long texts should not be duplicated between them.plan.yaml - The optional section in chapters is Markdown; if there are no end-of-chapter notes, update the canon directly from the text and context.
## End-of-Chapter Notes - The total number of volumes, total chapters, number of side stories, and total word count target are only written in .
plan.yaml.scale
Rules
- New facts should only be written in one primary YAML field to avoid duplicate records.
- Uncertain content should be written to or
continuity.yaml.loose_threads.research.yaml.open_questions - After finishing a chapter, prioritize reading the optional before updating
## End-of-Chapter Notes,index.yaml, andcontinuity.yaml.memory.yaml - Update only when a volume is completed, the entire book is finished, or deliverables change.
finish.yaml - YAML is the source of facts; Markdown is for long-form explanations or display panels.
- When adjusting the scale, first modify and
plan.yaml.scale, then synchronize the directory description in the volumeplan.yaml.volumes/extras._index.md
Tools
- Structure check: .
python skills/ns-canon/scripts/schema_doctor.py <novel-root> - Continuity check: .
python skills/ns-canon/scripts/continuity_check.py <novel-root> - Add when machine-readable results are needed; add
--jsonto continuity checks if unresolved plot threads should be treated as failure conditions.--strict