Command Palette

Search for a command to run...

Back to skills
skill № 95114

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…

FreeNo executable scripts
fcsouzaby fcsouza★ 29 GitHub stars

Install game-lore in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Game Lore: Lore Entry Command

Requires

  • worldbuilding
  • quest-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.md in the project (run /game-architect first, 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:

  1. Apply the worldbuilding skill.
  2. Apply the quest-narrative-coherence skill. Its "World-lore sections" list gives the section names this command writes to.
  3. Read docs/world-lore.md. If it does not exist, say: "Cannot proceed. docs/world-lore.md not found. Run /game-architect to generate the world foundation, or create the file from the world-lore template of quest-narrative-coherence." Then stop.
  4. 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".
  5. Take the entry name from the text after the type keyword.
  6. Read docs/quest-registry.md if 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

  1. Run Phase 1 every time. New lore written without a check contradicts old lore.
  2. Match the world's tone. Read it from docs/world-lore.md before writing; a whimsical entry in a grim world breaks the setting.
  3. 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-lore for that faction or location first.
  4. Date events with the world's own time markers. Real-world dates (AD, BC, CE) break the setting.
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • templates/lore-entries.md

FAQ

What does the game-lore skill do?

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.

How do I install the game-lore skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the game-lore skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare game-lore with