用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TypedDevs/bashunit --skill gh-issue命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | gh-issue |
| description | Fetch GitHub issue, create branch, plan and implement with TDD, then open PR |
| user-invocable | true |
| argument-hint | <issue-number> |
| allowed-tools | Bash, Read, Edit, Write, Grep, Glob, Agent, WebFetch |
Fetch a GitHub issue, create branch, implement following TDD, and open a PR.
$ARGUMENTS - Issue number (e.g., 42 or #42)Parse the issue number from $ARGUMENTS (strip # if present)
Fetch issue details:
gh issue view <number> --json title,body,labels,assignees,milestone,state
Assign yourself if unassigned:
gh issue edit <number> --add-assignee @me
Add appropriate labels if the issue doesn't have them:
bug - Something isn't workingenhancement - New feature or requestdocumentation - Improvements or additions to documentationCreate a branch from main:
Determine prefix from labels:
bug → fix/enhancement → feat/documentation → docs/feat/Branch name: <prefix><issue-number>-<slug> (slug: lowercase title, spaces → -, max 50 chars)
git checkout main && git pull
git checkout -b <branch-name>
Analyze the issue: requirements, labels, referenced issues, affected areas
Explore the codebase for context:
src/tests/Create implementation plan:
Use EnterPlanMode if implementation is non-trivial
Follow strict TDD workflow (see @.claude/rules/tdd-workflow.md):
For each test:
Run full test suite frequently:
./bashunit tests/
./bashunit --parallel tests/
Quality checks after each refactor:
make sa && make lint
Final verification:
./bashunit tests/ && ./bashunit --parallel tests/ && make sa && make lint
Commit using conventional commits with Closes #<issue-number>
Create PR using the /pr skill:
/pr #<issue-number>
After fetching, present:
## Issue #<number>: <title>
**Labels:** <labels>
**State:** <state>
**Branch:** <branch-name>
### Description
<body content>
### Next Steps
1. Explore codebase for context
2. Create implementation plan
3. Begin TDD cycle
基于 SOC 职业分类