Files
claude-task-master/packages/claude-code-plugin/commands/remove-dependency.md
2025-10-11 21:01:10 +02:00

1.3 KiB

Remove a dependency between tasks.

Arguments: $ARGUMENTS

Parse the task IDs to remove dependency relationship.

Removing Dependencies

Removes a dependency relationship, potentially unblocking tasks.

Argument Parsing

Parse natural language or IDs:

  • "remove dependency between 5 and 3"
  • "5 no longer needs 3"
  • "unblock 5 from 3"
  • "5 3" → remove dependency of 5 on 3

Execution

task-master remove-dependency --id=<task-id> --depends-on=<dependency-id>

Pre-Removal Checks

  1. Verify dependency exists
  2. Check impact on task flow
  3. Warn if it breaks logical sequence
  4. Show what will be unblocked

Smart Analysis

Before removing:

  • Show why dependency might have existed
  • Check if removal makes tasks executable
  • Verify no critical path disruption
  • Suggest alternative dependencies

Post-Removal

After removing:

  1. Show updated task status
  2. List newly unblocked tasks
  3. Update project timeline
  4. Suggest next actions

Safety Features

  • Confirm if removing critical dependency
  • Show tasks that become immediately actionable
  • Warn about potential issues
  • Keep removal history

Example

/taskmaster:remove-dependency 5 from 3
→ Removed: Task #5 no longer depends on #3
→ Task #5 is now UNBLOCKED and ready to start
→ Warning: Consider if #5 still needs #2 completed first