跳到正文
cccskills
免费在 GitHub 公开中文介绍

release

统筹Paperclip发布流程,从候选版本验证、npm发布到GitHub Release创建及公告后续工作,并支持将已验证的canary测试版升级为稳定版。

原文查看原文说明

Coordinate a full Paperclip release across engineering verification, npm, GitHub, smoke testing, and announcement follow-up. Use when leadership asks to ship a release, not merely to discuss versioning.

集成工具GitHub
AI 评分90分/ 100查看安装方法

适用场景

  • 统筹Paperclip完整发布流程
  • 将已验证的canary升级为稳定版
  • 通过Docker检查候选版本
  • 跟进变更日志与公告工作

中文介绍

功能

统筹Paperclip从候选版本选择、验证到npm发布、GitHub Release创建及公告后续工作的全过程。结合release-changelog起草变更日志,执行类型检查、测试和构建,并通过Docker确认主要功能,报告各阶段状态。

适用场景

适合实际发布版本,或将已验证的canary测试版升级为稳定版时使用。还会检查网站变更日志和社交媒体公告的后续工作。启用Cases时,会创建整体发布案例及博客文章、系列帖子的子案例,将相关工作关联起来。

使用示例

  • “将这个已验证的canary升级为稳定版。”
  • “用指定提交预演稳定版发布。”
  • “推进发布,并汇总发布和公告后续工作的状态。”

注意事项

需要可用的release-changelog、包含未跟踪文件在内的干净工作区,以及npm发布权限等前提。变更日志须在发布前由人工审核。稳定版从选定且已验证的提交手动升级;canary功能检查失败时停止发布。若因Cases被禁用而拒绝操作,需要运维人员修改配置。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好明确以发布请求为起点,涵盖候选选择、稳定版发布及公告后续工作。
步骤具体性步骤、输入输出和示例是否具体
A良好列出了验证命令、Docker检查项、发布步骤和Cases请求格式。
安全性发送数据、删除文件、执行命令等是否有说明
A良好要求发布前人工审核变更日志,前提不满足或功能检查失败时停止。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足明确了npm发布权限等前提,但未提供pnpm和Docker安装步骤。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月20日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md9.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Release Coordination Skill

Run the full Paperclip maintainer release workflow, not just an npm publish.

This skill coordinates:

  • stable changelog drafting via release-changelog
  • canary verification and publish status from master
  • Docker smoke testing via scripts/docker-onboard-smoke.sh
  • manual stable promotion from a chosen source ref
  • GitHub Release creation
  • website / announcement follow-up tasks
  • release-content Cases dogfood: a top-level release case with child blog_post and tweet_storm cases, all linked to the release issue/run

Trigger

Use this skill when leadership asks for:

  • "do a release"
  • "ship the release"
  • "promote this canary to stable"
  • "cut the stable release"

Preconditions

Before proceeding, verify all of the following:

  1. .agents/skills/release-changelog/SKILL.md exists and is usable.
  2. The repo working tree is clean, including untracked files.
  3. There is at least one canary or candidate commit since the last stable tag.
  4. The candidate SHA has passed the verification gate or is about to.
  5. If manifests changed, the CI-owned pnpm-lock.yaml refresh is already merged on master.
  6. npm publish rights are available through GitHub trusted publishing, or through local npm auth for emergency/manual use.
  7. If running through Paperclip, you have issue context for status updates and follow-up task creation.

If any precondition fails, stop and report the blocker.

Inputs

Collect these inputs up front:

  • whether the target is a canary check or a stable promotion
  • the candidate source_ref for stable
  • whether the stable run is dry-run or live
  • release issue / company context for website and announcement follow-up

Step 0 — Release Model

Paperclip now uses a commit-driven release model:

  1. every push to master publishes a canary automatically
  2. canaries use YYYY.MDD.P-canary.N
  3. stable releases use YYYY.MDD.P
  4. the middle slot is MDD, where M is the UTC month and DD is the zero-padded UTC day
  5. the stable patch slot increments when more than one stable ships on the same UTC date
  6. stable releases are manually promoted from a chosen tested commit or canary source commit
  7. only stable releases get releases/vYYYY.MDD.P.md, git tag vYYYY.MDD.P, and a GitHub Release

Critical consequences:

  • do not use release branches as the default path
  • do not derive major/minor/patch bumps
  • do not create canary changelog files
  • do not create canary GitHub Releases

Step 1 — Choose the Candidate

For canary validation:

  • inspect the latest successful canary run on master
  • record the canary version and source SHA

For stable promotion:

  1. choose the tested source ref
  2. confirm it is the exact SHA you want to promote
  3. resolve the target stable version with ./scripts/release.sh stable --date YYYY-MM-DD --print-version

Useful commands:

git tag --list 'v*' --sort=-version:refname | head -1
git log --oneline --no-merges
npm view paperclipai@canary version

Step 2 — Draft the Stable Changelog

Stable changelog files live at:

  • releases/vYYYY.MDD.P.md

Invoke release-changelog and generate or update the stable notes only.

Rules:

  • review the draft with a human before publish
  • preserve manual edits if the file already exists
  • keep the filename stable-only
  • do not create a canary changelog file

Step 3 — Verify the Candidate SHA

Run the standard gate:

pnpm -r typecheck
pnpm test:run
pnpm build

If the GitHub release workflow will run the publish, it can rerun this gate. Still report local status if you checked it.

For PRs that touch release logic, the repo also runs a canary release dry-run in CI. That is a release-specific guard, not a substitute for the standard gate.

Step 4 — Validate the Canary

The normal canary path is automatic from master via:

  • .github/workflows/release.yml

Confirm:

  1. verification passed
  2. npm canary publish succeeded
  3. git tag canary/vYYYY.MDD.P-canary.N exists

Useful checks:

npm view paperclipai@canary version
git tag --list 'canary/v*' --sort=-version:refname | head -5

Step 5 — Smoke Test the Canary

Run:

PAPERCLIPAI_VERSION=canary ./scripts/docker-onboard-smoke.sh

Useful isolated variant:

HOST_PORT=3232 DATA_DIR=./data/release-smoke-canary PAPERCLIPAI_VERSION=canary ./scripts/docker-onboard-smoke.sh

Confirm:

  1. install succeeds
  2. onboarding completes without crashes
  3. the server boots
  4. the UI loads
  5. basic company creation and dashboard load work

If smoke testing fails:

  • stop the stable release
  • fix the issue on master
  • wait for the next automatic canary
  • rerun smoke testing

Step 6 — Preview or Publish Stable

The normal stable path is manual workflow_dispatch on:

  • .github/workflows/release.yml

Inputs:

  • source_ref
  • stable_date
  • dry_run

Before live stable:

  1. resolve the target stable version with ./scripts/release.sh stable --date YYYY-MM-DD --print-version
  2. ensure releases/vYYYY.MDD.P.md exists on the source ref
  3. run the stable workflow in dry-run mode first when practical
  4. then run the real stable publish

The stable workflow:

  • re-verifies the exact source ref
  • computes the next stable patch slot for the chosen UTC date
  • publishes YYYY.MDD.P under dist-tag latest
  • creates git tag vYYYY.MDD.P
  • creates or updates the GitHub Release from releases/vYYYY.MDD.P.md

Local emergency/manual commands:

./scripts/release.sh stable --dry-run
./scripts/release.sh stable
git push public-gh refs/tags/vYYYY.MDD.P
./scripts/create-github-release.sh YYYY.MDD.P

Step 7 — Finish the Other Surfaces

Create or verify follow-up work for:

  • website changelog publishing
  • launch post / social announcement
  • release summary in Paperclip issue context

These should reference the stable release, not the canary.

Step 8 — Emit Release-Content Cases

When Cases are enabled, every stable release-content run must materialize a deterministic case tree. This is part of the release dogfood path, not an optional artifact. If the API returns 403 Cases are disabled, stop and report that the operator must enable experimental.enableCases.

Use the current release issue's PAPERCLIP_COMPANY_ID, PAPERCLIP_API_URL, PAPERCLIP_API_KEY, and PAPERCLIP_RUN_ID. Include X-Paperclip-Run-Id on all writes so the case activity feed can attribute the run back to the issue.

Create or upsert the parent release case first:

POST /api/companies/:companyId/cases
{
  "caseType": "release",
  "key": "paperclip-release:vYYYY.MDD.P",
  "title": "Paperclip vYYYY.MDD.P release",
  "summary": "Stable release content package for Paperclip vYYYY.MDD.P.",
  "status": "in_progress",
  "fields": {
    "schema_version": 1,
    "version": "vYYYY.MDD.P",
    "release_date": "YYYY-MM-DD",
    "source_ref": "git-sha-or-ref",
    "stable": true,
    "channels": ["changelog", "blog_post", "tweet_storm"],
    "artifacts": {
      "changelog_path": "releases/vYYYY.MDD.P.md",
      "github_release_url": null
    },
    "verification": {
      "typecheck": "unknown",
      "tests": "unknown",
      "build": "unknown",
      "smoke": "unknown"
    },
    "notes": null
  }
}

The fields schema intentionally uses all generic JSON value types: strings, numbers, booleans, arrays, objects, and nulls. Send the complete fields object on each upsert because case fields replace as a whole object.

Write the parent body document immediately after the upsert:

PUT /api/cases/:releaseCaseId/documents/body
{
  "title": "Paperclip vYYYY.MDD.P release body",
  "format": "markdown",
  "body": "# Paperclip vYYYY.MDD.P\n\nRelease summary and links...",
  "changeSummary": "Initial release case body"
}

Then create or upsert these child cases with parentCaseId set to the release case id:

  • blog_post, key paperclip-release:vYYYY.MDD.P:blog-post, status in_progress, body document key body
  • tweet_storm, key paperclip-release:vYYYY.MDD.P:tweet-storm, status in_progress, body document key body

Use deterministic keys exactly so rerunning the release-content flow upserts the same three cases instead of duplicating them. After the child body documents are written, list the resulting case identifiers and links in the release issue and in the parent acceptance issue when one exists.

Failure Handling

If the canary is bad:

  • publish another canary, do not ship stable

If stable npm publish succeeds but tag push or GitHub release creation fails:

  • fix the git/GitHub issue immediately from the same release result
  • do not republish the same version

If latest is bad after stable publish:

./scripts/rollback-latest.sh <last-good-version>

Then fix forward with a new stable release.

Output

When the skill completes, provide:

  • candidate SHA and tested canary version, if relevant
  • stable version, if promoted
  • verification status
  • npm status
  • smoke-test status
  • git tag / GitHub Release status
  • website / announcement follow-up status
  • release-content case tree links: parent release case plus blog_post and tweet_storm children
  • rollback recommendation if anything is still partially complete

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

add-product-e2e-eval

免费有简介AI 评分 90分

为Paperclip新增或扩展贯穿真实浏览器、服务器、数据库和runner的端到端评估,整理测试数据、判定条件与证据,并在现有报告中查看操作结果。

  • 新增完整用户操作流程的评估
  • 更新测试数据与判定条件
  • 在评估报告中加入截图和产物
paperclipai/paperclip10.5万2026年10月19日 更新

add-runner-eval

免费有简介AI 评分 90分

为Paperclip Runner添加或扩展行为评估,定义判定条件、执行目标和报告验证数据,利用正常及异常证据验证结果,并保留执行记录与费用。

  • 添加Runner行为评估
  • 用有效与无效证据检验判定
  • 更新执行列表和持续评估
paperclipai/paperclip10.5万2026年10月19日 更新

agent-browser

免费有简介AI 评分 90分

通过实际浏览器操作网页和应用,检查界面显示与运行情况。结合截图、简单表单填写、错误及网络请求记录,帮助复现问题并确认操作结果。

  • 检查界面修改后的显示效果
  • 读取由JavaScript渲染的内容
  • 复现界面问题并记录错误
paperclipai/paperclip10.5万2026年10月19日 更新

agentmail

免费有简介AI 评分 100分

通过 Paperclip 分配的 AgentMail 收件箱,查看任务关联邮件、发送新邮件或回复,并核查投递结果;重试时保留相同标识,避免重复发送。

  • 查看所负责任务关联的邮件
  • 从分配的收件箱发送新邮件
  • 回复会话中的指定邮件
paperclipai/paperclip10.5万2026年10月19日 更新

check-pr

免费有简介AI 评分 80分

检查GitHub、GitLab和Perforce变更中的评审意见、自动检查失败及说明缺漏,整理待办事项,并按请求协助修改和解决已处理的讨论。

  • 提交变更前进行检查
  • 确认失败的检查和待修改项
  • 整理人工及机器人评审意见
paperclipai/paperclip10.5万2026年10月19日 更新

company-creator

免费有简介AI 评分 100分

根据构想或现有代码仓库,梳理AI智能体的职责、汇报关系与工作交接,生成符合规范的公司或团队文件包,供组织协作和导入Paperclip使用。

  • 从构想建立智能体公司
  • 将代码仓库整理为团队
  • 设计职责分工与工作交接
paperclipai/paperclip10.5万2026年10月19日 更新

查看 paperclipai 的全部技能

报告此技能的问题