# Review

> Review code changes for quality, correctness, and adherence to project conventions. Use when user says 'review', 'レビュー', or asks to check code quality. Use when this capability is needed.

- Skill: `tomevault-io/review-17` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/review-17`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/review-17/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/review-17

---


# Code Review

コード品質と規約準拠を担保するため、`$ARGUMENTS` 指定ファイル（未指定時は `git diff`）を以下の観点でレビューする。

| 観点 | 基準 |
|------|------|
| 型安全性 | strict mode 準拠、`any` 禁止（正当理由なし）、DDD の型（TwoParams, PromptVariables, PathResolutionOption 等）の適切な使用 |
| 命名 | TS: camelCase (変数/関数), PascalCase (型/クラス)、テスト: `*_test.ts` (tests/) / `*.test.ts` (lib/) |
| エラー処理 | Result 型パターン、UnifiedError 系の型使用 |
| パス検証 | `lib/factory/` のリゾルバ群経由、絶対パス禁止 (`/absolute-path-checker`) |
| テスト | 単体は `lib/` 内同一ディレクトリ、統合は `tests/0_core_domain/` → `tests/4_cross_domain/` |
| import | `deno.json` の import map エイリアス（`$lib/`, `$std/`, `$test/`）必須、インライン `jsr:`/`npm:`/`https:` 禁止 |
| フォーマット | 2スペース、100文字幅、ダブルクォート（`deno fmt` 準拠） |
| BreakdownLogger | テストファイルのみ使用可、実装コード(`lib/`)での使用禁止 |
| DDD 準拠 | ドメイン境界の尊重、JSR パッケージ（config/params/prompt/logger）の責務分離 |

ファイルパスと行番号付きで報告する。

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/tettuan) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

