开始使用免费开始使用

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.

本练习是课程的一部分

Claude Code in Action

查看课程

练习说明

  • 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.

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习