--- name: task-manager description: A systematic approach to managing tasks using a JSON-based tracking system in the VFS. tags: productivity, management, organization category: productivity --- # Task Management Workflow ## 1. Initialization - Check if `/tasks.json` exists. If not, create it with an empty array: `[]`. ## 2. Adding Tasks When a new task is identified: - **Define**: Task name, priority (Low, Medium, High), status (Todo, In-Progress, Done), and deadline. - **Action**: Read `tasks.json`, append the new task object, and write back to the file. ## 3. Daily Planning/Review - **List**: Read `tasks.json` and filter for "Todo" or "In-Progress". - **Prioritize**: Sort tasks by priority (High > Medium > Low). - **Update**: Change status of tasks as they are completed. ## 4. Maintenance - **Cleanup**: Archive "Done" tasks to `/tasks_archive.json` periodically to keep the main list lean. - **Audit**: Review overdue tasks and update deadlines or priorities. ## Schema Reference ```json { "id": "unique-id", "title": "Task name", "priority": "High|Medium|Low", "status": "Todo|In-Progress|Done", "created_at": "ISO-Date", "deadline": "ISO-Date", "notes": "Additional context" } ```