Task Management¶
Complete guide to managing tasks with local-work v3.1.1.
Creating Tasks¶
Basic Task Creation¶
Create a new task with a title:
The task opens in your editor with auto-generated ID and metadata.
With Priority¶
Set priority level (low, medium, high):
task new "Fix critical bug" -p high
task new "Update documentation" -p low
task new "Add feature" -p medium
With Assignee¶
Assign the task to someone:
Without Auto-Open¶
Create without opening in editor:
Combined Flags¶
Listing Tasks¶
List All Tasks¶
Show tasks from all active statuses (backlog, active, completed):
Alias: task ls
Output:
Tasks (15)
backlog (8 tasks)
──────────────────────────────────────────────────────────────
◉ TASK-001: Implement user authentication
Priority: high | Created: today
◉ TASK-003: Update documentation
Priority: low | Created: 2 days ago
◉ TASK-005: Design new homepage
Priority: medium | Created: today
active (5 tasks)
──────────────────────────────────────────────────────────────
◉ TASK-002: Fix login bug
Priority: high | Created: today
◉ TASK-004: Add OAuth support
Priority: medium | Created: yesterday
completed (2 tasks)
──────────────────────────────────────────────────────────────
◉ TASK-006: Setup CI/CD
Priority: high | Created: 3 days ago
◉ TASK-007: Write tests
Priority: medium | Created: 4 days ago
List by Status¶
Filter tasks by specific status:
Example:
Output:
active (5 tasks)
──────────────────────────────────────────────────────────────
◉ TASK-002: Fix login bug
Priority: high | Created: today
◉ TASK-004: Add OAuth support
Priority: medium | Created: yesterday
Viewing Tasks¶
View Task Details¶
Display complete task information:
Alias: task show TASK-001
Output:
Task: TASK-001
─────────────────────────────────────────────────────────────
Title: Implement user authentication
Status: active
Priority: high
Assignee: Jonh
Created: 2025-11-07
Updated: 2025-11-07
Estimated: 2h
Actual: 1.5h
Tags: backend, security
File: /project/.local-work/tasks/active/TASK-001-implement-user-authentication.md
─────────────────────────────────────────────────────────────
## Description
Implement JWT-based authentication for the API.
## Subtasks
- [x] Set up JWT library
- [x] Create auth middleware
- [ ] Add login endpoint
- [ ] Add logout endpoint
## Notes
Using jsonwebtoken library for token generation.
Tokens expire after 24 hours.
Editing Tasks¶
Edit in Editor¶
Open a task file in your configured editor:
This opens the Markdown file where you can:
- Update description
- Add/modify subtasks
- Add notes
- Modify metadata (manual editing)
After editing, the updated field is automatically updated.
Task Workflow¶
Status Lifecycle¶
Move to Active¶
Start working on a task:
Moves the task from backlog to active.
Output:
Mark as Done¶
Complete a task:
Alias: task complete TASK-001
Moves the task from active to completed.
Output:
Updating Tasks¶
Update Command¶
Modify task metadata fields:
Available Fields¶
| Field | Description | Example Values |
|---|---|---|
priority | Task priority | low, medium, high |
assignee | Person assigned | Any string (e.g., Jonh, sarah) |
estimated | Estimated time | 30m, 1h, 2h, 1.5h |
actual | Actual time spent | 30m, 1h, 2h, 1.5h |
tags | Comma-separated tags | backend,auth, frontend,ui |
Update Priority¶
Output:
Update Assignee¶
Update Time Estimates¶
Time Formats:
30m- 30 minutes1h- 1 hour2h- 2 hours1.5h- 1 hour 30 minutes90m- 90 minutes (1.5 hours)
Update Tags¶
Tags are comma-separated without spaces.
Searching Tasks¶
Search by Term¶
Find tasks by searching titles and content:
Alias: task find <term>
Examples:
Output:
Search Results (3)
Searching for: "authentication"
• TASK-001: Implement user authentication
Status: active | Priority: high
• TASK-015: Add two-factor authentication
Status: backlog | Priority: medium
• TASK-022: Update authentication docs
Status: completed | Priority: low
The search looks in:
- Task titles
- Task descriptions
- Task content (subtasks, notes)
Task Statistics¶
View Stats¶
Display comprehensive task statistics:
Alias: task statistics
Output:
Task Statistics
Status Distribution:
backlog : 8
active : 5
completed : 12
archived : 3
Priority Distribution:
low : 6
medium : 14
high : 8
Time Tracking:
Estimated: 42h
Actual: 38h 30m
Variance: 3h 30m (under)
Total Tasks: 28
Understanding Variance¶
- Under: Actual time is less than estimated (good!)
- Over: Actual time exceeded estimate (needs attention)
Standup Reports¶
Generate reports for daily standups or weekly summaries. Perfect for team meetings, Slack updates, or personal tracking.
Daily Standup¶
Output:
[T] Standup Report
Generated: 26/11/2025
-> What I worked on yesterday:
• TASK-042: Fix authentication bug (completed)
• TASK-041: Update user docs (completed)
-> What I'm working on today:
• TASK-045: Implement OAuth2 (active, high priority)
• TASK-044: Add unit tests (active, medium priority)
-> Blockers / Issues:
• TASK-050: Waiting for API access (backlog, high priority)
Output Formats¶
Choose the format that works best for your workflow:
task standup # Text (default)
task standup --format markdown # Markdown (Slack, Teams, docs)
task standup --format json # JSON (integrations, scripts)
Markdown output is great for pasting in Slack or Teams:
## 📋 Standup Report
**Generated:** 26/11/2025
### ✅ What I worked on yesterday
- TASK-042: Fix authentication bug
- TASK-041: Update user docs
### 🔄 What I'm working on today
- **TASK-045**: Implement OAuth2 _(high)_
### ⚠️ Blockers / Issues
- **TASK-050**: Waiting for API access _(high)_
Weekly Summary¶
Get a summary of the entire week:
Output:
[T] Weekly Summary
Week 48 (25/11/2025 - 01/12/2025)
Completed this week: 8 tasks
• TASK-042: Fix authentication bug
• TASK-041: Update user docs
...
Currently active: 3 tasks
Backlog: 5 tasks
Global Workspace¶
Use standup with global tasks:
Archiving Tasks¶
Auto-Archive Old Tasks¶
Move old completed tasks to archived status:
Default threshold: 30 days
Custom threshold:
task archive 60 # Archive tasks older than 60 days
task archive 90 # Archive tasks older than 90 days
Output:
When to Archive¶
- Tasks completed over 30 days ago (default)
- Tasks you no longer need quick access to
- Keep completed directory clean
Task File Structure¶
Tasks are stored as Markdown files with YAML frontmatter:
.local-work/tasks/
├── backlog/
│ ├── TASK-001-implement-user-authentication.md
│ └── TASK-003-update-documentation.md
├── active/
│ ├── TASK-002-fix-login-bug.md
│ └── TASK-004-add-oauth-support.md
├── completed/
│ ├── TASK-006-setup-ci-cd.md
│ └── TASK-007-write-tests.md
└── archived/
└── TASK-010-old-feature.md
Task File Format¶
---
id: TASK-001
title: Implement user authentication
status: active
priority: high
assignee: Jonh
created: 2025-11-07
updated: 2025-11-07
estimated: 2h
actual: 1.5h
tags:
- backend
- security
---
## Description
Implement JWT-based authentication for the API.
## Subtasks
- [x] Set up JWT library
- [x] Create auth middleware
- [ ] Add login endpoint
- [ ] Add logout endpoint
## Notes
Using jsonwebtoken library for token generation.
Tokens expire after 24 hours.
## Resources
- https://jwt.io/
- https://www.npmjs.com/package/jsonwebtoken
Opening Task Directory¶
Open in File Manager¶
Opens the appropriate directory in your system's file manager:
- Linux: Uses
xdg-open - macOS: Uses
open - Windows: Uses
explorer
Global vs Local Tasks¶
Local Tasks (Project-specific)¶
After running task init, tasks are project-specific:
These operate on .local-work/tasks/ in your project.
Global Tasks (Personal)¶
Use -g or --global for personal tasks:
These operate on your global workspace.
Tips & Best Practices¶
Task Naming¶
Good:
- "Implement user authentication"
- "Fix login redirect bug"
- "Add dark mode toggle"
Avoid:
- "do stuff"
- "fix thing"
- "update"
Using Priorities¶
- High: Urgent bugs, critical features, blockers
- Medium: Regular features, normal bugs (default)
- Low: Nice-to-have, documentation, cleanup
Using Subtasks¶
Break down complex tasks:
## Subtasks
- [ ] Research authentication libraries
- [ ] Implement JWT generation
- [ ] Create login endpoint
- [ ] Add refresh token support
- [ ] Write tests
- [ ] Update documentation
Time Tracking¶
Estimate before starting, track actual time:
task update TASK-001 estimated 2h # Before starting
# ... work on task ...
task update TASK-001 actual 1.5h # After completing
Tagging¶
Use consistent, meaningful tags:
task update TASK-001 tags backend,auth,security
task update TASK-002 tags frontend,ui,accessibility
task update TASK-003 tags docs,readme
Common Workflows¶
Daily Workflow¶
# Morning: Generate standup for meeting
task standup
# Check active tasks
task list active
# Start working on a task
task start TASK-001
# Edit task as you work
task edit TASK-001
# Mark as done when finished
task done TASK-001
Sprint Planning¶
# View all backlog tasks
task list backlog
# Search for specific features
task search "authentication"
# Update priorities
task update TASK-001 priority high
task update TASK-002 priority medium
# Assign tasks
task update TASK-001 assignee Jonh
task update TASK-002 assignee Alex
End of Sprint¶
# Check stats
task stats
# Archive old completed tasks
task archive 30
# Review remaining active tasks
task list active
Next Steps¶
- Note Taking Guide - Learn about notes
- Task CLI Reference - Complete command reference
- Configuration - Customize your setup