(REFACTOR "Rename runtime dir to .skill.pr-review.history" " Rename per-project runtime directory from reviews/ to .skill.pr-review.history/ to avoid clashing with user directories and follow dotfile convention for tool-generated artifacts. Modified: - .gitignore - SKILL.md - readme.md ")
(FEAT "Add PR create mode with action execution strategy" " Add --mode pr-create for creating/updating PRs via comment.rktd. Introduce action execution strategy (interactive/direct-send/dry-run). Remove gh CLI as hard dependency; deprecate auth-fallback gh pattern. Add compare/repo type parsing and data fetching to fetch-diff.rkt. Update all docs, schemas, and config to reflect new capabilities. Modified: - SKILL.md - docs/gitcode-token.md - examples/config-example.rktd - readme.md - references/api-reference.md - references/rktd-schemas.md - scripts/fetch-diff.rkt - scripts/send-comment.rkt ")
4 months ago
pr-review
Claude Code skill for PR review. Generates and validates structured action data in comment.rktd; send-comment.rkt is available for explicit interactive sending.
Install
git clone <repo-url> ~/.claude/skills/pr-review
Usage
In Claude Code:
/pr-review https://github.com/owner/repo/pull/42
This will:
Fetch PR/commit diff via fetch-diff.rkt (GitHub & GitCode API)
Analyze changes against configured rules
Generate comment.rktd (structured review data)
Validate the action data without submitting comments or creating/updating remote resources
Validate or Send
racket ~/.claude/skills/pr-review/scripts/send-comment.rkt --dry-run --non-interactive --file comment.rktd # validate/preview
racket ~/.claude/skills/pr-review/scripts/send-comment.rkt --file comment.rktd # interactive send
racket ~/.claude/skills/pr-review/scripts/send-comment.rkt --non-interactive --file comment.rktd # direct send, only when explicitly allowed