一键导入
pre-commit-reviewer
Clean up debug logging and dead code before commit. Use when preparing changes for commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Clean up debug logging and dead code before commit. Use when preparing changes for commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Get personalized, evidence-based recommendations for improving your Claude Code/Nimbalyst workflow
Write blog posts with strong voice and SEO structure. Use when writing blog posts, articles, or thought leadership content.
Create structured technical and product documentation. Use when writing docs, guides, API references, or knowledge base articles.
Product launch announcements and release notes. Use when writing launch emails, release notes, changelog entries, or product announcements.
Battlecards, demo scripts, and GTM materials. Use when creating sales collateral, competitive battlecards, or go-to-market content.
HTML slide decks with consistent design system. Use when creating presentations, pitch decks, or slide-based content.
| name | pre-commit-reviewer |
| description | Clean up debug logging and dead code before commit. Use when preparing changes for commit. |
Review the current git diff and comment out logging statements that are inappropriate for production:
log.error(), console.error(), and error reportinglog.warn() and important warningslog.info() for significant application eventsanalyticsService.sendEvent() callsgit diff to see staged and unstaged changes // Debug logging - uncomment if needed
// console.log('some debug info:', data);
log.info, log.warn, log.error)git add for only the files that were reviewed/modified// TODO: comments added in the diff that indicate incomplete work// FIXME: comments that should be addressed before commit// HACK: or // TEMP: markersIf a plan document (in plans/ or nimbalyst-local/plans/) is being committed, quickly check its frontmatter:
status is not completed or progress is less than 100, mention this to the userAfter reviewing, ask me if I want to proceed with the changes.