Mandu mcp index

From konamgil/mandu · View interactive version

Mandu mcp index is an AI agent skill from the GitHub repository konamgil/mandu. MCP 도구 오케스트레이션 라우터 (always-on). 108개 MCP 도구 중 상황에 맞는 워크플로우 skill 선택, 집계>세분 우선순위, anti-pattern 카탈로그. MCP 도구 호출 직전 자동 참조.

How to use this skill

Skill file

Mandu MCP Index

@mandujs/mcp 는 약 108 개의 MCP 도구를 노출합니다. 이 문서는

flat palette 가 아니라 tiered hierarchy 로 도구를 선택하도록 안내합니다.

핵심 원칙:

  1. Workflow skill 먼저. 개별 도구가 아닌 mandu-mcp-* workflow skill 을 먼저 본다.
  2. 집계 > 세분. 같은 일을 하는 집계 도구가 있으면 그걸 먼저. 실패했을 때만 세분 도구로 drill-down.
  3. 안전망 먼저. refactor_* / 마이그레이션은 mandu.history.snapshot + mandu.tx.begin 안에서만.
  4. 순서는 강제. mandu_create_contract → mandu_generate, mandu.history.snapshot → refactor_*.

1. Situation -> Workflow Skill

| 상황 | 먼저 열 workflow skill | 보조 task-shaped skill |

|------|----------------------|----------------------|

| 세션 시작 / "현 상태?" / "무슨 일 있었어?" | mandu-mcp-orient | — |

| "만들어줘" / 피처·리소스·라우트 추가 | mandu-mcp-create-flow | mandu-create-feature, mandu-create-api |

| 편집 직후 / stop-hook / "check 해줘" | mandu-mcp-verify | mandu-debug |

| 마이그레이션 / 리팩터 / refactor_* | mandu-mcp-safe-change | — |

| 배포 / release / "deploy" | mandu-mcp-deploy | mandu-deploy |

| 에러 / 증상 기반 진단 | mandu-mcp-verify -> drill-down | mandu-debug |

| Guard 위반 | mandu-mcp-verify -> mandu_guard_explain | mandu-guard-guide |

| Island / Hydration | mandu-mcp-verify | mandu-hydration, mandu-slot |

2. Aggregate > Granular — 우선순위 표

한 번에 처리하는 집계 도구가 있으면 그걸 먼저. 실패/불충분할 때만 세분.

| 목적 | 집계 (먼저 호출) | 세분 (drill-down 용도만) |

|------|----------------|----------------------|

| 테스트 파이프라인 | mandu.ate.auto_pipeline | mandu.ate.extract, mandu.ate.generate, mandu.ate.run, mandu.ate.heal, mandu.ate.apply_heal |

| 세션 오리엔테이션 | mandu.ai.brief | mandu_get_architecture, mandu_get_decisions, mandu_list_routes |

| 배포 준비 | mandu.deploy.check | mandu_guard_check, mandu_validate_contracts, mandu_validate_manifest |

| 배포 미리보기 | mandu.deploy.preview | mandu_preview_seo, mandu_write_seo_file |

| 구조/진단 | mandu_doctor | mandu_check_import, mandu_check_location |

| 스캐폴드 | mandu_generate_scaffold (negotiate → scaffold 묶음) | mandu_add_route, mandu_create_contract, mandu_generate |

| 피처 생성 | mandu.feature.create | mandu_add_route × n + contract + generate |

| 리소스 생성 | mandu.resource.create | mandu.resource.addField, mandu_create_contract, mandu_generate |

규칙:

3. Tiered Tool Hierarchy (108 tools)

전체 나열이 아니라 계층 이다. 각 티어 안에서 "먼저 볼 곳" 이 정해져 있다.

Tier 0 — Aggregate Orchestrators (먼저 본다)

Tier 1 — Domain Entry Points

| Domain | Entry tool | 역할 |

|--------|-----------|------|

| Architecture | mandu_get_architecture (alias mandu.brain.architecture) | 프리셋/레이어 규칙 |

| Decisions | mandu_get_decisions | ADR / 결정 이력 |

| Contract | mandu_list_contracts, mandu_create_contract | Zod 계약 |

| Routes | mandu_list_routes, mandu_add_route | FS 라우트 |

| Island | mandu_list_islands, mandu_set_hydration | 하이드레이션 |

| Slot | mandu_read_slot, mandu_validate_slot | 서버 로더 |

| SEO | mandu_preview_seo, mandu_write_seo_file | 메타/sitemap/robots |

| Runtime | mandu_get_runtime_config | 실행 구성 |

| Guard | mandu_guard_check, mandu_guard_heal, mandu_guard_explain | 아키텍처 강제 |

| History | mandu.history.snapshot, mandu_list_history, mandu_prune_history | 스냅샷 |

| Transaction | mandu_begin, mandu_commit, mandu_rollback, mandu_tx_status | 트랜잭션 |

| Kitchen | mandu_kitchen_errors | 런타임 에러 스트림 |

Tier 2 — Granular Operations (drill-down 시에만)

Tier 3 — Destructive / AI Refactor (항상 Safe-Change wrapper)

이 레이어의 도구는 반드시 mandu-mcp-safe-change 레시피 안에서만 호출한다.

mandu.history.snapshot 선행 + mandu.tx.begin 래핑 필수.

4. Anti-Pattern Catalog

다음 패턴이 감지되면 즉시 멈추고 대응 워크플로우로 전환한다.

AP-1 — ATE 수동 조합

AP-2 — Generate before Contract

AP-3 — Refactor without Snapshot

AP-4 — Name-Match Tool Pick

AP-5 — Guard After Commit

AP-6 — Parallel Mutation Without Transaction

AP-7 — Manual Build Pipeline

5. Escalation Flow

요청 도착
  → mandu-mcp-index (이 문서) 로 상황 매핑
  → 해당 workflow skill 오픈
    → 집계 도구 먼저 호출
      → 통과: 종료
      → 실패: workflow skill 의 drill-down 섹션으로만 진입
    → 필요시 task-shaped skill (mandu-debug, mandu-guard-guide, ...) 참조

이 순서를 뒤집지 않는다. 특히 108개 도구 목록을 직접 훑지 않는다 — workflow skill 이 고른 도구만 호출한다.

See Also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.