mk:scale-routing
Internal Phase 0 skill that maps task keywords to a complexity level and workflow intensity.
| Source | .claude/skills/scale-routing/SKILL.md |
| Owner | portability |
| Runtime | claude-code |
| Risk | medium |
| Phase | 0 |
What it does
mk:scale-routing classifies a task during Phase 0 (Orient) from domain keywords, so a change such as a fintech auth update is rated high complexity without a judgement call. The orchestrator invokes it. It is not user-invocable.
It emits complexity and workflow intensity only. It selects no model and names no provider, and mk:autobuild chooses its own scaffolding density.
When not to use it
To pick the task agent and tier at orient time, use mk:agent-detector. This skill supplies the keyword-based classification that step uses.
How it classifies
- Match the task description against the keywords in
data/domain-complexity.csv. Alowmatch on a task that names one file returns at once. - For an ambiguous or multi-domain match, read the task content, the project layout and recent git changes (
references/multi-layer-detection.md) and give a confidence of HIGH, MEDIUM or LOW. - Map the signals to a task type (
references/task-type-classification.md). - If
.meowkit/product-areas.yamlexists, merge its area keywords and paths (references/product-area-config.md). - With no match or LOW confidence, return
unknownand leave classification to the orchestrator.
Output
| Field | Values |
|---|---|
domain | Matched domain, or unknown |
level | low, medium, high |
workflow | one-shot, standard, enhanced, advanced |
task_type | bug_fix, feature, refactor, security, devops, docs, review, intake |
suggested_skill | mk:fix, mk:cook, mk:cso, mk:review or mk:intake |
confidence | HIGH, MEDIUM, LOW |
product_area | Area name, present only when the YAML file exists |
The tier each level maps to is in model-selection-rules.md (Task Complexity Tiers).
Extending
Add a row to data/domain-complexity.csv. Its columns are domain, signals, level, workflow and web_searches.
Gotchas
- When several domains match, the highest complexity wins. The first matching signal names the domain.
- Matching is case-insensitive. Generic signals such as
dataorappcause false positives. - A one-shot workflow needs both a CSV match and the orchestrator's confirmation that the blast radius is zero.