What problem does it solve?
This Skill adds a complete spellcasting system to the D&D combat framework, including spell slots, cantrips, leveled spells, and multiple resolution mechanics (attack rolls, saves, and auto-hit) integrated with a data-driven spell database.
Core Features & Use Cases
- Resource management: Track spell slots, long rests, and cantrips (unlimited).
- Modular data architecture: Spells and monster data are loaded from JSON into SQLite for efficient querying.
- Three resolution mechanics: Spell attacks, saving throws, and auto-hit spells.
- Data seeding workflows: Seed bestiary and spell data to enable combat scenarios.
Quick Start
Seed the bestiary and spell databases, then start a sample combat:
- python3 ~/.claude/skills/tutorial-4/scripts/bestiary.py seed
- python3 ~/.claude/skills/tutorial-4/scripts/spells.py seed
- python3 ~/.claude/skills/tutorial-4/scripts/combat.py start Gandalf 0.25