/claude-code-action

Primary LanguageTypeScriptMIT LicenseMIT

Claude Code Action responding to a comment

Claude Code Action

A general-purpose Claude Code action for GitHub PRs and issues that can answer questions and implement code changes. This action listens for a trigger phrase in comments and activates Claude act on the request. It supports multiple authentication methods including Anthropic direct API, Amazon Bedrock, and Google Vertex AI.

Features

  • ๐Ÿค– Interactive Code Assistant: Claude can answer questions about code, architecture, and programming
  • ๐Ÿ” Code Review: Analyzes PR changes and suggests improvements
  • โœจ Code Implementation: Can implement simple fixes, refactoring, and even new features
  • ๐Ÿ’ฌ PR/Issue Integration: Works seamlessly with GitHub comments and PR reviews
  • ๐Ÿ› ๏ธ Flexible Tool Access: Access to GitHub APIs and file operations (additional tools can be enabled via configuration)
  • ๐Ÿ“‹ Progress Tracking: Visual progress indicators with checkboxes that dynamically update as Claude completes tasks
  • ๐Ÿƒ Runs on Your Infrastructure: The action executes entirely on your own GitHub runner (Anthropic API calls go to your chosen provider)

Quickstart

The easiest way to set up this action is through Claude Code in the terminal. Just open claude and run /install-github-app.

This command will guide you through setting up the GitHub app and required secrets.

Note:

  • You must be a repository admin to install the GitHub app and add secrets
  • This quickstart method is only available for direct Anthropic API users. For AWS Bedrock or Google Vertex AI setup, see docs/cloud-providers.md.

Documentation

๐Ÿ“š FAQ

Having issues or questions? Check out our Frequently Asked Questions for solutions to common problems and detailed explanations of Claude's capabilities and limitations.

License

This project is licensed under the MIT Licenseโ€”see the LICENSE file for details.