| name | Decompose Goal |
| description | Break down a high-level objective from the Orchestrator into specific, actionable sub-tasks for workers. Creates task files in the project's .crewly/tasks/ directory. |
| version | 1.0.0 |
| category | management |
| skillType | claude-skill |
| assignableRoles | ["team-leader"] |
| triggers | ["decompose goal","break down objective","create subtasks","split task"] |
| tags | ["goal","decomposition","planning","management"] |
| execution | {"type":"script","script":{"file":"execute.sh","interpreter":"bash","timeoutMs":30000}} |
Decompose Goal
Breaks down a high-level objective from the Orchestrator into specific, actionable sub-tasks for workers. Each sub-task is created as a task file in the project's .crewly/tasks/ directory.
When to Use
- When the Orchestrator sends you a new objective
- When an existing task is too large for a single worker
- When a task needs to be split across multiple roles
Usage
bash {{SKILLS_PATH}}/team-leader/decompose-goal/execute.sh '$(cat /tmp/decompose.json)'
Where /tmp/decompose.json contains:
{
"objective": "Build user authentication module",
"projectPath": "/path/to/project",
"milestone": "m2_auth",
"tasks": [
{
"title": "Implement JWT token service",
"description": "Create a service that generates and validates JWT tokens for user sessions",
"requiredRole": "backend-developer",
"acceptanceCriteria": "- JWT generation works\n- Token validation works\n- Tests pass with 80%+ coverage",
"priority": "high"
},