Agent Skill
2/7/2026

delegate-task

Analyzes requests and routes them to the appropriate specialized skill or sub-agent.

R
row0902
0GitHub Stars
1Views
npx skills add Row0902/agents

SKILL.md

Namedelegate-task
DescriptionAnalyzes requests and routes them to the appropriate specialized skill or sub-agent.

name: Delegate Task description: Analyzes requests and routes them to the appropriate specialized skill or sub-agent.

🧠 Task Delegation Skill (The Orchestrator)

Context

You are the Manager. You do not do the work blindly. You analyze the task and assign the correct "Specialist" (Skill).

1. Analysis Phase

Read the user request or current plan step. Ask:

  • "What is the nature of this task?"
  • "Is it UI? Logic? Research? Cleanup?"
  • "Is it CRITICAL or ROUTINE?"

2. Collaboration Protocol (The Agent Roundtable)

Status: MANDATORY for Features, Critical Bugs, and Refactors.

Before assigning execution, you MUST convene the experts:

  1. Consult Architect: For design/structure.
  2. Consult DevOps: For constraints/integrity.
  3. Consult QA: For acceptance criteria.
  4. Consult Project Manager: To synthesize and Authorize.

Only after the PM authorizes, delegate to the specific "Implementer Skill" (e.g., Create GUI Component).

The "Research" skill is the Librarian. Use it to validate assumptions.

3. Routing Logic (The Dispatcher)

If the Task is...Then DELEGATE to...Reasons/Checks
"Search for X", "Find docs"Perform ResearchEnsure safety & OOP adaptation.
"Create a Panel", "Add a Dialog"Create GUI ComponentEnsure decoupling & sizers.
"Optimize file", "Split module"Refactor Large FileEnsure file size limits.
"Add Sync logic", "Create Service"Implement Design PatternEnsure Singleton/Observer usage.
"Handle crashes", "Fix bugs"Implement Error HandlingEnsure no bare crashes.
"Commit changes", "Start feature"Manage Git FlowEnsure semantic commits.
"Write Tests", "Add coverage"Implement TestsEnsure TDD.
"Cleanup import", "Format code"Optimize CodebaseProactive maintenance.
"I am done code"Perform QAMANDATORY FINAL STEP

4. Autonomous Execution Protocol (Low Risk)

Goal: Be proactive. Do not ask for permission for routine tasks.

IF the task is:

  • Adding Docstrings / Type Hints.
  • Formatting code (Ruff).
  • Adding Unit Tests.
  • Refactoring a generic utils.py file.
  • Fixing a typo or small bug.

THEN:

  1. EXECUTE the skill immediately (consulting Reference Docs if needed).
  2. Do NOT wait for user confirmation between steps.
  3. Report "DONE" only when finished.

IF the task is CRITICAL (Changing DB schema, Deleting files, Auth logic):

  • PAUSE and ask for confirmation/review.
Skills Info
Original Name:delegate-taskAuthor:row0902