github-issue-creation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGitHub Issue Creation
GitHub Issue 创建
Create issues with proper classification. Labels determine which Skills are used.
创建带有正确分类的Issue。标签决定了要使用哪些Skill。
Prerequisites
前置条件
- Load label-context-mapping skill: Use for all label → skill/context mappings
- See label-context-mapping
- 加载 label-context-mapping skill:用于所有标签→技能/上下文的映射
- 参考label-context-mapping
Label Selection Rules
标签选择规则
Required Labels
必填标签
Every issue must have:
- One Type label (,
bug,enhancement,refactoring,documentation,security,technical-debt)test - One Language OR Scope label (or
lang:*)scope:*
每个Issue必须包含:
- 一个类型标签(、
bug、enhancement、refactoring、documentation、security、technical-debt)test - 一个语言或范围标签(或
lang:*)scope:*
Optional Labels
可选标签
- Chain label: Only for cryptocurrency-specific code
- Test Scope label: Only when Type is
test
- Chain标签:仅用于加密货币专属代码
- 测试范围标签:仅当类型为时使用
test
Issue Creation Process
Issue创建流程
1. Classify Task
1. 任务分类
From user request, determine:
- Type (bug, enhancement, refactoring, documentation, security, technical-debt, test)
- Language OR Scope
- Test scope (if applicable)
- Chain (if applicable)
Use skill for label → skill/context mappings.
label-context-mapping从用户请求中确定:
- 类型(bug、功能增强、重构、文档、安全、技术债务、测试)
- 语言或范围
- 测试范围(如适用)
- Chain(如适用)
使用 skill完成标签→技能/上下文的映射。
label-context-mapping2. Create Proposal
2. 编写提案
markdown
undefinedmarkdown
undefinedProposed Issue
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:
Title: [清晰的标题,控制在50-72字符]
Labels: [type], [lang/scope], [测试范围(如适用)], [chain(如适用)]
Skills: [git-workflow] + [基于label-context-mapping匹配的skill]
Body:
Description
Description
[What needs to be done]
[需要完成的工作内容]
Acceptance Criteria
Acceptance Criteria
- Criterion 1
- Criterion 2
undefined- 验收标准1
- 验收标准2
undefined3. Create Issue (After Approval)
3. 创建Issue(审批通过后)
bash
gh issue create \
--title "Title" \
--body "Body" \
--label "type,lang/scope,chain"bash
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必填:[Type] + [Language OR Scope]
可选:[Test Scope] + [Chain]
→ 标签决定使用的Skill(参考label-context-mapping)
→ Skill决定工作流Related
相关内容
- label-context-mapping - Label → Skill/Context mapping
- Task Classification SSOT - Label definitions
- fix-issue command - Working on issues
- label-context-mapping - 标签→Skill/上下文映射
- Task Classification SSOT - 标签定义
- fix-issue command - 处理Issue相关说明