ME

metravel-code-reviewer

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.zip

Installs 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.
190 chars✓ has a “when” trigger
Intermediate

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

You give it
Metravel code diff
You get back
Review findings including open questions, missing validation, and residual risk

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 Contract from docs/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 any in api/, 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 uses i18n/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:i18n and 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

  1. 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.
  2. In review-and-fix mode, 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.
  3. 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.
  4. 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.
  5. Re-read the entire resulting task diff after fixes. Repeat review → fix → validation until no confirmed fixable finding remains.
  6. 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.

SkillInstallsUpdatedSafetyDifficulty
metravel-code-reviewer (this skill)01moNo flagsIntermediate
github-code-review132moReviewAdvanced
reviewing-code218moNo flagsIntermediate
reviewing-nextjs-16-patterns118moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry