github-issue
1
总安装量
1
周安装量
#55164
全站排名
安装命令
npx skills add https://github.com/hemsoft/public-skills --skill github-issue
Agent 安装分布
cursor
1
Skill 文档
GitHub Issue Creator
Create GitHub Issues via gh issue create that serve as implementation specifications.
Issue Structure
## Overview
{2-3 sentence summary of what will be built}
## Architecture
{Bullet points showing component relationships - avoid ASCII boxes}
## Implementation Steps
### 1. {Step Title}
{Code snippets, file paths, commands}
## Acceptance Criteria
- [ ] {Testable criterion}
Omit empty sections (Environment Variables, Prerequisites) if not needed.
PowerShell Execution
CRITICAL: Run here-string assignment and gh issue create as separate commands:
# Command 1: Assign body
$body = @'
{markdown content - no escaping needed}
'@
# Command 2: Create issue (run separately)
gh issue create --repo {owner}/{repo} --title "{title}" --body $body --label "{labels}"
Why separate? Running both in one terminal call truncates output, hiding the issue URL or errors.
Never use:
- Inline
--body "..."with markdown - Backticks in markdown (PowerShell interprets as escape)
- ASCII art with box-drawing characters (use bullet points instead)
Label Guidelines
Labels must exist in the repo. Check with gh label list --repo {owner}/{repo} first.
| Type | Common Labels |
|---|---|
| Feature | enhancement (NOT feature – often doesn’t exist) |
| Bug | bug |
| Area | ui, database, auth, ai |
| Size | size:small, size:large |
Use only labels confirmed to exist. If a label fails, retry without it.
Workflow
- Gather requirements from user
- Draft issue body following structure
- Verify labels exist or use safe defaults (
enhancement) - Run here-string assignment command
- Run
gh issue createcommand separately - Confirm issue URL from output
Code Snippet Formatting
Use triple backticks with language identifier:
typescriptfor TS/JSsqlfor databasebashfor shell commands