Adds or updates a world lore entry (faction, location, NPC, event, conflict, or rule) in docs/world-lore.md after a consistency check against existing lore.
Ships in game-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
worldbuildingquest-narrative-coherenceBefore 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>.
docs/world-lore.md in the project (run /game-architect first, or create it by hand)Input: $ARGUMENTS. If it is empty, take it from the user's message. It holds the entry type and name.
In this order:
worldbuilding skill.quest-narrative-coherence skill. Its "World-lore sections" list gives the section names this command writes to.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.docs/quest-registry.md if it exists (used in Phase 4).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.
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.
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]
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."
docs/world-lore.md before writing; a whimsical entry in a grim world breaks the setting./game-lore for that faction or location first.What SKILL.md sets; muted values are Claude Code's defaults
/game-dev:game-lore type and name (e.g. "faction The Iron Court", "location Ashfall Crossing", "npc Mira the Keeper", "event The Founding War", "conflict The Salt Dispute", "rule Magic needs iron")from game-dev
npx claudepluginhub fcsouza/agent-skills --plugin game-dev39 skills in this plugin
/betterauth-integrationCovers the game-specific layer of Better Auth: player, moderator and admin roles, session checks on game routes and WebSocket handshakes, and keeping the auth session apart from the game session. Use when a game needs player login, moderator or admin powers, or authenticated real-time connections, and the project uses Better Auth./bullmq-game-queuesBackground job design for game backends on BullMQ and Redis: one queue per game domain, idempotent reward fulfilment, and cron schedulers for daily rewards and season ends. Use when a game needs matchmaking requests, reward grants, match results, notifications or analytics processed off the request path, or recurring and timed jobs such as daily login rewards, leaderboard snapshots and season rollovers./Other plugins' skills for the same job