Agent Skill
2/7/2026delegate-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
| Name | delegate-task |
| Description | Analyzes 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:
- Consult Architect: For design/structure.
- Consult DevOps: For constraints/integrity.
- Consult QA: For acceptance criteria.
- 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 Research | Ensure safety & OOP adaptation. |
| "Create a Panel", "Add a Dialog" | Create GUI Component | Ensure decoupling & sizers. |
| "Optimize file", "Split module" | Refactor Large File | Ensure file size limits. |
| "Add Sync logic", "Create Service" | Implement Design Pattern | Ensure Singleton/Observer usage. |
| "Handle crashes", "Fix bugs" | Implement Error Handling | Ensure no bare crashes. |
| "Commit changes", "Start feature" | Manage Git Flow | Ensure semantic commits. |
| "Write Tests", "Add coverage" | Implement Tests | Ensure TDD. |
| "Cleanup import", "Format code" | Optimize Codebase | Proactive maintenance. |
| "I am done code" | Perform QA | MANDATORY 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.pyfile. - Fixing a typo or small bug.
THEN:
- EXECUTE the skill immediately (consulting Reference Docs if needed).
- Do NOT wait for user confirmation between steps.
- 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
Download