ワンクリックで
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.