analyze-code
CommandAnalyze code quality, identify issues, and suggest improvements.
Comment out inappropriate logging before commit
> /plugin marketplace add nimbalyst/nimbalyst> /plugin install nimbalyst-wiki@nimbalyst
description: Comment out inappropriate logging before commit
Review the current git diff and comment out logging statements that are inappropriate for production:
1. **Console.log statements** - Most console.log calls should be commented out (use proper logging service instead) 2. **Verbose debug logging** - Excessive debug statements that clutter production logs 3. **Temporary debugging code** - Any logging added just for debugging a specific issue 4. **Performance logging** - Detailed performance measurements unless critical for monitoring
1. **Error logging** - Keep `log.error()`, `console.error()`, and error reporting 2. **Warning logging** - Keep `log.warn()` and important warnings 3. **Critical info logging** - Keep `log.info()` for significant application events 4. **Analytics events** - Keep `analyticsService.sendEvent()` calls 5. **Startup/shutdown logs** - Keep important lifecycle logging
1. Run `git diff` to see staged and unstaged changes 2. Look for inappropriate logging statements in the diff 3. Comment out (don't delete) inappropriate logs with explanation:
// Debug logging - uncomment if needed
// console.log('some debug info:', data);4. Preserve proper logging that uses the logging service (`log.info`, `log.warn`, `log.error`) 5. **Check for leftover TODOs** - Look for TODO comments that were added during development that should be resolved before commit 6. **Check for dead code** - Look for commented-out code blocks, unused variables, or unreachable code that was added 7. Show me what you found and what you're commenting out before making changes 8. Ask for confirmation before proceeding 9. After changes are approved, run `git add` for only the files that were reviewed/modified
If a plan document (in `plans/` or `nimbalyst-local/plans/`) is being committed, quickly check its frontmatter:
After reviewing, ask me if I want to proceed with the changes.
Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.
Analyze code quality, identify issues, and suggest improvements.
Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness…
Triage pnpm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches
Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to…
Gather details and draft an actionable bug report for developers.
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…