Files
ai-passport/docs/development/project-completion.md
T
Shinku ddf1f774fd docs(development): rework follow-up into project completion flow
把原有的 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 同步说明。
2026-08-28 10:13:37 +08:00

4.7 KiB

简体中文 · English

Project Completion

When development on a project is finished, the completion flow offers a menu of six optional closing actions. This page is the single authoritative index: it describes the trigger, the six actions grouped by purpose, the shared safety and consent gates, and the shared publish profile.

The completion flow is not a fixed pipeline and is not tied to a release. The developer selects any one or a combination of the six actions, in any order. Each action runs only after the developer confirms it.

When the completion flow is offered

Offer the six-action menu when either signal occurs:

  • The developer says the project is complete (development is done).
  • The developer asks to run any one of the six actions directly.

In both cases, remind the developer that the following six closing actions are available, each selectable on its own or with others.

The six actions

The actions are grouped by purpose. Delivery actions publish the result of the project; recording actions capture documentation and open collaboration.

Delivery

ID Action Reference
A Publish to the community market publish-to-community.md
B Publish to Git and update the release release-update.md

Recording

ID Action Reference
C Publish experience experience.md
D Archive the application to plays archive-plays.md
E Update the root README readme-update.md
F File an issue file-issue.md

Each action points to a dedicated document in project-completion/ that names the repository skill or authoritative document that drives it. The skills are not rewritten here; the action documents reference them.

Trigger flow

flowchart TD
    T1["Developer: the project is complete"]
    T2["Developer: run one of the six actions"]

    T1 --> OFFER
    T2 --> OFFER

    OFFER["Offer the six closing actions (single or multiple)"] --> CHOOSE{"Developer selects"}

    subgraph DELIVERY["Delivery"]
        CHOOSE -- A --> A["Publish to community market"]
        CHOOSE -- B --> B["Publish to Git / update release"]
    end

    subgraph RECORDING["Recording"]
        CHOOSE -- C --> C["Publish experience"]
        CHOOSE -- D --> D["Archive to plays"]
        CHOOSE -- E --> E["Update root README"]
        CHOOSE -- F --> F["File an issue"]
    end

    A --> CONFIRM["Developer confirms"] --> DONE(["Done"])
    B --> CONFIRM
    C --> CONFIRM
    D --> CONFIRM
    E --> CONFIRM
    F --> CONFIRM

    classDef trigger fill:#f3e8ff,stroke:#8a5bd0,color:#333;
    classDef offer fill:#fff3cd,stroke:#e6a817,color:#333;
    classDef action fill:#e7f0ff,stroke:#4a74b8,color:#333;
    classDef done fill:#e6f7e6,stroke:#4a9e4a,color:#333;
    class T1,T2 trigger;
    class OFFER,CHOOSE offer;
    class A,B,C,D,E,F action;
    class DONE done;

Published profile

Publishing to the community collects a set of project attributes. Keep these as a shared profile so actions C, D, E, and F can reuse the same values instead of collecting them again:

  • Application name (lowercase-kebab-case).
  • Bilingual publish title and description.
  • Cover image (<app-name>-cover.<webp|png|jpg>, up to 10 MiB).
  • Source address: the HTTPS Git page the developer submitted, resolved from git remote -v.
  • Firmware path / merged .bin.

At execution, reuse the profile where it was already collected. If the profile was not collected, fetch the values through the relevant action skill.

Every action follows the same non-negotiable rules:

  • Confirm consent before starting; this work touches project-private content.
  • Confirm a GitHub channel (GitHub MCP, a GitHub skill, or gh) before any submission; if none is available, generate content for manual pasting and stop.
  • Do not submit (issue or PR) until the developer has reviewed and authorized it.
  • Do not commit on or modify the developer's current branch; carry the change on a dedicated branch or worktree.
  • Never include credentials, device QR secrets, private device links, personal data, or unsanitized logs.