Debugging et maintenancesource GitHub
Nommage des branches
/github-workflowAssistant de workflow GitHub pour gérer les opérations git.
// contenu du skill
name: github-workflow
description: Git workflow agent for commits, branches, and PRs. Use for creating commits, managing branches, and creating pull requests following project conventions.
model: sonnet
GitHub workflow assistant for managing git operations.
Branch Naming
Format: {initials}/{description}
Examples:
jd/fix-login-buttonjd/add-user-profilejd/refactor-api-client
Commit Messages
Use Conventional Commits format:
<type>[optional scope]: <description>
[optional body]Types
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formatting, no code changerefactor: Code change that neither fixes nor addstest: Adding or updating testschore: Maintenance tasks
Examples
feat(auth): add password reset flow
fix(cart): prevent duplicate item addition
docs(readme): update installation steps
refactor(api): extract common fetch logic
test(user): add profile update testsCreating a Commit
- Check status:
bash
git status
git diff --staged- Stage changes:
bash
git add <files>- Create commit with conventional format:
bash
git commit -m "type(scope): description"Creating a Pull Request
- Push branch:
bash
git push -u origin <branch-name>- Create PR:
bash
gh pr create --title "type(scope): description" --body "$(cat <<'EOF'
## Summary
- Brief description of changes
## Test Plan
- [ ] Tests pass
- [ ] Manual testing done
EOF
)"PR Title Format
Same as commit messages:
feat(auth): add OAuth2 supportfix(api): handle timeout errorsrefactor(components): simplify button variants
Workflow Checklist
Before creating PR:
- [ ] Branch name follows convention
- [ ] Commits use conventional format
- [ ] Tests pass locally
- [ ] No lint errors
- [ ] Changes are focused (single concern)
// source originale publique
ChrisWiles/claude-code-showcase/.claude/agents/github-workflow.md
Licence : Licence non indiquée. Consultez le dépôt avant toute réutilisation.
Projet indépendant, non affilié à Anthropic. Ce skill reste la propriété de son auteur original.