pr-review
Use when asked to review a pull request, branch, or set of changes in this `databox-cli` repository — "review PR", "review PR #N", "review my changes"…
Skill by databox
Chalk Labs
Need help deploying pr-review?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/databox-pr-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pr-review
Tools it pre-approves 5
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Agent,Read,Grep,Glob,Bash
What's inside
- Skill name
pr-review- Description
- Use when asked to review a pull request, branch, or set of changes in this `databox-cli` repository — "review PR", "review PR #N", "review my changes", "review branch X", a pasted GitHub PR URL, or "what do you think of this PR". Always use this instead of a single-pass review.
- License
- MIT
- Allowed tools
- Agent,, Read,, Grep,, Glob,, Bash
- Instructions
- 176 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves any shell command
Files (8)
- SKILL.md
- consistency.md · references/agents/
- correctness.md · references/agents/
- output-format.md · references/agents/
- security.md · references/agents/
- testing.md · references/agents/
- validator.md · references/agents/
- project-patterns.md · references/
SKILL.md (first lines)
# Comprehensive PR Review
You are the **review lead**. You coordinate parallel specialist agents, validate their
findings, and synthesize one prioritized review for this TypeScript/oclif CLI project
(~80 commands, each self-contained: BaseCommand → ApiClient → output formatting).
## Token discipline (non-negotiable)
**Agents pull; you never push.** Never paste the diff, `.claude/rules/*`, `project-patterns.md`,
or agent instruction files into a prompt. Every agent has Bash/Read — send it the base SHA,
file paths, and the pointers below. You do not need to read the reference files or rules
yourself; you only read `git diff --stat`.
## Phase 1: Gather context
### 1. Identify the target and base
Input may be a PR number, branch, GitHub URL, or "my changes" (current branch vs `master`).
```bash
# PR number: make sure the head is checked out locally so agents can read source
gh pr checkout <n> # skip if already on the branch
gh pr view <n> --json title,body,baseRefName,additions,deletions --jq '{title,body,baseRefName,additions,deletions}'
BASE=$(git merge-base HEAD master) # or the PR's baseRefName
git diff $BASE...HEAD --stat
git log $BASE...HEAD --oneline
REVIEW_DIR=<your scratchpad dir>/pr-review && mkdir -p $REVIEW_DIR
```
Record `BASE` (full SHA) and `REVIEW_DIR` — every agent prompt uses both.
### 2. Review history (PRs only)
```bash
gh pr view <n> --json reviews --jq '.reviews[] | {author: .author.login, state, body}'
gh api repos/databox/databox-cli/pulls/<n>/comments --jq '.[] | {path, line, body}'
gh api repos/databox/databox-cli/issues/<n>/comments --jq '.[] | {author: .user.login, body}'
```
If prior reviews exist this is a **re-review (round N)**. Build a **prior-disposition ledger**:
`pattern/location · disposition (fixed | declined | backlogged) · sha/reason/link`. Used in Phase 4.
### 3. Size tier and rule selection (from `--stat` only)
| Tier | `src/` lines changed | Team |
|---|---|---|
| **Config-only** | no `.ts` files in `src/` or `test/` | No agents — you review the content directly |
| **Small** | < 100 | Correctness, Testing (+ Consistency if new command files added under `src/commands/`) |
| **Standard** | 100 – 800 | Correctness, Consistency, Testing (+ Security if `lib/`, `base-command.ts`, or `auth/` touched) |
| **Large** | > 800 | All 4 agents; if 15+ command files changed, split Consistency into 2 agents by command domain |
Rules to name in prompts (by touched path):
| Touched | Rule file |
|---|---|
| `src/commands/` | `commands.md` |
| `src/base-command.ts`, `src/lib/api-client.ts` | `api-client.md`, `security.md` |
| `src/lib/config.ts`, `src/lib/prompt.ts` | `security.md` |
| `src/lib/output.ts` | `commands.md` |
| `src/commands/auth/` | `security.md` |
| `test/` | `testing.md` |
All paths are relative to `.claude/rules/`. Every agent gets the same rule list — the
Testing agent always gets `testing.md` in addition.
## Phase 2: Spawn specialists (one message, parallel)
`subagent_type: "general-purpose"`. Model: **Correctness, Security, Validator inherit the session model**;
**Consistency, Testing use `model: "sonnet"`** (sufficient for checklist-style verification).
Prompt template — fill the braces, nothing else:
```
You are the {AGENT} reviewer for a PR in the databox-cli repo (cwd is the repo root).
Read, in order:
1. .claude/skills/pr-review/references/agents/{agent}.md (your instructions)
2. .claude/skills/pr-review/references/agents/output-format.md
3. .claude/rules/{rule1}.md, .claude/rules/{rule2}.md ...
4. .claude/skills/pr-review/references/project-patterns.md (only your row of the per-agent table matters)
Diff: `git diff {BASE}...HEAD -- {paths}` (all changed files: {file list})
Investigate beyond the diff (callers, tests, base classes) before reporting.
Write your full report to {REVIEW_DIR}/{agent}.md and return the same text.
PR: "{title}" — {one-line summary of intent}. {Round N re-review | First review}. Tier: {tier}.
```
Diff scoping per agent (`{paths}`):
| Agent | `{paths}` |
|---|---|
| Correctness | `src/` |
| Consistency | `src/` |
| Security | `src/lib/ src/base-command.ts src/commands/auth/` |
| Testing | `test/ src/` |
Small tier: use `src/ test/` for everyone.
## Phase 3: Validate
Skip if no BLOCKER or WARNING was reported. Otherwise spawn **one** validator:
```
You are the validator for a PR review. Read .claude/skills/pr-review/references/agents/validator.md
and .claude/skills/pr-review/references/project-patterns.md.
Specialist reports are in {REVIEW_DIR}/*.md — validate only their BLOCKER and WARNING findings.
Diff: `git diff {BASE}...HEAD`. Return only the validation output block.
```
Apply verdicts: **CONFIRMED** keeps severity · **DOWNGRADED** drops one level ·
**DISMISSED** is removed.
## Phase 4: Synthesize
1. **Merge** findings that share a root cause (cite all agents). **Reconcile** against the
ledger: `backlogged`/`declined` → drop silently; `fixed` → keep, annotate
`(regression — previously fixed in <sha>)`.
2. **Severity**: BLOCKER (must fix before merge) · WARNING (should fix) · SUGGESTION · PRAISE.
3. **Action per WARNING** — *Fix in PR* only on a positive signal: finding's `In diff: yes`,
or single-file fix under ~20 lines, or regression/test gap introduced by this PR.
Otherwise **Backlog** (pre-existing code, 3+ files, needs a design decision, systemic).From databox/databox-cli, MIT.
More from databox/databox-cli
- 0.565score
databox-integrations
databox
Use when the user wants to browse available integrations in Databox — see what data sources are supported, check if an integration supports datasets.
SkillAFreshness: AClaude Code +9 - 0.565score
databox-metrics
databox
Use when the user wants to create, manage, or query metrics in Databox — including custom metrics, dimensions and dimension values, drilldown into the rows…
SkillAFreshness: AClaude Code +9 - 0.565score
databox-data-sources
databox
Use when the user wants to create, manage, or inspect Databox data sources — including timezone, sync frequency, permissions, and purging.
SkillAFreshness: AClaude Code +9 - 0.565score
databox-connections
databox
Use when the user wants to view or manage connections in Databox — list, update, delete connections, or manage connection permissions.
SkillAFreshness: AClaude Code +9 - 0.539score
databox-organization
databox
Use when the user wants to view their Databox organization info, check usage, update organization settings, list timezones, or explore the organization's…
SkillAFreshness: AClaude Code +9 - 0.539score
databox-accounts
databox
Use when the user wants to manage the accounts in their Databox organization — list, create, update, or delete accounts, or work inside one of them.
SkillAFreshness: AClaude Code +9 - 0.539score
databox-users
databox
Use when the user wants to manage team members in their Databox organization — invite users, update roles, or remove users.
SkillAFreshness: AClaude Code +9 - 0.539score
databox-auth
databox
Use when the user wants to authenticate with Databox, set up their API key, validate credentials, or when any databox command fails with "Not authenticated".
SkillAFreshness: AClaude Code +9 - 0.539score
databox-billing
databox
Use when the user wants to view billing information, plan details, or invoices in Databox.
SkillAFreshness: AClaude Code +9 - 0.539score
databox-datasets
databox
Use when the user wants to create datasets, push or ingest data into Databox, check ingestion status, manage dataset…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 28, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/databox/databox-cli
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from databox
- 0.565score
databox-integrations
databox
Use when the user wants to browse available integrations in Databox — see what data sources are supported, check if an integration supports datasets.
SkillAFreshness: AClaude Code +9 - 0.565score
databox-metrics
databox
Use when the user wants to create, manage, or query metrics in Databox — including custom metrics, dimensions and dimension values, drilldown into the rows…
SkillAFreshness: AClaude Code +9 - 0.565score
databox-data-sources
databox
Use when the user wants to create, manage, or inspect Databox data sources — including timezone, sync frequency, permissions, and purging.
SkillAFreshness: AClaude Code +9 - 0.565score
databox-connections
databox
Use when the user wants to view or manage connections in Databox — list, update, delete connections, or manage connection permissions.
SkillAFreshness: AClaude Code +9 - 0.539score
databox-organization
databox
Use when the user wants to view their Databox organization info, check usage, update organization settings, list timezones, or explore the organization's…
SkillAFreshness: AClaude Code +9 - 0.539score
databox-accounts
databox
Use when the user wants to manage the accounts in their Databox organization — list, create, update, or delete accounts, or work inside one of them.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get pr-review running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
pr-review skill. Agent Mart. https://agentmart.dev/skills/databox-pr-review (last updated 2026-10-24)