diff --git a/.github/workflows/claude-code.yml b/.github/workflows/claude-code.yml new file mode 100644 index 0000000..745f186 --- /dev/null +++ b/.github/workflows/claude-code.yml @@ -0,0 +1,23 @@ +name: Claude Code Review + +on: + issue_comment: + types: [created] + pull_request: + types: [opened, synchronize] + +permissions: + contents: read + id-token: write + +jobs: + claude: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: anthropics/claude-code-action@beta + with: + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + experimental_allowed_domains: | + .github.com + .githubusercontent.com \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..f256104 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,3 @@ +# CLAUDE.md +Please review code for clarity, maintainability, and correctness. Suggest improvements without rewriting unless necessary. +Avoid nitpicks unless they impact understanding. \ No newline at end of file