---
title: "dashless"
url: "https://claudemods.dev/ko/builds/dashless-83f6b5"
source: "https://github.com/0xGondarxyz/claude-code-mods/tree/main/dashless"
source_type: "github"
repo: "https://github.com/0xGondarxyz/claude-code-mods/tree/main/dashless"
author: "0xGondarxyz"
author_handle: "0xGondarxyz"
stars: 0
category: "워크플로 및 CI"
categories: ["workflow"]
tags: ["claude-code", "em-dash", "hooks", "plugin", "text-formatting"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add 0xGondarxyz/claude-code-mods\nclaude plugin install dashless"
added: "2026-10-05T15:20:58.992Z"
updated: "2026-10-04T03:31:50Z"
locale: "ko"
content_locale: "ko"
---

# dashless

Claude의 응답, Write/Edit 도구 내용, git commit / gh pr 메시지에서 em dash와 en dash를 반영하기 전에 제거하고 상태 줄에 개수를 표시하는 Claude Code 플러그인입니다.

## Description

# dashless

Claude가 작성하는 내용이 반영되기 전에 em dash를 제거합니다. TypeScript 약 80줄입니다.

| 위치 | 수정되는 내용 |
| --- | --- |
| Write 도구 | 파일 내용 |
| Edit 도구 | `new_string`만 해당 (`old_string`은 파일과 일치해야 하므로 건드리지 않음) |
| Bash | `git commit`과 `gh pr` / `gh issue`의 `create`, `edit`, `comment`만 해당하며 다른 명령은 그대로 실행 |
| 응답 | 저장하기 전 Claude 응답의 텍스트 블록 |

재작성 규칙:

| 입력 | 출력 |
| --- | --- |
| 단어 사이의 em dash | 쉼표로 구분된 형태 |
| 줄 시작의 em dash | 제거하고 들여쓰기는 유지 |
| 줄 끝의 em dash | 제거 |
| 공백이 있는 en dash | 쉼표로 구분된 형태 |
| 숫자 범위의 en dash | 변경하지 않음 |
| `--force`, `-- file` | 변경하지 않음 |

상태 줄에는 누적 개수 `dashless: 3 em dashes fixed`가 표시됩니다.

버리는 git 저장소에서 같은 프롬프트를 두 번 실행해 테스트했습니다(파일 작성, 커밋, em dash가 하나 들어간 문장으로 답하기를 각각 수행). 플러그인이 없을 때는 em dash 4개가 반영되었고, 플러그인을 켜면 0개였습니다.

테스트 실행: `claude plugin test dashless`

## Install

```
claude plugin marketplace add 0xGondarxyz/claude-code-mods
claude plugin install dashless
```

## Original README

# dashless


Removes em dashes from what Claude writes, before it lands. About 80 lines of TypeScript.

| Where | What gets fixed |
| --- | --- |
| Write tool | the file content |
| Edit tool | `new_string` only (`old_string` must match the file, so it is never touched) |
| Bash | only `git commit` and `gh pr` / `gh issue` `create`, `edit`, `comment`; every other command runs as is |
| Replies | text blocks in Claude's responses, before they are stored |

Rewrite rules (<code>&mdash;</code> is the em dash, <code>&ndash;</code> the en dash):

<!-- Dashes in this file are HTML entities on purpose. With literal characters, dashless rewrites its own examples whenever Claude edits this file. -->

| Input | Output |
| --- | --- |
| <code>a &mdash; b</code>, <code>a&mdash;b</code> | `a, b` |
| <code>&mdash; item</code> at line start | `item` (indentation kept) |
| <code>done &mdash;</code> at line end | `done` |
| <code>note: &mdash; x</code> | `note: x` |
| <code>a &ndash; b</code> (spaced en dash) | `a, b` |
| <code>1990&ndash;2000</code> (range) | unchanged |
| `--force`, `-- file` | unchanged |

The status line shows a running count: `dashless: 3 em dashes fixed`.

Tested by running the same prompt twice in a throwaway git repo (write a file, commit it, reply with a sentence, each with an em dash). Without the mod 4 em dashes landed; with it, 0.

Run its tests: `claude plugin test dashless`
