Files
claude-task-master/.claude/commands/tm/remove-dependency/remove-dependency.md
neno-is-ooo b1fd0ec0c9 feat: add task master (tm) custom slash commands
Add comprehensive task management system integration via custom slash commands.
Includes commands for:
- Project initialization and setup
- Task parsing from PRD documents
- Task creation, update, and removal
- Subtask management
- Dependency tracking and validation
- Complexity analysis and task expansion
- Project status and reporting
- Workflow automation

This provides a complete task management workflow directly within Claude Code.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 16:44:39 +03: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

/project:tm/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