/everything-copilot-cli:fix-github-issuefrom everything-copilot-cli
Reads a GitHub Issue, locates the bug, applies a fix, writes tests, and opens a PR from the terminal. Use when you have an issue number or link and want end-to-end resolution.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Differentiation from github-issue-triage: This skill fixes issues (code changes, tests,
PR). github-issue-triage is for organizing and classifying issues in bulk.
gh is on PATH, Copilot CLI omits issue_read and search_issues and the model is expected to use gh instead (e.g.
gh issue view <n> --comments, gh search issues "<error text>"). To call the MCP tools, start the session with --add-github-mcp-tool=<name> for every
GitHub MCP tool you need (it replaces the default set, so include default ones you still use), or
--enable-all-github-mcp-tools, which also enables write toolsgh CLI installed (for issue inspection, branch creation, and PR fallback)# Default with gh on PATH:
gh issue view 123 --repo my-org/my-app --comments
# When the MCP tools are exposed (no gh on PATH, or --add-github-mcp-tool=<name> for every GitHub MCP
# tool you need -- it replaces the default set -- or --enable-all-github-mcp-tools, which also enables write tools):
# Tool: github-mcp-server-issue_read
# method: "get"
# owner: "my-org"
# repo: "my-app"
# issue_number: 123
# Also read any existing comments for additional context:
# Tool: github-mcp-server-issue_read
# method: "get_comments"
# owner: "my-org"
# repo: "my-app"
# issue_number: 123
Extract:
# Search for the symbol, function, or error message mentioned in the issue
git --no-pager grep -n "functionNameFromIssue" -- "*.ts" "*.js"
# If it's an error message, search for where it's generated
git --no-pager grep -rn "the exact error string"
# Recent changes to the affected file
git --no-pager log --oneline -10 -- path/to/file.ts
$issueNumber = 123
$shortDesc = "fix-null-check-users-api"
git checkout -b "fix/issue-$issueNumber-$shortDesc"
If the project has tests, write the test before fixing:
# Run existing tests to confirm baseline
npm test -- --testPathPattern="users"
# Write a failing test that demonstrates the bug
# (Edit the appropriate test file)
# Confirm test fails
npm test -- --testPathPattern="users" 2>&1 | Select-Object -Last 20
Make the minimal change to fix the root cause. Avoid unrelated cleanup in this commit.
# Verify tests pass after fix
npm test -- --testPathPattern="users"
# Run broader test suite
npm test
git add -A
git commit -m "🐛 fix(users): handle null response when user not found
Fixes #123. The /api/users/:id endpoint was throwing a 500 error when the
user ID did not exist instead of returning 404. Added null check before
accessing user.profile."
git push -u origin HEAD
# Open PR via gh CLI
gh pr create `
--title "fix: handle null user in /api/users/:id (closes #123)" `
--body "## Summary
Fixes #123
## Root Cause
The handler called \`user.profile.name\` without checking if \`user\` existed.
## Fix
Added early return with 404 response when user is not found.
## Testing
- Added unit test \`should return 404 when user not found\`
- All existing tests pass" `
--base main
Issue #89: GET /api/posts/999 returns 500 Internal Server Error
Expected: 404 Not Found
Actual: TypeError: Cannot read property 'title' of null
Copilot workflow:
gh issue view 89 --comments (when exposed: issue_read) → get full issue contextgrep -n "Cannot read property" → find where null is accessedfix/issue-89-null-postexpect(response.status).toBe(404)if (!post) return res.status(404).json({ error: 'Post not found' })Fixes #89Issue #102: Missing 'updatedAt' field in /api/users response
Expected: response includes updatedAt timestamp
Actual: field not present
Copilot workflow:
gh issue view 102 --comments (when exposed: issue_read + get_comments) → clarify which endpoint and formatupdatedAt fieldFixes #102needs-repro, ask for reproduction steps before fixingFixes #N in commit: GitHub will auto-close the issue on mergesearch_issues (with gh: gh search issues "<error message>") with the error messagegithub-issue-triage — organize/classify issues in bulkcommit-workflow — craft the commit messagegithub-pr-workflow — manage the resulting PRWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job