From 72573a5b179de7798bbb7c4aeacdc0df6bf62439 Mon Sep 17 00:00:00 2001 From: czm Date: Sun, 18 Oct 2026 10:33:58 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20SKILL=20=E8=A1=A5=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E7=BA=A2=E7=BA=BF=E3=80=81=E5=A4=87=E9=80=89=E5=8F=AF=E5=86=99?= =?UTF-8?q?=E3=80=8C=E6=97=A0=E3=80=8D=E3=80=81=E9=AA=8C=E8=AF=81=E6=94=B9?= =?UTF-8?q?=E7=A1=AC=E6=80=A7=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Code --- skills/write-notes-like-deepseek/SKILL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/skills/write-notes-like-deepseek/SKILL.md b/skills/write-notes-like-deepseek/SKILL.md index bf51a52..dec86bb 100644 --- a/skills/write-notes-like-deepseek/SKILL.md +++ b/skills/write-notes-like-deepseek/SKILL.md @@ -78,6 +78,8 @@ description: Use when a change is non-trivial by DSH standards (behavior, archit ## 2. 文件格式(检查脚本会核对) +正文一律用简体中文撰写(代码、命令、专有名词除外),与触发任务的输入语言无关。 + 前三行固定: ```markdown @@ -92,7 +94,7 @@ Status: <状态> - `implemented`:`## Problem` → `## Decision`(现在时) → …自由节… → `## Alternatives considered` → `## Consequences` - `rejected`:冻结的 proposal 形态,结论在 `Status:` 行 -> 备选方案必填:只记录真实考虑过的对手方案,先写它最强的理由再否定。没有过的选项不要编。「不做 / 复用现状」仅当当时真的权衡过才写。脚本只检查有没有 `## Alternatives considered`。 +> 备选方案必填:只记录真实考虑过的对手方案,先写它最强的理由再否定。没有过的选项不要编。「不做 / 复用现状」仅当当时真的权衡过才写。脚本只检查有没有 `## Alternatives considered`。确实没有真实备选时,保留节标题、正文写「无」即可过检,不要为凑数编造。 > `implemented` 的 `## Decision` 用现在时;门禁只拒提案标题(`## Proposal` / `## Plan` / `## Migration plan` / `## Acceptance criteria` 及其中文别名)。展开见 `references/note-format.md`。 模板见 `templates/`。 @@ -164,6 +166,8 @@ npm run bundle-board # 打包内嵌全量数据的自包含 demo.h 脚本位于本 Skill 的 `scripts/`,从**宿主项目根目录**调用,默认检查当前目录下的 `.agents/notes/`。先根据已加载的 `SKILL.md` 路径确定 Skill 位置,不要假定宿主根目录存在 `scripts/`,也不要切换到 Skill 目录执行。安装不会自动配置宿主的 npm scripts。 +写完或改完任何笔记后必须运行验证:有 npm script 用 `npm run verify-notes`,没有就用下方 `npx tsx` 命令——不得以「未配置校验入口」为由跳过。 + 项目级安装到 `.agents/skills/` 时,可直接执行: ```sh