Agent Skillsgitkraken/vscode-gitlens › create-issue

create-issue

GitHub

根据未提交更改或提交记录生成 GitHub Issue 及 CHANGELOG 条目。流程包括收集差异、分类、查重、确认并创建 Issue,同时更新变更日志,确保内容安全且符合规范。

.claude/skills/create-issue/SKILL.md gitkraken/vscode-gitlens

Trigger Scenarios

需要为代码变更创建 GitHub Issue 需要更新项目 CHANGELOG

Install

npx skills add gitkraken/vscode-gitlens --skill create-issue -g -y
More Options

Non-standard path

npx skills add https://github.com/gitkraken/vscode-gitlens/tree/main/.claude/skills/create-issue -g -y

Use without installing

npx skills use gitkraken/vscode-gitlens@create-issue

指定 Agent (Claude Code)

npx skills add gitkraken/vscode-gitlens --skill create-issue -a claude-code -g -y

安装 repo 全部 skill

npx skills add gitkraken/vscode-gitlens --all -g -y

预览 repo 内 skill

npx skills add gitkraken/vscode-gitlens --list

SKILL.md

Frontmatter
{
    "name": "create-issue",
    "description": "Create GitHub issues from uncommitted changes or commits"
}

/create-issue - Create GitHub Issue

Analyze changes and create GitHub issues with CHANGELOG entries.

Usage

/create-issue [source]
  • source: "uncommitted", a commit SHA, or a range like "abc123..def456"

Workflow

  1. Collect diff: uncommitted (git diff), single commit (git show <sha>), or range (git diff <range>)
  2. Classify: bugfix / feature / refactor / docs / tests
  3. Check duplicates: gh search issues --repo gitkraken/vscode-gitlens "<keywords>"
  4. Create issue: generate title + body, confirm with user first
  5. Update CHANGELOG: add entry to [Unreleased], confirm with user first

Duplicate Detection

Score matches 0-1:

  • Title similarity (>75% token overlap): +0.5
  • Body keyword overlap: +0.3
  • Same component: +0.15

Thresholds: >= 0.7 likely duplicate, 0.45-0.69 possibly related, < 0.45 ignore.

Issue Title

  • Describe the problem/need from user's perspective, not the solution
  • Be specific with context ("when switching repositories", "in large repos")
  • Concise, no trailing punctuation

Issue Body

Section Content
Summary One-line description
Impact Who/what benefits
Validation Steps to verify
Risk Potential regressions
gh issue create --title "<title>" --body "<body>" --assignee @me --label "<labels>"

Labels

  • Fetch existing: gh label list --limit 100
  • ONLY use existing labels
  • Confirm with user before applying

CHANGELOG Entry

Format per /audit-commits CHANGELOG conventions. Map: Feature→Added, Enhancement→Changed, Bugfix→Fixed, Removal→Removed.

Safety

  1. NEVER include code snippets, diffs, or implementation details in issues
  2. NEVER include credentials or secrets
  3. NEVER create labels without user confirmation
  4. NEVER auto-create issues or edit CHANGELOG without user confirmation

Version History

  • ba869f2 Current 2026-08-20 14:21

Same Skill Collection

.claude/skills/a11y-audit/SKILL.md
.claude/skills/a11y-flow-audit/SKILL.md
.claude/skills/a11y-remediate/SKILL.md
.claude/skills/add-command/SKILL.md
.claude/skills/add-webview/SKILL.md
.claude/skills/challenge-plan/SKILL.md
.claude/skills/commit/SKILL.md
.claude/skills/deep-planning/SKILL.md
.claude/skills/deep-review/SKILL.md
.claude/skills/dev-scope/SKILL.md
.claude/skills/investigate/SKILL.md
.claude/skills/live-exercise/SKILL.md
.claude/skills/live-inspect/SKILL.md
.claude/skills/live-pair/SKILL.md
.claude/skills/live-perf/SKILL.md
.claude/skills/modern-css/SKILL.md
.claude/skills/prioritize/SKILL.md
.claude/skills/review/SKILL.md
.claude/skills/triage/SKILL.md
.claude/skills/update-issues/SKILL.md
.claude/skills/ux-review/SKILL.md
.claude/skills/worktree/SKILL.md
.claude/skills/add-icon/SKILL.md
.claude/skills/add-test/SKILL.md
.claude/skills/audit-commits/SKILL.md

Metadata

Files
0
Version
ba869f2
Hash
d800d96e
Indexed
2026-08-20 14:21

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 02:47
浙ICP备14020137号-1 $방문자$