원클릭으로
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.