Rules are instruction files that teach your AI coding assistant how to use Taskmaster. Once installed, your assistant automatically knows how to find tasks, check dependencies, implement work, and update progress.
# Auto-detect your editor and install rules
tm rules add -y
# Or specify your editor
tm rules add cursor
tm rules add claude
# Multiple editors at once
tm rules add cursor,claude,windsurf
That's it. Your AI assistant now knows how to use every Taskmaster command in context.
With rules installed, your AI assistant can:
tm next to identify work respecting dependencies and prioritiestm show to understand implementation details and test strategytm update when implementation diverges from the plantm expand to split complex tasks into subtasksAs you work, build project-specific context by adding rules to your editor's rule files:
This context improves every future task your AI assistant works on.
For the full rules reference including all 13+ supported editors, see Supported Editors and Rules System.