skills/github-workflow/skills/gh-issue/SKILL.md
Use when creating, linking, or managing GitHub issues with the repository's issue templates.
npx skillsauth add dtsong/my-claude-setup gh-issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
; & | $ \ \ < >`).owner/repo format with alphanumeric characters and hyphens only.Create, view, link, and manage GitHub issues with template support.
/gh-issue create # Interactive issue creation
/gh-issue create --bug # Create bug report
/gh-issue create --feature # Create feature request
/gh-issue create --task # Create task
/gh-issue view 123 # View issue #123
/gh-issue close 123 # Close issue #123
/gh-issue link 123 # Link current branch to issue
Use AskUserQuestion to collect:
Based on issue type, use appropriate template:
Bug Template (~/.claude/skills/github-workflow/templates/issue-bug.md):
## Description
[What happened]
## Steps to Reproduce
1. [Step 1]
2. [Step 2]
3. [Step 3]
## Expected Behavior
[What should happen]
## Actual Behavior
[What actually happens]
## Environment
- OS: [e.g., macOS 14.0]
- Browser: [e.g., Chrome 120]
- Version: [e.g., v1.2.3]
## Additional Context
[Screenshots, logs, etc.]
Feature Template (~/.claude/skills/github-workflow/templates/issue-feature.md):
## Summary
[Brief description of the feature]
## Motivation
[Why is this feature needed?]
## Proposed Solution
[How should this work?]
## Alternatives Considered
[Other approaches and why they weren't chosen]
## Additional Context
[Mockups, examples, references]
Task Template (~/.claude/skills/github-workflow/templates/issue-task.md):
## Task
[What needs to be done]
## Acceptance Criteria
- [ ] [Criterion 1]
- [ ] [Criterion 2]
- [ ] [Criterion 3]
## Notes
[Additional context or constraints]
Use GitHub MCP or gh CLI:
# Using gh CLI
gh issue create --title "Title" --body "Body" --label "bug"
# Using GitHub MCP
mcp__github__create_issue(
owner="owner",
repo="repo",
title="Issue title",
body="Issue body",
labels=["bug"]
)
gh issue view 123
# Or with MCP
mcp__github__get_issue(owner="owner", repo="repo", issue_number=123)
gh issue close 123 --comment "Fixed in PR #456"
# Or with MCP
mcp__github__update_issue(
owner="owner",
repo="repo",
issue_number=123,
state="closed"
)
Add issue reference to branch commits:
# Get current branch
BRANCH=$(git branch --show-current)
# If branch name contains issue number (feat/123-dark-mode)
ISSUE_NUM=$(echo "$BRANCH" | grep -oE '[0-9]+' | head -1)
echo "Branch $BRANCH linked to issue #$ISSUE_NUM"
echo "Commits will reference this issue automatically."
Created issue #456: Fix login validation bug
URL: https://github.com/owner/repo/issues/456
Details:
Type: Bug
Labels: bug, priority-high
Assignees: @username
Next steps:
/git-branch fix/456-login-validation # Create linked branch
/gh-triage # Triage more issues
Issue #456: Fix login validation bug
State: Open
Created: 2 days ago by @reporter
Labels: bug, priority-high
Assignees: @username
Description:
Login form accepts empty email addresses when it shouldn't.
Comments (3):
@user1 (1 day ago): I can reproduce this.
@user2 (12 hours ago): Working on a fix.
@user3 (2 hours ago): PR #789 addresses this.
Related PRs:
#789 (open) - Fix email validation
Actions:
/gh-pr-status 789 # Check PR status
/gh-issue close 456 # Close when fixed
| Label | Use For |
|-------|---------|
| bug | Something isn't working |
| enhancement | New feature or request |
| documentation | Documentation improvements |
| good first issue | Good for newcomers |
| help wanted | Extra attention needed |
| priority-high | Urgent issues |
| wontfix | Won't be worked on |
When creating branches for issues, include the issue number:
/git-branch feat/123-dark-mode # Feature for issue #123
/git-branch fix/456-login-bug # Bug fix for issue #456
This enables:
/git-branch feat/123-feature to create linked branch/gh-triage to batch label issues/commit with "Fixes #123" in message to auto-close/gh-pr-status to check PR linked to issuedevelopment
Use when the council needs to surface organizational knowledge buried across multiple internal sources (wikis, design docs, ADRs, past tickets, postmortems, chat archives, code repos). Plans where to look, what to cross-reference, and how to synthesize findings into evidence the council can act on. Do not use for external market research (use competitive-analysis), library evaluation (use library-evaluation), or technology trend assessment (use technology-radar).
testing
Use to convert a Word .docx file to PDF and/or verify its page count. Triggers on: converting docx to pdf, rendering a document, checking how many pages a docx produces, or asserting a page-count constraint (e.g. a resume must stay 2 pages). Wraps LibreOffice headless conversion.
development
Security audit checklist for web applications. Use when reviewing, auditing, or hardening a web app's security posture. Covers rate limiting, auth headers, IP blocking, CORS, security middleware, input validation, file upload limits, ORM usage, and password hashing. Triggers on requests like "review security", "harden this app", "security audit", "check for vulnerabilities", or when building/reviewing API endpoints.
development
Interactive wizard to craft effective prompts using Claude Code best practices