Add workflow templates for code and security reviews

- Add Claude code review workflows (custom and standard)
- Add pragmatic code review slash command and subagent
- Add security review slash command
- Add security workflow template
This commit is contained in:
Patrick Ellis
2025-09-13 23:56:50 -07:00
parent f87594c2a4
commit d176defdef
6 changed files with 531 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
name: Security Review
permissions:
pull-requests: write # Needed for leaving PR comments
contents: read
on:
pull_request:
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 2
- uses: anthropics/claude-code-security-review@main
with:
comment-pr: true
claude-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
claude-model: claude-opus-4-1-20250805
custom-security-scan-instructions: "" # Add any custom instructions specific to your codebase here.