diff --git a/docs/development/experience-notes.md b/docs/development/experience-notes.md index c039d2f..9b8a203 100644 --- a/docs/development/experience-notes.md +++ b/docs/development/experience-notes.md @@ -22,11 +22,12 @@ applications. ## How to add an entry -Each release appends a dated entry with the release (tag or commit) as context. -Follow the repository language rule: keep the default `.md` path in English and -the paired `.zh_CN.md` in Simplified Chinese, aligned in the same change. +Each release may produce **one or more** reusable, post-release learnings; each +is added as its own entry (with the release tag or commit as context). Follow the +repository language rule: keep the default `.md` path in English and the paired +`.zh_CN.md` in Simplified Chinese, aligned in the same change. -Each capture produces one `.md` entry and its paired `.zh_CN.md`, stored under +Each entry is a single `.md` file with its paired `.zh_CN.md`, stored under `docs/experiences//` and named after the entry's content summary in lowercase-kebab-case (for example `audio-compression-trade-offs.md`), so the filename describes the topic instead of an opaque timestamp. `` is the diff --git a/docs/development/experience-notes.zh_CN.md b/docs/development/experience-notes.zh_CN.md index ed36893..7432501 100644 --- a/docs/development/experience-notes.zh_CN.md +++ b/docs/development/experience-notes.zh_CN.md @@ -5,7 +5,7 @@ # 开发经验沉淀 本页是每次固件发布后可复用开发经验的索引——聚焦 fork 相对上游 `docs/` 的差异:开发者在 -fork 上自行创建或变更的 `docs/` 文档。每次采集生成一个 `.md` 及其配对 `.zh_CN.md`,保存在 +fork 上自行创建或变更的 `docs/` 文档。每条经验一个 `.md` 及其配对 `.zh_CN.md`,保存在 [`../experiences/`](../experiences/) 目录下,按贡献者的 GitHub 用户名分组,按 条目内容概要命名(小写连字符)。`experience-pr` skill 生成新条目,并从下面索引链接它。 @@ -17,8 +17,9 @@ fork 上自行创建或变更的 `docs/` 文档。每次采集生成一个 `.md` ## 如何新增一条 -每次发布追加一条带日期的记录,以发布版本(tag 或 commit)作为上下文。遵守仓库语言规则: -默认 `.md` 路径用英文、配套 `.zh_CN.md` 用简体中文,并在同一次变更中保持对齐。 +一次发布可沉淀**一条或多条**可复用经验,每条作为独立条目新增,以发布版本(tag 或 commit)作为 +上下文。遵守仓库语言规则:默认 `.md` 路径用英文、配套 `.zh_CN.md` 用简体中文,并在同一次变更中 +保持对齐。 条目存放在 `docs/experiences//` 下,按条目内容概要命名(小写连字符,例如 `audio-compression-trade-offs.md`),让文件名描述主题,而不是用不透明的时间戳。 diff --git a/skills/experience-pr/SKILL.md b/skills/experience-pr/SKILL.md index 384aa62..956ba7e 100644 --- a/skills/experience-pr/SKILL.md +++ b/skills/experience-pr/SKILL.md @@ -108,14 +108,14 @@ customization to the upstream PR. ## Write the experience entry -Each experience capture produces exactly one `.md` file and its paired -`.zh_CN.md` file under `docs/experiences//`, named after the entry's -content summary in lowercase-kebab-case (for example +Each experience capture may produce **one or more** entries, each as its own +`.md` file with its paired `.zh_CN.md` under `docs/experiences//`, +named after the entry's content summary in lowercase-kebab-case (for example `audio-compression-trade-offs.md`), where `` is the contributing developer's GitHub username (lowercase-kebab-case) grouping that developer's entries together. This repository requires English at the default `.md` path and a paired `.zh_CN.md`, with reciprocal language links and no Chinese prose in the -English file. Link the new entry from the index at +English file. Link each new entry from the index at `docs/development/experience-notes.md`. A developer is not limited to one entry. The archive holds **one or more entries diff --git a/skills/experience-pr/SKILL.zh_CN.md b/skills/experience-pr/SKILL.zh_CN.md index 65b13ab..8d2f125 100644 --- a/skills/experience-pr/SKILL.zh_CN.md +++ b/skills/experience-pr/SKILL.zh_CN.md @@ -82,7 +82,7 @@ comm -23 \ ## 写入经验条目 -每次经验采集只生成一个 `.md` 文件及其配对的 `.zh_CN.md` 文件,放在 +每次经验采集可产出**一条或多条**经验,每条是一个独立的 `.md` 文件并配其 `.zh_CN.md`,放在 `docs/experiences//` 下,按条目内容概要命名(小写连字符,例如 `audio-compression-trade-offs.md`),其中 `` 是贡献开发者的 GitHub 用户名 (小写连字符),把该开发者的条目聚在一起。