New Task
Compute the task directory path, then run the script. If no argument is provided, use the current conversation to fill in the details.
- task-name: hyphenated, lowercase, 2-4 words summarizing the argument (e.g.,
buggy-auth). - issue-number: deduce from argument or branch name (e.g.,
ECMS-12345). Omit if not applicable. - task-title: title-cased task-name, prefixed with issue-number if applicable (e.g.,
ECMS-12345: Buggy Auth). - project-dirname: basename of the current project directory (e.g.,
my-project). - folder:
{YYYY-MM-DD}_{project-dirname}_{issue-number}-{task-name}(omit{issue-number}-if none). - task-dir:
~/.pi/plans/{folder}.
Run:
~/.pi/agent/skills/task/task.sh "<task-dir>" "<task-title>"
The script creates the directory and 1-TASK.md, then outputs the path.
Once created:
- Read and present the
1-TASK.mdcontents. - Ask the user how they want to proceed. Recommend an option based on the details provided and task complexity:
- Research web
- Brainstorm design
- Add more detail
- Implement directly
- Handle the choice:
- Brainstorm design → Use the Pi-adapted
brainstormingskill, using1-TASK.mdas input and writing2-DESIGN.mdin the same task folder. - Add more detail → Accept more input, merge it into
1-TASK.md, then ask again how to proceed. - Implement directly → Implement directly only if the task is small, clear, and does not require design.
- Research web → Ask for the research topic or sources, gather findings if web access is available, update
1-TASK.md, then ask again how to proceed.
- Brainstorm design → Use the Pi-adapted
Prefer the full workflow for non-trivial changes:
1-TASK.md → Pi-adapted brainstorming → 2-DESIGN.md → Pi-adapted writing-plans → 3-PLAN.md → Pi-adapted executing-plans or subagent-driven-development.