Skip to main content
Glama
validate-dependencies.ts2.02 kB
/** * @fileoverview Validate Dependencies Slash Command * Validate all task dependencies for issues. */ import { staticCommand } from '../../factories.js'; /** * The validate-dependencies slash command - Validate Dependencies * * Validate all task dependencies for issues. */ export const validateDependencies = staticCommand({ name: 'validate-dependencies', description: 'Validate Dependencies', content: `Validate all task dependencies for issues. ## Dependency Validation Comprehensive check for dependency problems across the entire project. ## Execution \`\`\`bash 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 \`/taskmaster:fix-dependencies\` to auto-fix - Manually adjust problematic dependencies - Rerun to verify fixes`, mode: 'solo' });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eyaltoledano/claude-task-master'

If you have feedback or need assistance with the MCP directory API, please join our Discord server