Agent Skills › fmaclen/canutin › issue-writing

issue-writing

GitHub

用于创建或重写 GitHub Issue,聚焦描述问题及其影响而非解决方案。涵盖标题与正文规范、证据收集及 gh CLI 操作,确保 Issue 清晰且独立。

.agents/skills/issue-writing/SKILL.md fmaclen/canutin

Trigger Scenarios

需要创建新的 GitHub Issue 需要重写现有的 GitHub Issue

Install

npx skills add fmaclen/canutin --skill issue-writing -g -y
More Options

Non-standard path

npx skills add https://github.com/fmaclen/canutin/tree/master/.agents/skills/issue-writing -g -y

Use without installing

npx skills use fmaclen/canutin@issue-writing

指定 Agent (Claude Code)

npx skills add fmaclen/canutin --skill issue-writing -a claude-code -g -y

安装 repo 全部 skill

npx skills add fmaclen/canutin --all -g -y

预览 repo 内 skill

npx skills add fmaclen/canutin --list

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:

  1. What is happening now
  2. Why that is a problem
  3. Any known evidence or context that helps define the problem
  4. 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 list to inspect the available labels
  • Apply only labels that clearly fit the issue
  • Do not invent new labels unless the user explicitly asks

See Also

Version History

  • 28eb754 Current 2026-09-23 01:22

Same Skill Collection

.agents/skills/architecture/SKILL.md
.agents/skills/auth-system/SKILL.md
.agents/skills/code-quality/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/deployment/SKILL.md
.agents/skills/failure-discipline/SKILL.md
.agents/skills/failures-and-logs/SKILL.md
.agents/skills/frontend-design/SKILL.md
.agents/skills/local-servers/SKILL.md
.agents/skills/pb-import/SKILL.md
.agents/skills/pb-migrate/SKILL.md
.agents/skills/pocketbase/SKILL.md
.agents/skills/realtime/SKILL.md
.agents/skills/setup/SKILL.md
.agents/skills/svelte5/SKILL.md
.agents/skills/testing/SKILL.md
.agents/skills/verify/SKILL.md
.agents/skills/commits-and-prs/SKILL.md

Metadata

Files
0
Version
b491bd7
Hash
38dbbb90
Indexed
2026-09-23 01:22

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-28 17:42
浙ICP备14020137号-1