workflow_detect
Determine a project's product-delivery state and receive the immediate next step to proceed, covering setup, workflow initiation, status checks, and legacy migration.
Instructions
Detect the product-delivery state of a project.
Call this FIRST when entering a project. Returns the current state and what action to take next:
"not_setup": No product-delivery config. Call workflow_setup to add it.
"setup_no_workflow": Config exists but no workflow started. Call workflow_init.
"active_workflow": Workflow in progress. Call workflow_status to see where it is.
"legacy_migration": Has BUILD_PLAN.md or ROADMAP.md from old skills. Call workflow_init(from_migration=True).
Args: project_dir: Project directory to check. Defaults to working directory.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "workflow_detect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |