1k-code-review-pr
OneKey PR Code Review
输出语言: 中文
Review Scope
- Base branch:
x - Diff:
git fetch origin && git diff origin/x...HEAD(triple-dot)
Workflow
- Checkout —
gh pr checkout <PR_NUMBER>(skip if already on branch) - Scope —
git diff origin/x...HEAD --statto see change scope - Triage — Determine which review modules apply (see triage table)
- Primary Review — Read each changed file, apply relevant checks from
references/ - Codex Cross-Review — If Codex MCP available, run full parallel review (see below)
- PR Comment Analysis — Fetch all existing PR comments (bot + human), analyze with local codebase context (see below)
- Merge Findings — Combine primary + Codex + PR comment findings, deduplicate, annotate confidence
- Score — Rate the PR across 4 dimensions (see Scoring System). This step is MANDATORY — every report MUST include the scoring table.
More from onekeyhq/app-monorepo
react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
109implementing-figma-designs
Implements Figma designs 1:1 using OneKey component library (还原设计稿).
771k-coding-patterns
Coding patterns and best practices — React components, promise handling, and TypeScript conventions.
691k-code-quality
Code quality standards — lint (eslint/oxlint), type check (tsc), pre-commit hooks, and comment conventions. All comments must be in English.
681k-date-formatting
Date and time formatting — use OneKey dateUtils (formatDate/formatTime) instead of native JS date methods.
681k-git-workflow
Git workflow and conventions — branching, commit messages, and PR creation.
68