Home / Market / bug-review

bug-review

Hunts bugs with evidence trails

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- parent_skill: pensive:bug-review category: analysis estimated_tokens: 400 progressive_loading: true dependencies: [imbue:proof-of-work]

---

Defect Documentation

Systematic defect identification with precise file references and severity classification.

File/Line References

Every defect must include:

Example:

src/parser/tokenizer.rs:142 in `parse_string()`

Severity Classification

| Level | Description | Impact | Response Time | |-------|-------------|--------|---------------| | Critical | Crash, data loss, security vulnerability | Service down, data corruption | Immediate | | High | Major functionality broken | Core features unusable | This sprint | | Medium | Degraded experience, workaround exists | Reduced performance/UX | Next sprint | | Low | Minor issues, edge cases | Rare scenarios affected | Backlog |

Root Cause Categories

Logic Errors

API Misuse

Concurrency Issues

Resource Leaks

Validation Gaps

Static Analyzer Commands

Run language-specific linters:

Rust

cargo clippy --all-targets --all-features

Python

ruff check .
mypy src/

Go

golangci-lint run
staticcheck ./...

JavaScript/TypeScript

eslint .
tsc --noEmit

Java

./gradlew check
spotbugs

Documentation Format

### [D1] file.rs:142 - Null pointer dereference

- **Severity**: Critical
- **Root Cause**: Logic error - missing null check
- **Impact**: Crash on malformed input
- **Evidence**: Line 142 dereferences `config.value` without validation
- **Context**:

let value = config.value.unwrap(); // PANIC if None

Cross-References

When relevant, link to: