AgentSkillsCN

review

审查代码变更的质量、正确性,以及是否符合项目约定。当用户说“review”“レビュー”,或要求检查代码质量时使用此功能。

SKILL.md
--- frontmatter
name: review
description: Review code changes for quality, correctness, and adherence to project conventions. Use when user says 'review', 'レビュー', or asks to check code quality.
argument-hint: "[file-or-path]"
allowed-tools: [Read, Grep, Glob, Bash]

Code Review

$ARGUMENTS指定時はそのファイル、未指定時はgit diffの変更をレビューする。

観点基準
型安全strict準拠、any禁止、PromptResult/PromptParams/Variables型を使用
命名テンプレート変数={snake_case}、TS=camelCase/PascalCase、テストファイル=*_test.ts
エラー処理ValidationError/TemplateError/FileSystemError使用、PromptResult.successで伝播
パス検証src/validation/path_validator.ts経由、実装に絶対パス禁止(/absolute-path-checker
テストtests/に対応テスト存在(01_unit/02_integration/03_system/
importdeno.jsonのimport mapエイリアス必須(jsr:/npm:/https://インライン禁止)
フォーマット2スペースインデント、100文字幅、ダブルクォート、セミコロン

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