github-issue-creation

hiromaily 的头像作者 hiromaily

使用 gh CLI 工具创建结构良好的 GitHub 问题。当用户想要创建 GitHub 问题、跟踪 go-crypto-wallet 存储库的功能、错误、重构任务或技术债务时使用。

📖 中文导读:使用 gh CLI 工具创建结构良好的 GitHub 问题。当用户想要创建 GitHub 问题、跟踪 go-crypto-wallet 存储库的功能、错误、重构任务或技术债务时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: github-issue-creation description: Create GitHub issues with proper task classification. Classification determines which Skills will be used when working on the issue.

GitHub Issue Creation

Create issues with proper classification. Labels determine which Skills are used.

Prerequisites

  • Load label-context-mapping skill: Use for all label → skill/context mappings

Label Selection Rules

Required Labels

Every issue must have:

  1. One Type label (bug, enhancement, refactoring, documentation, security, technical-debt, test)
  2. One Language OR Scope label (lang:* or scope:*)

Optional Labels

  • Chain label: Only for cryptocurrency-specific code
  • Test Scope label: Only when Type is test

Issue Creation Process

1. Classify Task

From user request, determine:

  • Type (bug, enhancement, refactoring, documentation, security, technical-debt, test)
  • Language OR Scope
  • Test scope (if applicable)
  • Chain (if applicable)

Use label-context-mapping skill for label → skill/context mappings.

2. Create Proposal

## Proposed Issue

**Title**: [Clear title - 50-72 chars]

**Labels**: [type], [lang/scope], [test scope if applicable], [chain if applicable]

**Skills**: [git-workflow] + [skill based on label-context-mapping]

**Body**:
## Description
[What needs to be done]

## Acceptance Criteria
- [ ] Criterion 1
- [ ] Criterion 2

3. Create Issue (After Approval)

gh issue create \
  --title "Title" \
  --body "Body" \
  --label "type,lang/scope,chain"

Quick Reference

Required: [Type] + [Language OR Scope]
Optional: [Test Scope] + [Chain]

→ Labels determine Skills (see label-context-mapping)
→ Skills determine workflow