← 返回
未分类 中文

Yeet

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
仅在用户明确要求一次性使用 GitHub CLI(gh)完成暂存、提交、推送并打开 GitHub Pull Request 时使用。
patrick-erichsen-2
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 180
下载
💾 2
安装
1
版本
#latest

概述

Prerequisites

  • Require GitHub CLI gh. Check gh --version. If missing, ask the user to install gh and stop.
  • Require authenticated gh session. Run gh auth status. If not authenticated, ask the user to run gh auth login (and re-run gh auth status) before continuing.

Naming conventions

  • Branch: pe/{description} when starting from main/master/default.
  • Commit: conventional commit syntax, for example fix: handle missing config.
  • PR title: conventional commit syntax summarizing the full diff, for example fix: handle missing config.

Workflow

  • If on main/master/default, create a branch: git checkout -b "pe/{description}"
  • Otherwise stay on the current branch.
  • Confirm status, then stage everything: git status -sb then git add -A.
  • Commit tersely with a conventional commit message: git commit -m "{type}: {description}"
  • Run checks if not already. If checks fail due to missing deps/tools, install dependencies and rerun once.
  • Push with tracking: git push -u origin $(git branch --show-current)
  • If git push fails due to workflow auth errors, pull from master and retry the push.
  • Open a PR and edit title/body to reflect the description and the deltas: GH_PROMPT_DISABLED=1 GIT_TERMINAL_PROMPT=0 gh pr create --draft --fill --head $(git branch --show-current)
  • Write the PR description to a temp file with real newlines (e.g. pr-body.md ... EOF) and run pr-body.md to avoid \\n-escaped markdown.
  • PR description (markdown) must be detailed prose covering the issue, the cause and effect on users, the root cause, the fix, and any tests or checks used to validate.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-06-01 12:53

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

Chronicle

patrick-erichsen-2
Allows you to view the user's screen as well as several hours of history. Use when the user makes a reference to their r
★ 0 📥 215

Sprint Plan

patrick-erichsen-2
用于用户请求创建、重写或构建简洁的一周冲刺计划、工程冲刺计划、重点项目计划或对齐文档...
★ 0 📥 216

Test skill

patrick-erichsen-2
在 macOS 上使用 memo CLI 创建、查看、编辑、删除、搜索、移动或导出 AppleNotes。
★ 0 📥 314