A file-based AI task management system that helps you effectively plan, execute, and track project development tasks through AI assistants.
Task Magic enables AI assistants to manage your project workflow using plain Markdown files to track all tasks, providing clear visibility for both you and the AI.
- 📝 File-Driven: All tasks and plans are readable Markdown files
- 🤖 AI-Native: Designed for AI assistants with automatic state synchronization
- 📊 Full Tracking: Complete lifecycle from planning to execution to archival
- 🔄 Historical Memory: Completed tasks auto-archive for project context
project-root/
├── .ai/ # AI task management
│ ├── plans/ # Project planning (PRDs)
│ ├── tasks/ # Active tasks
│ ├── memory/ # Historical archives
│ └── TASKS.md # Master task checklist
└── .cursor/rules/ # AI behavior rules
"Create a project plan for [project name]"
"Create tasks from the plan"
"Update task 3 md" # Add implementation details before execution
"Start next task" # AI finds first pending task
"Execute task 3" # Execute specific task
"Continue work" # Continue with next task
"Complete task 3" # Mark as complete
"Archive tasks" # Move completed to memory
Task Status:
[ ]Pending[-]In Progress[x]Completed[!]Failed
Implementation Status (when using update task md):
[📝]Has implementation details[⚡]Code ready to apply[🔧]Partially implemented[✅]Fully implemented
flowchart TD
Start([User Request]) --> Discuss[Discuss Requirements]
Discuss --> Path1{Choose Path}
%% Workflow 1: Direct Execution (No Tasks)
Path1 -->|"Quick Fix"| DirectExec[Direct Execution<br/>No Task Tracking]
DirectExec --> Done1([Complete])
%% Workflow 2: Full Planning with Tasks
Path1 -->|"Major Feature"| CreatePRD[Create PRD<br/>.ai/plans/]
CreatePRD --> GenTasksFromPRD[Generate Tasks]
GenTasksFromPRD --> UpdateTasksMD1[Update TASKS.md]
UpdateTasksMD1 --> CreateTaskFiles1["Create task files<br/>.ai/tasks/"]
%% Workflow 3: Task First Approach
Path1 -->|"Medium Work"| GenTasksDirect[Generate Tasks<br/>Directly]
GenTasksDirect --> UpdateTasksMD2[Update TASKS.md]
UpdateTasksMD2 --> CreateTaskFiles2["Create task files"]
%% Optional Task Updates
CreateTaskFiles1 --> OptionalUpdate{Add Details?}
CreateTaskFiles2 --> OptionalUpdate
OptionalUpdate -->|Yes| UpdateTaskMD["Update task md<br/>Add implementation code"]
UpdateTaskMD --> OptionalUpdate
OptionalUpdate -->|No| SelectTask[Select Task]
%% Execution Flow
SelectTask --> CheckDeps{Dependencies<br/>Met?}
CheckDeps -->|No| WaitDeps[Wait]
WaitDeps --> SelectTask
CheckDeps -->|Yes| StartTask[Execute]
StartTask --> Implementation[Implement Code]
Implementation --> TestCheck{Tests?}
TestCheck -->|Yes| RunTests[Run Tests]
TestCheck -->|No| CompleteTask
RunTests --> CompleteTask[Complete]
CompleteTask --> NextTask{More?}
NextTask -->|Yes| SelectTask
NextTask -->|No| Archive[Archive]
Archive --> Done2([Done])
style Start fill:#e1f5fe
style CreatePRD fill:#f3e5f5
style UpdateTaskMD fill:#fce4ec
style Implementation fill:#fff3e0
style CompleteTask fill:#c8e6c9
style Archive fill:#e0f2f1
- Quick Fix → Direct execution (no tasks)
- Major Feature → Full planning with PRD
- Medium Work → Generate tasks directly
---
id: 3
title: 'Implement User Login'
status: pending
implementation_status: not_implemented # Changes when adding details
priority: high
dependencies: [1, 2]
created_at: "2025-01-15T10:00:00Z"
---
## Description
Allow users to log in with email/password
## Details
- Validate credentials
- Create session token
- Handle errors
## Test Strategy
Test with valid/invalid credentials
## Implementation Details
(Added with "update task 3 md")
```python
def authenticate_user(username, password):
# Copy-paste ready code
pass
```
### Files to Modify
1. `src/auth/login.py` - Add authenticate function- Plan First: Create PRDs for complex features
- Add Details: Use
update task mdto prepare code before execution - Test Always: Include test strategies in tasks
- Archive Regularly: Keep active tasks clean
| Command | Action |
|---|---|
Show tasks |
Display task list |
Create plan for {feature} |
Generate PRD |
Create tasks from plan |
Generate tasks from PRD |
Update task {id} md |
Add implementation code |
Start next task |
Begin first pending task |
Execute task {id} |
Work on specific task |
Complete task {id} |
Mark as complete |
Archive tasks |
Move completed to memory |
"Check if task 5 needs expansion" # AI suggests splitting large tasks
"Show completed tasks" # View archived work
"How was {feature} implemented?" # Search past implementations
"Create all database tasks" # Multiple task creation
"Archive this week's tasks" # Bulk archival
- System uses real UTC timestamps, not simulated
- Plan Mode: Only creates documentation, no code
- Act Mode: Actual implementation and code execution
- All state persists in files, survives restarts
Detailed rules are in .cursor/rules/.task-magic/:
_index.mdc- System overviewtasks.mdc- Task managementplans.mdc- Planning systemmemory.mdc- Historical archivesexpand.mdc- Task splittingtask-implementation.mdc- Implementation details
Task Magic - Your AI-Powered Project Management Partner 🎯