# Chinese Quote Converter

> Convert English straight quotation marks ("...") to Chinese curved quotation marks ("..." U+201C/D). Use when processing Chinese text documents, markdown files, or any content that needs proper Chinese typography with directional quotes. Triggers on keywords like "转换引号", "中文引号", "英文引号转中文", "quote conversion", "convert quotes".

- Skill: `brycewang-stanford/chinese-quote-converter` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add brycewang-stanford/chinese-quote-converter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/brycewang-stanford/chinese-quote-converter/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Design & Media
- Author: brycewang-stanford (https://skillmd.com/u/brycewang-stanford)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/brycewang-stanford/chinese-quote-converter

---


# Chinese Quote Converter

Convert English straight quotes to Chinese curved quotes:
- `"..."` → `"..."` (U+201C / U+201D)
- `'...'` → `'...'` (U+2018 / U+2019)

## Usage

Run the conversion script:

```bash
# Preview conversion (output to stdout)
python3 scripts/convert_quotes.py <input_file>

# Save to new file
python3 scripts/convert_quotes.py <input_file> -o <output_file>

# Modify file in-place
python3 scripts/convert_quotes.py <input_file> --in-place
```

## Features

- Preserves code blocks (```, `, $$) by default
- Handles nested quotes correctly
- Detects English apostrophes (don't, it's) and leaves them unchanged
- Use `--no-preserve-code` to also convert quotes inside code blocks

