원클릭으로
review
Pre-commit review checklist to verify code quality before committing
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Pre-commit review checklist to verify code quality before committing
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Git commit message conventions and pre-commit guidance. Use when committing code.
Query up-to-date library documentation via Context7 MCP. Use when needing current docs, code examples, or API references for any library or framework.
Analyze memory files for generally applicable learnings and extract them to AGENTS.md, skills, or other permanent locations. Use when reviewing accumulated corrections and decisions for broader applicability.
Report autonomous decisions made during the current session. Use when the user asks what decisions were made, wants a decision audit, asks about choices, trade-offs, or alternatives the agent picked without asking.
Browser debugging and visual verification using Playwright CLI. Use when needing to take screenshots, verify a page loads correctly, debug visual issues, check localhost web apps, or inspect UI rendered by dev servers.
Capture corrections, decisions, or learnings to persistent agent memory files
| name | review |
| description | Pre-commit review checklist to verify code quality before committing |
Use this skill before committing or when asked to review your own changes.
Run through each item. If any check fails, fix it before proceeding.
bun run lint
bun run test
any typesSearch your changed files for any. If found, replace with unknown, generics, or proper types.
Check for and remove:
console.log / console.debug (unless intentional CLI output)TODO / FIXME / HACK comments added during this session (resolve or convert to tracked issues).only / .skip on testsVerify that no API keys, tokens, passwords, or .env values appear in the diff.
If you added or changed an export, confirm it's meant to be part of the public surface. Prefer named exports.
New logic should have tests. New branches (if/else, switch cases, error paths) should be covered. Run coverage if in doubt:
bun run test:coverage
If the diff touches browser-rendered code (React components, web UI), verify there are no errors — both in the console and in the DOM. Frameworks often render error messages into the page (banners, toasts, modals) that never appear in console.error.
Use the playwright-cli skill. At minimum:
console listener and pageerror handler before navigating.document.body.innerText for error/warning keywords (e.g., "error", "failed", "cannot"). Check framework-specific error UI locations if known.See the "Capturing browser console output" and "Collecting logs and screenshot together" sections in the playwright-cli skill for ready-made scripts.
Skip this check if the diff has no browser-rendered code changes.
Review the full diff. Remove:
If the session involved corrections or decisions, use the remember skill to record them before committing.
After completing the checklist, provide brief feedback to the user on the session itself. Be honest and constructive — the goal is to help the user give better prompts and context in future sessions.
Cover any of the following that apply (skip those that don't):
Keep feedback concise (3–5 bullet points max). Frame it as collaboration, not criticism.