把原有的 after-release 三轨道收尾(归档 plays、提 issue、提经验 PR) 重构为「项目开发完成流程」project-completion:一组六项可选动作菜单, 支持单选/多选,用户确认后才执行。 - 新增 docs/development/project-completion.md(唯一权威总索引): 触发时机、按交付/沉淀分组的六项动作、共享安全与同意门槛、 共享发布属性(Publish Profile)、Mermaid 触发流程图。 - 新增 project-completion/ 下六个动作文档(各配中英双语): 发布到社区市场、发布到 Git 并更新版本、发布经验、归档到 plays、 更新根 README、提交 issue;正文引用现有 skill。 - 删除旧的 after-release.md 及其中文版。 - 将全仓库对 after-release 的引用更新为 project-completion (AGENTS、fork-guide、file-issues、CI-build-and-release、 publish-to-community、INDEX、README、三个 skill 文件)。 - 动作 C(发布经验)的经验条目命名适配 main 现状: docs/experiences/<username>/ 按内容摘要命名。 - 发布到 Git 动作补充:Release 默认标题为版本号名,发布后由执行者 完善为「项目功能名 + 版本号」,并在 CI-build-and-release 同步说明。
51 lines
2.0 KiB
Markdown
51 lines
2.0 KiB
Markdown
<p align="right">
|
|
<a href="experience.zh_CN.md">简体中文</a> · <strong>English</strong>
|
|
</p>
|
|
|
|
# Action C: Publish Experience
|
|
|
|
This action captures reusable, durable development experience from a release and
|
|
proposes it as a documentation pull request to the upstream project. It is one
|
|
of the six optional closing actions listed in the [project completion](../project-completion.md).
|
|
|
|
The workflow is driven by the `experience-pr` skill.
|
|
|
|
## Focus
|
|
|
|
Capture the fork's own `docs/` differences from upstream — the documents the
|
|
developer created or changed on this fork. Extract only durable, reusable
|
|
learnings:
|
|
|
|
- What the fork documents or changes that upstream does not, and why.
|
|
- Hardware facts, interfaces, timings, resource budgets, or failure behavior.
|
|
- Build, validation, or release-flow improvements.
|
|
- Generalizations that apply to the next release.
|
|
|
|
## Route
|
|
|
|
Decide where each learning belongs before submitting:
|
|
|
|
- **Upstream the reusable, general experience** — learnings that benefit any
|
|
user and belong in the upstream baseline. Submit as a PR to the upstream
|
|
project.
|
|
- **Keep fork-specific customization in the fork** — product-customized content,
|
|
fork-private business rules, or fork-only assets. Do not submit these
|
|
upstream; record them locally.
|
|
|
|
## Steps
|
|
|
|
1. Confirm consent and a GitHub channel (GitHub MCP, a GitHub skill, or `gh`).
|
|
2. Compare the fork to upstream to find the `docs/` differences.
|
|
3. Extract and route the reusable experience.
|
|
4. Write a single entry under `docs/experiences/<username>/` (one `.md` file plus
|
|
its `.zh_CN.md` peer), named after the entry's content summary in
|
|
lowercase-kebab-case, and link it from the experience index.
|
|
5. Present the change for review, then commit, push to the fork, and open a PR
|
|
only after explicit approval.
|
|
|
|
## Related documents
|
|
|
|
- Experience index: [experience-notes.md](../experience-notes.md)
|
|
- Skill: [experience-pr](../../../skills/experience-pr/SKILL.md)
|
|
- Fork workflow: [fork-guide.md](../../fork-guide.md)
|