brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
fix-verificationComprehensive fix verification methodology to ensure bugs are truly fixed. Use after implementing any bug fix to verify it works and hasn't caused regressions. Keywords: verify, confirm, test, validate, check, ensure, regression, fixed
Independent GitHub snapshot · Automated classification · Original documentation governs
Philosophy: A bug isn't fixed until it's verified. Twice.
Use this skill when:
Do NOT use this skill when:
Before starting:
Goal: Confirm the fix addresses the exact reported issue.
Steps:
Recreate the Original Bug Scenario
Exact steps that caused the bug:
1. [step 1]
2. [step 2]
3. [step 3]
Expected result: [what should happen]
Previous result: [what was happening - the bug]
Execute Test with Fix Applied
Verify the FIX, Not Just Absence of Error
❌ "It doesn't crash anymore" (incomplete)
✅ "It returns the expected user object with correct fields" (complete)
Test Multiple Times
Verification Checklist:
Goal: Ensure fix works for edge cases and variations.
Steps:
Identify Edge Cases
edge_cases:
boundary_values:
- Empty input
- Maximum length input
- Minimum valid input
- Just over limit
- Just under limit
special_inputs:
- Null/undefined
- Special characters
- Unicode/emoji
- Numbers as strings
- Whitespace only
state_variations:
- First time user
- Returning user
- Admin user
- Concurrent users
- High load
Create Edge Case Matrix
| Edge Case | Input | Expected | Actual | Pass? |
|---|---|---|---|---|
| Empty | "" | Error msg | ||
| Max length | 1000 chars | Success | ||
| Special chars | "<>&" | Escaped |
Test Each Edge Case
Edge Case Checklist:
Goal: Ensure fix hasn't broken anything else.
Steps:
Identify Affected Areas
affected_areas:
directly_affected:
- The fixed function/component
- Its callers
- Its dependencies
indirectly_affected:
- Related features
- Shared utilities used
- Configuration changes
Run Targeted Tests
# Run tests for affected module
npm test -- --grep "auth"
# Run integration tests
npm run test:integration
Run Full Test Suite
# Ensure no regressions anywhere
npm test
Manual Smoke Test
Regression Checklist:
Goal: Verify error handling and failure modes.
Steps:
Test Invalid Inputs
Test Failure Scenarios
failure_scenarios:
- Database connection lost
- API timeout
- Invalid credentials
- Missing permissions
- Disk full
Test Recovery
Negative Testing Checklist:
Goal: Ensure fix works across all environments.
Steps:
Test Across Environments
| Environment | Tested | Result | Notes |
|---|---|---|---|
| Local dev | |||
| CI/CD | |||
| Staging | |||
| Production |
Test Across Configurations
Test Across User Types
Environment Checklist:
Goal: Document verification and get sign-off.
Steps:
Complete Verification Report
## Fix Verification Report
**Bug ID:** [ID]
**Fix Description:** [brief description]
**Verified By:** [name]
**Date:** [date]
### Direct Verification
- [x] Original bug no longer occurs
- [x] Expected behavior confirmed
### Edge Cases
- [x] [edge case 1] - PASS
- [x] [edge case 2] - PASS
### Regression Testing
- [x] Unit tests: 100% pass
- [x] Integration tests: 100% pass
- [x] Smoke test: PASS
### Environment Testing
- [x] Local: PASS
- [x] Staging: PASS
- [x] Production: [pending/pass]
### Sign-off
- [ ] Developer
- [ ] QA (if applicable)
- [ ] Stakeholder (for critical bugs)
Update Bug Tracking
Add/Update Tests
For simpler bugs, use this shortened checklist:
## Quick Verification
- [ ] Original bug scenario fixed
- [ ] Edge cases work
- [ ] All tests pass
- [ ] No new warnings/errors
- [ ] Reviewed by another person (if critical)
Fix Implemented
│
▼
┌─────────────────┐
│ Does original │
│ scenario work? │
└────────┬────────┘
YES │ NO → Back to debugging
▼
┌─────────────────┐
│ Edge cases │
│ work? │
└────────┬────────┘
YES │ NO → Expand fix
▼
┌─────────────────┐
│ All tests │
│ pass? │
└────────┬────────┘
YES │ NO → Fix regressions
▼
┌─────────────────┐
│ Works in all │
│ environments? │
└────────┬────────┘
YES │ NO → Environment-specific fix
▼
VERIFIED ✅
Problem: Fix works locally but fails elsewhere.
Prevention:
Problem: Error is gone but behavior is still wrong.
Prevention:
Problem: Fix introduced a regression.
Prevention:
Before marking bug as fixed:
skills/kilo-kit/debugging/systematic/ - For finding the bugskills/kilo-kit/debugging/root-cause/ - For understanding why it happenedskills/kilo-kit/quality/testing/ - For writing better testsFix Verification Skill v1.0.0 — Verified twice, deployed once