Files
claude-task-master/assets/claude/commands/tm/tm-main.md
Joe Danziger 95c299df64 Unify and streamline profile system architecture (#853)
* move claude rules and commands to assets/claude

* update claude profile to copy assets/claude to .claude

* fix formatting

* feat(profiles): Implement unified profile system

- Convert Claude and Codex profiles to use createProfile() factory
- Remove simple vs complex profile distinction in rule transformer
- Unify convertAllRulesToProfileRules() to handle all profiles consistently
- Fix mcpConfigPath construction in base-profile.js for null mcpConfigName
- Update terminology from 'simpleProfiles' to 'assetOnlyProfiles' throughout
- Ensure Claude .claude directory copying works in both CLI and MCP contexts
- All profiles now follow same execution flow with proper lifecycle functions

Changes:
- src/profiles/claude.js: Convert to createProfile() factory pattern
- src/profiles/codex.js: Convert to createProfile() factory pattern
- src/utils/rule-transformer.js: Unified profile handling logic
- src/utils/profiles.js: Remove simple profile categorization
- src/profiles/base-profile.js: Fix mcpConfigPath construction
- scripts/modules/commands.js: Update variable naming
- tests/: Update all tests for unified system and terminology

Fixes Claude profile asset copying issue in MCP context.
All tests passing (617 passed, 11 skipped).

* re-checkin claude files

* fix formatting

* chore: clean up test Claude rules files

* chore: add changeset for unified profile system

* add claude files back

* add changeset

* restore proper gitignore

* remove claude agents file from root

* remove incorrect doc

* simplify profiles and update tests

* update changeset

* update changeset

* remove profile specific code

* streamline profiles with defaults and update tests

* update changeset

* add newline at end of gitignore

* restore changes

* streamline profiles with defaults; update tests and add vscode test

* update rule profile tests

* update wording for clearer profile management

* refactor and clarify terminology

* use original projectRoot var name

* revert param desc

* use updated claude assets from neno

* add "YOUR_" before api key here

* streamline codex profile

* add gemini profile

* update gemini profile

* update tests

* relocate function

* update rules interactive setup Gemini desc

* remove duplicative code

* add comma
2025-07-09 13:22:11 +02:00

4.2 KiB

Task Master Command Reference

Comprehensive command structure for Task Master integration with Claude Code.

Command Organization

Commands are organized hierarchically to match Task Master's CLI structure while providing enhanced Claude Code integration.

Project Setup & Configuration

/project:tm/init

  • init-project - Initialize new project (handles PRD files intelligently)
  • init-project-quick - Quick setup with auto-confirmation (-y flag)

/project:tm/models

  • view-models - View current AI model configuration
  • setup-models - Interactive model configuration
  • set-main - Set primary generation model
  • set-research - Set research model
  • set-fallback - Set fallback model

Task Generation

/project:tm/parse-prd

  • parse-prd - Generate tasks from PRD document
  • parse-prd-with-research - Enhanced parsing with research mode

/project:tm/generate

  • generate-tasks - Create individual task files from tasks.json

Task Management

/project:tm/list

  • list-tasks - Smart listing with natural language filters
  • list-tasks-with-subtasks - Include subtasks in hierarchical view
  • list-tasks-by-status - Filter by specific status

/project:tm/set-status

  • to-pending - Reset task to pending
  • to-in-progress - Start working on task
  • to-done - Mark task complete
  • to-review - Submit for review
  • to-deferred - Defer task
  • to-cancelled - Cancel task

/project:tm/sync-readme

  • sync-readme - Export tasks to README.md with formatting

/project:tm/update

  • update-task - Update tasks with natural language
  • update-tasks-from-id - Update multiple tasks from a starting point
  • update-single-task - Update specific task

/project:tm/add-task

  • add-task - Add new task with AI assistance

/project:tm/remove-task

  • remove-task - Remove task with confirmation

Subtask Management

/project:tm/add-subtask

  • add-subtask - Add new subtask to parent
  • convert-task-to-subtask - Convert existing task to subtask

/project:tm/remove-subtask

  • remove-subtask - Remove subtask (with optional conversion)

/project:tm/clear-subtasks

  • clear-subtasks - Clear subtasks from specific task
  • clear-all-subtasks - Clear all subtasks globally

Task Analysis & Breakdown

/project:tm/analyze-complexity

  • analyze-complexity - Analyze and generate expansion recommendations

/project:tm/complexity-report

  • complexity-report - Display complexity analysis report

/project:tm/expand

  • expand-task - Break down specific task
  • expand-all-tasks - Expand all eligible tasks
  • with-research - Enhanced expansion

Task Navigation

/project:tm/next

  • next-task - Intelligent next task recommendation

/project:tm/show

  • show-task - Display detailed task information

/project:tm/status

  • project-status - Comprehensive project dashboard

Dependency Management

/project:tm/add-dependency

  • add-dependency - Add task dependency

/project:tm/remove-dependency

  • remove-dependency - Remove task dependency

/project:tm/validate-dependencies

  • validate-dependencies - Check for dependency issues

/project:tm/fix-dependencies

  • fix-dependencies - Automatically fix dependency problems

Workflows & Automation

/project:tm/workflows

  • smart-workflow - Context-aware intelligent workflow execution
  • command-pipeline - Chain multiple commands together
  • auto-implement-tasks - Advanced auto-implementation with code generation

Utilities

/project:tm/utils

  • analyze-project - Deep project analysis and insights

/project:tm/setup

  • install-taskmaster - Comprehensive installation guide
  • quick-install-taskmaster - One-line global installation

Usage Patterns

Natural Language

Most commands accept natural language arguments:

/project:tm/add-task create user authentication system
/project:tm/update mark all API tasks as high priority
/project:tm/list show blocked tasks

ID-Based Commands

Commands requiring IDs intelligently parse from $ARGUMENTS:

/project:tm/show 45
/project:tm/expand 23
/project:tm/set-status/to-done 67

Smart Defaults

Commands provide intelligent defaults and suggestions based on context.