Expert review pass for metravel project, focusing on rule compliance, i18n, and cross-platform reliability.
Install
mkdir -p .claude/skills/metravel-code-reviewer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15450" && unzip -o skill.zip -d .claude/skills/metravel-code-reviewer && rm skill.zipInstalls to .claude/skills/metravel-code-reviewer
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Review metravel diffs for correctness, project-rule compliance, validation gaps, and residual risk. Use when Codex needs a focused reviewer pass before handoff, approval, or follow-up fixes.Key capabilities
- →Review metravel diffs for correctness.
- →Check project-rule compliance (AGENTS.md, docs/RULES.md, docs/CODEX.md).
- →Identify validation gaps.
- →Assess residual risk.
- →Verify explicit platform impact for desktop web, mobile web, and Android.
How it works
The skill reads project documentation and relevant feature documents, then reviews the provided diff against correctness, project rules, platform impact, localization impact, and validation adequacy. It focuses on concrete findings.
Inputs & outputs
When to use metravel-code-reviewer
- →Review metravel code
- →Check project rule compliance
- →Verify i18n impact
About this skill
Metravel Code Reviewer and Fixer
Read AGENTS.md, docs/RULES.md, docs/CODEX.md, and the relevant feature doc from docs/features/ before reviewing a diff.
Run this skill as the final engineering pass after every task that changes code.
The default mode is review-and-fix. Use read-only mode only when the user
explicitly forbids edits.
When agent delegation is available, run it in the dedicated review-auditor so
implementation gets an independent pass. Fall back to the same contract in the
current agent only when delegation is unavailable. A reviewer that patches
findings re-reviews its own resulting diff; it does not recursively launch
another reviewer.
Scope contract
- Start with
git status --short, the original task, and the exact task-owned files or diff. Treat pre-existing or unrelated worktree changes as user-owned: inspect them only when needed to understand an interaction, and never rewrite, revert, stage, or format them. - Review the complete resulting task diff, not just the reviewer's own patch. Read changed functions/components and their direct callers, tests, types, and shared utilities far enough to verify each candidate finding.
- Keep fixes inside the authorized frontend/app/docs scope. Backend/Django/API server working trees remain read-only.
- Do not turn review into taste-driven churn. A fix needs a concrete correctness, maintenance, performance, validation, or project-contract benefit.
Review checklist
- Correctness against the stated task, edge cases, failure states, and existing product contract
- Unnecessary code: wrappers, fallbacks, state, effects, branches, abstractions, comments, types, or files that do not earn their complexity
- Duplication inside the diff or against existing components, hooks, utilities, adapters, validators, query keys, and test helpers
- Poor or inefficient structure: repeated requests/computation, avoidable renders, unstable dependencies, N+1/fan-out behavior, broad state ownership, leaky boundaries, or control flow that can be made simpler and clearer
- Maintainability: focused functions/components, precise types, explicit invariants, no dead code, and no speculative generalization
- FE/BE board tasks include and satisfy the mandatory
Task Contractfromdocs/TASK_BOARD_MCP.md - Reuse of existing components, hooks, utils, and query/store boundaries
- Project-rule compliance: external links, design tokens, images, no skipped tests, no new
anyinapi/,hooks/,stores/ - Explicit platform impact for desktop web, mobile web, Android, and iOS; shared code preserves behavior or has justified technical platform adapters, and any mobile-web/Android impact has paired evidence while iOS/shared work has the required simulator/physical/TestFlight evidence
- Explicit localization impact: app-owned UI uses
@/i18n, RU/BE/UK/PL/EN keys stay complete, formatting usesi18n/format.ts, and API/editorial content is not client-translated - Validation adequacy: the narrowest reliable checks were run and rerun after fixes
- Visible shared UI changes include desktop-web and mobile-web browser verification, no new console errors, the same flow on a local USB Android build, and the appropriate iPhone evidence layer
- Localization changes include
npm run test:i18nand locale/platform evidence; native readiness is not inferred from web checks - No known real failures are left in the touched scope without an explicit blocker
Review-and-fix loop
- Inspect the task-owned diff and rank only verified findings:
P1: correctness, security, data-loss, or user-visible regression.P2: project-contract violation, real performance cost, duplication, or poor structure that materially increases maintenance risk.P3: bounded simplification with a clear benefit; never style preference.
- In
review-and-fixmode, patch every confirmed in-scope finding. Prefer the smallest clear rewrite, but replace a poor implementation when local edits would preserve duplication or unnecessary complexity. - Add or update regression coverage when behavior changes. Preserve the stated product behavior during cleanup; do not use a refactor as authority for a redesign, backend change, or broad migration.
- Run the narrowest reliable checks for the resulting diff. Apply the operation gate before shared/full test commands. Visible UI still requires browser, mobile-web/Android control, and iPhone evidence defined by project rules.
- Re-read the entire resulting task diff after fixes. Repeat review → fix → validation until no confirmed fixable finding remains.
- Leave a finding open only when it is outside the authorized scope, requires a risky migration or unavailable external dependency, or cannot be safely verified. State the concrete blocker and next check.
Do not approve reload hacks, cache-busting workarounds, direct
window.open(...), skipped tests, silent fail-open behavior, or duplicated
contracts. Do not approve done when a dependent runtime contract is unverified.
Handoff
Return a compact final artifact:
## Code Review and Repair
Fixed findings:
Open findings:
Validation:
Residual risk:
If no fixes were needed, say Fixed findings: none; do not invent commentary.
When not to use it
- →When the main job is implementation, not review.
- →When the user wants to approve `done` even if a dependent runtime contract is unverified.
- →When the user wants to approve reload hacks, cache-busting workarounds, or policy regressions.
Limitations
- →Focuses on concrete findings over broad style commentary.
- →Requires explicit platform impact evidence for mobile-web/Android.
- →Does not approve `done` when a dependent runtime contract is unverified.
How it compares
This skill provides a structured, project-specific code review process for metravel diffs, ensuring compliance with established rules and contracts, which is more rigorous than a generic code review.
Compared to similar skills
metravel-code-reviewer side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| metravel-code-reviewer (this skill) | 0 | 1mo | No flags | Intermediate |
| github-code-review | 13 | 2mo | Review | Advanced |
| reviewing-code | 21 | 8mo | No flags | Intermediate |
| reviewing-nextjs-16-patterns | 11 | 8mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by kelios
View all by kelios →You might also like
github-code-review
ruvnet
Comprehensive GitHub code review with AI-powered swarm coordination
reviewing-code
CaptainCrouton89
Systematically evaluate code changes for security, correctness, performance, and spec alignment. Use when reviewing PRs, assessing code quality, or verifying implementation against requirements.
reviewing-nextjs-16-patterns
djankies
Review code for Next.js 16 compliance - security patterns, caching, breaking changes. Use when reviewing Next.js code, preparing for migration, or auditing for violations.
cookbook-audit
anthropics
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
pr-review
pytorch
Review PyTorch pull requests for code quality, test coverage, security, and backward compatibility. Use when reviewing PRs, when asked to review code changes, or when the user mentions "review PR", "code review", or "check this PR".
find-bugs
davila7
Find bugs, security vulnerabilities, and code quality issues in local branch changes. Use when asked to review changes, find bugs, security review, or audit code on the current branch.