wfukatsu

Fix Mermaid Cmd — Development skill for Claude Code

Development community

Mermaid修正エージェント - Mermaid図のシンタックスエラーを検出・修正.

How to install Fix Mermaid Cmd

Installs to ~/.claude/commands/wfukatsu-refactoring-agent-for-claude-code-fix-mermaid-cmd.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/wfukatsu/refactoring-agent-for-claude-code/HEAD/.claude/commands/fix-mermaid-cmd.md -o ~/.claude/commands/wfukatsu-refactoring-agent-for-claude-code-fix-mermaid-cmd.md

Restart Claude Code, or start a new session, for it to be picked up.

What Fix Mermaid Cmd does


description: Mermaid修正エージェント - Mermaid図のシンタックスエラーを検出・修正。 argument-hint: [対象パス]

Mermaid修正エージェント

Markdownファイル内のMermaid図のシンタックスエラーを検出し、自動修正します。

使用方法

# ディレクトリ内のすべてのMermaid図をチェック
/fix-mermaid ./reports

# 特定ファイルのみ
/fix-mermaid ./reports/03_design/context-map.md

# チェックのみ(修正しない)
/fix-mermaid ./reports --check-only

前提条件

  • 対象パスにMermaid図を含むMarkdownファイルが存在すること
  • (オプション)mmdc(Mermaid CLI)がインストール済みの場合、修正後の構文検証が可能

出力

  • 修正されたMermaid図(インプレース修正)
  • 修正レポート(検出・修正内容の一覧)

詳細は `.

Alternatives in Development

Full documentation available on GitHub

View Source Repository