Skip to content
cccskills
FreePublished on GitHub

comet-safe-delivery

在保护无关脏改动、关联 worktree、子模块和用户明确边界的前提下,提交、推送、合并或完成范围明确的 Comet 变更。用户要求提交、推送、合并回目标分支、清理 worktree 或交付已准备好的改动时使用。

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md1.8 KB
  • agents/openai.yaml249 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Comet 安全交付

先读取 ../comet-github/references/maintainer-contract.md。只有用户明确授权后才执行 Git 交付动作;本 Skill 永远不会发布到 npm。

交付前检查

  1. 记录当前分支、upstream、git status --short --branch 和 git worktree list --porcelain。
  2. 检查 diff,确定准确的目标路径。如果与无关改动重叠,先确认范围。
  3. 确认目标分支和 remote,不要静默切换分支或改变交付目标。
  4. 涉及子模块时,先确认子模块自己的分支/状态;得到授权交付时,先提交子模块,再更新父仓库 gitlink。

暂存与验证

  • 只暂存明确的目标路径;混合工作区中不要使用宽泛的暂存命令。
  • 检查 git diff --cached --name-status、git diff --cached --stat 和 git diff --cached --check。
  • 让仓库 pre-commit hook 正常运行。如果 hook 修改了暂存内容,重新检查暂存文件名和 diff。
  • 使用带类型前缀的提交信息,例如 fix: ...、docs: ... 或 chore: ...。

交付

只提交已确认的暂存范围,只推送用户明确指定的分支和 remote。完成后验证本地状态、commit SHA、upstream 关系和远端分支 SHA。分别报告 commit、push 和线上 CI 状态。

除非另行要求,不创建 PR、不合并远端分支、不删除分支、不移除 worktree、不改写历史。删除 worktree 或分支前,确认关联关系、准确目标和可恢复性;不得强制删除宽泛或未解析的路径。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

The English summary is being prepared. Showing the original description.

rpamis/comet3.2KUpdated Oct 20, 2026

comet

Free

Use when 用户要启动或恢复 Comet 工作流,需要根据 active change、.comet.yaml、hotfix/tweak 意图路由到对应阶段 Skill。

The English summary is being prepared. Showing the original description.

rpamis/comet3.2KUpdated Oct 20, 2026

comet

Free

Comet — OpenSpec + Superpowers dual-star development workflow. Start with /comet for automatic phase detection and dispatch to subcommands. Five phases: open → design → build → verify → archive.

The English summary is being prepared. Showing the original description.

rpamis/comet3.2KUpdated Oct 20, 2026

comet

Free

Comet workflow entry. Use when the user invokes /comet or asks to use Comet without choosing Native or Classic; load Native or Classic from project configuration.

The English summary is being prepared. Showing the original description.

rpamis/comet3.2KUpdated Oct 20, 2026

comet

Free

Comet 工作流入口。当用户明确调用 /comet,或明确要求使用 Comet 但未指定 Native/Classic 时使用;按项目配置加载 Native 或 Classic。

The English summary is being prepared. Showing the original description.

rpamis/comet3.2KUpdated Oct 20, 2026

通过 Comet Creator 创建或升级 Comet Classic workflow Skill。不用于一般 Skill 的编写、整理或评审。

The English summary is being prepared. Showing the original description.

rpamis/comet3.2KUpdated Oct 20, 2026

See all skills by rpamis

Report a problem with this skill