mdx-sanitizer

Official

Fix MDX build errors instantly.

Authorcuriositech
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill resolves common build failures in Docusaurus projects caused by unescaped characters and syntax conflicts within MDX files, ensuring smooth website deployments.

Core Features & Use Cases

  • Automated Sanitization: Fixes issues with angle brackets (<, >), Liquid/Nunjucks templates ({{ }}), TypeScript generics (Promise<T>), and inline code backticks.
  • Build Integration: Works seamlessly with pre-commit hooks and build processes to prevent errors before they occur.
  • Use Case: When your Docusaurus site fails to build due to MDX parsing errors related to unescaped angle brackets in technical documentation, this skill provides an automated fix.

Quick Start

Run the command npm run sanitize:mdx -- --fix within your website directory to automatically correct MDX issues.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mdx-sanitizer
Download link: https://github.com/curiositech/some_claude_skills/archive/main.zip#mdx-sanitizer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.