DM Realm v0.5.0

Skills

dmr-setup

Turns the current folder into a DM Realm Workspace. Run again inside a Workspace, it renames folders, converts stat blocks and repairs settings.

claude
> /dm-realm:dmr-setup

The only skill that runs only from its command, so no folder becomes a Workspace by accident.

Ask it like this

  • /dm-realm:dmr-setup
  • /dm-realm:dmr-setup italiano, 2024 rules, with stat blocks, go ahead
  • /dm-realm:dmr-setup rename Campaigns to Tables
  • /dm-realm:dmr-setup switch to Markdown statistics

A first Setup

  1. Checks the folder is empty (dot-folders aside). A folder with notes in it is refused, untouched.
  2. Asks the Workspace Language, the Edition (2014 or 2024) and whether monsters and NPCs get stat blocks or Markdown, and whether the Player Wiki is also built as a website (checking for Node), each once, unless your request already says.
  3. Shows a preview: the Config, folder names, Templates, Obsidian settings, the Translation Glossary. You may rename any folder.
  4. On your go-ahead, writes workspace-config.yml, the eight folders, the Templates, the Glossary, the Obsidian settings and, if installed, the Fantasy Statblocks layouts.
  5. Reports, and leaves you one step: open the folder in Obsidian as a vault.

Running it again

  • Renames a top-level folder and rewrites every link into it.
  • Converts every monster and NPC note between stat blocks and Markdown, after a preview.
  • Recreates missing folders and Templates, on your yes. Templates you changed stay byte for byte.
  • Restores DM Realm's Obsidian settings and Fantasy Statblocks layouts.
  • With the website chosen, checks Node again.
  • Names the Portrait of stat blocks that embed their own picture, and of item notes from the first picture of their Description, and gives every item note item: true.
  • Brings every spell's Classes line up to date, so spells imported before DM Realm wrote it get theirs, and rebuilds the Spell Indexes.
  • When MapForge has adopted the folder, says what its bestiary reads and how many items its Treasury lists.
  • Points MapForge's bestiary at a folder, only when you ask.

Never

  • Changes the Workspace Language, or the Edition once rules material is imported.
  • Adds or removes a top-level folder: there are always eight.
  • Writes anything before your go-ahead.

Guide: Set up your Workspace.