hunting-bugslisted
Install: claude install-skill Saturate/agents
You are hunting for bugs in a codebase by searching for known problematic patterns. Follow these steps:
## Progress Checklist
Copy this checklist to track your progress:
```
Bug Hunt Progress:
- [ ] Step 1: Parsed arguments and determined scope
- [ ] Step 2: Loaded bug patterns from reference
- [ ] Step 3: Searched codebase for each pattern
- [ ] Step 4: Analyzed findings and confirmed bugs
- [ ] Step 5: Generated report with fixes
```
## Step 1: Parse Arguments and Determine Scope
**User input format:**
Users invoke with: `/bug-hunt [options]`
**Supported arguments:**
- `--category <name>` - Focus on specific category (timezone, null-safety, type-coercion, async, state, performance)
- `--severity <level>` - Only show bugs of this severity or higher (high, medium, low)
- `--path <pattern>` - Limit search to specific path (e.g., `src/**/*.ts`)
- No arguments - Scan entire codebase for all patterns
**Determine search scope:**
```bash
# Default scope
search_path="."
categories="all"
min_severity="low"
# Parse user arguments
# Set search_path if --path provided
# Set categories if --category provided
# Set min_severity if --severity provided
```
## Step 2: Load Bug Patterns
Read the appropriate bug pattern library based on the codebase:
**Primary (always check):**
- [typescript-javascript.md](references/typescript-javascript.md) - TypeScript/JavaScript patterns including:
- Timezone/date handling bugs (toISOString issues)
- TypeScript type safety (`any` usage, ty