Skip to content

Add portable workflow templates for Claude Code integration#1012

Open
Vishaalsai29 wants to merge 2 commits intoanthropics:mainfrom
vishaalsai:claude/add-repo-overview-TqCdJ
Open

Add portable workflow templates for Claude Code integration#1012
Vishaalsai29 wants to merge 2 commits intoanthropics:mainfrom
vishaalsai:claude/add-repo-overview-TqCdJ

Conversation

@Vishaalsai29
Copy link

Summary

This PR adds three ready-to-use GitHub workflow templates that enable Claude Code integration across different use cases. These portable workflows can be easily copied into any repository to enable AI-assisted development workflows.

Key Changes

  • Added claude.yml: Tag-based workflow that responds to @claude mentions on issues and pull requests, allowing interactive code assistance and branch creation
  • Added claude-review.yml: Automatic PR review workflow that runs on every PR open/update with inline code review comments and security/performance analysis
  • Added claude-agent.yml: Manual workflow dispatch mode for running custom Claude tasks via the GitHub Actions UI with configurable prompts
  • Added SETUP.md: Comprehensive setup guide for the portable workflows with prerequisites, installation steps, and usage examples
  • Updated documentation: Minor formatting improvements to base-action/README.md, docs/setup.md, docs/migration-guide.md, docs/security.md, docs/configuration.md, base-action/CONTRIBUTING.md, and .claude/commands/label-issue.md (removed extra blank lines for consistency)

Implementation Details

All three workflows:

  • Use anthropics/claude-code-action@v1 with Anthropic API key authentication
  • Include proper GitHub permissions (contents, pull-requests, issues, id-token, actions)
  • Feature commented-out optional configurations for customization (model selection, allowed tools, etc.)
  • Support the same underlying Claude Code action infrastructure

The workflows demonstrate different trigger patterns:

  • Event-driven (issue comments, PR reviews)
  • Automatic (PR lifecycle events)
  • Manual (workflow_dispatch with user inputs)

These templates serve as starting points that users can copy and customize for their specific needs.

https://claude.ai/code/session_016Ft9YACF7CiYwG4pDsCmFQ

claude added 2 commits March 5, 2026 00:24
Includes three ready-to-use GitHub Actions workflows:
- claude.yml: Tag mode for @claude mentions on issues/PRs
- claude-review.yml: Automatic PR code reviews with inline comments
- claude-agent.yml: Manual agent mode via workflow_dispatch

https://claude.ai/code/session_016Ft9YACF7CiYwG4pDsCmFQ
Auto-formatted changes: remove extra blank lines in list items
and align markdown table columns.

https://claude.ai/code/session_016Ft9YACF7CiYwG4pDsCmFQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants