Punctuation Fix
Description
# 标点符号规范化命令 自动批量修复 Markdown 文件中的标点符号,确保符合项目翻译标准。 ## 使用方式 ``` /punctuation-fix [路径] ``` **参数**: - `路径` (可选): 要处理的文件或目录路径,默认为项目根目录下所有 `.md` 文件 ## 执行步骤 ### 1. 确定处理范围 根据参数确定要处理的文件: - 如果未指定路径,处理项目根目录下所有 `.md` 文件(排除 `.git/`, `spec-kit/`, `node_modules/` 等目录) - 如果指定的是文件,仅处理该文件 - 如果指定的是目录,处理该目录下所有 `.md` 文件 ### 2. 执行标点符号规范化 使用 `sed` 或 `perl` 进行批量替换,处理以下规则: **中文标点 → 英文标点**: | 中文标点 | 英文标点 | 说明 | |----------|----------|------| | `,` | `, ` | 逗号后添加空格 | | `。` | `. ` | 句号后添加空格 | | `:` | `: ` | 冒号后添加空
Installation
Installs to ~/.claude/commands/linfee-spec-kit-cn-punctuation-fix.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Linfee/spec-kit-cn/HEAD/.claude/commands/punctuation-fix.md -o ~/.claude/commands/linfee-spec-kit-cn-punctuation-fix.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development