用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill github-issue命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | github-issue |
| description | Create, link, and manage GitHub issues with templates Use when this capability is needed. |
| metadata | {"author":"dtsong"} |
Create, view, link, and manage GitHub issues with template support.
/gh-issue create # Interactive issue creation
/gh-issue create --bug # Create bug report
/gh-issue create --feature # Create feature request
/gh-issue create --task # Create task
/gh-issue view 123 # View issue #123
/gh-issue close 123 # Close issue #123
/gh-issue link 123 # Link current branch to issue
Use AskUserQuestion to collect:
Based on issue type, use appropriate template:
Bug Template (~/.claude/skills/github-workflow/templates/issue-bug.md):
## Description
[What happened]
## Steps to Reproduce
1. [Step 1]
2. [Step 2]
3. [Step 3]
## Expected Behavior
[What should happen]
## Actual Behavior
[What actually happens]
## Environment
- OS: [e.g., macOS 14.0]
- Browser: [e.g., Chrome 120]
- Version: [e.g., v1.2.3]
## Additional Context
[Screenshots, logs, etc.]
Feature Template (~/.claude/skills/github-workflow/templates/issue-feature.md):
## Summary
[Brief description of the feature]
## Motivation
[Why is this feature needed?]
## Proposed Solution
[How should this work?]
## Alternatives Considered
[Other approaches and why they weren't chosen]
## Additional Context
[Mockups, examples, references]
Task Template (~/.claude/skills/github-workflow/templates/issue-task.md):
## Task
[What needs to be done]
## Acceptance Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] [Criterion 3]
## Notes
[Additional context or constraints]
Use GitHub MCP or gh CLI:
# Using gh CLI
gh issue create --title "Title" --body "Body" --label "bug"
# Using GitHub MCP
mcp__github__create_issue(
owner="owner",
repo="repo",
title="Issue title",
body="Issue body",
labels=["bug"]
)
gh issue view 123
# Or with MCP
mcp__github__get_issue(owner="owner", repo="repo", issue_number=123)
gh issue close 123 --comment "Fixed in PR #456"
# Or with MCP
mcp__github__update_issue(
owner="owner",
repo="repo",
issue_number=123,
state="closed"
)
Add issue reference to branch commits:
# Get current branch
BRANCH=$(git branch --show-current)
# If branch name contains issue number (feat/123-dark-mode)
ISSUE_NUM=$(echo "$BRANCH" | grep -oE '[0-9]+' | head -1)
echo "Branch $BRANCH linked to issue #$ISSUE_NUM"
echo "Commits will reference this issue automatically."
Created issue #456: Fix login validation bug
URL: https://github.com/owner/repo/issues/456
Details:
Type: Bug
Labels: bug, priority-high
Assignees: @username
Next steps:
/git-branch fix/456-login-validation # Create linked branch
/gh-triage # Triage more issues
Issue #456: Fix login validation bug
State: Open
Created: 2 days ago by @reporter
Labels: bug, priority-high
Assignees: @username
Description:
Login form accepts empty email addresses when it shouldn't.
Comments (3):
@user1 (1 day ago): I can reproduce this.
@user2 (12 hours ago): Working on a fix.
@user3 (2 hours ago): PR #789 addresses this.
Related PRs:
#789 (open) - Fix email validation
Actions:
/gh-pr-status 789 # Check PR status
/gh-issue close 456 # Close when fixed
| Label | Use For |
|---|---|
bug | Something isn't working |
enhancement | New feature or request |
documentation | Documentation improvements |
good first issue | Good for newcomers |
help wanted | Extra attention needed |
priority-high | Urgent issues |
wontfix | Won't be worked on |
When creating branches for issues, include the issue number:
/git-branch feat/123-dark-mode # Feature for issue #123
/git-branch fix/456-login-bug # Bug fix for issue #456
This enables:
/git-branch feat/123-feature to create linked branch/gh-triage to batch label issues/commit with "Fixes #123" in message to auto-close/gh-pr-status to check PR linked to issueConverted and distributed by TomeVault — claim your Tome and manage your conversions.