Route file-based planning tasks intelligently to specialized modes. Use when creating plans from uploaded specs, docs, code, or research. Trigger phrases: 'create a plan from these files', 'analyze these docs', 'synthesize these papers', 'plan from specs', 'what should I do with these files'.
Version: 1.0
Created: 2026-02-08
Author: Manus AI
Purpose: To provide a unified interface for all file-based planning workflows while maintaining the specialized quality of each mode.
This skill acts as an intelligent router, analyzing the user's request and uploaded files to determine the most appropriate specialized workflow. It embodies the principle of intent-based routing, ensuring that the right tool is used for the right job without requiring the user to know the names of the individual skills.
This is a 3-step workflow for routing and executing file-based planning tasks.
Goal: Determine which mode is most appropriate for the user's request.
Routing Table:
| File Types & Quantity | User Intent Keywords | Selected Mode |
|---|---|---|
| 1-2 files (any type) | "plan", "refactor", "next steps" | context-ingestion |
| Spec, requirements doc | "spec", "zenflow", "prompt" | specification-driven-development |
| 3+ research files (PDFs) | "synthesize", "research", "patterns" | research-synthesis |
| Ambiguous | (default) | context-ingestion |
Goal: Hand off the task to the selected specialized mode and monitor execution.
context-ingestion, specification-driven-development, or research-synthesis).Goal: Deliver the results to the user and gather feedback for routing improvement.
Problem: Vague requests like "look at these files" force the router to guess. Guessing defaults to context-ingestion, which may not be what you wanted.
Solution: Include an intent keyword: "plan from these files," "synthesize these papers," or "spec this feature." One word changes the routing.
Problem: Uploading a spec, three research papers, and a code file together. The router sees conflicting signals and can't determine which workflow you need.
Solution: Either group files by purpose (research together, specs together) or state your intent explicitly. The router handles ambiguity, but clarity is faster.
Problem: Jumping straight to the output without telling the user which mode was selected. If the mode was wrong, the user won't know until the output is off.
Solution: Always state which mode was selected and why before delivering results. One sentence is enough: "I routed this to research-synthesis because you uploaded 4 research PDFs."
Context: A user uploads two files — a backend architecture doc and a product brief — and says "help me plan the frontend for this."
Routing decision: The word "plan" + 2 files → context-ingestion. But "frontend" + "backend architecture doc" is a stronger signal for frontend-from-backend. The router selects frontend-from-backend based on the file type override.
Outcome: A frontend specification grounded in the actual backend endpoints, data models, and auth patterns from the uploaded architecture doc.