Files
claude-task-master/.claude/commands/tm/fix-dependencies/index.md
neno b9299c5af0 feat: Claude Code slash commands for Task Master (#774)
* Fix Cursor deeplink installation with copy-paste instructions (#723)

* fix: expand-task (#755)

* docs: Update o3 model price (#751)

* docs: Auto-update and format models.md

* docs: Auto-update and format models.md

* feat: Add Claude Code task master commands

Adds Task Master slash commands for Claude Code under /project:tm/ namespace

---------

Co-authored-by: Joe Danziger <joe@ticc.net>
Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
Co-authored-by: Volodymyr Zahorniak <7808206+zahorniak@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: neno-is-ooo <204701868+neno-is-ooo@users.noreply.github.com>
2025-06-21 20:48:20 +02:00

1.8 KiB

Automatically fix dependency issues found during validation.

Automatic Dependency Repair

Intelligently fixes common dependency problems while preserving project logic.

Execution

task-master fix-dependencies

What Gets Fixed

1. Auto-Fixable Issues

  • Remove references to deleted tasks
  • Break simple circular dependencies
  • Remove self-dependencies
  • Clean up duplicate dependencies

2. Smart Resolutions

  • Reorder dependencies to maintain logic
  • Suggest task merging for over-dependent tasks
  • Flatten unnecessary dependency chains
  • Remove redundant transitive dependencies

3. Manual Review Required

  • Complex circular dependencies
  • Critical path modifications
  • Business logic dependencies
  • High-impact changes

Fix Process

  1. Analysis Phase

    • Run validation check
    • Categorize issues by type
    • Determine fix strategy
  2. Execution Phase

    • Apply automatic fixes
    • Log all changes made
    • Preserve task relationships
  3. Verification Phase

    • Re-validate after fixes
    • Show before/after comparison
    • Highlight manual fixes needed

Smart Features

  • Preserves intended task flow
  • Minimal disruption approach
  • Creates fix history/log
  • Suggests manual interventions

Output Example

Dependency Auto-Fix Report
━━━━━━━━━━━━━━━━━━━━━━━━
Fixed Automatically:
✅ Removed 2 references to deleted tasks
✅ Resolved 1 self-dependency
✅ Cleaned 3 redundant dependencies

Manual Review Needed:
⚠️ Complex circular dependency: #12 → #15 → #18 → #12
  Suggestion: Make #15 not depend on #12
⚠️ Task #45 has 8 dependencies
  Suggestion: Break into subtasks

Run '/project:tm/validate-dependencies' to verify fixes

Safety

  • Preview mode available
  • Rollback capability
  • Change logging
  • No data loss