AGENT SKILL

create-issue

Create GitHub issues from uncommitted changes or commits

License 许可
MIT
最近更新
2026-11-12
Stars
★ 0
Forks
0

01 前言 Front Matter

name
create-issue
description
Create GitHub issues from uncommitted changes or commits

03 SKILL.md 正文

/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 /changelog skill. 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

04 同仓库更多 Skills

realsudarshan
realsudarshan/SD-skill

winui-app

Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.

★ 0
realsudarshan
realsudarshan/SD-skill

vercel-deploy

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

★ 0
realsudarshan
realsudarshan/SD-skill

security-best-practices

Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.

★ 0
realsudarshan
realsudarshan/SD-skill

playwright

Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.

★ 0
realsudarshan
realsudarshan/SD-skill

openai-docs

Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; prioritize OpenAI docs MCP tools, use bundled references only as helper context, and restrict any fallback browsing to official OpenAI domains.

★ 0
realsudarshan
realsudarshan/SD-skill

netlify-deploy

Deploy web projects to Netlify using the Netlify CLI (`npx netlify`). Use when the user asks to deploy, host, publish, or link a site/repo on Netlify, including preview and production deploys.

★ 0