Build a game master that never invents a rule
The author built a browser based dungeon master for D&D 5e where Claude Code agents built the Sanity layer and knowledge base behind the rules. The system draws on 87 rules, 33 conditions, 14 spells and 15 monsters, answering in 1.3 to 2.2 seconds with a citation to the CMS. The knowledge base caught six conflicting rule interpretations from mixed editions, but the storytelling runs on a different model than the one that built the code.
Done with Claude CodeModerate
What was done
The author built a browser based dungeon master for D&D 5e where Claude Code agents built the Sanity layer and knowledge base behind the rules. The system draws on 87 rules, 33 conditions, 14 spells and 15 monsters, answering in 1.3 to 2.2 seconds with a citation to the CMS. The knowledge base caught six conflicting rule interpretations from mixed editions, but the storytelling runs on a different model than the one that built the code.
How to do it
- Paste the prompt into the tool, and replace the text in brackets with your own.
- Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
- Check the original before you trust a figure, a name or a date.
Try it with Claude Code
Build a knowledge base in Sanity for a tabletop game I am making, and have Claude Code set up the storage and lookup logic so the game master always cites the right rule source and never invents a rule. Show me which rules are ambiguous or missing a source before anything is published to players. You are done when I can ask a rules question and get an answer with an exact citation, and I have approved the content myself.
prime_299792 on DEV Community ·