Rules are instruction files that teach your AI coding assistant how to use Taskmaster. When rules are installed, your assistant knows how to list tasks, check dependencies, expand work, update status, and follow the right workflow — without you having to explain it every time.
A Taskmaster rules file tells your AI assistant:
tm next or tm list --ready to find available taskstm analyze-complexity and tm expand for complex taskstm update when implementation diverges from the plan# Auto-detect your editor and install
tm rules add -y
# Install for a specific editor
tm rules add cursor
# Guided interactive setup
tm rules setup
Each editor has its own rules format and location:
.mdc files in .cursor/rules/ with frontmatter for rule descriptionsCLAUDE.md pointing to .taskmaster/CLAUDE.md.github/copilot-instructions.md for Copilot Chat.windsurfrules file in the project rootThe content is functionally identical across editors — only the format and file location change.
When you update Taskmaster, re-run the rules command to get the latest instructions:
tm rules add cursor
This updates the rules file with new commands and best practices from the latest version.
Rules don't overwrite your existing editor configuration. For Claude Code, Taskmaster creates .taskmaster/CLAUDE.md and adds an import line to your main CLAUDE.md — your custom instructions remain untouched.
Taskmaster auto-detects monorepo setups (via lerna.json, nx.json, or turbo.json) and adjusts rules placement accordingly.