game-lore
Adds or updates one world lore entry (faction, location, NPC, event, conflict or rule) in docs/world-lore.md after a consistency check against the existing…
от fcsouza★ 29 звёзд на GitHub
Установить game-lore в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Game Lore: Lore Entry Command
Requires
worldbuildingquest-narrative-coherence
Before you apply a skill listed here, check that it appears in your available skills list. If it is not, name it, give this install line, and stop: bunx skills add fcsouza/agent-skills --skill <name>.
Prerequisites
docs/world-lore.mdin the project (run/game-architectfirst, or create it by hand)
Phase 0: Context load (silent)
Input: $ARGUMENTS. If it is empty, take it from the user's message. It holds the entry type and name.
In this order:
- Apply the
worldbuildingskill. - Apply the
quest-narrative-coherenceskill. Its "World-lore sections" list gives the section names this command writes to. - Read
docs/world-lore.md. If it does not exist, say: "Cannot proceed. docs/world-lore.md not found. Run/game-architectto generate the world foundation, or create the file from the world-lore template ofquest-narrative-coherence." Then stop. - Detect the entry type from the input:
- "faction": faction
- "location": location
- "npc" or "character": NPC
- "event" or "history": historical event
- "conflict": active conflict
- "rule" or "constraint": rule or constraint
- Anything else: ask "What type of lore entry is this? Reply with: faction / location / npc / event / conflict / rule".
- Take the entry name from the text after the type keyword.
- Read
docs/quest-registry.mdif it exists (used in Phase 4).
Phase 1: Consistency check (before writing anything)
Check the proposed entry against docs/world-lore.md. Print the checklist with a result per line: "pass", "note" (minor, proceed and say so) or "conflict" (resolve first).
## Consistency Check: [entry type] - [entry name]
[ ] No name collision: "[name]" is not already in world-lore.md
[ ] Faction alignment: relationships do not contradict existing alliances or enmities
[ ] Geographic plausibility: the location fits the established geography
[ ] NPC faction match: the NPC's faction exists and their alignment fits it
[ ] Timeline consistency: events respect the established timeline
[ ] Conflict and rule consistency: the entry does not contradict an Active Conflicts or Rules and Constraints entry
[ ] Tone consistency: the entry matches the world's established tone
On any conflict, say: "Lore conflict: [the contradiction]. Proposed resolution: [specific fix]. Proceed with the fix?" Wait for the user's confirmation before you continue.
Phase 2: Write the entry
Copy the template for the detected type from templates/lore-entries.md. Fill every field. A genuinely unknown field reads "Unknown / to be determined" and goes on the open-questions list.
Write NPC personality as concrete traits. Vague words ("nice", "mean", "mysterious") give the next writer nothing to act on.
Phase 3: Update docs/world-lore.md
Append the entry under the section for its type. Take the section names from World-lore sections in quest-narrative-coherence:
| Entry type | Section |
|---|---|
| Faction | the factions section |
| Location | the locations section |
| NPC | the characters section |
| Event | the history section |
| Conflict | the active conflicts section |
| Rule | the rules section |
If the section is missing, create it with that heading.
Relationships go both ways. If the new entry names an enemy, ally or other tie to an existing entry, open that entry and add the matching note. List each such edit in the report below.
After writing, report:
Updated: docs/world-lore.md
Added [type]: [name]
[If existing entries changed]: Updated: [entry name] - [what was added]
Phase 4: Cross-reference
If docs/quest-registry.md exists, scan it for the entry name and close variants. Report:
Quest registry cross-reference:
Quests referencing this entry: [quest IDs and names, or "none found"]
[If any]: Run `/game-quest` to update those quests with the new lore.
If it does not exist: "Quest registry: not yet created. Run /game-quest to start quests that use this lore."
Rules
- Run Phase 1 every time. New lore written without a check contradicts old lore.
- Match the world's tone. Read it from
docs/world-lore.mdbefore writing; a whimsical entry in a grim world breaks the setting. - Do not invent a new faction or major location inside an NPC or event entry. If the entry implies one, stop and ask whether to run
/game-lorefor that faction or location first. - Date events with the world's own time markers. Real-world dates (AD, BC, CE) break the setting.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- templates/lore-entries.md
FAQ
Что делает скилл game-lore?
Adds or updates one world lore entry (faction, location, NPC, event, conflict or rule) in docs/world-lore.md after a consistency check against the existing lore. Takes the entry type and name as `$ARGUMENTS`, or from the user's message. Use when the world needs a new faction, place, character, historical event, active conflict or world rule, or when an existing entry must change.
Как установить скилл game-lore?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл game-lore запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…