From johnlindquist-claude
Ultimate Bug Scanner - scan code for bugs across 7 languages (JS/TS, Python, Go, Rust, Java, C++, Ruby). Use before commits to catch null safety issues, security holes, async bugs, and memory leaks.
npx claudepluginhub joshuarweaver/cascade-ai-ml-engineering --plugin johnlindquist-claudeThis skill uses the workspace's default tool permissions.
Fast static analysis that catches real bugs across multiple languages in seconds.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Fast static analysis that catches real bugs across multiple languages in seconds.
Install UBS:
curl -sSL https://raw.githubusercontent.com/Dicklesworthstone/ultimate_bug_scanner/main/install.sh | bash
Dependencies (auto-detected):
rg (ripgrep) - Pattern matchingast-grep - AST analysisjq - JSON processing# Scan specific files (fastest, <1s)
ubs file.ts file2.py
# Scan directory
ubs src/
# Scan current directory
ubs .
# Scan staged files (pre-commit)
ubs --staged
# Scan modified files (working tree vs HEAD)
ubs --diff
# Text (default)
ubs src/
# JSON
ubs src/ --format=json
# JSONL (streaming)
ubs src/ --format=jsonl
# SARIF (for CI integration)
ubs src/ --format=sarif
# Strict - fail on warnings
ubs src/ --fail-on-warning
ubs src/ --ci --fail-on-warning
# CI mode
ubs src/ --ci
# Quiet (summary only)
ubs src/ -q
# Only specific languages (3-5x faster)
ubs src/ --only=js,python
ubs src/ --only=typescript,rust
ubs src/ --only=go,java
# Focus on specific category packs
ubs src/ --category=resource-lifecycle
# Show more code examples per finding
ubs src/ --verbose
# Save baseline
ubs src/ --format=json > baseline.json
# Compare against baseline (detect regressions)
ubs src/ --comparison=baseline.json
# Generate reports
ubs src/ --comparison=baseline.json --report-json=report.json --html-report=report.html
# Check installation and dependencies
ubs doctor
# Tail latest session log
ubs sessions --entries 1
Warning/Error: Category (N errors)
file.ts:42:5 - Issue description
Suggested fix
Exit code: 1
Parse format:
file:line:col - LocationSuggested fix - How to fix# In .git/hooks/pre-commit
#!/bin/bash
ubs --staged --fail-on-warning || exit 1
# Strict mode for CI
ubs . --ci --fail-on-warning
# Scan just the file you're working on
ubs src/component.tsx
# Scan modified files
ubs --diff
file:line:colubs <file> to verifyubs src/file.ts (<1s) vs ubs . (30s)--only=js,python for 3-5x speedup| Don't | Do |
|---|---|
| Ignore findings | Investigate each |
| Full scan per edit | Scope to changed files |
Fix symptom (if (x) { x.y }) | Fix root cause (x?.y) |
| Add suppression comments | Fix the actual issue |
ubs --staged