
cw-official-docs
Creative writing skill for creating canonical reference documentation (wikis) for fictional worlds, characters, and story events. Use when creating or updating wiki pages, official documentation, character profiles, location documentation, or lore pages. Creates polished, sourced, encyclopedic reference material.
- Installs
- 95
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/haowjy/creative-writing-skills --skill cw-official-docs- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads cw-official-docs automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Official Documentation
Create canonical, sourced wiki pages for your story's characters, locations, events, and lore.
Purpose
Build authoritative documentation (wiki-style pages) that serves as "single source of truth" for your fictional world. These are polished, cited, encyclopedic reference pages suitable for readers - NOT working notes or brainstorming.
Can be created before or during writing for worldbuilding, lore, and reference material that won't all appear in the story itself.
Documentation vs Brainstorm Notes
The key distinction: Documentation = you've decided and it's polished enough to show someone. Brainstorm = you're still figuring it out.
| Documentation | Brainstorm |
|---|---|
| Single version | Multiple options coexist |
| Polished | Skeletal |
| No [TBD] markers | Source tags throughout |
| Reader-ready | Author's working notes |
| Finalized decisions | Exploratory |
Core Principles
1. Canonical Only
Wiki pages contain ONLY confirmed information:
- Facts from written chapters OR finalized worldbuilding
- Details the author has decided
- Single authoritative version
2. Citations Required
Every claim needs a source:
- Chapter references for story facts
- "Worldbuilding document: [filename]" for lore created before writing
- Scene-specific citations when possible
3. Encyclopedic Tone
Write like a reference work:
- Third person
- Past tense for completed events, present for current state
- Neutral, factual tone
Flexible Structure
Documentation pages aren't templates to fill in - structure should fit the content.
Some character pages need detailed backstory, others don't. Some locations are just "a tavern in the capital" - that's one paragraph, not 12 sections. Some magic systems need elaborate rules, others are intentionally mysterious.
Include what matters, skip what doesn't. Trust your judgment.
See references/page-patterns.md for common patterns and examples - not mandatory structures.
Creating Documentation Pages
- Decide what needs documenting - Character? Location? System? Event?
- Choose relevant structure - See references/page-patterns.md for common patterns
- Write what matters - Skip irrelevant sections, adapt structure to content
- Add citations - See references/citation-guide.md for formats
- Cross-reference - Link related pages for discoverability
Structure adapts to content - not every page needs every section.
Using Web Search
Search when helpful for:
- Verifying real-world facts your story references
- Research for worldbuilding elements
- Finding similar fictional documentation/wikis for inspiration
- Checking naming conventions or terminology
Timing
You can write documentation pages BEFORE writing story chapters - just ensure content is finalized and presentation-ready, not exploratory.
For worldbuilding/lore: Finalize concept → Create documentation page → Use while writing
For story events: Write chapters → Document what happened → Create documentation page
Teaching Example: Simple vs Complex
Not every page needs elaborate structure:
Simple location (totally valid):
---
title: The Broken Wheel Tavern
type: location
---
# The Broken Wheel Tavern
A run-down tavern in the merchant quarter of Kingsport. Known for cheap ale and cheaper rooms.
The protagonist meets their contact here in Chapter 3.
**References:**
- Chapter 3: First meeting scene
Complex character (when needed):
---
title: Marcus Webb
type: character
status: alive
---
# Marcus Webb
Former military intelligence officer turned information broker in Kingsport.
## Background
Served 15 years in the Royal Intelligence Service before a scandal forced his resignation. Now operates independently, selling information to whoever can pay.
## Appearance
Mid-40s, graying hair, military bearing despite civilian clothes. Distinctive scar across left eyebrow from field injury.
## Role in Story
Acts as information source for the protagonist. Provides critical intelligence about the conspiracy in Chapter 3, then becomes recurring ally throughout Arc 1.
## Key Relationships
- **Sarah Chen**: Former colleague, maintains uneasy trust
- **The protagonist**: Professional relationship, provides information for payment
**References:**
- Chapter 3: First introduction, provides intel
- Chapter 7: Warns protagonist about surveillance
- Chapter 12: Reveals his own involvement in the conspiracy
Both are valid - structure fits what needs documenting.
Skills are Composable
Feel free to combine with other skills when helpful (e.g., using cw-brainstorming while exploring worldbuilding before finalizing into documentation pages).
File Placement (Claude Code)
- Check project documentation for organization
- Common locations:
docs/,wiki/,docs/reference/,reference/ - Match existing naming conventions
- Ask if unclear
Resources
See:
references/page-patterns.md- Common patterns and examples (not templates)references/citation-guide.md- How to cite sourcesreferences/example-pages.md- Complete example pages at different complexity levels
FAQ
What does the cw-official-docs skill do?
Creative writing skill for creating canonical reference documentation (wikis) for fictional worlds, characters, and story events. Use when creating or updating wiki pages, official documentation, character profiles, location documentation, or lore pages. Creates polished, sourced, encyclopedic reference material.
How do I install cw-official-docs?
Run npx skills add https://github.com/haowjy/creative-writing-skills --skill cw-official-docs in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/cw-official-docs/ (personal) or .claude/skills/cw-official-docs/ (project).
Which AI agents can use cw-official-docs?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is cw-official-docs safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains cw-official-docs?
It is published by haowjy in haowjy/creative-writing-skills. It has 95 recorded installs.
More from haowjy/creative-writing-skills
writing-principles
haowjy/creative-writing-skills
What fiction readers want (reader reward channels) and the specific ways LLM training damages them. Load when drafting prose, critiquing, or diagnosing why a passage feels flat.
creative-writing-craft
haowjy/creative-writing-skills
Craft references for writing fiction well: prose, scenes, style, voice, and genre/page-level technique. Load when a writer, critic, or muse needs how-to-write guidance rather than a production mode.
llm-writing
haowjy/creative-writing-skills
Load before writing or revising human-facing text. Choose words deliberately, ground the piece in the reader's context, and remove default LLM phrasing before the final draft.
writing-staffing
haowjy/creative-writing-skills
Dispatch reference for composing writing teams. Teaches which extra skills to attach, which files to pass, which resources to reference, and when to fan out versus run parallel lanes. Load when staffing a workflow.
story-review
haowjy/creative-writing-skills
Review work after prose exists: editorial review, craft critique, continuity/voice review, copyediting, proofreading, and synthesis of reader-sim signal. Load when diagnosing a draft rather than rewriting it.
story-planning
haowjy/creative-writing-skills
Planning work before prose: creative direction, story-planning, outlining, and story architecture. Load when deciding what should happen or how a story should be structured.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.