Comet Safe Delivery

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

3,306 stars 317 forksGit & Code Review

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add rpamis/comet --skill comet-safe-delivery
Manual install
git clone --depth 1 https://github.com/rpamis/comet.git /tmp/comet
mkdir -p ~/.claude/skills
cp -r /tmp/comet/assets/skills-maintainer/comet-safe-delivery ~/.claude/skills/comet-safe-delivery

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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 或分支前,确认关联关系、准确目标和可恢复性;不得强制删除宽泛或未解析的路径。
Read the full skill on GitHub

Details

Skill name
comet-safe-delivery
Repository
rpamis/comet
Path
assets/skills-maintainer/comet-safe-delivery/SKILL.md
License
MIT
Repo updated
18 November 2026

FAQ

What does the Comet Safe Delivery skill do?

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

How do I install the Comet Safe Delivery skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add rpamis/comet --skill comet-safe-delivery. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Comet Safe Delivery popular?

It lives in rpamis/comet, which has 3,306 GitHub stars and 317 forks.

Related skills

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.