workflow-routing

Select coding workflows for PR planning, implementation, and verification by task risk.

Updated May 18, 2026
One-click install
npx skills add https://github.com/solitude6060/Yao-skills --skill workflow-routing-solitude6060
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-routing
Source: https://github.com/solitude6060/Yao-skills/tree/main/skills/workflow-routing
Command: npx skills add https://github.com/solitude6060/Yao-skills --skill workflow-routing-solitude6060

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents wasted cost and risk by selecting the appropriate planning/implementation/review workflow for a coding task instead of defaulting to a one-size-fits-all pipeline.

Core Features & Use Cases

  • Workflow decision matrix (A/B/C/D/E/Mini): Picks a route based on task type, difficulty, and risk level, including explicit anti-patterns like switching workflows mid-PR.
  • Role separation and safety guardrails: Ensures planner vs implementer vs reviewer responsibilities are separated, and mandates high-diversity review for high-stakes changes.
  • Elastic routing and parallel-work hygiene: Includes quota-aware fallback logic (e.g., downgrading Opus/Codex usage) and emphasizes isolation rules for parallel agents.

Use case example: Before starting a multi-file feature PR that introduces a new invariant, route via Workflow C (diverse planning + implementation + final confirm) to reduce the chance that any single model misses critical edge cases.

Quick Start

Use workflow-routing to choose the correct A/B/C/D/E/Mini plan-implement-review path for my PR based on task risk and current model quota.

Frequently Asked Questions about workflow-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route code tasks to the right workflow based on risk level?

Route code tasks to the right workflow by using a decision matrix that matches task type, difficulty, and risk level to appropriate planning, implementation, and review pipelines. This matrix categorizes tasks into A/B/C/D/E/Mini workflows to prevent wasted cost and avoid one-size-fits-all pipelines.

What is the best way to orchestrate pull requests across hotfixes and mechanical refactors?

Orchestrate pull requests by selecting a specific workflow route based on the task pattern, such as utilizing dedicated paths for hotfixes, mechanical refactors, or SPEC/ADR decisions. This prevents the anti-pattern of switching workflows mid-PR and ensures proper role separation.

How do I ensure role separation between planner, implementer, and reviewer for high-stakes invariant changes?

Ensure role separation for high-stakes invariant changes by applying a routed workflow that mandates distinct planner, implementer, and reviewer responsibilities. This workflow includes triple-review or equivalent high-diversity guardrails to reduce the chance that a single model misses critical edge cases.

Can I manage multi-agent isolation and quota fallback during parallel work?

Manage multi-agent isolation and quota fallback by applying elastic routing logic that includes quota-aware downgrades, such as reducing Opus or Codex usage. This enforces isolation rules for parallel agents when model quotas are constrained.

When do I need a triple-review workflow for algorithmic correctness work?

You need a triple-review workflow for algorithmic correctness work when the task involves high-stakes invariant changes that require high-diversity review. Routing via a diverse planning, implementation, and final confirmation path reduces the risk of any single model missing critical edge cases.