MD

mdx-format-monsters

Manages MDX structure for monster sheets and stat blocks.

Install

mkdir -p .claude/skills/mdx-format-monsters && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18018" && unzip -o skill.zip -d .claude/skills/mdx-format-monsters && rm skill.zip

Installs to .claude/skills/mdx-format-monsters

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Monster stat block format (.sheet.mdx). Required structure, stat table, Challenge Rating, section dividers, feature headings, Legendary Deeds, Spellcasting, Meta directive, metadata fields (generateMonsterMetadata.ts), health-check rules.
238 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Format monster stat block files (.sheet.mdx)
  • Diagnose `monster-sheet-*` health-check violations
  • Add Legendary Deeds, lair deeds, and Spellcasting sections
  • Run `npm run generate-metadata` and debug parse failures
  • Review feature extraction for monster sheets
  • Handle multi-stat-block files for monster variants

How it works

The skill formats monster stat block files by enforcing a required structure, including stat tables, section dividers, and specific headings. It also helps diagnose health-check violations and supports metadata generation.

Inputs & outputs

You give it
Monster stat block file (.sheet.mdx)
You get back
Formatted monster sheet, metadata JSON, or health-check violation fixes

When to use mdx-format-monsters

  • Create new monster sheet
  • Fix monster-sheet health check errors
  • Add legendary actions to monster

About this skill

MDX Format: Monster Sheets

Purpose

Formats monster stat block files. Use when creating, refactoring, auditing sheets. Diagnose monster-sheet-* health-check violations.

When to Use

  • Author new .sheet.mdx
  • Fix monster-sheet-missing-stat-table or monster-sheet-missing-cr
  • Add Legendary Deeds, lair deeds, Spellcasting
  • Run npm run generate-metadata, debug parse failures
  • Review feature extraction (see: feature-extraction skill)

File Info

FieldValue
Locationsrc/content/en/monsters/
Ext.sheet.mdx (required; generator ignores others)
Generatorscripts/metadata/generateMonsterMetadata.ts
APIsrc/app/api/monsters/route.ts
Multi-statSingle file may contain multiple stat blocks (array)

Required Structure

# Monster Name

_Size Type, Alignment_

<BlendedImage
  src='/library/images/monsters/monster-name.webp'
  alt='Monster Name'
/>

Optional flavor or lore prose here.

| **Armor Class**    | **Hit Points**  | **Speed**           |
| ------------------ | --------------- | ------------------- |
| 16 (natural armor) | 170 (16d8 + 98) | 25 ft., swim 30 ft. |

| **STR** | **DEX** | **CON** | **INT** | **WIS** | **CHA** |
| ------- | ------- | ------- | ------- | ------- | ------- |
| 16 (+3) | 12 (+1) | 20 (+5) | 1 (-5)  | 10 (+0) | 22 (+6) |

- **Saving Throws**: Dex +5, Con +9
- **Skills**: Insight +6, Persuasion +10
- **Damage Resistances**: Fire, Cold
- **Damage Immunities**: Psychic
- **Condition Immunities**: Poisoned
- **Senses**: Darkvision 60 ft., passive Perception 12
- **Languages**: Common, Deep Speech
- **Challenge**: 11 (7,200 XP)
- **Proficiency Bonus**: +4

---

## Traits

#### Trait Name

Trait description text.

---

## Actions

#### Multiattack

The creature makes two attacks.

#### Bite

_Melee Weapon Attack:_ +7 to hit, reach 5 ft., one target. _Hit:_ 10 (2d6 + 3) piercing damage.

---

## Minor Actions

#### Reposition

The creature moves up to half its speed without provoking opportunity attacks.

---

## Reactions

#### Parry

The creature adds 3 to its AC against one melee attack that would hit it.

---

## Legendary Deeds

The creature has **3 legendary deeds per round**, and regains all expended deeds
at the start of its turn.

#### Deed Name

_(Costs 1 Deed)_ Description of what the deed does.

---

## Legendary Deed: Act

#### Option Name _(Costs 1 Deed)_

Description of the legendary act option.

---

## Legendary Deed: Lair

At the start of the highest-initiative creature's turn, the monster may use a
lair deed.

#### Lair Effect Name

Description of the lair effect.

Section Rules

SectionReq?SeparatorLevel
## TraitsYes--- before/after##
## ActionsYes--- before/after##
## Minor ActionsOpt--- before/after##
## ReactionsOpt--- before/after##
## Legendary DeedsOpt--- before/after##
## Legendary Deed: ActOpt--- before##
## Legendary Deed: LairOpt--- before##

Individual features use #### (H4).

Stat Block Property List

Format: - **Name**: value. Omit empty lines. Mandatory: Challenge, Proficiency Bonus.

- **Saving Throws**: (proficiency only)
- **Skills**: (proficiency only)
- **Damage Vulnerabilities**: ...
- **Damage Resistances**: ...
- **Damage Immunities**: ...
- **Condition Immunities**: ...
- **Senses**: ... (include passive Perception)
- **Languages**: ...
- **Challenge**: CR (XP)       ← REQUIRED
- **Proficiency Bonus**: +N    ← REQUIRED

Spellcasting Block

#### Spellcasting

Level N spellcaster. Ability (DC N, +N spell hit). Prepared:

- **Cantrips**: _Name, Name_
- **1st level (N slots)**: _Name, Name_
- **2nd level (N slots)**: _Name_

Place in ## Actions (action cast) or ## Traits (passive).

Meta Directive

Attach enrichment data parser can't infer. Place after #### heading:

#### Vorpal Strike

<Meta critRange={19} saveDC={17} saveAbility='con' />

_Melee Weapon Attack:_ +9 to hit...

See feature-extraction skill for full <Meta> reference.

Multi-Stat-Block Files

Single file = multiple blocks separated by --- + new # Heading. Generator outputs array. Use for variants (Young/Adult/Ancient dragon).

Metadata Fields

generateMonsterMetadata.ts.metadata.json:

FieldSource
slugFilename (kebab)
title# Heading
size1st word italic
typemiddle words
alignmentlast part
ac/hp/speedsAC/HP/Speed table
abilityScoresSTR-CHA table
savingThrows**Saving Throws**
damage***Damage** bullets
senses**Senses**
languages**Languages**
cr/xp**Challenge**
proficiencyBonus**Proficiency**
tagsdamage types, conditions
featuresfeature-extraction array

Format Rules

RuleSeverityFix
non-kebab-filenamecriticalRename to kebab-case
monster-sheet-missing-stat-tablecriticalAdd STR/DEX/CON/INT/WIS/CHA table
monster-sheet-missing-crwarningAdd **Challenge**: N (XP)
fullsize-image-pathcriticalUse /library/images/
raw-img-tagcriticalUse <BlendedImage>
missing-alt-textwarningAdd alt prop
unregistered-componentcriticalUse registered components only

See mdx-format skill for universal rules.

Available MDX Components

ComponentUsage
<BlendedImage>Artwork (optional, recommended)
<Meta>Feature enrichment directive
<MonsterTable>Index pages only, NOT stat blocks

Pitfalls

  • Missing stat table → Generator needs it. Fill empty as — (—) if no scores.
  • CR format- **Challenge**: 11 (7,200 XP). CR first, XP in parens.
  • Feature H4 → Use ####. ### breaks parser.
  • Section separators → Precede each major section with ---, not just blank.
  • Multi-variant → Separate blocks with ---, then fresh # Name H1.
  • No <img> tags → Use <BlendedImage src='...' alt='...' /> only.

When not to use it

  • When the file extension is not `.sheet.mdx`
  • When using `<img>` tags instead of `<BlendedImage>`
  • When using `###` for feature headings instead of `####`

Limitations

  • The file extension must be `.sheet.mdx`
  • The generator ignores files with other extensions
  • Feature headings must use `####` (H4) to avoid breaking the parser

How it compares

This skill provides a structured and validated format for monster stat blocks, ensuring consistency and proper metadata generation, unlike manually creating or editing files without specific guidelines.

Compared to similar skills

mdx-format-monsters side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
mdx-format-monsters (this skill)018dNo flagsIntermediate
ml-paper-writing485moReviewAdvanced
docs-review107moNo flagsBeginner
claude-md-improver216moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

ml-paper-writing

davila7

Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation verification workflows.

4897

docs-review

metabase

Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.

1085

claude-md-improver

anthropics

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".

2167

write-docs

tldraw

Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.

665

update-docs

vercel

This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.

2543

wiki-architect

microsoft

Analyzes code repositories and generates hierarchical documentation structures with onboarding guides. Use when the user wants to create a wiki, generate documentation, map a codebase structure, or understand a project's architecture at a high level.

1144

Search skills

Search the agent skills registry