返回技能列表

create-github-issues

pjt222
更新于 2 days ago
7 次查看
17
2
17
在 GitHub 上查看
design

关于

This skill automatically creates structured GitHub issues from code review findings or task breakdowns. It groups related items into logical issues, applies labels, and formats them with standard templates including acceptance criteria. It's designed to process output from review skills like `review-codebase` to streamline issue tracking.

快速安装

Claude Code

推荐
主要方式
npx skills add pjt222/agent-almanac -a claude-code
插件命令备选方式
/plugin add https://github.com/pjt222/agent-almanac
Git 克隆备选方式
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/create-github-issues

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Create GitHub Issues

Findings → grouped GitHub issues w/ labels + acceptance criteria + cross-refs.

Use When

  • Codebase review → findings table → track
  • Planning session → work items → issues
  • TODO / backlog → trackable issues
  • Batch-create related issues, consistent fmt

In

  • Required: findings — items w/ title + desc. Ideally: severity, files, labels
  • Optional:
    • group_by — batch: severity, file, theme (def: theme)
    • label_prefix — auto-label prefix (def: none)
    • create_labels — create missing (def: true)
    • dry_run — preview no create (def: false)

Do

Step 1: Prep Labels

Needed labels exist in repo.

  1. List: gh label list --limit 100
  2. Identify labels from findings (severity, phase, label fields)
  3. Severity map: critical, high-priority, medium-priority, low-priority
  4. Phase/theme: security, architecture, code-quality, accessibility, testing, performance
  5. create_labels = true → gh label create "name" --color "hex" --description "desc"
  6. Colors: red=crit/sec, orange=high, yellow=med, blue=arch, green=test

Got: All label refs exist. No dup.

If err: gh not auth → gh auth login. Create denied → skip, note missing.

Step 2: Group

Batch → logical issues, no sprawl.

  1. theme → phase/category (sec → 1-2 issues, a11y → 1)
  2. severity → level (CRIT → 1, HIGH → 1)
  3. file → primary file
  4. Within group: severity order (CRIT first)
  5. 8 findings → split by sub-theme

  6. Each group → 1 issue

Got: Groups w/ 1-8 findings each. Total: 5-15 for full review.

If err: No grouping metadata → 1 issue per finding (OK for <10, bad for larger).

Step 3: Compose

Std template.

  1. Title: [Severity] Theme: Brief description[HIGH] Security: Eliminate innerHTML injection in panel.js
  2. Body:
    ## 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)
    
  3. Labels: severity + theme + custom
  4. File refs → body mention (not assignee)

Got: Title + numbered findings + checkbox criteria + labels.

If err: Body > 65536 chars → split + cross-ref.

Step 4: Create

Use gh CLI.

  1. dry_run = true → print + stop
  2. Create each:
    gh issue create --title "title" --body "$(cat <<'EOF'
    body content
    EOF
    )" --label "label1,label2"
    
  3. Record URLs
  4. Summary table: #number | Title | Labels | Findings count
  5. Sequence → edit first issue: "Blocked by #X" / "See also #Y"

Got: All created. Summary table w/ URLs.

If err: Individual fail → log + continue. Report end. Common: auth expired, label not found (create_labels=false), network timeout.

Check

  • All findings in ≥1 issue
  • Each issue ≥1 label
  • Each issue has checkbox criteria
  • No dup (check titles vs open)
  • Issue count reasonable (not 1:1 for large)
  • Summary table printed w/ URLs

Traps

  • Sprawl: 1-per-finding → 20+ issues. Group aggressive → 5-10 ideal
  • Missing criteria: No checkboxes → no verify. Every finding → ≥1 checkbox
  • Label chaos: Too many → filter useless. Stick severity + theme
  • Stale refs: Old review → verify findings still apply
  • No dry run: Large sets → always dry_run: true first. Easier edit plan vs close 15 bad issues

  • review-codebase — findings source
  • review-pull-request — PR findings → issues
  • manage-backlog — sprints + priorities
  • create-pull-request — PRs close issues
  • commit-changes — fix commits

GitHub 仓库

pjt222/agent-almanac
路径: i18n/caveman-ultra/skills/create-github-issues
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能

polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能

creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能

sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能