Reusable GitHub Actions workflows for Claude Code reviews. Each repo defines its own context via CLAUDE.md.
- Add secret
CLAUDE_CODE_OAUTH_TOKENto your repo (get from https://claude.ai/settings/oauth-tokens) - Copy workflow files from
examples/workflows/to your.github/workflows/ - Update
uses: lisk/workflows/...to your org name - (Optional) Create CLAUDE.md in repo root with review guidelines
- File:
claude-pr-review.yml - Trigger: Comment
/reviewor addneeds-reviewlabel - Does: Structured code review with inline comments, severity levels, focuses on bugs/security/performance
- Example: See
examples/workflows/claude-pr-review-caller.yml
- File:
claude-pr-summary.yml - Trigger: Auto-runs when PR opens or updates
- Does: Generates concise summary, updates PR description
- Example: See
examples/workflows/claude-pr-summary-caller.yml
- File:
claude.yml - Trigger: Mention
@claudein issues/PRs - Does: Flexible assistant - explain code, investigate bugs, write docs, answer questions
- Example: See
examples/workflows/claude-interactive-caller.yml
Create in repo root to define review priorities:
# Repository Context
## Technology Stack
- TypeScript + Express.js + PostgreSQL
## Critical
- SQL injection prevention (use Prisma, no raw queries)
- JWT auth on all endpoints
- Never log passwords/tokens
## Testing
- Integration tests for all endpoints
- 80%+ coverage for new codeWorkflow not running?
- Check secret is set
- Verify trigger (comment
/review, mention@claude, etc) - Check workflow file is in
.github/workflows/
"workflow_call not found"?
- Verify
uses:path matches your org - Check branch exists (@main)
Claude automatically reads CLAUDE.md when it exists. If not, it infers context from package.json, README, etc. Same workflow files work across all repos.