issue

GitHub

根据GitHub Issue编号或URL读取并总结问题,自动推断类型后创建对应的开发分支,帮助开发者快速进入编码状态。

.claude/skills/issue/SKILL.md alamenai/terrae

Trigger Scenarios

用户提供了Issue编号 用户提供了Issue URL

Install

npx skills add alamenai/terrae --skill issue -g -y
More Options

Non-standard path

npx skills add https://github.com/alamenai/terrae/tree/main/.claude/skills/issue -g -y

Use without installing

npx skills use alamenai/terrae@issue

指定 Agent (Claude Code)

npx skills add alamenai/terrae --skill issue -a claude-code -g -y

安装 repo 全部 skill

npx skills add alamenai/terrae --all -g -y

预览 repo 内 skill

npx skills add alamenai/terrae --list

SKILL.md

Frontmatter
{
    "name": "issue",
    "description": "Read a GitHub issue, summarize it, and create a branch for it",
    "allowed-tools": "Bash(gh *), Bash(git *)"
}

Issue Skill

Read a GitHub issue by number or URL, summarize it, then create a working branch.

Repository

alamenai/terraehttps://github.com/alamenai/terrae/issues

Arguments

The user provides either:

  • An issue number (e.g., 42)
  • A GitHub issue URL (e.g., https://github.com/alamenai/terrae/issues/42)

If a URL is provided, extract the issue number from it.

Instructions

  1. Fetch the Issue

    • Run gh issue view <number> --repo alamenai/terrae to read the issue
    • If the issue doesn't exist, tell the user and stop
  2. Summarize the Issue

    • Display the issue title and number
    • Summarize the description in 2-3 bullet points
    • List any labels
    • Note if there are linked PRs or assignees
  3. Determine Branch Name

    • Infer the type from labels or content:
      • bug label or bug description → fix/
      • enhancement or feature label → feat/
      • documentation label → docs/
      • Otherwise → feat/
    • Build the branch name: type/issue-number-short-description
    • Keep the description part short (2-4 words, kebab-case)
    • Examples:
      • feat/42-add-heatmap-component
      • fix/17-marker-memory-leak
      • docs/8-update-installation-guide
  4. Create the Branch

    • Make sure we're on main and up to date: git checkout main && git pull
    • Create and switch to the new branch: git checkout -b <branch-name>
    • Confirm the branch was created
  5. Report

    • Show the branch name
    • Remind the user what the issue is about so they can start working

Version History

  • ea9a480 Current 2026-07-25 11:49

Same Skill Collection

.claude/skills/check/SKILL.md
.claude/skills/commit/SKILL.md
.claude/skills/docs/SKILL.md
.claude/skills/fix/SKILL.md
.claude/skills/lint/SKILL.md
.claude/skills/new/SKILL.md
.claude/skills/perf/SKILL.md
.claude/skills/release/SKILL.md
.claude/skills/review/SKILL.md
.claude/skills/pr/SKILL.md
.claude/skills/test/SKILL.md

Metadata

Files
0
Version
ea9a480
Hash
6e5ccde8
Indexed
2026-07-25 11:49

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 08:38
浙ICP备14020137号-1 $Carte des visiteurs$