360 Secure SkillHub
360 安全技能中心

yeet

提供 GitHub 贡献工作流指引,覆盖 PR、Issue、Discussion 与评论的创建、更新和发布;强调模板、幂等检查与回读验证,依赖已认证的 GitHub CLI,并使用脚本获取仓库上下文和渲染 Issue 表单。

PaulRBerg
热度 0.00
最近更新 2026-10-19 01:41:12
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:代码审查 / 任务管理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add paulrberg/agent-skills/yeet
Metadata
argument-hint
<create-pr|update-pr|create-issue|update-issue|issue-claude-code|issue-codex-cli|issue-sablier|comment-issue|create-discussion|update-discussion|comment-discussion> [options]
compatibility
Authenticated GitHub CLI >= 2.97.0
coordination
exempt
effort
high
name
yeet
skill-dependencies
["cli-gh"]
description
Use for GitHub PR/issue/discussion workflows: create/update PRs, issues, or discussions and post issue or discussion comments; triggers include yeet.

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.

Workflow Trigger Reference
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. 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.