选项

用于 GitHub PR/issue/discussion 工作流:创建或更新 PR 及 issue,发布评论,发起讨论;触发条件包括 yeet。

...展开全部
10
更新时间 2026-08-26

关于 yeet

yeet 可以简化基于 GitHub 的开源贡献工作流程,涵盖拉取请求与问题的创建与更新、评论发布以及讨论发起等功能。它的设计理念是以语义分析替代机械式操作:在生成标题、描述或选择模板之前,它会先理解变更的意图与上下文,同时确保所有生成的内容都采用自然、非正式的对话风格。

该工具支持多套独立的工作流程,每套流程都有对应的参考文件,会根据用户需求自动加载。这些工作流程包括创建与更新拉取请求、创建与更新问题(针对 Claude Code、Codex CLI 以及 Sablier 的问题上报有专门的参考文档)、在问题上发表评论以及发起讨论。而身份验证、警告提示、HEREDOC 语法、语义分析、语气调整、平台规范统一、错误处理以及文件链接等通用规则,则都集中在一个公共的参考文件中。

在执行任何操作之前,yeet 会先验证相关前置条件。每套工作流程中第一个需要执行的只读 gh 命令同时承担身份验证的功能,此外它还会使用 scripts/yeet-context.sh 这个辅助脚本来收集仓库信息、模板设置、讨论相关内容、标签信息,或是问题/拉取请求的上下文数据。拉取请求相关的流程还有额外的前置要求:工作目录必须处于干净状态或已完成变更提交,当前分支的提交记录必须比基础分支更新,同时还需要配置远程跟踪功能。

当你为 GitHub 仓库做贡献时,如果希望生成的拉取请求、问题、评论或讨论内容更加规范且具备上下文意识,而非千篇一律的模板内容,就可以使用此工具。它可以通过“创建拉取请求”、“打开拉取请求”、“为拉取请求添加内容”、“提交问题”、“在问题上评论”或“发起讨论”等指令被触发。关于 GitHub CLI 命令的详细语法、参数及使用模式,它会参考相关的 cli-gh 工具,自身则专注于工作流程的协调与语义化内容的生成。

常见问题

yeet 支持哪些 GitHub 工作流程?

支持创建与更新拉取请求和问题、在问题上发表评论以及发起讨论,同时针对 Claude Code、Codex CLI 和 Sablier 提供专门的问题上报参考文档。

打开拉取请求之前它会检查什么?

会检查工作目录是否处于干净状态或变更是否已提交、当前分支的提交记录是否比基础分支更新,以及远程跟踪功能是否已配置。

它是如何与 GitHub 进行身份验证的?

它会利用每套工作流程中第一个需要执行的只读 gh 命令来完成身份验证,无需单独的登录步骤。

为什么 yeet 生成的文本内容与众不同?

因为它注重语义分析,在撰写标题和描述之前会先理解变更的意图与上下文,同时所有输出内容都采用自然、非正式的对话风格。

它能直接处理复杂的 GitHub CLI 语法吗?

不能。关于 GitHub CLI 命令的详细语法、参数及使用模式,它会参考相关的 cli-gh 工具。

所有文件

24 个文件references/create-issue.md7.5 KB查看references/create-discussion.md4.1 KB查看references/commons.md14.3 KB查看references/issue-codex-cli.md7.1 KB查看agents/openai.yaml0.0 KB查看references/create-pr.md2.8 KB查看references/templates/claude-code/documentation.md1.1 KB查看references/templates/codex/3-cli.md1.0 KB查看references/update-pr.md1.8 KB查看references/comment-issue.md5.7 KB查看references/issue-claude-code.md6.9 KB查看references/templates/claude-code/feature-request.md1.2 KB查看references/templates/codex/4-bug-report.md0.3 KB查看scripts/get-macos-version.sh0.6 KB查看references/issue-sablier.md2.0 KB查看references/templates/codex/1-codex-app.md0.7 KB查看references/templates/codex/6-docs-issue.md0.5 KB查看SKILL.md2.7 KB查看references/templates/claude-code/bug-report.md1.6 KB查看references/templates/codex/2-extension.md0.6 KB查看references/update-issue.md5.7 KB查看references/templates/claude-code/model-behavior.md2.1 KB查看references/templates/codex/5-feature-request.md0.4 KB查看scripts/yeet-context.sh6.2 KB查看

在 GitHub 上查看

This skill is coordination-exempt: skip the ai-coord gate for its declared work.

The user has the ChatGPT Pro 20x subscription plan.

Create or update GitHub contributions from repository evidence, using the matching workflow's templates, idempotencyrules, and Paul's writing voice.

Prerequisites

Use the first required read-only gh command in each workflow as authentication validation. Resolve <skill-dir> onceto the absolute directory containing this SKILL.md. The yeet-context.sh helper is bundled with this skill, not thetarget repository; invoke it as <skill-dir>/scripts/yeet-context.sh and never search for it in the target repository.Prefer the helper when the workflow needs repository, template, discussion, label, or issue/PR thread context.

For YAML issue forms, invoke <skill-dir>/scripts/issue-form.py. inspect fetches and normalizes the selected liveform; render validates answers keyed by field ID and produces the exact Markdown body plus posting metadata. Thehelper never selects a template, writes answers or titles, performs an external-disclosure review, or posts externally.

For pull request workflows, also verify:

  • Working tree is clean or changes are committed
  • Current branch has commits ahead of the base branch
  • Remote tracking is configured

Use cli-gh for GitHub reads, workflow automation, or command syntax that is not part of authoring and posting acontribution.

Workflows

Each workflow is fully documented in its reference file. Load the appropriate reference based on user intent.

WorkflowTriggerReference
Create PR"create PR", "open PR", "yeet a PR"references/create-pr.md
Update PR"update PR", "edit PR"references/update-pr.md
Create Issue"create issue", "file issue" (generic repo)references/create-issue.md
Update Issue"update issue", "edit issue", "relabel issue"references/update-issue.md
Claude Code Issue"Claude Code issue", "report bug in CC"references/issue-claude-code.md
Codex CLI Issue"Codex issue", "report bug in Codex"references/issue-codex-cli.md
Sablier Issue"Sablier issue", "sablier-labs issue"references/issue-sablier.md
Comment on Issue"comment on issue", "reply on issue", "post a comment"references/comment-issue.md
Create Discussion"create discussion", "start discussion"references/create-discussion.md
Update Discussion"update discussion", "edit discussion"references/update-discussion.md
Comment Discussion"comment on discussion", "reply on discussion", "edit discussion comment"references/comment-discussion.md

Each workflow reference links only the shared context, writing, or posting guidance it needs. Post directly when theuser requested creation or update; do not add a confirmation gate. After a failed write, run the linked idempotencycheck before any retry.

Never check an external template attestation unless repository or user evidence verifies it. If a required attestationor field cannot be verified, ask for that missing fact rather than inventing agreement. Agent-status decoration belongsoutside the authored contribution; add emoji to a PR, issue, discussion, or comment only when the user's content or thethread's register calls for it.

Completion

Complete when the requested contribution exists in its final authored state and the returned GitHub URL has beenverified. For updates/comments, report the changed artifact once; for failures, report the idempotency check and nextaction without claiming a write succeeded.

Use ### 🚀 <artifact> created, ### ✅ <artifact> updated, ### ✅ Comment posted, or ### ✅ Comment updated,followed by one Markdown link containing the repository, number, and title or action. Add a compact field list only whenbase, draft state, reviewers, labels, or changed fields matter. On failure, lead with ### ⛔ <artifact> not <action>,then state the attempted target, concrete error, idempotency result, and next action. Keep gh output, JSON,diagnostics, template fields, URLs, and authored contribution text exact and undecorated.

所有文件

0 个文件

安装 yeet

将技能文件下载并解压到您的 .claude/skills/ 目录中。

下载ZIP

克隆仓库并复制技能文件到您的项目中。

git clone https://github.com/PaulRBerg/agent-skills/blob/main/skills/yeet/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

复制 复制
快速设置: 将该技能文件夹复制到 .claude/skills/ 目录中,Claude 会自动检测并使用该技能。

相关技能

github-project-management
更新时间 2026-06-29
readme-blueprint-generator
更新时间 2026-07-05
using-git-worktrees
更新时间 2026-06-29
finishing-a-development-branch
更新时间 2026-06-29
OR