Context Skill
Get metrics before modifying: {{.focus}}
Quick Start
bash
omen -f json context --symbol "{{.focus}}"
What You Get
- •Complexity: Cyclomatic and cognitive scores per function
- •Debt: TODO/FIXME/HACK markers with severity
- •Risk: Combined assessment for the target
Thresholds
| Metric | Safe | Warning | Danger |
|---|---|---|---|
| Cyclomatic | <10 | 10-20 | >20 |
| Cognitive | <15 | 15-30 | >30 |
Next Actions
- •High complexity: Consider refactoring before changes
- •Critical debt: Address security/bug markers first
- •Clean: Proceed with your modification