Get startedGet started for free

Wire up the action

Code Review handles reviewing. When the job goes past review and into doing, you reach for the GitHub action.

Your team wants Claude to pick up work from pull request comments: someone writes @claude implement the spec in the linked issue, and the action runs. Write that workflow into the queries project now. Pointing it at a real repository is a separate step that needs /install-github-app and repo admin, so here you are authoring the file itself.

This exercise is part of the course

Claude Code in Action

View Course

Exercise instructions

  • Start Claude Code with claude.
  • Ask Claude to create .github/workflows/claude.yaml that runs anthropics/claude-code-action@v1 when someone comments on a pull request.
  • Have it pass the API key from repository secrets, listen for the @claude trigger phrase, and tune the run in claude_args with a five-turn cap and a permission mode that never stops to ask.
  • Type /exit to exit Claude Code.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise