From pensive
Identifies code defects with language detection, documents them via repro plans and evidence trails, proposes idiomatic fixes, and outlines verification. For bug reviews, reports, pre-releases, audits.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pensive:bug-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Quick Start](#quick-start)
bug-review:language-detected)bug-review:repro-plan)bug-review:defects-documented)bug-review:fixes-prepared)bug-review:verification-plan)Systematic bug identification and fixing with language-specific expertise.
/bug-review
Verification: Run the command with --help flag to verify availability.
bug-review:language-detectedbug-review:repro-planbug-review:defects-documentedbug-review:fixes-preparedbug-review:verification-planLoad additional context as needed:
@include modules/language-detection.md - Manifest heuristics, expertise framing, version constraints@include modules/defect-documentation.md - Severity classification, root cause analysis, static analyzers@include modules/fix-preparation.md - Minimal patches, idiomatic patterns, test coveragebug-review:language-detected)Identify dominant languages using manifest files (Cargo.toml → Rust, package.json → Node, etc.).
State expertise persona appropriate for the language ecosystem.
Note version constraints (MSRV, Python versions, Node engines).
Progressive: Load modules/language-detection.md for detailed manifest heuristics.
bug-review:repro-plan)Identify reproduction methods:
Document exact commands:
cargo test -p core
pytest tests/test_api.py
npm test -- pkg
Verification: Run pytest -v tests/test_api.py to verify.
Capture blockers and propose mocks when dependencies unavailable.
bug-review:defects-documented)Review code line-by-line, logging each bug with:
Run static analyzers (cargo clippy, ruff check, golangci-lint, eslint).
Use imbue:proof-of-work for reproducible capture.
Progressive: Load modules/defect-documentation.md for classification details and analyzer commands.
bug-review:fixes-prepared)Draft minimal, idiomatic patches using language best practices:
Create tests following Red → Green pattern:
Progressive: Load modules/fix-preparation.md for language-specific patterns and test strategies.
bug-review:verification-plan)Execute reproduction steps with fixes applied.
Capture evidence:
Document remaining risks using imbue:diff-analysis/modules/risk-assessment-framework.
Assign owners and deadlines for follow-up items.
Severity: Critical (crash/data loss) → High (broken features) → Medium (degraded UX) → Low (edge cases)
Root Causes: Logic errors | API misuse | Concurrency issues | Resource leaks | Validation gaps
## Summary
[Brief scope description]
## Defects Found
### [D1] file.rs:142 - Title
- Severity: High
- Root Cause: Logic error
- Impact: Data corruption possible
- Fix: [description]
## Proposed Fixes
### Fix for D1
[code diff with explanation]
## Test Updates
[new/updated tests with Red → Green verification]
## Evidence
- Commands executed
- Logs and outputs
- External references
Verification: Run pytest -v to verify tests pass.
Command not found Ensure all dependencies are installed and in PATH
Permission errors Check file permissions and run with appropriate privileges
Unexpected behavior
Enable verbose logging with --verbose flag
npx claudepluginhub athola/claude-night-market --plugin pensiveProactively hunts for bugs by analyzing codebase risk (complexity, coverage, structure), then spawns investigators that write reproducing tests to validate suspected bugs. Advisory only — produces findings and tickets, no fixes.
Runs a structured 14-dimension bug hunt using Draft context (architecture, tech-stack, product) to eliminate false positives. Generates severity-ranked reports with code evidence, data flow traces, and optional regression tests.
Adversarial code auditor that hunts bugs, logic errors, and security flaws across any codebase. Use for deep correctness passes, not style reviews.