关于
This skill automatically converts code review findings into structured GitHub issues with proper grouping, labeling, and templates. It's designed to process output from review skills like `review-codebase` to create actionable issues with summaries, findings, and acceptance criteria. Use it to automate issue tracking from code analysis or audit results.
快速安装
Claude Code
推荐npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/create-github-issues在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Create GitHub Issues
Structured GitHub issue creation from review findings or task breakdowns. Converts list of findings (from review-codebase, security-audit-codebase, or manual analysis) into well-formed GitHub issues with labels, acceptance criteria, and cross-references.
When Use
- After codebase review produces findings table needing tracking
- After planning session finds work items that should become issues
- When converting TODO list or backlog into trackable GitHub issues
- When batch-creating related issues needing consistent formatting and labeling
Inputs
- Required:
findings— list of items, each with at minimum title and description. Ideally also: severity, affected files, suggested labels - Optional:
group_by— how to batch findings into issues:severity,file,theme(default:theme)label_prefix— prefix for auto-created labels (default: none)create_labels— whether to create missing labels (default:true)dry_run— preview issues without creating them (default:false)
Steps
Step 1: Prepare Labels
Ensure all needed labels exist in repository.
- List existing labels:
gh label list --limit 100 - Identify labels needed by findings (from severity, phase, or explicit label fields)
- Map severities to labels if not mapped:
critical,high-priority,medium-priority,low-priority - Map phases/themes to labels:
security,architecture,code-quality,accessibility,testing,performance - If
create_labelsis true, create missing labels:gh label create "name" --color "hex" --description "desc" - Use consistent colors: red for critical/security, orange for high, yellow for medium, blue for architecture, green for testing
Got: All labels referenced by findings exist in repo. No duplicate labels created.
If fail: gh CLI not authenticated? Tell user to run gh auth login. Label creation denied (weak permissions)? Proceed without creating labels, note which labels missing.
Step 2: Group Findings
Batch related findings into logical issues. Dodge issue sprawl.
group_byistheme? Group findings by phase or category (all security findings → 1-2 issues, all a11y → 1 issue)group_byisseverity? Group findings by severity level (all CRITICAL → 1 issue, all HIGH → 1 issue)group_byisfile? Group findings by primary affected file- Within each group, order findings by severity (CRITICAL first)
- Group has more than 8 findings? Split into sub-groups by sub-theme
- Each group becomes one GitHub issue
Got: Set of issue groups, each with 1-8 related findings. Total issue count manageable (typically 5-15 for full codebase review).
If fail: Findings have no grouping metadata? Fall back to one issue per finding. Fine for small sets (< 10). Too many issues for larger sets.
Step 3: Compose Issues
Build each issue with standard template.
- Title:
[Severity] Theme: Brief description— e.g.,[HIGH] Security: Eliminate innerHTML injection in panel.js - Body structure:
## Summary One-paragraph overview of what this issue addresses and why it matters. ## Findings 1. **[SEVERITY]** Finding description (`file.js:line`) — brief explanation 2. **[SEVERITY]** Finding description (`file.js:line`) — brief explanation ## Acceptance Criteria - [ ] Criterion derived from finding 1 - [ ] Criterion derived from finding 2 - [ ] All changes pass existing tests ## Context Generated from codebase review on YYYY-MM-DD. Related: #issue_numbers (if applicable) - Apply labels: severity label + theme label + any custom labels
- Findings reference specific files? Mention them in body (not as assignees)
Got: Each issue has clear title, numbered findings with severity badges, checkbox acceptance criteria, right labels.
If fail: Body exceeds GitHub's issue size limit (65536 chars)? Split issue into parts and cross-reference.
Step 4: Create Issues
Create issues with gh CLI. Report results.
dry_runis true? Print each issue title and body without creating. Stop.- For each composed issue, create it:
gh issue create --title "title" --body "$(cat <<'EOF' body content EOF )" --label "label1,label2" - Record URL of each created issue
- After all issues created, print summary table:
#number | Title | Labels | Findings count - Issues should be sequenced? Add cross-references: edit first issue to mention "Blocked by #X" or "See also #Y"
Got: All issues created fine. Summary table with issue numbers and URLs printed.
If fail: Individual issue fails to create? Log error, continue with remaining issues. Report failures at end. Common failures: authentication expired, label not found (if create_labels was false), network timeout.
Checks
- All findings represented in at least one issue
- Each issue has at least one label
- Each issue has checkbox acceptance criteria
- No duplicate issues created (check titles against existing open issues)
- Issue count reasonable for finding count (not 1:1 for large sets)
- Summary table printed with all issue URLs
Pitfalls
- Issue sprawl: One issue per finding → 20+ issues, hard to manage. Group aggressively — 5-10 issues from full review is ideal
- Missing acceptance criteria: Issues without checkboxes cannot be verified as complete. Every finding should map to at least one checkbox
- Label chaos: Too many labels → filtering useless. Stick to severity + theme, not per-finding labels
- Stale references: Creating issues from old review? Verify findings still apply before creating. Code may have changed
- Forgetting dry run: For large finding sets, always preview with
dry_run: truefirst. Much easier to edit plan than close 15 bad issues
See Also
review-codebase— produces findings table this skill consumesreview-pull-request— produces PR-scoped findings that can also convert to issuesmanage-backlog— organizes issues into sprints and priorities after creationcreate-pull-request— creates PRs that reference and close issuescommit-changes— commits fixes resolving issues
GitHub 仓库
Frequently asked questions
What is the create-github-issues skill?
create-github-issues is a Claude Skill by pjt222. Skills package instructions and resources that Claude loads on demand, so Claude can perform create-github-issues-related tasks without extra prompting.
How do I install create-github-issues?
Use the install commands on this page: add create-github-issues to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does create-github-issues belong to?
create-github-issues is in the Meta category, tagged design.
Is create-github-issues free to use?
Yes. create-github-issues is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
相关推荐技能
Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。
该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。
SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
