Back to all prompts
ClaudeData Analysis
Free

Claude GitHub Actions

Trigger Claude Code via @claude mentions in GitHub Actions workflow. Works best with Claude AI tool.

P
Piebald-AI
4.5

The Prompt

Create a GitHub Actions workflow that triggers Claude Code when @claude is mentioned in a comment, issue, or pull request. The workflow should run on an ubuntu-latest environment, with read permissions for contents, pull requests, issues, and id-token. It should include steps to checkout the repository and run Claude Code using the anthropics/claude-code-action. Provide a custom prompt to Claude, such as 'Update the pull request description to include a summary of changes.' Include constraints and quality criteria, such as specifying the ANTHROPIC_API_KEY secret and customizing behavior with claude_args.
#claude#github#actions#workflow#automation

Source: Piebald-AI/claude-code-system-prompts by Piebald-AI · License: MIT