task-dispatch

Coordinate subagent task execution with two-phase clarification and automated review workflows.

3|Updated Apr 21, 2024
One-click install
npx skills add https://github.com/gabrielfruet/.dotfiles --skill task-dispatch-gabrielfruet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-dispatch
Source: https://github.com/gabrielfruet/.dotfiles/tree/main/pi/agent/skills/task-dispatch
Command: npx skills add https://github.com/gabrielfruet/.dotfiles --skill task-dispatch-gabrielfruet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the critical issue of subagents running in no-session mode being unable to ask clarifying questions mid-execution, which leads to implementation errors, missed requirements, and rework due to misalignment with user expectations.

Core Features & Use Cases

  • Two-Phase Execution Workflow: First collects all clarifying questions from the subagent before any code is written, then runs implementation with user-provided answers to eliminate guesswork.
  • Automated Review Gates: Includes mandatory spec compliance and code quality review steps after implementation to catch issues before marking tasks complete.
  • Adaptive Task Handling: Selects the appropriate subagent model based on task complexity (mechanical, integration, or architecture work) and provides clear paths for handling blocked tasks.
  • Use Case: When you have a detailed implementation plan with multiple independent tasks, use this Skill to delegate each task to a subagent, ensure all requirements are clarified upfront, and validate the final output meets both functional and quality standards.

Quick Start

Use the task-dispatch skill to delegate the first independent implementation task from your plan, collect any clarifying questions from the subagent, provide your answers, and complete the task with automated spec and code quality reviews.

Frequently Asked Questions about task-dispatch

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

FAQPage Schema
How do I collect clarifying questions from a subagent before it starts coding?

To collect clarifying questions from a subagent before coding, use a two-phase execution workflow that gathers all queries upfront, waits for user answers, and then runs the implementation to eliminate mid-execution guesswork.

What is the best way to automate spec compliance reviews for delegated implementation tasks?

Automated spec compliance reviews are best handled by dispatching tasks through a workflow that enforces mandatory review gates after implementation, checking functional requirements and code quality before marking tasks complete.

Why does my no-session subagent miss requirements when executing independent implementation tasks?

No-session subagents miss requirements because they cannot ask clarifying questions mid-execution, causing implementation errors and rework due to misalignment with user expectations.

How do I select the right subagent model for different types of coding tasks?

Select the right subagent model by using adaptive task handling, which evaluates task complexity and automatically assigns the appropriate model for mechanical, integration, or architecture work.

Can I handle blocked or incomplete tasks when delegating work to subagents?

Yes, you can handle blocked or incomplete tasks when delegating work to subagents by using explicit status handling, which provides clear paths for resolving issues when implementation stalls.