packages/claude-code-plugin/commands/add-subtask.md
Add a subtask to a parent task.
Arguments: $ARGUMENTS
Parse arguments to create a new subtask or convert existing task.
Creates subtasks to break down complex parent tasks into manageable pieces.
Flexible natural language:
task-master add-subtask --parent=<id> --title="<title>" --description="<desc>"
task-master add-subtask --parent=<id> --task-id=<existing-id>
Automatic Subtask Generation
Intelligent Defaults
Validation
/taskmaster:add-subtask to 5: implement user authentication
→ Created subtask #5.1: "implement user authentication"
→ Parent task #5 now has 1 subtask
→ Suggested next subtasks: tests, documentation
/taskmaster:add-subtask 5: setup, implement, test
→ Created 3 subtasks:
#5.1: setup
#5.2: implement
#5.3: test