mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
feat: update claude-review workflow to use slash command (#554)
* feat: update claude-review workflow to use progress tracking and slash command - Rename workflow from "Auto review PRs" to "PR Review with Progress Tracking" - Update trigger types to include synchronize, ready_for_review, reopened - Add pull-requests: write permission for tracking comments - Replace direct_prompt with /review-pr slash command using custom command file - Update to use claude-code-action@v1 - Switch to inline comment tool for more precise PR feedback 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * agents * refactor: standardize agent output format instructions Unified the output format instructions across all reviewer agents to follow a consistent structure: - Converted numbered sections to bold headers for better readability - Standardized "Review Structure" sections across all agents - Maintained distinct analysis areas specific to each reviewer type 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
20
.claude/commands/review-pr.md
Normal file
20
.claude/commands/review-pr.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
allowed-tools: Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)
|
||||
description: Review a pull request
|
||||
---
|
||||
|
||||
Perform a comprehensive code review using subagents for key areas:
|
||||
|
||||
- code-quality-reviewer
|
||||
- performance-reviewer
|
||||
- test-coverage-reviewer
|
||||
- documentation-accuracy-reviewer
|
||||
- security-code-reviewer
|
||||
|
||||
Instruct each to only provide noteworthy feedback. Once they finish, review the feedback and post only the feedback that you also deem noteworthy.
|
||||
|
||||
Provide feedback using inline comments for specific issues.
|
||||
Use top-level comments for general observations or praise.
|
||||
Keep feedback concise.
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user