github-dev
GitHub and Git workflow tools: commit-creator, pr-creator, and pr-reviewer agents, slash commands for commits and PRs, GitHub MCP integration, plus skills for PR/commit workflows.
View on GitHubTable of content
GitHub and Git workflow tools: commit-creator, pr-creator, and pr-reviewer agents, slash commands for commits and PRs, GitHub MCP integration, plus skills for PR/commit workflows.
Installation
npx claude-plugins install @fcakyon/claude-settings/github-dev
Contents
Folders: agents, commands, hooks, skills
Included Skills
This plugin includes 3 skill definitions:
commit-workflow
This skill should be used when user asks to “commit these changes”, “write commit message”, “stage and commit”, “create a commit”, “commit staged files”, or runs /commit-staged or /commit-creator commands.
View skill definition
Commit Workflow
Complete workflow for creating commits following project standards.
Process
Use commit-creator agent
- Run
/commit-staged [context]for automated commit handling - Or follow manual steps below
- Run
Analyze staged files only
- Check all staged files:
git diff --cached --name-only - Read diffs:
git diff --cached - Completely ignore unstaged changes
- Check all staged files:
Commit message format
- First line:
{task-type}: brief description of the big picture change - Task types:
feat,fix,refactor,docs,style,test,build - Focus on ‘why’ and ‘what’, not implementation details
- For complex changes, add bullet points after blank line
- First line:
Message examples
feat: implement user authentication systemfix: resolve memory leak in data processing pipelinerefactor: restructure API handlers to align with project architecture
Documentation update
- Check README.md for:
- New features that should be documented
- Outdated descriptions no longer matching implementation
- Missing setup instructions for new dependencies
- Update as needed based on staged changes
- Check README.md for:
Execution
- Commit uses HEREDOC syntax for proper formatting
- Verify commit message has correct format
- Don’t add test plans to commit messages
Best Practices
- Analyze staged files before writing message
- Keep first line concise (50 chars recommended)
- Use active voice in message
- Refere
…(truncated)
pr-workflow
This skill should be used when user asks to “create a PR”, “make a pull request”, “open PR for this branch”, “submit changes as PR”, “push and create PR”, or runs /create-pr or /pr-creator commands.
View skill definition
Pull Request Workflow
Complete workflow for creating pull requests following project standards.
Process
Verify staged changes exist with
git diff --cached --name-onlyBranch setup
- If on main/master, create feature branch first:
feature/brief-descriptionorfix/brief-description - Use
github-dev:commit-creatorsubagent to handle staged changes if needed
- If on main/master, create feature branch first:
Documentation check
- Update README.md or docs based on changes compared to target branch
- For config/API changes, use
mcp__tavily__tavily_searchto verify info and include sources
Analyze all commits
- Use
git diff <base-branch>...HEADto review complete changeset - PR message must describe all commits, not just latest
- Focus on what changed from reviewer perspective
- Use
Create PR
- Use
/pr-creatoragent orgh pr createwith parameters:-t(title): Start with capital letter, use verb, NO “fix:” or “feat:” prefix-b(body): Brief summary + bullet points with inline markdown links-a @me(self-assign)-r <reviewer>: Find viagh pr list --repo <owner>/<repo> --author @me --limit 5
- Use
PR Body Guidelines
- Summary: Few words or 1 sentence describing changes
- Changes: Bullet points with inline links
[src/auth.py:42](src/auth.py#L42) - Examples: For significant changes, include before/after code examples
- No test plans: Never mention test procedures in PR
Examples
W
…(truncated)
setup
This skill should be used when the user asks “how to setup GitHub CLI”, “configure gh”, “gh auth not working”, “GitHub CLI connection failed”, “gh CLI error”, or needs help with GitHub authentication.
View skill definition
GitHub CLI Setup
Configure gh CLI for GitHub access.
Quick Setup
gh auth login
Select: GitHub.com → HTTPS → Login with browser
Verify Authentication
gh auth status
gh api user --jq '.login'
Troubleshooting
If gh commands fail:
- Check authentication -
gh auth status - Re-login if needed -
gh auth login - Check scopes - Ensure token has repo access
- Update gh -
brew upgrade ghor equivalent