Files
claude-task-master/.claude/commands/tm/workflows/smart-workflow.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.4 KiB

Execute an intelligent workflow based on current project state and recent commands.

This command analyzes:

  1. Recent commands you've run
  2. Current project state
  3. Time of day / day of week
  4. Your working patterns

Arguments: $ARGUMENTS

Intelligent Workflow Selection

Based on context, I'll determine the best workflow:

Context Analysis

  • Previous command executed
  • Current task states
  • Unfinished work from last session
  • Your typical patterns

Smart Execution

If last command was:

  • status → Likely starting work → Run daily standup
  • complete → Task finished → Find next task
  • list pending → Planning → Suggest sprint planning
  • expand → Breaking down work → Show complexity analysis
  • init → New project → Show onboarding workflow

If no recent commands:

  • Morning? → Daily standup workflow
  • Many pending tasks? → Sprint planning
  • Tasks blocked? → Dependency resolution
  • Friday? → Weekly review

Workflow Composition

I'll chain appropriate commands:

  1. Analyze current state
  2. Execute primary workflow
  3. Suggest follow-up actions
  4. Prepare environment for coding

Learning Mode

This command learns from your patterns:

  • Track command sequences
  • Note time preferences
  • Remember common workflows
  • Adapt to your style

Example flows detected:

  • Morning: standup → next → start
  • After lunch: status → continue task
  • End of day: complete → commit → status