본문으로 건너뛰기
cccskills
무료GitHub에 공개

mk:scale-routing

Domain-aware complexity routing. Scans task description for domain keywords, matches against domain-complexity.csv, returns complexity level, workflow intensity, and execution tier. Extends Phase 0 orchestration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(8)

  • SKILL.md6.4 KB
  • data/domain-complexity.csv1.7 KB
  • eval/classify.py3.0 KB
  • eval/routing-cases.jsonl4.2 KB
  • eval/run-routing-eval.py2.4 KB
  • references/multi-layer-detection.md4.6 KB
  • references/product-area-config.md2.8 KB
  • references/task-type-classification.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Scale-Adaptive Routing

Automatically classifies task complexity based on domain keywords.

Internal sub-skill of Phase 0 (Orient). Not user-invocable directly — invoked by the orchestrator during task classification.

Purpose

Replace subjective orchestrator judgment with deterministic, auditable domain-based routing. A fintech auth change should auto-classify as COMPLEX without human intervention.

How It Works

  1. Input: User task description (string)
  2. Layer 0: Match keywords from data/domain-complexity.csv
  3. Layer 1: Analyze task content — classify type and extract mentioned files/modules (load references/multi-layer-detection.md)
  4. Layer 2: Check project context — files present, directory structure, recent git changes
  5. Layer 3: Score confidence per domain (HIGH ≥70, MEDIUM 40–69, LOW <40)
  6. Classify task type — map signals to one of: bug_fix, feature, refactor, security, devops, docs, review, intake (load references/task-type-classification.md)
  7. Optional: Check .claude/product-areas.yaml if exists — merge area keywords and paths (see references/product-area-config.md)
  8. Output: {domain, level, workflow, execution_tier, task_type, suggested_skill, confidence, product_area?}
  9. Fallback: No match → return unknown, defer to manual classification

CSV Schema

ColumnValuesPurpose
domainsnake_case identifierDomain name
signalscomma-separated keywordsMatch against task description
levellow, medium, highComplexity classification
workflowone-shot, standard, enhanced, advancedWorkflow intensity
web_searchescomma-separated topicsSuggested research queries

Routing Logic

LevelExecution TierGate 1Workflow
lowminimalBypass eligible (one-shot)Minimal
mediumstandardRequiredStandard phases
highhigh-assuranceRequiredFull phases + security

Provider Boundary

This skill emits only task complexity, risk, workflow intensity, and scaffolding density. It does not select a model or name a provider. The active harness resolves any provider-specific model policy after this routing result is produced.

Usage

Called automatically by orchestrator at Phase 0. Not invoked directly by users.

Orchestrator Phase 0:
  1. Run mk:scale-routing on task description
  2. If match found → use returned level/workflow/execution_tier
  3. If no match → fall back to manual classification

Extending

Users can add custom domains by editing data/domain-complexity.csv. Add a new row with domain keywords relevant to your project.

Gotchas

  • Runtime dependency on mk:autobuild/scripts/density-select.sh — if the autobuild workflow skill is removed or renamed, density selection breaks. The script is shared intentionally (single source of truth for density policy); treat it as load-bearing infrastructure, not a private harness internal.
  • Multiple domains can match a single task (e.g., "fintech dashboard" matches both fintech and internal_tools) — use the HIGHEST complexity match
  • CSV keyword matching is case-insensitive but signal order matters — first match wins for domain name
  • Adding too many low-signal keywords (e.g., "data", "app") creates false positives — keep signals specific to the domain
  • One-shot workflow bypass requires BOTH CSV match AND orchestrator zero-blast-radius confirmation — CSV alone is not sufficient

Output Schema (v2.0)

Base fields (v1.0):

FieldValuesDescription
domainsnake_case stringMatched domain or unknown
levellow, medium, highComplexity classification
workflowone-shot, standard, enhanced, advancedWorkflow intensity
execution_tierminimal, standard, high-assuranceProvider-neutral execution intensity

New fields (v2.0):

FieldValuesDescription
task_typebug_fix, feature, refactor, security, devops, docs, review, intakeClassified task type
suggested_skillmk:fix, mk:cook, mk:cso, mk:review, mk:intakeRecommended skill for this task
confidenceHIGH, MEDIUM, LOWRouting confidence from Layer 3 scoring
product_areastringArea name from .claude/product-areas.yaml (omitted if no YAML)

New fields (v2.1 — Phase 5 of harness plan, 260408):

FieldValuesDescription
autobuild_densityMINIMAL, FULL, LEANRecommended scaffolding density for mk:autobuild runs (see Adaptive Density Policy below)

Harness Density Selection (v2.1)

Used by mk:autobuild to choose how much scaffolding to apply per run. The decision rules:

levelneutral baselineautobuild_density
lownoneMINIMAL
mediumnoneFULL
highnoneFULL

Override: MEOWKIT_AUTOBUILD_MODE=MINIMAL\|FULL\|LEAN env var, when set, overrides the auto-detected value. The override is logged in the autobuild run report for audit.

For scriptable density selection, callers may invoke .claude/skills/autobuild/scripts/density-select.sh which echoes only the density token to stdout.

Data File

  • data/domain-complexity.csv — Domain → complexity → workflow mapping

Reference Files

  • references/multi-layer-detection.md — 4-layer detection logic and confidence scoring
  • references/task-type-classification.md — 8 task types, signals, and suggested skills
  • references/product-area-config.md — Optional .claude/product-areas.yaml schema and loading rules

Cross-Skill Dependencies

  • .claude/skills/autobuild/scripts/density-select.sh — Echoes autobuild_density token to stdout; used by autobuild when scriptable density selection is needed

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use this skill to generate well-branded interfaces and assets for MeowKit (AI Agent Toolkit for Claude Code), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ngocsangyem/MeowKit152026년 7월 28일 업데이트

mk-advise

무료

Turn a raw idea into ONE honest recommendation: interview one question at a time until confirmed, then give a verdict with trade-offs and a checklist. Not for options or debate.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Browser automation CLI for agents: navigate, click/fill, screenshot, extract data, test apps, Electron/Slack, cloud browsers. NOT for the user's real Chrome profile/cookies (mk:chrome-profile).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Detects the right agent and complexity tier at Phase 0 orient; runs first in every workflow. NOT for runtime agent routing inside a single skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Angular v20+ patterns: components, signals, services, forms, routing, HTTP, testing, SSR. Auto-activates on .ts files in Angular projects (angular.json detected).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ngocsangyem/MeowKit152026년 7월 28일 업데이트

Design and review durable REST, GraphQL, RPC, or event API contracts: shape, compatibility, pagination, error semantics. Discovers existing consumers first. Not implementation, schema, or release.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ngocsangyem/MeowKit152026년 7월 28일 업데이트

ngocsangyem의 스킬 모두 보기

이 스킬의 문제 신고