Claude Code Plugins

Community-maintained marketplace

Feedback

phase-router

@nera0875/agi
0
0

Routing phases - mapping phase status to next agent

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name phase-router
description Routing phases - mapping phase status to next agent
type implementation

Concept

Maps phase status → next phase and agent.

Transitions

discovery → architecture (architect)
architecture → implementation (executor) [gate: user_approval]
implementation → validation (writor)
validation → complete [gate: user_approval_final]

Logic

switch(phase) {
  case "discovery": return {next_agent: "architect"};
  case "architecture":
    if (gate.pending) return {status: "blocked"};
    return {next_agent: "executor"};
  case "implementation": return {next_agent: "writor"};
  case "validation":
    if (gate.pending) return {status: "blocked"};
    return {status: "complete"};
}

Return

{"next_agent": "architect|executor|writor", "blocked": bool}