dsh-doctor
asdf17128
Find what your DeepSeek Harness (dsh) patches silently broke — dead patches, config fields dropped by whole-config repla…
PROJECT TOPICS
PROJECT README
Claude Code 全局行为规范 Skill:代码注释用中文、Bash 命令附解释、英文步骤附中文翻译、思考链用中文。
把本仓库链接发给 Claude Code,对它说"安装这个 skill",Claude 会按以下步骤自动完成:
下载本仓库的 conventions/SKILL.md:
curl -fsSL https://raw.githubusercontent.com/yyyyolo7a79-sketch/claude-conventions-skill/main/conventions/SKILL.md -o ~/.claude/skills/conventions/SKILL.md
备选(raw 链接超时时用):
curl -fsSL https://api.github.com/repos/yyyyolo7a79-sketch/claude-conventions-skill/contents/conventions/SKILL.md -H "Accept: application/vnd.github.raw" -o ~/.claude/skills/conventions/SKILL.md
Windows 用户目标路径为 C:\Users\<用户名>\.claude\skills\conventions\SKILL.md
若目标文件已存在,先询问用户是否覆盖。
安装完成后提醒用户:新开一个 Claude Code 会话,说"写代码"等触发词即可自动加载。
可用 /skills 命令验证 skill 已注册。
一个 Claude Code 全局行为规范 skill,约束 4 件事:
| 规则 | 内容 |
|---|---|
| 规则 1 | 代码注释/文档默认中文(用户明确要求英文除外) |
| 规则 2 | Bash 命令必须先附中文解释(做什么 + 为什么)再展示 |
| 规则 3 | 输出英文步骤/术语时括号附中文翻译 |
| 规则 4 | 内部思考/推理链以中文为主(术语/专名可保留英文) |
两个核心理念:
复制 conventions/ 文件夹到 ~/.claude/skills/
(Windows 为 C:\Users\<用户名>\.claude\skills\),或把内容并入全局 CLAUDE.md。
安装后新开会话,说"写代码"——如果模型以中文思考链输出说明已生效。
MIT © 2026 yyyyolo7a79-sketch
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。