Overview
- Skill Key
- chinasilva/peter-commit-ops
- Author
- chinasilva
- Source Repo
- openclaw/skills
- Version
- 1.1.0
- Source Path
- skills/chinasilva/peter-commit-ops
- Latest Commit SHA
- db9d96adeb98f425153ebb586a917b4eb59c7fb6
提交与建 PR 桥接自动化。负责将“可提交”改动落成 commit、推送分支并创建 PR,衔接 peter-code-review 与 peter-pr-ops。用于用户提到“帮我提交”“推分支”“创建 PR”“从 review 到 merge 串起来”等场景。
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 peter-commit-ops 技能。 若已安装,则直接安装 peter-commit-ops 技能。
# Peter Commit Ops ## 30 秒简介 用于“把可提交改动变成可收口 PR”。 它聚焦 4 件事: 1. 检查是否满足提交前门禁 2. 原子化暂存并创建规范 commit 3. 推送分支并创建/更新 PR 4. 输出可继续交给 CI/PR 收口的状态 ## 适用场景 - 用户提到“帮我 commit”“帮我 push”“创建 PR” - 已完成 `peter-code-review`,结论为“可提交”或“可提交(高风险)” - 需要把本地改动接入 `peter-ci-gate` 和 `peter-pr-ops` ## 执行步骤 1. 前置确认: ```bash git status -s git rev-parse --abbrev-ref HEAD ``` - 若工作区为空:停止并提示“无可提交改动”。 - 若上一步审查结论是“需修复后提交”:停止并要求先修复问题。 - 若上一步审查结论是“可提交(高风险)”:允许继续,但必须在交接输出中显式标注风险并建议优先执行 `peter-ci-gate`。 2. 分支策略: ```bash git rev-parse --abbrev-ref HEAD ``` - 若在 `main`/`master`:创建并切换特性分支(例如 `feat/<topic>`、`fix/<topic>`)。 - 若已在特性分支:继续使用当前分支。 3. 原子暂存与提交: ```bash git diff --name-only git add <files> ``` - 默认只暂存当前任务相关文件,避免混入无关改动。 - 提交前执行(若存在): ```bash npm run workflow:check # 若仓库未定义该命令,回退: # tools/workflow-check.sh --staged 或 scripts/workflow-check --staged ``` - 提交: ```bash git commit -m "feat: <summary>" ``` - 提交信息遵循仓库约定:`feat|fix|chore|docs: <简述>`。 4. 推送与 PR: ```bash git push -u origin <branch> gh pr create --fill ``` - 若已存在 PR:改为输出 PR 链接并提示进入 CI gate。 - 若 `gh` 不可用:输出手工创建 PR 的比较链接。 5. 交接输出: - commit SHA - branch 名称 - PR URL(或阻塞原因) - 下一步建议:`peter-ci-gate` 或 `peter-pr-ops` - 若审查为“可提交(高风险)”,必须附: - 风险摘要(例如 `GATE_DB_UNREACHABLE`) - 强制建议先执行 `peter-ci-gate` 再考虑合并 ## 输出格式(固定) 1. `## 提交与 PR 报告` 2. `### 前置检查`(工作区/分支/门禁) 3. `### 执行动作`(add/commit/push/pr) 4. `### 产出物`(SHA、branch、PR) 5. `### 结论`(`已进入 CI 阶段` / `阻塞`) ## 护栏 - 审查未通过时,不提交。 - 默认不使用 `git add .`,除非用户明确要求。 - 禁止直接推送到 `main`/`master`。 - 推送或建 PR 失败时,必...
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
carlulsoe
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, or processing voice recordings locally without cloud APIs.
carlzhao007
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化。 使用场景:飞书自动化工作流、任务进度追踪、批量任务处理、需要实时反馈的场景。
cartoonitunes
BottyFans agent skill for autonomous creator monetization. Lets AI agents register, build a profile, publish posts (public, subscriber-only, or pay-to-unlock), upload media, accept USDC subscriptions and tips on Base, send and receive DMs, track earnings, and appear on the creator leaderboard. Use this skill when an agent needs to monetize content, interact with fans, manage a creator profile, handle payments in USDC, or operate as an autonomous creator on the BottyFans platform.
camopel
Local arXiv paper manager with semantic search. Crawls arXiv categories, downloads PDFs, chunks content, and indexes with FAISS + Ollama embeddings. No cloud API keys required — everything runs locally.