跳到正文
cccskills
免费在 GitHub 公开

gh-issues

Walk over all open GitHub issues that are unassigned or assigned to the current user, and process each one via the /gh-issue skill, sequentially.

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

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

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

Process an issue queue

Process open issues that are unassigned or assigned only to the authenticated user, oldest first, using gh-issue sequentially. Accept --limit N, --label foo, and --dry-run (discovery only).

Discover

Resolve the current login with gh api user -q .login. Fetch open issues with pagination:

gh api --paginate 'repos/{owner}/{repo}/issues?state=open&per_page=100'

Exclude pull requests, issues assigned to anyone else, and tracker issues whose body lists child issues. Deduplicate by number, apply the label filter, sort by created_at, then apply the requested limit. Print #<number> <title> [unassigned|@me]; stop if empty. Dry-run stops here.

Process

  1. Check git status --porcelain. Preserve dirty work and stop or use an isolated worktree; never auto-stash or reset it. Fetch main and update a clean main with git pull --ff-only. A divergent branch needs a deliberate resolution.
  2. Choose the validation mode in step 3 before invoking gh-issue. Re-read each issue's state and assignees before starting; skip closed or newly assigned issues. Invoke gh-issue, which owns implementation, the canonical quality gate, commit, and PR. The coordinator runs that gate once per complete issue; delegates run only focused checks.
  3. If strict-mode coverage is required by CI, use ./bashunit --parallel --simple --strict tests/ in place of the ordinary parallel gate before committing. Inspect the current CI command first. Simple mode emits marker output; assert on helpers when testing full messages. Under strict mode, use if instead of failing [ condition ] && assignment, initialize arrays with =(), read potentially empty elements as ${arr[i]:-}, and keep extdebug inside a capture subshell.
  4. Wait for gh pr checks --watch. Investigate red checks, including Bash 3.0 compatibility. Re-run an identified infrastructure failure with gh run rerun <id> --failed; do not classify every registry failure as transient. If a local failure appears unrelated, compare the relevant test on unchanged main in an isolated checkout before claiming it predates the change.
  5. Merge only when the user's authorization covers it and checks and branch protection allow it. Do not bypass protection. After an authorized merge, verify issue closure; close a completed issue if needed and update its parent's checklist. Escape Markdown brackets as literals when editing checkbox text and preserve the rest of the body.
  6. Delete merged branches and worktrees according to the global cleanup rules, fetch and prune, and fast-forward main before the next issue. Keep branches with open PRs or unpushed commits.

Stop and report the issue and cause on a hard failure, unresolved red check, dirty checkout after processing, blocked merge, or reached limit. Do not retry blindly. If merging is outside authorization, retain the open PR and report the remaining queue. No issue assignment, branch, or commit changes in dry-run mode.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Add new assertion function with comprehensive tests following TDD

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

TypedDevs/bashunit4362026年10月18日 更新

Analyze test coverage and identify untested code paths

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

TypedDevs/bashunit4362026年10月18日 更新

commit

免费

Stage and commit changes using conventional commits format

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

TypedDevs/bashunit4362026年10月18日 更新

fix-test

免费

Debug and fix failing tests systematically

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

TypedDevs/bashunit4362026年10月18日 更新

Measure process costs and fork budgets when changing startup, per-file, per-test, parallel workers, reporting, or coverage paths; use for fork census and performance comparisons.

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

TypedDevs/bashunit4362026年10月18日 更新

gh-issue

免费

Fetch GitHub issue, create branch, plan and implement with TDD, then open PR

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

TypedDevs/bashunit4362026年10月18日 更新

查看 TypedDevs 的全部技能

报告此技能的问题