mutlumehmet/claude-plugins/tree/main/plugins/dash-guard

Claude が prose に em dash、en dash、または句読点として使った二重ハイフンを含めて書くのを拒否し、書き直す行を Claude に伝える Claude Code mod。
mutlumehmet/claude-plugins/tree/main/plugins/dash-guard

dash-guard は、em dash、en dash、または句読点として使われた二重ハイフンを含む書き込みをブロックして prose のスタイルを守る Claude Code プラグインです。Markdown とテキストファイルへの Write、Edit 呼び出し、および設定した MCP ツール名を確認しますが、コードファイル、囲みコード、インラインコード、HTML コメント、CLI flags はそのままにします。編集前から存在した dash は報告しないため、既存ファイルも編集できます。/dash-guard off|on のセッション切り替え、禁止する dash 種類と MCP ツール正規表現の設定に対応し、ネットワーク呼び出しやテレメトリーはありません。Claude Code 2.1.287 以降のインストール手順も含みます。
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add mutlumehmet/claude-plugins claude plugin install dash-guard
A Claude Code mod that refuses prose Claude writes with an em dash, an en dash or a double hyphen used as punctuation, and tells Claude which lines to rewrite. Part of claude-plugins.
git reset --hard./dash-guard off|on for the session.| Setting | Default | What it does |
|---|---|---|
| banned | all three | Comma separated: em, en, double |
| tools | empty | A regular expression of MCP tool names to check too, such as ^mcp__notion__.*(create\|update).*$ |
tools setting.tool.call on Write, Edit and the matching MCP tools may refuse that one call; it never changes a call's input. command.run answers its own /dash-guard command and no other.Needs Claude Code 2.1.287 or later (mods). Tested on 2.1.289.
/plugin marketplace add mutlumehmet/claude-plugins
/plugin install dash-guard@mehmetmutlu
A mod runs inside Claude Code with your permissions. Read the code before you install any mod.
Settings are asked for at install, or later with /plugin configure dash-guard@mehmetmutlu.
cat > file) goes around it.Made by Mehmet Mutlu, part of claude-plugins. More of his work at mehmetmutlu.dev.