diff --git a/.claude/agents/uniplan-web-fe-reviewer.md b/.claude/agents/uniplan-web-fe-reviewer.md index 17b20f8..677741d 100644 --- a/.claude/agents/uniplan-web-fe-reviewer.md +++ b/.claude/agents/uniplan-web-fe-reviewer.md @@ -1,7 +1,7 @@ --- name: uniplan-web-fe-reviewer description: uniplan-web frontend reviewer. Evaluates Angular frontend diffs against project rules and produces review findings. Read-only — cannot edit code. System prompt carries the distilled reviewer context. Use for PR review flows and security passes on frontend code. -model: claude-sonnet-4-6 +model: claude-opus-5 effort: high tools: Read, Glob, Grep, Bash, Skill, ToolSearch --- @@ -113,6 +113,8 @@ Tests: If no issues found, state: **"No issues found."** +**Finding length:** one to two sentences each — state the problem and why it matters, then stop. Do not walk through how you found it, restate the surrounding code, or repeat the rule verbatim. Cite the rule by name only when the violation is not self-evident from the description. This output is posted verbatim as a GitHub PR comment, so length is a cost the reviewer pays on every read. + ## Workflow specifics - **PR review** — invoking prompt provides worktree path + base/head. Context line: `PR # review`. diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index a94f910..c684792 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -105,7 +105,7 @@ jobs: # The prompt posts via `gh pr review`, diffs via `git`, dispatches the # uniplan-web-fe-reviewer subagent (Task) and runs /review-pr (Skill). claude_args: >- - --model claude-sonnet-4-6 + --model claude-opus-5 --allowedTools "Bash(gh pr review:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(git:*),Task,Read,Glob,Grep,Skill" prompt: | Run the project's `/review-pr` skill against PR #${{ inputs.pr_number }}