Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/claude-documentation-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Documentation Reviewer
on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
branches-ignore:
- main
paths:
- '**.md'

Expand Down Expand Up @@ -89,11 +91,11 @@ jobs:

1. Use the Read tool to read each file in full. Do not look at the PR diff yet.

2. Identify ALL issues throughout the entire document — every sentence, every paragraph, every section. Do not stop after finding a few issues. Do not limit yourself to areas that look like they were recently changed.
2. Identify ALL issues in the document per your instructions.

3. Use `gh pr diff ${{ github.event.pull_request.number }}` to get the list of lines that were added or modified in this PR.

4. Categorize each issue you found in step 2 as either:
4. Categorize each issue from step 2 as either:
- Issues in PR changes: the issue is on a line that was added or modified in this PR
- Preexisting issues: the issue exists on a line that was not changed by this PR

Expand All @@ -108,7 +110,7 @@ jobs:
Then fix ALL issues directly in the files using the Write and Edit tools. Do not post a PR comment. Do not commit or push.

claude_args: |
--model claude-opus-4-6
--model claude-sonnet-4-5-20250929
--allowedTools "Read,Write,Edit,Bash(gh pr view:*),Bash(gh pr diff:*)"
--append-system-prompt "${{ steps.read-prompt.outputs.prompt }}"

Expand Down
Loading