Use when setting up or running hooks with prek in any repository. prek is a Rust drop-in alternative to pre-commit for running Git hooks that check, format, lint, and validate code and repository files. Prefer it when speed, workspace mode, built-in hooks, shared toolchains, or native TOML configuration matter.
Explain architecture, decisions, and trade-offs to the human BEFORE making code edits and while coding. Use at session start, before any non-trivial implementation or refactor, when the user asks what is being built or why, after a know-code gate deny (before the quiz), or when the human is unfamiliar with the area.…
Gate git commit, git push, and PR creation until the human passes a comprehension quiz about the current code changes. Use when commit/push/PR is blocked by know-code, when the user asks to run know-code or verify they understand the diff, or before shipping. Start with know-code range begin for multi-commit work. Run…
Evidence-based repository structure analysis for Python and JavaScript/TypeScript (js/jsx/ts/tsx) projects. Runs a bundled scanner script and answers only from its JSON output — never from guessing. Use this skill whenever the user asks about duplicate code, unused/dead code, "does function X already exist?", cleaning…
Root-cause discipline for debugging and error handling. Use whenever fixing a bug or error, writing try/except/catch, adding a fallback or default value, or the user says 에러 나, 버그, 고쳐줘, 왜 안 되지, fallback, 방어코드, "일단 돌아가게", error, crash, exception. Prevents symptom-masking fixes that silently swallow failures.
Pre-write and review gates for code changes. Pre-write: before creating any new function, helper, type, or file — 만들어줘, 추가해줘, 구현해줘, 새 파일, 리팩토링, new helper/component. Post-write: after finishing a change — 다 했어, 리뷰해줘, 검토, review my change. Prevents duplicate reimplementation and enforces the review checklist including…
Use when the user asks to "review code with codex", "run a codex review", "review my changes", "review this commit", "review my branch", or wants OpenAI Codex to review code changes. Provides automated code review using the Codex CLI.