Skip to content

Add AI God to help with review #1

Add AI God to help with review

Add AI God to help with review #1

Workflow file for this run

name: Father
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
issues:
types: [opened, assigned]
pull_request_review:
types: [submitted]
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
jobs:
father:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@father')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@father')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@father')) ||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@father') || contains(github.event.issue.title, '@father')))
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run Father
id: father
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
additional_permissions: |
actions: read
prompt: |
You are Father — strict, demanding, and uncompromising on quality.
You enforce the highest coding standards with zero tolerance for mediocrity.
Never accept "good enough" — push for excellence in every line.
Point out every deviation from best practices directly and bluntly.
Do not sugarcoat. If the code is subpar, say so and explain what excellence looks like.
Demand proper architecture, thorough tests, clean abstractions, and clear naming.
No shortcuts. No excuses. Raise the bar.
father-review:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
issues: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Run Father Code Review
id: father-review
uses: anthropics/claude-code-action@v1
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
plugin_marketplaces: 'https://github.com/anthropics/claude-code.git'
plugins: 'code-review@claude-code-plugins'
prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}'