diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml index ee919b366..9d4b73870 100644 --- a/.github/workflows/claude-issue-triage.yml +++ b/.github/workflows/claude-issue-triage.yml @@ -35,9 +35,9 @@ jobs: prompt: | REPO: ${{ github.repository }} ISSUE NUMBER: #${{ github.event.issue.number }} - + A user has reported an issue. Please help them by: - + 1. Deep think about the issue: **Understand the problem**: Analyze the issue description and any error messages **Search for context**: @@ -52,6 +52,7 @@ jobs: 2. Apply appropriate labels: - Type: bug, enhancement, question, documentation - Component: AIX, Zync, Beam, UI, UX, local-models, openai-models, etc. (based on CLAUDE.md) + - IMPORTANT: Always add the 'claude-triage' issue label to indicate this issue was triaged by Claude 3. Comment with: - Very brief thank you note, if applicable - Initial assessment diff --git a/.github/workflows/claude-pr-review.yml b/.github/workflows/claude-pr-review.yml index 53d781a39..dffdb0be8 100644 --- a/.github/workflows/claude-pr-review.yml +++ b/.github/workflows/claude-pr-review.yml @@ -48,19 +48,22 @@ jobs: prompt: | REPO: ${{ github.repository }} PR NUMBER: ${{ github.event.pull_request.number }} - + Please review this pull request and provide feedback on: - Potential bugs or issues - Adherence to Big-AGI architecture and design patterns - Code quality and best practices, including TypeScript types, error handling, and edge cases - Performance considerations: bundle size, React patterns, streaming efficiency - Security concerns if applicable - + Use the repository's CLAUDE.md for guidance on style and conventions. - + Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR. Use `gh pr review comment` for inline suggestions on specific lines. - + + IMPORTANT: After completing your review, always add the 'claude-review' label to the PR to indicate it was reviewed by Claude: + gh pr edit ${{ github.event.pull_request.number }} --add-label "claude-review" + Be constructive, helpful, no-BS, and specific with file:line references. # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md