
wiki-docs
Encyclopedic reference documentation for fictional worlds — wiki pages, character profiles, lore entries. Use when creating or updating reader-facing reference pages. Covers link discipline, citation conventions, and mermaid relationship diagrams. Distinct from the knowledge base, which is author/agent-facing knowledge.
- Installs
- 47
- 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 wiki-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 wiki-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.
Wiki Documentation
Create canonical, reader-facing reference pages for your story's characters, locations, events, and lore. These are polished encyclopedic entries — the "single source of truth" that readers, writers, and critics consult.
Two Documentation Spaces
wiki/ (or project equivalent) — Reader-facing. Polished, encyclopedic tone, spoiler-managed, link-disciplined. What this skill produces.
Knowledge base — Author/agent-facing. Annotated with decision reasoning, source tags, open questions, and implementation notes. Maintained by knowledge maintenance agents (session-miner, chronicler, graph-maintainer). Not this skill's territory.
The distinction matters because reader-facing docs and author-facing docs serve different purposes. A wiki page about a character presents their canonical state. The character entry in the knowledge base includes why certain choices were made, what alternatives were considered, and what's planned but unrevealed.
Core Principles
Canonical Only
Wiki pages contain confirmed information — facts from written chapters, finalized worldbuilding, author-decided details. If something isn't decided yet, it belongs in brainstorming notes, not the wiki.
Encyclopedic Tone
Write like a reference work:
- Third person, neutral voice
- Past tense for completed events, present for current state
- Factual, not narrative (describe what happened, not how it felt)
- No author commentary or speculation
Citations
Every claim needs a source. See resources/citation-guide.md for detailed formats:
- Chapter references for story facts
- Worldbuilding document references for lore created before writing
- Scene-specific citations when precision matters
Link Discipline
Every entity mention gets a link on first appearance in a page. This means:
- Characters, locations, events, systems — linked on first mention
- Use wikilinks (
[[Entity Name]]) or markdown links ([Entity Name](entity-name.md)) — match the project's convention - Don't link the same entity repeatedly — first appearance in each section is enough
- Link to pages that exist or should exist (flag missing pages:
[[Entity Name]](page needed))
Link discipline serves navigation — a reader should be able to follow connections between entities without searching.
Relationship Diagrams
For pages involving complex relationships (character pages with many connections, faction pages, event pages with multiple parties), embed mermaid diagrams showing the relationship structure.
## Relationships
```mermaid
graph LR
A[Character A] -->|mentors| B[Character B]
A -->|rivals| C[Character C]
B -->|allied with| D[Character D]
C -->|manipulates| D
Use diagrams when relationships are complex enough that a list alone would be hard to follow. Simple pages with one or two relationships don't need diagrams.
## Structure
Structure should fit the content. See [`resources/page-patterns.md`](resources/page-patterns.md) for examples ranging from minimal (3 lines) to complex (full article with sections, diagrams, and detailed citations). Don't force complex structure onto simple content.
**Include what matters, skip what doesn't.** A minor supporting character might be a name, role, and chapter reference. A protagonist might need sections on background, personality, abilities, relationships, and arc progression.
Trust your judgment on what each page needs.
## Spoiler Management
Wiki pages that contain information revealed later in the story need spoiler handling:
**YAML frontmatter:**
```yaml
spoilers: true
spoiler_level: major # or minor
Inline spoilers (for details hidden behind interaction):
<details>
<summary>Major Spoilers — Chapter 15+</summary>
Content revealed in later chapters...
</details>
Contradiction Handling
When sources contradict:
- Note both versions explicitly
- Cite both sources
- Flag for author resolution:
[Contradiction: Chapter 2 says X, Chapter 8 says Y — clarification needed]
Don't silently pick one version. The author decides canon.
Creating Pages
- Determine what needs documenting and what structure fits
- Write what matters — skip irrelevant sections
- Add citations (see
resources/citation-guide.md) - Add links to related entities on first mention
- Add relationship diagrams where complexity warrants them
- Set spoiler frontmatter if applicable
Resources
resources/page-patterns.md— examples from minimal to complex, covering characters, locations, lore, events, and organizationsresources/citation-guide.md— citation formats: inline, reference sections, contradiction handling, spoiler citations
FAQ
What does the wiki-docs skill do?
Encyclopedic reference documentation for fictional worlds — wiki pages, character profiles, lore entries. Use when creating or updating reader-facing reference pages. Covers link discipline, citation conventions, and mermaid relationship diagrams. Distinct from the knowledge base, which is author/agent-facing knowledge.
How do I install wiki-docs?
Run npx skills add https://github.com/haowjy/creative-writing-skills --skill wiki-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/wiki-docs/ (personal) or .claude/skills/wiki-docs/ (project).
Which AI agents can use wiki-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 wiki-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 wiki-docs?
It is published by haowjy in haowjy/creative-writing-skills. It has 47 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.