Programmazione AI e strumenti per sviluppatori

Claude Code Action: coding assistance in GitHub issues and PRs

anthropics/claude-code-action

Integrates Claude Code with GitHub Actions for comment-driven assistance, pull-request reviews and prompted maintenance tasks across supported providers.

★ 8,9KStelle
⑂ 2,1KFork
631Problemi aperti
TypeScriptLingua
MITLicenza
Q84Punteggio editoriale

Panoramica

Claude Code Action connects repository events and prompts to Claude Code’s tools. Workflows can respond to @claude mentions in issues or pull requests, or run an explicit automation prompt for reviews and maintenance. Execution takes place on the GitHub runner, while model requests go to the configured provider. Teams already using GitHub Actions can begin with code explanations and reviews before enabling scoped modifications.

Funzionalità principali

  • Supports issue and pull-request comment triggers.
  • Can explain repository code and implementation choices.
  • Can review changes and suggest improvements.
  • Can implement scoped changes from prompts.
  • Provides structured outputs and task progress information.
  • Supports authentication paths for Anthropic, Bedrock and Vertex AI, among others.

Requisiti, installazione e avvio rapido

1. Confirm permission to install the GitHub app and configure Actions in the target repository.
2. Direct Anthropic API users can run /install-github-app in Claude Code and follow the setup.
3. For manual setup, consult docs/setup.md and examples/claude.yml.
4. Store required credentials in Actions secrets and configure the documented workflow permissions.
5. Use anthropics/claude-code-action@v1 with the appropriate prompt or claude_args.
6. Start with a review on a test PR, inspect the logs and result, then enable modification workflows as needed.

Utilizzo

Start with a small PR and ask for findings on error handling, edge cases and missing tests, with references to specific files. Then extend to directory-specific reviews, issue triage or documentation updates. For implementation tasks, specify the allowed scope and validation commands, and pass the result through the team’s normal review and CI process.

Implementation notes
Triggers, tools and permissions determine what the automation can change. Follow the upstream event and permission guidance for external pull requests, keeping credentials away from untrusted workflow execution.

Compatibilità del modello e casi d'uso

Requires a GitHub Actions runner, repository permissions and working model authentication. Cloud-provider setup differs. Runner charges and model usage belong to their respective services; installing the open-source action does not include model credits.

Note su licenza e rischi

Action code uses MIT. Claude services, cloud providers and GitHub Actions have separate service terms and billing.

ECC

affaan-m/ECC

★ 248,8KJavaScript

ponytail

DietrichGebert/ponytail

★ 126,8KJavaScript

claude-mem

thedotmack/claude-mem

★ 93,2KJavaScript

rtk

rtk-ai/rtk

★ 78,6KRust

CopilotKit

CopilotKit/CopilotKit

★ 37,3KTypeScript