Yeet

paulrberg/agent-skills/skills/yeet

作者 paulrberg7f1d9025caf7无许可证97 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Use for GitHub PR/issue/discussion workflows: create/update PRs, issues, or discussions and post issue or discussion comments; triggers include yeet.

AI 生成的概览

利用仓库证据和模板自动化 GitHub 拉取请求、议题和讨论工作流。

功能
该技能用于创建、更新 GitHub 拉取请求、议题和讨论,并发表评论。它根据用户意图选择对应的工作流参考文档,通过内置辅助脚本收集仓库上下文,并将 YAML 议题表单渲染为精确的 Markdown 正文。随后直接发布贡献内容,并通过回读产物、报告其 URL 来验证结果。
适用场景
当用户要求创建或编辑拉取请求、提交或更新议题,或发起、更新、评论 GitHub 讨论时使用。它适用于需要模板化正文、幂等性检查和可验证发布的仓库贡献任务。
运行要求
需要已通过身份验证的 GitHub CLI 2.97.0 或更高版本,以及访问 GitHub 的网络连接。该技能附带可执行脚本(yeet-context.sh、issue-form.py、get-macos-version.sh),并依赖 cli-gh 技能。拉取请求工作流还要求工作区干净或更改已提交、当前分支领先于基础分支,并已配置远程跟踪。

GitHub Contribution Workflows

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

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

Prerequisites

Use the first required read-only gh command in each workflow to validate authentication. Resolve <skill-dir> once to the absolute directory containing this SKILL.md.

This skill, rather than the target repository, bundles the yeet-context.sh helper. Invoke it as <skill-dir>/scripts/yeet-context.sh. 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 live form. render validates answers keyed by field ID and produces the exact Markdown body plus posting metadata. The helper never selects a template, writes answers or titles, performs an external-disclosure review, or posts externally. All issue creation and update workflows apply references/context.md > Issue Metadata Permissions before resolving or passing metadata. Rendered template metadata describes requested values, not the viewer's authority to apply them.

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 a contribution.

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. Every authored body or comment must follow posting.md > Model Co-signature [blocked]. When the user requested creation or update, post directly. Do not add a confirmation gate. After a failed write, run the linked idempotency check before any retry.

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

Completion

The workflow is complete when the requested contribution exists in its final authored state and the returned GitHub URL is verified. For updates/comments, report the changed artifact once. Determine the outcome from readback, not the command's exit status: creation can succeed before a metadata mutation fails.

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 when base, draft state, reviewers, labels, or changed fields matter. For verified partial success, report the created or updated artifact and identify omitted or failed metadata.

Use ### ⛔ <artifact> not <action> only for confirmed noncompletion. If readback is inconclusive, report the outcome as unverified. Include the concrete error, idempotency result, and next action. Keep gh output, JSON, diagnostics, template fields, URLs, and authored contribution text exact and undecorated.

来源与署名

来源:paulrberg/agent-skills位于skills/yeet提交7f1d902

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架