issue-writing
GitHub用于创建或重写 GitHub Issue,聚焦描述问题及其影响而非解决方案。涵盖标题与正文规范、证据收集及 gh CLI 操作,确保 Issue 清晰且独立。
Trigger Scenarios
Install
npx skills add fmaclen/canutin --skill issue-writing -g -y
SKILL.md
Frontmatter
{
"name": "issue-writing",
"description": "Create high-level GitHub issues that describe the problem, not the solution"
}
Issue Writing
Overview
Use this skill when creating or rewriting a GitHub issue. The goal is a clear, high-level description of the problem so someone can understand what is broken, missing, or confusing without being pushed toward a specific implementation.
Core Rule
Write the issue around the problem and its impact. Do not prescribe the fix.
What to Include
- Problem statement - what is broken, missing, or needs improvement
- Impact - why it matters to users, developers, or the product
- Context - the smallest amount of detail needed to understand the issue
- Known evidence - relevant error logs, failing behavior, or other concrete signals that help explain the problem
- Expected outcome - what should be true once the problem is resolved
What to Avoid
- Proposed solutions - no implementation plans or design prescriptions; by the time the issue is picked up, they may already be stale
- Code examples - keep the issue focused on the problem, not the patch; code in issues gets stale quickly
- Overly low-level detail - include internals only when needed to explain the problem
- Bundled issues - split unrelated problems into separate issues
Title Guidance
Keep the title short, concrete, and problem-focused.
- Good:
Balance recalculation misses reassigned transactions - Good:
Import preview shows stale account balances - Avoid:
Add retry logic to balance worker - Avoid:
Refactor the import preview component
Body Guidance
Use whatever concise format best fits the issue: a short paragraph, a few bullets, or both. Focus on:
- What is happening now
- Why that is a problem
- Any known evidence or context that helps define the problem
- What good looks like after the issue is resolved
Example Shape
## Summary
- Balance recalculation skips accounts when a transaction is reassigned
- Users see stale balances on the old account until a manual edit retriggers the worker
- We should make the worker track both the old and new account on update
GitHub Workflow
When creating the issue, use gh issue create and apply this skill before writing the title or body.
Before creating the issue, fetch the current repository labels and apply the ones that are actually relevant to the problem.
- Use
gh label listto inspect the available labels - Apply only labels that clearly fit the issue
- Do not invent new labels unless the user explicitly asks
See Also
- code-quality.md - Shared writing and repo conventions
- commits-and-prs - PR guidance once the issue work is complete
Version History
- 28eb754 Current 2026-09-23 01:22


