Files
claude-task-master/.claude/commands/tm/validate-dependencies/validate-dependencies.md
Ralph Khreish 7b4803a479 fix: task master (tm) custom slash commands w/ proper syntax (#968)
* 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>

* chore: add changeset

---------

Co-authored-by: neno-is-ooo <204701868+neno-is-ooo@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-14 15:49:16 +02:00

1.5 KiB

Validate all task dependencies for issues.

Dependency Validation

Comprehensive check for dependency problems across the entire project.

Execution

task-master validate-dependencies

Validation Checks

  1. Circular Dependencies

    • A depends on B, B depends on A
    • Complex circular chains
    • Self-dependencies
  2. Missing Dependencies

    • References to non-existent tasks
    • Deleted task references
    • Invalid task IDs
  3. Logical Issues

    • Completed tasks depending on pending
    • Cancelled tasks in dependency chains
    • Impossible sequences
  4. Complexity Warnings

    • Over-complex dependency chains
    • Too many dependencies per task
    • Bottleneck tasks

Smart Analysis

The validation provides:

  • Visual dependency graph
  • Critical path analysis
  • Bottleneck identification
  • Suggested optimizations

Report Format

Dependency Validation Report
━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ No circular dependencies found
⚠️  2 warnings found:
   - Task #23 has 7 dependencies (consider breaking down)
   - Task #45 blocks 5 other tasks (potential bottleneck)
❌ 1 error found:
   - Task #67 depends on deleted task #66

Critical Path: #1 → #5 → #23 → #45 → #50 (15 days)

Actionable Output

For each issue found:

  • Clear description
  • Impact assessment
  • Suggested fix
  • Command to resolve

Next Steps

After validation:

  • Run /project:tm/fix-dependencies to auto-fix
  • Manually adjust problematic dependencies
  • Rerun to verify fixes