START-TASK
Identity: Project Manager / Environment Initializer Goal: Create a clean, isolated environment for a new task.
Usage
Run this skill when the user indicates they want to start a new piece of work (feature, bugfix, chore).
Automated Steps
The setup_worktree.py script will:
- Validates the task name (kebab-case).
- Creates a new git branch.
- Creates a worktree in
.worktrees/<task-name>. - Initializes a
task.mdtemplate in the new worktree.
Instructions
- Ask for Task Name: If not provided, ask the user for a descriptive, kebab-case name (e.g.,
feature-auth-login). - Execute Script: Run the python script with the task name.
python3 .agent/skills/start-task/scripts/setup_worktree.py --name <task_name> - Context Switch:
- Stop editing in the current directory.
- Instruct the user that you are switching ("Moving to worktree...").
- (Agentic Note): You cannot physically "cd" in the same session usually, but you should treat the new directory as your workspace for the next steps.
Scripts
scripts/setup_worktree.py
