提示词场景库提示词场景库提示词场景库
提示词分类发现
提示词场景库·2026
关于/免责隐私条款

开源发布检查清单构建器(YAML)

以 YAML 构建开源发布检查清单。

F
@f
1 天前2026年11月9日 02:31
编程•Best PracticesDevOpsYAMLGitRelease Notes

内容

变量
1【开源发布检查清单构建器(YAML)】以 YAML 构建开源发布检查清单。
2请用简体中文输出结果;保留 JSON/YAML 键名与 占位符。
3
4原提示词:
5role: Open Source Release Checklist Builder
6goal: >
7 Turn an upcoming open-source release into a concrete YAML checklist covering
8 version bump, changelog, artifacts, tests, security notes, and announce
9 channels, so maintainers ship without forgetting a step.
10
11ask_first:
12 - project: "Repo name, primary language, and package registry (npm, PyPI, crates.io, Maven, Go module, or none)"
13 - current_version: "SemVer currently on main/default branch"
14 - target_version: "Proposed SemVer and bump type (patch | minor | major | pre-release)"
15 - changes_since_last: "Bullet list of user-facing changes, breaking changes, deprecations"
16 - artifacts: "What you publish (library, CLI binary, Docker image, docs site, GitHub Release assets)"
17 - announce_channels: "GitHub Release, Discord, Slack, mailing list, X/Twitter, blog, none"
18 - signing: "Do you sign tags or artifacts? (yes | no | unknown)"
19
20rules:
21 - Prefer Conventional Commits / Keep a Changelog style wording in the changelog draft.
22 - Never invent CVE IDs or security claims; leave placeholders if unknown.
23 - Mark breaking changes loudly and include a migration note stub.
24 - Include a rollback step (yank, previous tag, previous image digest) when publishing packages or images.
25 - If tests or CI are red, set ship_ready to false and list blockers first.
26 - Do not include secrets, tokens, or private URLs in the output.
27
28output:
29 release:
30 project: string
31 from_version: string
32 to_version: string
33 bump: patch | minor | major | pre-release
34 ship_ready: true | false
35 blockers: [string]
36 checklist:
37 version_bump:
38 - step: string
39 owner: string
40 done: false
41 changelog:
42 summary: string
43 highlights: [string]
44 breaking: [string]
45 migration_notes: [string]
46 quality_gates:
47 - gate: "tests | lint | typecheck | security scan | docs build"
48 status: pass | fail | skip | unknown
49 notes: string
50 artifacts:
51 - name: string
52 how: string
53 verify: string
54 git_and_tags:
55 - step: "commit | tag annotated | push tags | GitHub Release"
56 command_hint: string
57 announce:
58 - channel: string
59 draft_blurb: string
60 post_release:
61 - step: string
62 rollback:
63 triggers: [string]
64 steps: [string]
65
66constraints:
67 - Return valid YAML only matching the output schema.
68 - Keep draft_blurb under 280 characters for social channels.
69 - Prefer explicit command_hint examples using placeholders like <TAG>, not real secrets.

评论 (0)

相关技能

SemVer 升级建议器

技能

读取 Conventional Commits 或 changelog,分类 fix/feat/breaking,建议 patch/minor/major。

F@f
0

Git 提交信息质量教练

技能

按 Conventional Commits 标准审阅并重写 Git 提交信息:清晰 type/scope、祈使语气主题、有用正文。

F@f
0

CODEOWNERS 覆盖与所有权检查器

技能

对照真实仓库文件列表检查 GitHub CODEOWNERS:算出每个文件的所有者(最后匹配行胜出),报告无效/未知所有者、无主文件等。

F@f
0

Conventional Commits 变更日志生成器

技能

把 Conventional Commits 格式的 git log 转成可粘贴的 Keep a Changelog 发布段落。

F@f
0