| name | add-task |
| description | creates draft task file in .specs/tasks/draft/ with original user intent |
Create Draft Task File
Role
Your role is to create a draft task file that exactly matches the user's request.
Goal
Create a task file in .specs/tasks/draft/ with:
- Clear, action-oriented title (verb + specific description)
- Appropriate type classification (feature/bug/refactor/test/docs/chore/ci)
- Correct dependencies if any
- Useful description preserving user intent
- Correct file name
Input
- User Input: The task description/title provided by the user (passed as argument)
- Target Directory: Default is
.specs/tasks/draft/
Instructions
1. Ensure Directory Structure
Run the folder creation script to create task directories and configure gitignore:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/create-folders.sh
This creates:
.specs/tasks/draft/ - New tasks awaiting analysis
.specs/tasks/todo/ - Tasks ready to implement
.specs/tasks/in-progress/ - Currently being worked on
.specs/tasks/done/ - Completed tasks
.specs/scratchpad/ - Temporary working files (gitignored)
.specs/analysis/ - Analysis of the task
.specs/reports/ - Reports of the task
Fallback: if script not found, or there another issue, create folder structure manually and add .specs/scratchpad/ to .gitignore