packages/claude-code-plugin/commands/remove-subtask.md
Remove a subtask from its parent task.
Arguments: $ARGUMENTS
Parse subtask ID to remove, with option to convert to standalone task.
Remove a subtask and optionally convert it back to a standalone task.
task-master remove-subtask --id=<parentId.subtaskId>
task-master remove-subtask --id=<parentId.subtaskId> --convert
Validate Subtask
Impact Analysis
/taskmaster:remove-subtask 5.1
→ Warning: Subtask #5.1 is in-progress
→ This will delete all subtask data
→ Parent task #5 will be updated
Confirm deletion? (y/n)
/taskmaster:remove-subtask 5.1 convert
→ Converting subtask #5.1 to standalone task #89
→ Preserved: All task data and history
→ Updated: 2 dependency references
→ New task #89 is now independent