commit
仓库创建 2026年2月7日最近提交 1 个月前SkillHot 收录 20 天前
▸ 精选理由
适合自动化日常 git 操作与发布审查流程。
▸ 风险提示
会执行推送与合并操作,可能影响主分支,需谨慎授权。
这个 Skill 做什么
自动分阶段、提交、开 PR 并合并到 main 的 Git 工作流技能。
把变更分阶段地完成 Git 流程:stage、commit、push、开 PR 并合并到 main,但仅在你明确说要 commit/merge/开 PR 时才执行。会先跑质量门、保留 hooks,绝不强制推送或跳过检查。适合把人工确认好的改动安全地上到主分支时使用。
▸ 展开 SKILL.md 英文原文
Stage, commit, push, open a PR, and merge to main. Use ONLY on explicit commit intent — user says "commit", "ship it", "push this", "open a PR", "merge to main", "let's commit this", or prefixes with `/commit`. Do NOT auto-invoke on vague end-of-task phrases ("we're done", "wrap up") — those require explicit confirmation first. Runs the standard commit-PR-merge cycle; never force-pushes or skips hooks.
1.4k
Stars
2.8k
Forks
40
仓库内 Skill
+59
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/commit/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/commit/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Commit, PR, and Merge Stage changes, verify quality gates, commit with a descriptive message, create a PR, and merge to main. ## Steps ### Step 0: Quality Gate (Pre-Commit) **Run before branching.** For every changed `.qmd`, `.tex`, or `.R` file that has quality rubrics, run: ```bash python3 scripts/quality_score.py <changed-file-paths> ``` - If any file scores below **80**, halt and report the findings. The user must either fix the issues or explicitly override with phrases like *"commit anyway"* or *"skip quality gate"*. - If all files score 80+, continue. Spawn the **verifier** agent (via `Task` with `subagent_type=verifier`) to run compilation/render checks on the changed files.
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有