task
Scannednpx machina-cli add skill endlessblink/master-plan/task --openclawTask Creator
Quickly add new tasks to MASTER_PLAN.md with automatic sequential ID generation.
Triggers
/master-plan:task- Main command- "add task", "new task", "create task", "track this", "log a bug"
Workflow
Step 1: Find MASTER_PLAN.md
Search for the plan file in order:
docs/MASTER_PLAN.mdMASTER_PLAN.mdmaster-plan.mddocs/master-plan.md
If not found: Create docs/MASTER_PLAN.md using the template structure (see "Initial Setup" section below).
Step 2: Generate Next Task ID
Read the MASTER_PLAN.md file and find all existing task IDs:
- Scan for all occurrences matching
(TASK|BUG|FEATURE|ROAD|IDEA|ISSUE|INQUIRY)-(\d+) - Extract the numeric part from each match
- Find the highest number
- Next ID = highest + 1
CRITICAL: IDs are sequential across ALL types. If TASK-42 and BUG-43 exist, the next ID is 44 regardless of type.
Immediately output to user:
Using task number: [ID]
This must happen BEFORE asking any questions.
Step 3: Gather Task Information
Use AskUserQuestion to collect:
-
Task Type (header: "Type")
TASK— New feature or improvementBUG— Bug fixFEATURE— Major new featureINQUIRY— Investigation (not a fix, just understanding something)
-
Priority (header: "Priority")
P0— Critical / BlockerP1— High priorityP2— Medium priority (Recommended)P3— Low priority / Backlog
Then ask in plain text: "What's the task title? (Keep it concise, under 50 chars)"
Optionally ask: "Any additional description? (Or just press enter to skip)"
Step 4: Add to MASTER_PLAN.md
4a. Add to Roadmap Table (if one exists)
Look for a markdown table with task IDs. Insert a new row:
| **[TYPE]-[ID]** | **[Title]** | **[Priority]** | PLANNED | - |
4b. Add Detailed Section
Add a new ### section at the appropriate place (typically at the end of the active work area, before completed tasks):
### [TYPE]-[ID]: [Title] (PLANNED)
**Priority**: [Priority]
**Status**: PLANNED (YYYY-MM-DD)
[Description if provided]
**Tasks**:
- [ ] [First step — infer from context or ask user]
For P0/P1 tasks, add a note that this is high priority.
Step 5: Confirm
Output to user:
Task added to MASTER_PLAN.md:
- **ID**: [TYPE]-[ID]
- **Title**: [Title]
- **Priority**: [Priority]
- **Status**: PLANNED
Use `/master-plan:next` to start working on it, or `/master-plan:done [ID]` when complete.
Initial Setup
If no MASTER_PLAN.md exists, create docs/MASTER_PLAN.md with this structure:
# MASTER PLAN
> Project task tracking and roadmap.
## Roadmap
| ID | Title | Priority | Status | Dependencies |
|----|-------|----------|--------|--------------|
## Active Work
<!-- New task sections are added here -->
## Completed
<!-- Done tasks are moved here -->
Also create the docs/ directory if it doesn't exist.
ID Format Reference
| Prefix | Usage |
|---|---|
TASK-XXX | Features and improvements |
BUG-XXX | Bug fixes |
FEATURE-XXX | Major features |
ROAD-XXX | Roadmap items |
IDEA-XXX | Ideas for later |
ISSUE-XXX | Known issues |
INQUIRY-XXX | Investigations |
Important Rules
- NEVER reuse existing task IDs — Always scan the file first
- IDs are global — Sequential across all types (TASK, BUG, etc.)
- Use strikethrough (
~~ID~~) only when marking tasks DONE - Keep titles concise — Under 50 characters
- P0 tasks should always get an immediate detailed section
Source
git clone https://github.com/endlessblink/master-plan/blob/master/skills/task/SKILL.mdView on GitHub Overview
Add new tasks to MASTER_PLAN.md with automatically generated, globally sequential IDs across TASK, BUG, FEATURE, and INQUIRY. The workflow guides you from locating the plan to adding a new entry, ensuring consistent tracking of roadmap work.
How This Skill Works
The tool scans MASTER_PLAN.md for existing IDs matching (TASK|BUG|FEATURE|ROAD|IDEA|ISSUE|INQUIRY)-(\d+), finds the highest number, and uses the next number as the new ID. It immediately outputs the line "Using task number: [ID]" before asking questions, then prompts for Type, Priority, Title, and an optional Description, and finally inserts the new entry into the roadmap and a detailed section in MASTER_PLAN.md before confirming.
When to Use It
- You are adding a new task to the MASTER_PLAN.md roadmap and need a globally unique, sequential ID.
- You want to log a bug fix or feature with IDs that stay consistent across all task types.
- You're proposing a major feature and want it tracked as PLANNED in the roadmap.
- You need to record an INQUIRY or investigation item alongside other tasks.
- MASTER_PLAN.md is missing or inaccessible and needs to be created with an initial template.
Quick Start
- Step 1: Trigger the skill with /task, add task, new task, create task, or track this.
- Step 2: The system prints: Using task number: [ID] immediately before asking questions.
- Step 3: Answer prompts for Type, Priority, Title (under 50 chars), and optional Description; then confirm.
Best Practices
- Always scan MASTER_PLAN.md for existing IDs before adding a new task.
- Treat IDs as global and sequential across all types (TASK, BUG, FEATURE, INQUIRY, etc.).
- Keep task titles concise: under 50 characters.
- Use the correct type prefix and reflect it in the Roadmap table and sections.
- For P0/P1 tasks, provide a detailed PLANNED section and clearly indicate priority.
Example Use Cases
- TASK-101: Add user authentication
- BUG-102: Fix crash on startup
- FEATURE-103: Implement dark mode
- INQUIRY-104: Investigate data export latency
- IDEA-105: Explore AI-assisted tagging