github-issues-quick-reference
Quick reference for GitHub Issues management via gh CLI with priority workflow
What this skill does
# GitHub Issues Quick Reference
## Overview
Manage GitHub Issues using the gh CLI with priority-based workflow. All issue operations should use the gh CLI to ensure consistency and proper metadata management.
**Reference Commands**: Use `/gh-create-issue`, `/gh-close-issue`, `/gh-triage`, `/gh-status-report` for guided workflows.
---
## Priority System
### Three-Tier Priority Labels
- **P1 (Critical)**: Blocks core functionality, security issues, affects all users, data loss
- **P2 (High)**: Significant impact but has workaround, affects some users
- **P3 (Normal)**: Standard workflow items, minor bugs, feature requests
### Setting Up Priority Labels
```bash
gh label create P1 --description "Critical priority - blocks core functionality" --color d73a4a
gh label create P2 --description "High priority - significant impact" --color fbca04
gh label create P3 --description "Normal priority - standard workflow" --color 0e8a16
```
---
## Essential Commands
### Viewing Issues
**IMPORTANT**: Use `--json` format for structured, parseable output:
```bash
gh issue view 59 --json title,body,labels,state,number,author,assignees,createdAt,updatedAt
```
**Recommended JSON fields**:
- `title` - Issue title
- `body` - Full description
- `labels` - All labels (including priority)
- `state` - OPEN or CLOSED
- `number` - Issue number
- `author` - Creator
- `assignees` - Assigned users
- `createdAt` - Creation timestamp
- `updatedAt` - Last modified
**Basic Commands**:
| Action | Command |
|----------------------------|----------------------------------------------|
| List all issues | `gh issue list` |
| List open issues | `gh issue list --state open` |
| Filter by priority | `gh issue list --label P1` |
| Filter by assignee | `gh issue list --assignee @me` |
| View specific issue | `gh issue view 42 --json title,body,labels,state,number` |
| Search issues | `gh issue list --search "keyword"` |
### Creating Issues
```bash
# Basic issue
gh issue create --title "Issue title" --body "Description"
# With priority and labels
gh issue create \
--title "Authentication fails" \
--body "Users cannot log in with SSO" \
--label "P1,bug" \
--assignee "@alice"
# Interactive creation
gh issue create
```
### Updating Issues
| Action | Command |
|----------------------------|----------------------------------------------|
| Add label | `gh issue edit 42 --add-label "P2"` |
| Remove label | `gh issue edit 42 --remove-label "P3"` |
| Change title | `gh issue edit 42 --title "New title"` |
| Assign to user | `gh issue edit 42 --add-assignee "@bob"` |
| Add to milestone | `gh issue edit 42 --milestone "v1.0"` |
### Comments
```bash
# Add comment (ALWAYS include -cc signature)
gh issue comment 42 --body "Update here
-cc"
# Add comment with file
gh issue comment 42 --body-file comment.md
```
**CRITICAL**: Always end comments with `-cc` signature on its own line.
### Closing Issues
```bash
# Close with comment
gh issue close 42 --comment "Fixed in PR #43
Tested locally and in staging
-cc"
# Close without comment (not recommended)
gh issue close 42
```
### Reopening Issues
```bash
gh issue reopen 42 --comment "Issue has resurfaced
-cc"
```
---
## Workflow Examples
### Report a Bug (P1)
```bash
gh issue create \
--title "Login fails with SSO for all users" \
--body "## Description
Users cannot authenticate using SSO since deployment.
## Steps to Reproduce
1. Go to login page
2. Click 'Login with SSO'
3. Redirected to error page
## Expected Behavior
User should be authenticated and redirected to dashboard
## Actual Behavior
Error: 'Invalid OAuth state'
## Environment
- Production environment
- All users affected
- Started after deployment at 2pm" \
--label "P1,bug"
```
### Create Feature Request (P3)
```bash
gh issue create \
--title "Add dark mode to dashboard" \
--body "## Feature Description
Support dark mode theme in the user dashboard.
## Problem Statement
Users working at night find the bright interface uncomfortable.
## Proposed Solution
Add theme toggle in user settings.
## Acceptance Criteria
- [ ] User can toggle between light and dark mode
- [ ] Preference is saved per user
- [ ] All dashboard components support dark mode" \
--label "P3,enhancement"
```
### Close Fixed Issue
```bash
gh issue close 42 --comment "Fixed by implementing new auth flow in PR #43
## Changes Made
- Updated OAuth state validation
- Added session persistence
- Improved error handling
## Testing
- Tested locally with all SSO providers
- Verified in staging environment
- Monitored production for 1 hour post-deployment
No issues detected.
-cc"
```
### Triage and Prioritize
```bash
# List unlabeled issues
gh issue list --state open
# View issue details with structured data
gh issue view 45 --json title,body,labels,state,number,author,assignees
# Assign priority after assessment
gh issue edit 45 --add-label "P2"
```
---
## Priority Assessment Guidelines
### When to Use P1
- System is down or unusable
- Security vulnerabilities discovered
- Data loss or corruption occurring
- All users blocked from core functionality
- Production outage in progress
### When to Use P2
- Significant feature broken but workaround exists
- Performance severely degraded
- Affects substantial subset of users
- Important business functionality impaired
### When to Use P3
- Minor bugs with minimal impact
- UI/UX improvements
- Feature requests
- Technical debt
- Documentation updates
- Refactoring tasks
---
## Comment Signature
**CRITICAL RULE**: Every comment you post MUST end with:
```
-cc
```
This signature must be on its own line at the end of every comment. It identifies comments as being written by Claude Code for transparency and accountability.
Example:
```
Fixed the authentication issue and deployed to production.
-cc
```
---
## Best Practices
### DO
- ✅ Always assign priority labels (P1/P2/P3)
- ✅ Write descriptive, action-oriented titles
- ✅ Include reproduction steps for bugs
- ✅ Add acceptance criteria for features
- ✅ Link related PRs and commits
- ✅ Use the `-cc` signature in all comments
- ✅ Update priority if circumstances change
### DON'T
- ❌ Create issues without priority labels
- ❌ Forget the `-cc` signature in comments
- ❌ Use vague titles like "Fix bug"
- ❌ Close issues without explaining resolution
- ❌ Leave P1 issues unassigned
---
## Guided Workflows
For step-by-step guidance, use these commands:
| Task | Command |
|-----------------------------|----------------------|
| Create issue with guidance | `/gh-create-issue` |
| Close issue properly | `/gh-close-issue` |
| Triage open issues | `/gh-triage` |
| Generate status report | `/gh-status-report` |
---
## Common Patterns
### Check Status Before Work
```bash
# See what needs attention
gh issue list --label P1 --state open
# Check your assignments
gh issue list --assignee @me --state open
```
### After Fixing a Bug
```bash
# Close with summary
gh issue close 42 --comment "Fixed in PR #43
Changes: {summary}
Testing: {what was tested}
-cc"
```
### Weekly Review
```bash
# Generate status report
/gh-status-report
# Or manually:
gh issue list --label P1 --state open
gh issue list --label P2 --state open
gh issue list --state closed --limit 10
```
---
## Quick Filters
```bash
# Critical issues
gh issue list --label P1 --state open
# Unassigned issues
gh issue list --state open --json number,title,assignees | jq '.[] | select(.assignees == [])'
# Stale issues (older than 30 days)
gh issue list --state open --json number,title,createdRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.