跳到正文
cccskills
免费在 GitHub 公开

add-contributor

Approve a GitHub contributor to open PRs in get-bb/bb, then land the allowlist change with SlopCop and CI skipped. Use for requests such as "add @username to be able to open PRs" or an explicit add-contributor invocation.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Add a contributor

Approve the requested GitHub account for PRs in get-bb/bb. The default workflow includes committing, opening a PR, and closing it out with SlopCop review and CI skipped. Honor narrower user instructions, such as opening a PR for review only. Loading this skill without a request to approve someone does not authorize changes.

Resolve the account

Accept a GitHub login, @login, or GitHub profile URL. If the request contains only a display name or an unfilled placeholder such as {}, ask for the GitHub login. Verify the account with gh api users/<login> --jq .login and use the returned canonical login. Treat the login as data and quote shell arguments. If the lookup fails, resolve the error before changing approval; do not guess a different account.

Edit the allowlist

Paths below are relative to the repository root:

  • Edit .github/APPROVED_CONTRIBUTORS: one GitHub login per line, without @. Match existing entries case-insensitively after removing whitespace, as the gate does. Append a missing login, preserving existing entries and a final newline.
  • Read .github/workflows/pr-gate.yml to confirm the current enforcement behavior. It reads the allowlist from the PR's base branch, so approval takes effect only after the allowlist change lands there.
  • .github/workflows/approve-contributor.yml implements the separate /approve comment path. CONTRIBUTING.md describes the approval policy. Neither needs an edit for a routine contributor addition.

If the account is already listed on the target base branch, report that it is already approved and finish without an empty commit or PR. If it is only listed on the working branch, inspect the existing change or PR and finish that work. This approval does not grant repository collaborator or organization membership.

Verify and land

Check that the diff only adds the requested login(s), that each appears exactly once case-insensitively, and run git diff --check. An allowlist-only change needs no application build or test suite.

Commit with a message such as Approve @username to open PRs [skip ci]. Create or update a PR using .github/PULL_REQUEST_TEMPLATE.md, explaining the approval and the local validation, and explicitly state that CI is skipped for this data-only change. End the body with > AGENT GENERATED.

Load and follow the available close-out-skip-slopcop skill to complete the merge. Carry forward this workflow's explicit CI skip: do not trigger or wait for optional CI or SlopCop review. [skip ci] does not suppress every GitHub event, including pull_request_target. Inspect required checks and branch protection; do not disable protections or use an admin bypass. If skipping CI leaves a required check pending, report that blocker and leave the PR unmerged. If the close-out skill is unavailable, report the missing dependency and the PR's state.

Confirm GitHub reports the PR merged before saying approval is active. Return the PR link, approved login(s), merge state, and that SlopCop and CI were skipped. A previously closed contributor PR can be reopened after approval; do not reopen or comment on it unless requested.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Configure or diagnose Account Pooler accounts, authentication, quota routing, and failover through bb pool.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44592026年10月18日 更新

Configure or troubleshoot ACP agent discovery, custom models, skills, and compaction in BB.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44592026年10月18日 更新

Create or edit element annotations in desktop Browser tabs, or update saved annotation comments through the plugin RPC.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44592026年10月18日 更新

Schedule or manage recurring and one-shot BB agent or script automations.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44592026年10月18日 更新

Sign this bb in to or out of its getbb.app account with bb account, and check which account remote access and hosted services use.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44592026年10月18日 更新

bb-cli

免费

Inspect or manage BB state with the bb CLI; use for BB commands and configuration.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44592026年10月18日 更新

查看 get-bb 的全部技能

报告此技能的问题