diff --git a/examples/README.md b/examples/README.md index 131f770..1050076 100644 --- a/examples/README.md +++ b/examples/README.md @@ -22,7 +22,7 @@ Annotated templates that teach you **why** patterns work, not just how to config | [`config/`](./config/) | Settings, MCP, git templates | 5 | | [`memory/`](./memory/) | CLAUDE.md memory file templates | 2 | | [`scripts/`](./scripts/) | Diagnostic & utility scripts | 13 | -| [`github-actions/`](./github-actions/) | CI/CD workflows | 3 | +| [`github-actions/`](./github-actions/) | CI/CD workflows | 4 | | [`workflows/`](./workflows/) | Advanced development workflows | 3 | | [`plugins/`](./plugins/) | Community plugins (SE-CoVe, claude-mem) | 2 | | [`integrations/`](./integrations/) | External tool integrations (Agent Vibes TTS) | 4 | @@ -225,10 +225,11 @@ Security-first: 12 security hooks, 8 productivity hooks, 5 automation hooks, 5 m > **See [scripts/README.md](./scripts/README.md) for detailed usage** -### GitHub Actions (3) +### GitHub Actions (4) | File | Trigger | Purpose | |------|---------|---------| +| [claude-code-review.yml](./github-actions/claude-code-review.yml) ⭐ | PR open/sync + `/claude-review` comment | Prompt-based review (externalized prompt + anti-hallucination protocol) | | [claude-pr-auto-review.yml](./github-actions/claude-pr-auto-review.yml) | PR open/update | Auto code review with inline comments | | [claude-security-review.yml](./github-actions/claude-security-review.yml) | PR open/update | Security-focused scan (OWASP) | | [claude-issue-triage.yml](./github-actions/claude-issue-triage.yml) | Issue opened | Auto-triage with labels and severity | diff --git a/machine-readable/reference.yaml b/machine-readable/reference.yaml index 0c94ad6..92f84aa 100644 --- a/machine-readable/reference.yaml +++ b/machine-readable/reference.yaml @@ -28,6 +28,13 @@ deep_dive: review_auto_fix_loop: "guide/workflows/iterative-refinement.md:347" # Review Plan Command (Garry Tan-inspired, Feb 2026) review_plan_command: "examples/commands/review-plan.md" + # GitHub Actions: Prompt-Based Code Review (Feb 2026) + github_actions_code_review_workflow: "examples/github-actions/claude-code-review.yml" + github_actions_code_review_prompt: "examples/github-actions/prompts/code-review.md" + github_actions_code_review_pattern: "externalized prompt + anti-hallucination protocol + /claude-review on-demand trigger" + github_actions_code_review_tools: "Read, Glob, Grep + GitHub PR inspection (read-only)" + github_actions_code_review_auth: "OAuth token (Claude Max plan, 0$ API) or ANTHROPIC_API_KEY" + github_actions_cost_per_review: "0$ with OAuth/Max plan; ~0.05-0.15$ with API key (Sonnet, ~5K tokens diff)" # Rules Templates (auto-loaded .claude/rules/) rules_templates_directory: "examples/rules/" rules_architecture_review: "examples/rules/architecture-review.md"