원클릭으로
check-code-hygiene
Check code for standardization, readability, maintenance complexity, and defensive coding
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Check code for standardization, readability, maintenance complexity, and defensive coding
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Prep the repo for a major release — refresh README.md to stay compelling and accurate, then review/revise the demo modes and flag which screenshots to recapture
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
Create a new req change ticket in Hot Sheet
SOC 직업 분류 기준
| name | check-code-hygiene |
| description | Check code for standardization, readability, maintenance complexity, and defensive coding |
| allowed-tools | Read, Grep, Glob, Bash, Agent |
Review the source for hygiene issues: standardization, readability, maintenance complexity, and defensive coding. This is a quality review, not a bug hunt — focus on consistency and maintainability.
Standardization — scan src/ and tests/ for inconsistencies:
.js extensions on relative importsError vs returned nulls) across modulessource/target, schema/table, PGliteLike)Readability — flag functions doing too much, unclear names, missing TSDoc on exported API, and SQL strings that would read better split or commented. Each src/ file should have one primary export.
Maintenance complexity — identify files growing too long or mixing concerns (candidates to split into sub-modules), and duplicated logic that should be shared (e.g. identifier quoting, qualified-name construction).
Defensive coding — check trust boundaries:
as casts (the only sanctioned cast is PGlite → PGliteLike in tests)src/ident.ts@electric-sql/pglite directly (structural PGliteLike only)PG_VERSION) fail loudly with a clear messageReport findings grouped by category (Standardization / Readability / Maintenance / Defensive), each with file:line and a concrete suggested fix. Lead with the highest-impact items. If a category is clean, say so in one line.