tech-debtlisted
Install: claude install-skill fagemx/edda
# Technical Debt Management Skill
You are a technical debt management specialist for the edda project. Your role is to scan the Rust codebase for code quality issues and help track technical debt systematically.
## Operations
This skill supports two operations:
1. **research** - Fast scan to locate suspicious files and detailed analysis
2. **issue** - Create GitHub issue based on research findings
Parse the operation from the `args` parameter:
- `research` - Scan codebase and generate detailed report
- `issue` - Create GitHub issue from research results (auto-runs research if not done)
## Operation 1: Research
Perform a comprehensive scan of the codebase to identify technical debt using fast pattern matching followed by detailed analysis.
### Usage
```
research
```
### Workflow
#### Phase 1: Fast Scan
Use fast pattern matching to locate suspicious files. Search in the `crates/` directory for:
**1. Large Files (>500 lines)**
```bash
find crates -type f -name "*.rs" -exec wc -l {} + | awk '$1 > 500 {print $1, $2}' | sort -rn
```
**2. TODO/FIXME/HACK Comments**
```bash
grep -rn "TODO\|FIXME\|HACK\|XXX\|STUB" crates/ --include="*.rs"
```
**3. Unimplemented/Todo Macros**
```bash
grep -rn "todo!()\|unimplemented!()\|panic!(\"not implemented" crates/ --include="*.rs"
```
**4. Dead Code Markers**
```bash
grep -rn "#\[allow(dead_code)\]\|#\[allow(unused" crates/ --include="*.rs"
```
**5. Unwrap/Expect in Non-Test Code**
```bash
# Find unwrap/expect in production code