Agent skill
gh-contrib
Create GitHub issues and PRs following contribution guidelines. Activate when user says 'contribute this', 'submit pr', 'open issue and pr', or wants to submit changes to upstream.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/gh-contrib
SKILL.md
GitHub Contribution Workflow
Prerequisites
- Changes committed in a feature branch
- Duplicates already verified by user
Workflow
1. Check Contribution Guidelines
Deploy explore agent to find contribution guidelines:
- Look for CONTRIBUTING.md, README, issue/PR templates
- Extract: title format, target branch, required labels
2. Detect Fork & Push
git remote -v # identify fork remote
git push -u <fork-remote> <branch>
3. Create Issue
gh issue create --repo <owner>/<repo> \
--title "<title per guidelines>" \
--body "<body>"
4. Create PR
gh pr create --repo <owner>/<repo> \
--head <fork-user>:<branch> \
--base <target-branch> \
--title "<title>" \
--body "## Summary
<description>
Closes #<issue-number>"
5. Comment on Issue
gh issue comment <issue-number> --repo <owner>/<repo> --body "PR: #<pr-number>"
Default Conventions
Use only if no contribution guidelines found:
| Type | Issue Prefix | PR Prefix |
|---|---|---|
| Feature | [FEATURE]: |
feat: |
| Bug | [BUG]: |
fix: |
| Docs | [DOCS]: |
docs: |
| Chore | [CHORE]: |
chore: |
Flow
changes committed -> push to fork -> open issue -> open pr -> comment on issue
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?