24K Labs AI Code Review Action
March 30, 2026 ยท View on GitHub
Automated AI code review on every pull request. Powered by Claude.
Usage
Add to .github/workflows/code-review.yml:
name: AI Code Review
on:
pull_request:
types: [opened, synchronize]
jobs:
review:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: Haustorium12/24klabs-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Options
| Input | Default | Description |
|---|---|---|
service | code-review | Service: code-review, security-audit, debug-assist |
tier | quick | Depth: quick, standard, pro |
fail-on-critical | false | Fail CI if critical issues found |
github-token | ${{ github.token }} | GitHub token for PR comments |
Examples
Security audit on every PR
- uses: Haustorium12/24klabs-action@v1
with:
service: security-audit
tier: standard
fail-on-critical: true
github-token: ${{ secrets.GITHUB_TOKEN }}
Quick review (fastest, cheapest)
- uses: Haustorium12/24klabs-action@v1
with:
tier: quick
github-token: ${{ secrets.GITHUB_TOKEN }}
What You Get
The action posts a detailed review comment on your PR with:
- Security issues (SQL injection, XSS, auth bypass, etc.)
- Performance problems (N+1 queries, memory leaks, etc.)
- Architecture feedback (SOLID violations, coupling, etc.)
- Code quality (naming, complexity, duplication)
- Severity ratings: CRITICAL / HIGH / MEDIUM / LOW
- Fix suggestions with code examples