From devflow
Use when you need to discover, select, or invoke a specialist agent for a specific task or PREVC phase
npx claudepluginhub nexuz-sys/devflow --plugin devflowThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides idea refinement into designs: explores context, asks questions one-by-one, proposes approaches, presents sections for approval, writes/review specs before coding.
Discovers and invokes specialist agents based on task requirements and current PREVC phase. Adapts to available mode (Full/Lite/Minimal).
Announce at start: "I'm using the devflow:agent-dispatch skill to select agents for this task."
DevFlow provides 15 specialist agents, each with defined roles and phase participation:
| Agent | Role | Phases | When to use |
|---|---|---|---|
| architect | architect | P, R | System design, technical decisions, scalability review |
| product-manager | strategist | P | Product strategy, PRDs, roadmap definition, prioritization |
| feature-developer | developer | E | Feature implementation following specs |
| bug-fixer | developer | E | Root cause analysis and targeted fixes |
| code-reviewer | reviewer | R, V | Code quality, patterns, best practices review |
| test-writer | developer | E, V | Test coverage, test design, testing strategy |
| documentation-writer | developer | C | API docs, README, inline docs maintenance |
| refactoring-specialist | developer | E | Code restructuring, pattern improvements |
| performance-optimizer | specialist | V | Bottleneck identification, optimization |
| security-auditor | specialist | R, V | Vulnerability assessment, security review |
| backend-specialist | specialist | E | Server-side architecture, APIs, databases |
| frontend-specialist | specialist | E | UI development, components, state management |
| database-specialist | specialist | E | Schema design, query optimization, migrations |
| devops-specialist | specialist | E, C | CI/CD, infrastructure, deployment |
| mobile-specialist | specialist | E | iOS/Android development, mobile UX |
Based on the current task and phase:
Full Mode:
agent({ action: "orchestrate", phase: "<current-phase>", task: "<task-description>" })
Returns the optimal agent selection with reasoning.
Lite Mode: Match task keywords to agent roles:
Minimal Mode: No agent dispatch — proceed with general-purpose approach.
Agent playbooks are resolved using a priority chain — always prefer project-specific over generic:
Priority 1: dotcontext MCP (Full mode)
└─ agent({ action: "getInfo", agent: "<name>" })
Richest content: semantic analysis, actual symbols, tree-sitter data
Priority 2: .context/agents/<name>.md (Lite mode)
└─ Project-specific playbook (generated by dotcontext OR devflow:project-init)
Has: actual file paths, real patterns, project conventions
Check: status: filled → use it | status: unfilled → fill it first
Priority 3: <devflow-plugin>/agents/<name>.md (Minimal mode fallback)
└─ Generic playbook bundled with DevFlow
Has: general best practices, no project-specific context
Use ONLY when .context/agents/ doesn't exist
Full Mode:
agent({ action: "getInfo", agent: "<agent-name>" })
agent({ action: "getDocs", agent: "<agent-name>" })
Lite Mode:
Read .context/agents/<agent-name>.md
status: filled → use it directlystatus: unfilled → fill it with project context first, then useMinimal Mode: Read from DevFlow's bundled playbooks:
Read <devflow-plugin>/agents/<agent-name>.md
Important: Never overwrite a .context/agents/ file that was generated by dotcontext (status: filled). dotcontext fills with richer content (semantic analysis, actual symbols) than DevFlow can generate.
Project-specific playbooks (dotcontext v2 format) provide 11 sections:
Bundled playbooks (DevFlow format) provide a simpler structure:
Apply whichever format you loaded — project-specific is always preferred.
When transitioning between agents in a task group:
Full Mode:
workflow-manage({ action: "handoff", from: "<agent-a>", to: "<agent-b>" })
Lite/Minimal Mode: Log the handoff and switch guidance:
Handoff: backend-specialist → frontend-specialist
Reason: API layer complete, moving to UI integration
Between agents, verify:
| Task Type | Agent Sequence |
|---|---|
| Full-stack feature | architect → backend → frontend → test-writer |
| API endpoint | architect → backend → test-writer |
| UI feature | architect → frontend → test-writer |
| Bug fix | bug-fixer → test-writer |
| Refactoring | refactoring-specialist → test-writer → code-reviewer |
| Database change | database-specialist → backend → test-writer |
| Security fix | security-auditor → backend/frontend → test-writer |
| Performance issue | performance-optimizer → backend/frontend → test-writer |
| Thought | Reality |
|---|---|
| "I don't need an agent for this" | In Minimal mode, that's fine. In Full/Lite, agents add domain expertise. |
| "I'll skip the handoff protocol" | Handoffs prevent context loss between specialists. Always follow it. |
| "One agent can do everything" | Specialists catch domain-specific issues. Use the right agent. |
| "Agent playbooks are just suggestions" | Playbooks encode proven domain expertise. Follow their workflow. |