协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
worldbuilding【开发与工程】This skill should be used when the user asks to "create a location", "add a location", "magic system", "political system", "build the world", "add culture", "world history", "technology system", "religion", "economy", "map", "travel times", "routes", "calendar", "moons", "seasons", "naming language", "conlang names", "trade routes", "supply lines", "…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Create and manage world elements for a story project. Locations, systems (magic, politics, technology, etc.), factions, and artifacts are stored as markdown files in the worldbuilding/ directory with YAML frontmatter, and glossary terms for the world's invented words in glossary/terms/. All elements cross-reference characters and other story elements.
A story project must already exist (created via the story-init skill). Verify by checking for story.md in the project root.
story.md for genre, era, and tone contextworldbuilding/_index.md for existing locations and systemsreferences/maps-and-routes.md)pronunciation: "KEL-ah-mar")story names '{Candidate}' to catch clashes and look-alikes (see references/naming-languages.md)story add location '{Location Name}' --type '{type}' when the CLI is available (add --region, --population, --controlled-by, and --character as known); it writes worldbuilding/locations/{name-kebab}.md and lists it in worldbuilding/_index.md. Then fill the body from references/location-template.mdreferences/location-template.md to worldbuilding/locations/{name-kebab}.mdworldbuilding/_index.md to story reindex ., even without the CLI; never add a row by handlocations frontmatter liststory reindex ., story wordcount . --write, and story check .Record travel between locations as routes on the location file, not in prose notes, so the CLI can check it:
routes:
- to: harbor-district
hours: 1.5
mode: on foot
- to: saltmarsh-fort
hours: 9
mode: coach
to is a location id; story links . checks it exists.story continuity . errors when a character appears in two dated scenes at locations joined by a route and the story time between them is shorter than the route's hours.story diagram locations prints the route network as a Mermaid map-graph with edges labelled in hours; add --out dist/locations.mmd to save it. Use it to spot unreachable places and implausible shortcuts.Use the travel speeds table in references/economy-logistics.md to set plausible hours, and references/maps-and-routes.md for the full workflow.
story.md for genre and themes contextworldbuilding/_index.md for existing systemsreferences/world-element-types.md for the relevant prompts. For calendars, naming languages, economies, and magic costs, also use references/calendars.md, references/naming-languages.md, and references/economy-logistics.mdstory add system '{System Name}' --type '{type}' --prevalence '{prevalence}' when the CLI is available (the type and prevalence values are in references/system-template.md); it writes worldbuilding/systems/{name-kebab}.md and lists it in worldbuilding/_index.md. Then fill the body from references/system-template.mdreferences/system-template.md to worldbuilding/systems/{name-kebab}.mdworldbuilding/_index.md to story reindex .; never add a row by handstory reindex ., story wordcount . --write, and story check .Use story add faction '{Faction Name}' --type '{family|guild|government|military|religion|company|community|criminal|other}' when the CLI is available. Otherwise create worldbuilding/factions/{name-kebab}.md with frontmatter fields name, type, status, members, locations, and tags.
Cover:
Then:
worldbuilding/factions/{name-kebab}.mdworldbuilding/_index.md to story reindex .; never add a row by handstory reindex ., story wordcount . --write, and story check .Use story add artifact '{Artifact Name}' --type '{object|weapon|document|technology|relic|symbol|resource|other}' when the CLI is available. Otherwise create worldbuilding/artifacts/{name-kebab}.md with frontmatter fields name, type, status, owner, location, and tags.
Cover:
Then:
worldbuilding/artifacts/{name-kebab}.mdworldbuilding/_index.md to story reindex .; never add a row by handstory reindex ., story wordcount . --write, and story check .Record an invented word, title, rank, or concept that the prose must spell and use the same way every time as a glossary term in glossary/terms/.
glossary/_index.md for the existing terms, then run story names '{Term}' to catch a clash with another name or termstory add term '{Term}' --category '{person|place|faction|artifact|concept|term|other}' when the CLI is available, with --alias '{Variant}' once for each accepted variant; it writes glossary/terms/{term-kebab}.md and lists it in glossary/_index.md. Otherwise create the file with frontmatter fields term, category, and aliases, and leave the glossary/_index.md table to story reindex .## Definition (what it means in the story) and ## Usage Notes (spelling, capitalisation, who uses it, and what it never means). Add a pronunciation when the term is invented or easily misreadstyle-sheet.md too (see the voice-style skill)story reindex ., story wordcount . --write, and story check .A glossary for translators belongs to the adaptation skill, which adds a ## Translations section to these term files.
story rename (see references/naming-languages.md). Change its type or status in its own file only: the worldbuilding/_index.md tables pick it up at the next story reindex ., so never edit their rowsstory reindex ., story wordcount . --write, and story check .Location and faction files describe the world as the story opens. Record a later change as a progression, so drafting an early chapter does not see what happens in a late one:
progressions:
- from: chapter-10
field: status
value: occupied
- from: chapter-10
field: controlled-by
value: lord-maren
from is the first chapter where the new value holds. It may be a planned chapter-NN with no file yetfield is a kebab-case single-value field, existing (status, controlled-by, region) or new (ruler, population-note). List fields (notable-characters, routes, members, locations, tags) cannot change this wayvalue is one value. A faction's type and status must stay within their allowed valuesobject-state and scene state-changes (see the revision-continuity skill)After adding or editing progressions, run story reindex ., story wordcount . --write, and story check ..
notable-characters in frontmatterlocations in frontmatterroutes reference other locations by idpronunciation; story build --format narration gathers them into a pronunciation guide for audiobook narratorslocations field links backworldbuilding/_index.md world overview section current as elements are addedUse the Story CLI when it is available. If story is not installed, use the bundled fallback node ../story-maintenance/scripts/story.js with the same arguments. Use node <checkout>/bin/story.js instead only when the user names a Story Skills repository checkout or you are working in one. Write the script as an absolute path (resolve the fallback relative to this skill folder) and run it from the folder you would run story from, so . and other relative paths keep their meaning. Use Node, not Bun or a package script: Bun would load that folder's bunfig.toml (which can run code) and .env, and a package script runs from the checkout's root. If no CLI is available, perform the registry, backlink, and word-count checks manually.
references/location-template.md - Template for location filesreferences/system-template.md - Template for system filesreferences/faction-template.md - Template for faction filesreferences/artifact-template.md - Template for artifact/object filesreferences/world-element-types.md - Detailed prompts for each system type (magic, political, technology, religion, economic, military, social)references/maps-and-routes.md - Recording routes, the story diagram locations map-graph, and the continuity travel checkreferences/calendars.md - Adding a custom calendar to story.md, dating scenes in it, and recording seasons and moons as a system filereferences/naming-languages.md - Phonology sketches, naming rules per culture, pronunciation, and the story names collision checkreferences/economy-logistics.md - Prices and wages, supply lines, magic and technology costs, and a travel speeds table by modeEvery story skill follows the shared conventions in ../story-maintenance/references/conventions.md, resolved relative to this skill folder. Read it before creating, renaming, or linking story files. If that file is missing because this skill was installed without story-maintenance, the essentials are: kebab-case ids and filenames, YAML frontmatter on every story-project file, _index.md registry tables that story reindex rebuilds (never edit them by hand), bidirectional links between entities, characters for who is on the page and mentions for who is only referred to, status: deceased plus died-in: chapter-{NN} for deaths, and no project-local generator or build scripts (run only the installed or bundled Story CLI).