Stats
Actions
Tags
From craft
This skill should be used when the user asks to "switch mode", "use debug mode", "optimize mode", "release mode", or mentions execution modes for craft commands. Manages craft plugin execution modes (default, debug, optimize, release) for different use cases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/craft:modesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Expert in managing craft plugin execution modes for different use cases.
Expert in managing craft plugin execution modes for different use cases.
| Mode | Time Budget | Use Case | Behavior |
|---|---|---|---|
| default | < 10s | Quick tasks | Minimal output, fast |
| debug | < 120s | Problem solving | Verbose, traces, detailed |
| optimize | < 180s | Performance | Profiling, benchmarks |
| release | < 300s | Pre-release | Thorough, comprehensive |
If user specifies mode → use that mode
Else if error/bug context → debug mode
Else if performance context → optimize mode
Else if release/deploy context → release mode
Else → default mode
| Command | Default | Debug | Optimize | Release |
|---|---|---|---|---|
| lint | Quick check | All rules + fix suggestions | Perf rules | All rules + strict |
| coverage | Summary | Line-by-line | Branch analysis | Full report |
| deps-check | Version only | Dependency tree | Size analysis | Security + licenses |
| ci-local | Fast checks | Full trace | Parallel jobs | All CI steps |
| Command | Default | Debug | Optimize | Release |
|---|---|---|---|---|
| run | Quick tests | Verbose + traces | Parallel | Full suite |
| coverage | Summary % | Uncovered lines | Branch % | HTML report |
| debug | Quick trace | Full stack trace | Profiling | All info |
| Command | Default | Debug | Optimize | Release |
|---|---|---|---|---|
| analyze | Overview | Deep dive | Hotspots | Full audit |
| review | Quick check | Line-by-line | Perf review | Comprehensive |
| diagram | Simple | Detailed | Data flow | Complete |
| Command | Default | Debug | Optimize | Release |
|---|---|---|---|---|
| validate | Links only | All checks | Load time | Full validation |
| sync | Changed files | All files + diff | Minimal updates | Complete sync |
| changelog | Recent | Full history | Compact | Detailed |
This skill is automatically activated when:
/craft:code:lint # default mode
/craft:code:lint debug # debug mode - verbose
/craft:code:lint optimize # optimize mode - perf focus
/craft:code:lint release # release mode - thorough
✓ Lint passed (3 files checked)
╭─ Lint Results (Debug Mode) ─────────────────────────╮
│ Files: 3 │
│ Rules: 45 active │
├─────────────────────────────────────────────────────┤
│ src/main.py:12 - Line too long (82 > 80) │
│ src/main.py:45 - Unused import 'os' │
│ src/utils.py:8 - Missing docstring │
├─────────────────────────────────────────────────────┤
│ Suggestions: │
│ - Run: ruff check --fix │
╰─────────────────────────────────────────────────────╯
╭─ Lint Results (Optimize Mode) ──────────────────────╮
│ Performance Impact: │
│ - 2 inefficient patterns found │
│ - Estimated speedup: 15% with fixes │
├─────────────────────────────────────────────────────┤
│ src/main.py:30 - Use list comprehension │
│ src/utils.py:15 - Cache repeated call │
╰─────────────────────────────────────────────────────╯
╭─ Lint Results (Release Mode) ───────────────────────╮
│ Status: READY FOR RELEASE │
├─────────────────────────────────────────────────────┤
│ ✓ Style checks passed (45 rules) │
│ ✓ Type hints validated │
│ ✓ Documentation coverage: 95% │
│ ✓ No security issues │
│ ✓ License headers present │
├─────────────────────────────────────────────────────┤
│ Quality Score: 98/100 │
╰─────────────────────────────────────────────────────╯
npx claudepluginhub data-wise/craft --plugin craftCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.