ワンクリックで
check-code-hygiene
Check code for standardization, readability, maintenance complexity, and defensive coding practices
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Check code for standardization, readability, maintenance complexity, and defensive coding practices
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate a diff-grounded, one-page technical changelog for a Domotion release — from the actual code changes between the last production tag and HEAD (the next, still-unreleased version). Asks for the next version number, since HEAD is not yet in package.json.
Check requirements docs against implementation and report discrepancies
Create a new bug ticket in Hot Sheet
Create a new feature ticket in Hot Sheet
Create a new investigation ticket in Hot Sheet
Create a new issue ticket in Hot Sheet
| name | check-code-hygiene |
| description | Check code for standardization, readability, maintenance complexity, and defensive coding practices |
| allowed-tools | Read, Grep, Glob, Bash, Agent |
Analyze the codebase for code hygiene issues. Generate a report highlighting problems with standardization, human readability, maintenance complexity, and defensive coding.
docs/ai/code-summary.md map (no grab-bag modules; over-long functions carrying inline decision logic broken into paintX/emit* helpers)?set*/clear*/reset* pairs) that could cause bugs. For each such stateful module, don't stop at "is it tested" — check whether the tests exercise the transitions between states (multi-step sequences: out-of-order, interleaved, repeated, empty-then-refill, set→scope→restore-on-throw), not just each operation from a clean state. That transition gap is invisible to line coverage. Run npm run check:features (see docs/83-feature-coverage.md) and treat any GAP/DRIFT it reports as a finding.execFile / spawn), never interpolated into a shell string (exec/execSync)? (No SQL in this project.)any types used where specific types would be safer?For each finding:
End with a prioritized summary of the top 10 most impactful improvements.