Use this skill when the user wants to "create issue", "update issue", "add labels", "assign issue", "close issue", "link issues", or manage GitHub issue metadata. Provides comprehensive GitHub issue CRUD operations with intelligent context awareness.
/plugin marketplace add constellos/claude-code-plugins/plugin install github-orchestration@constellos-localThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Comprehensive GitHub issue lifecycle management with templates, metadata, and intelligent context detection.
Issue Management provides explicit control over GitHub issue operations. While hooks automatically create issues on first prompt, this skill allows users to directly manage issue creation, updates, labeling, assignment, and linking with full control over templates and metadata.
Create issues using structured templates:
# Bug report with template
gh issue create --title "Auth fails on Safari" --body "$(cat <<'EOF'
## Bug Description
Authentication fails silently on Safari 17.2
## Steps to Reproduce
1. Open Safari 17.2
2. Navigate to /login
3. Enter credentials
4. Click Sign In
## Expected Behavior
User should be redirected to dashboard
## Actual Behavior
Page reloads with no error message
## Environment
- OS: macOS 14.2
- Browser: Safari 17.2
- Version: v1.5.0
EOF
)"
Available Templates:
getBugTemplate() - Bug report with repro stepsgetFeatureTemplate() - Feature request with problem statementgetEpicTemplate() - Epic with subtasks checklistgetTaskTemplate() - Simple task with acceptance criteriaUtilities:
renderTemplate(template, vars) - Substitute {{varName}} placeholdersgetMinimalIssueBody(description, context?) - Basic issue without templatecreateSubissueBody(parentNumber, description) - Issue with parent referenceUpdate issue metadata after creation:
# Add labels
gh issue edit 42 --add-label "bug,priority:high"
# Assign users
gh issue edit 42 --add-assignee @me,@username
# Update milestone
gh issue edit 42 --milestone "v2.0"
# Update body
gh issue edit 42 --body-file updated-description.md
Link issues with parent-child or related relationships:
# Parent-child (in subissue body)
**Parent Issue:** #42
This subissue implements the authentication flow from the parent epic.
# Related issues (in body)
**Related Issues:** #40, #41, #43
# Closes references (auto-links on merge)
Closes #42
Fixes #43
Utilities:
addBranchReference(issueBody, branchName) - Add branch marker to issueFind issues with advanced queries:
# Search by label
gh issue list --label "bug"
# Search by state and assignee
gh issue list --state open --assignee @me
# Search with text query
gh issue list --search "authentication in:title,body"
# Search by milestone
gh issue list --milestone "v2.0"
# Complex search
gh issue list --search "is:open label:bug author:@me created:>2024-01-01"
The skill automatically detects context from:
42-feature/name format.claude/logs/branch-issues.json for linked issuesdetectWorkType() for auto-labelingThis skill complements the automatic hooks:
| Hook | Automatic Behavior | When to Use Skill |
|---|---|---|
| create-issue-on-prompt | Creates issue on first prompt | Create multiple issues, use specific templates |
| sync-plan-to-issue | Syncs plan files to issues | Manually update issue from plan changes |
| sync-task-to-subissue | Creates subissues from Task prompts | Bulk create subissues, custom subissue structure |
State Files:
.claude/logs/plan-issues.json - Plan → Issue mapping.claude/logs/branch-issues.json - Branch → Issue mapping.claude/logs/task-subissues.json - Task → Subissue mappingAutomatically categorize issues:
import { detectWorkType, formatWorkTypeLabel } from '../shared/hooks/utils/work-type-detector.js';
const workType = detectWorkType('fix the authentication bug');
// Returns: 'fix'
const label = formatWorkTypeLabel(workType);
// Returns: 'Bug Fix'
Patterns:
# Use getBugTemplate() and renderTemplate()
TEMPLATE=$(cat <<'EOF'
## Bug Description
{{description}}
## Steps to Reproduce
1. {{step1}}
2. {{step2}}
3. {{step3}}
## Expected Behavior
{{expected}}
## Actual Behavior
{{actual}}
## Environment
- OS: {{os}}
- Browser: {{browser}}
- Version: {{version}}
EOF
)
# Substitute variables and create issue
gh issue create \
--title "Safari auth failure" \
--label "bug,priority:high" \
--body "$TEMPLATE" # (after variable substitution)
# Create parent epic
PARENT=$(gh issue create \
--title "Implement authentication system" \
--label "epic" \
--body "$(cat <<'EOF'
## Epic Overview
Build complete authentication system with OAuth and email/password support.
## Goals
- OAuth integration (Google, GitHub)
- Email/password authentication
- Password reset flow
- Session management
## Success Criteria
- All auth flows tested
- Security audit passed
- Documentation complete
## Subtasks
- [ ] #43 OAuth integration
- [ ] #44 Email/password auth
- [ ] #45 Password reset
- [ ] #46 Session management
EOF
)" \
--json number -q .number)
# Create subissues with parent reference
for task in "OAuth integration" "Email/password auth" "Password reset" "Session management"; do
gh issue create \
--title "$task" \
--label "task" \
--body "**Parent Issue:** #$PARENT
$task for authentication system"
done
# Detect work type from title
TITLE="Fix authentication bug in Safari"
WORK_TYPE="fix" # Detected by detectWorkType()
# Add appropriate labels
gh issue edit 42 --add-label "bug,browser:safari,priority:high"
# Add branch reference to issue body
CURRENT_BODY=$(gh issue view 42 --json body -q .body)
UPDATED_BODY="$CURRENT_BODY
---
**Branch:** \`42-fix/safari-auth-bug\`"
echo "$UPDATED_BODY" | gh issue edit 42 --body-file -
# Create multiple related issues
ISSUES=(
"Implement login form:feature"
"Add form validation:chore"
"Create auth API endpoints:feature"
"Write authentication tests:chore"
)
for item in "${ISSUES[@]}"; do
TITLE="${item%:*}"
TYPE="${item#*:}"
LABEL=$(echo "$TYPE" | sed 's/feature/enhancement/;s/fix/bug/')
gh issue create --title "$TITLE" --label "$LABEL" --body "Task for authentication epic"
done
.claude/logs/ files synced when creating issues manuallygetBugTemplate() - Bug report templategetFeatureTemplate() - Feature request templategetEpicTemplate(subissues?) - Epic with optional subtasksgetTaskTemplate() - Simple task templaterenderTemplate(template, vars) - Substitute variablesgetMinimalIssueBody(description, context?) - Basic bodycreateSubissueBody(parentNumber, description) - Subissue with parent linkaddBranchReference(body, branchName) - Add branch markerdetectWorkType(prompt, issueLabels?) - Detect work type from textformatWorkTypeLabel(workType) - Format as human-readable label.claude/logs/plan-issues.json - Plan → Issue mapping.claude/logs/branch-issues.json - Branch → Issue mapping.claude/logs/task-subissues.json - Task → Subissue mapping# Read plan file
PLAN_CONTENT=$(cat .claude/plans/feature-auth.md)
# Extract title from first heading
TITLE=$(echo "$PLAN_CONTENT" | grep -m1 "^# " | sed 's/^# //')
# Create issue with plan content
ISSUE_NUM=$(gh issue create \
--title "$TITLE" \
--label "planned" \
--body "$PLAN_CONTENT" \
--json number -q .number)
# Save to state file
echo "{\"feature-auth\": {\"issueNumber\": $ISSUE_NUM}}" > .claude/logs/plan-issues.json
# Get current branch
BRANCH=$(git rev-parse --abbrev-ref HEAD)
# Extract issue number
ISSUE_NUM=$(echo "$BRANCH" | grep -oE '^[0-9]+')
if [ -n "$ISSUE_NUM" ]; then
# Update issue with progress
gh issue comment $ISSUE_NUM --body "🚧 Currently working on this in branch \`$BRANCH\`"
fi
# Close all issues in epic when epic closes
PARENT=42
SUBISSUES=$(gh issue list --search "in:body \"Parent Issue: #$PARENT\"" --json number -q '.[].number')
for subissue in $SUBISSUES; do
gh issue close $subissue --comment "Closing as part of completed epic #$PARENT"
done
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.