Notre avis
Intégration complète avec l'API GitHub pour gérer les dépôts, les issues, les PRs, les workflows Actions et la sécurité du code via Claude Code.
Points forts
- Interface unifiée pour une large gamme d'opérations GitHub (dépôts, issues, PRs, Actions, sécurité).
- Scripts dédiés avec formats de sortie JSON, markdown ou minimal, facilitant l'analyse.
- Arbre de décision intégré pour guider l'utilisateur vers la bonne référence.
- Vérification rapide de l'authentification et des limites de taux.
Limites
- Nécessite une variable d'environnement GITHUB_TOKEN avec les bons scopes, ce qui peut être un obstacle à la configuration initiale.
- Certaines opérations avancées (ex: revue de code détaillée) ne sont pas couvertes.
- Dépend de scripts Python externes, ce qui peut limiter la portabilité.
Utilisez cette compétence lorsque vous devez automatiser des tâches GitHub récurrentes comme la création de PRs, la gestion d'issues ou le déclenchement de workflows CI.
Évitez de l'utiliser pour des opérations très simples (ex: créer un fichier unique) qui peuvent être faites directement avec l'interface web GitHub.
Analyse de sécurité
PrudenceThe skill provides legitimate GitHub automation using Bash and a required token. While it does not contain destructive or exfiltrating instructions directly, the token and script execution pose a risk if an AI is tricked into misusing them. The token scopes include repo and workflow, enabling significant changes, so caution is advised.
- •Requires GITHUB_TOKEN environment variable, which grants broad repository access
- •Uses Bash to execute Python scripts, which could be manipulated if prompt is compromised
- •Powerful operations like merging PRs, triggering workflows, and updating code are possible with the supplied token
Exemples
Create a pull request from branch 'feature/new-login' to 'main' in the repository my-org/my-app with title 'Add new login flow' and description 'Implements OAuth2 authentication.'List all open issues labeled 'bug' in the repository my-org/my-app, sorted by newest first.Trigger the 'CI' workflow on the repository my-org/my-app using the 'main' branch and pass the input 'deploy=true'.name: github description: >- Complete GitHub integration for repositories, issues, PRs, workflows, and security. Use when working with GitHub: (1) Repository operations - get/create files, branches, search code, (2) Issue management - list, create, update, comment on issues, (3) Pull requests - create, review, merge PRs, check CI status, (4) GitHub Actions - list workflows, view runs, download logs, trigger workflows, (5) Code security - Dependabot alerts, code scanning, secret scanning. Requires GITHUB_TOKEN environment variable with appropriate scopes. allowed-tools:
- Bash
- Read
GitHub Integration
Complete GitHub API integration for Claude Code. All operations require the GITHUB_TOKEN environment variable.
Quick Start
Verify authentication:
python scripts/github_client.py --check-auth
Check rate limits:
python scripts/github_client.py --rate-limit
Operation Reference
Choose your operation and load the appropriate reference file for detailed usage.
| Task | Reference File | Common Operations | |------|----------------|-------------------| | Repository/Files | repos.md | Get files, create/update files, branches, fork | | Issues | issues.md | List, create, update, comment, labels | | Pull Requests | pull-requests.md | Create, review, merge, check status | | GitHub Actions | actions.md | List runs, view logs, rerun, trigger | | Security | code-security.md | Dependabot, code scanning, secrets | | Search | search.md | Search repos, code, issues, users | | Troubleshooting | api-patterns.md | Error handling, rate limits, patterns |
Decision Tree
What do you need to do?
│
├── Work with files or code?
│ └── Read references/repos.md
│ - Get file contents
│ - Create/update files
│ - Create branches
│ - Fork repositories
│
├── Manage issues?
│ └── Read references/issues.md
│ - List/filter issues
│ - Create issues
│ - Update status/labels
│ - Add comments
│
├── Work with pull requests?
│ └── Read references/pull-requests.md
│ - Create PRs
│ - Review/approve
│ - Check CI status
│ - Merge PRs
│
├── GitHub Actions / CI?
│ └── Read references/actions.md
│ - List workflow runs
│ - View/download logs
│ - Rerun failed jobs
│ - Trigger workflows
│
├── Security alerts?
│ └── Read references/code-security.md
│ - Dependabot alerts
│ - Code scanning
│ - Secret scanning
│
└── Search GitHub?
└── Read references/search.md
- Search repositories
- Search code
- Search issues/PRs
- Search users
All Scripts Support --help
Run any script with --help to see full usage:
python scripts/repos.py --help
python scripts/issues.py --help
python scripts/pull_requests.py --help
python scripts/search.py --help
python scripts/actions.py --help
python scripts/code_security.py --help
Output Formats
All scripts support --format:
json(default) - Full JSON outputmarkdown- Human-readable formatminimal- Compact JSON
Required Token Scopes
| Operation | Required Scopes |
|-----------|-----------------|
| Repositories (public) | public_repo |
| Repositories (private) | repo |
| Issues & PRs | repo |
| GitHub Actions | workflow |
| Code Security | security_events |
| Search Code | Authentication required |
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.