Allow Claude to fetch AI SDK docs during PR review

This commit is contained in:
dayuan.jiang
2025-11-29 01:20:20 +09:00
parent 56167d363c
commit 50d16cbe47

View File

@@ -87,6 +87,9 @@ jobs:
- Status handling: Check status (submitted/streaming/ready/error) before actions - Status handling: Check status (submitted/streaming/ready/error) before actions
- Stream cleanup: Call stop() when aborting streams - Stream cleanup: Call stop() when aborting streams
When reviewing AI SDK usage, fetch https://ai-sdk.dev/docs/ to verify correct patterns.
Key doc pages: /docs/ai-sdk-ui/chatbot, /docs/ai-sdk-core/generating-text, /docs/ai-sdk-core/tools-and-tool-calling
DO NOT comment on: DO NOT comment on:
- Performance optimizations - Performance optimizations
- Code style or formatting - Code style or formatting
@@ -97,4 +100,4 @@ jobs:
Use `mcp__github_inline_comment__create_inline_comment` for inline comments. Use `mcp__github_inline_comment__create_inline_comment` for inline comments.
Be very selective - if there are no real bugs, just say "LGTM" in a PR comment. Be very selective - if there are no real bugs, just say "LGTM" in a PR comment.
claude_args: | claude_args: |
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*)" --allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),WebFetch(domain:ai-sdk.dev)"