start-task

Create isolated git worktree environments with a task.md template.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/lshtram/core_dev --skill start-task-lshtram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: start-task
Source: https://github.com/lshtram/core_dev/tree/main/.agent/skills/start-task
Command: npx skills add https://github.com/lshtram/core_dev --skill start-task-lshtram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill helps teams spin up isolated task work environments quickly, reducing context switching and merge conflicts by leveraging git worktrees.

Core Features & Use Cases

  • Creates a new worktree branch for a given task
  • Initializes a task.md template in the new worktree
  • Keeps main repository clean by isolating work

Quick Start

Provide a task name in kebab-case (e.g., feature-auth-login) and run the script to create the new worktree.

Frequently Asked Questions about start-task

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an isolated git worktree for a new task?

To set up an isolated git worktree, provide a kebab-case task name and run the script to initialize a new worktree aligned to origin/main along with a task.md template. This creates a clean, parallel workspace to prevent cross-task interference.

Why use git worktrees instead of branches for parallel feature development?

Git worktrees provide isolated task environments that prevent context switching and merge conflicts. Unlike standard branches, a new worktree creates a separate directory for your task, keeping the main repository clean while allowing parallel work.

Do I need a main branch to create a new worktree for a bug fix?

Yes, creating a new worktree requires a git repository with an existing main branch. The script aligns the new isolated task environment to origin/main to ensure your bug fix starts from a clean, up-to-date baseline.

What format should the task name be in when initializing a worktree?

The task name must be in kebab-case format, such as feature-auth-login or bugfix-login-error. This naming convention is required to initialize the new git worktree and generate the corresponding task.md template successfully.

Can I use git worktrees to prevent cross-task interference in my repository?

Yes, git worktrees prevent cross-task interference by creating isolated task work environments. By spinning up a new worktree aligned to origin/main for each feature or chore, you keep your main repository clean and avoid merge conflicts.

What is generated in the new worktree after running the task setup script?

After running the script with a valid kebab-case task name, it generates a new git worktree branch aligned to origin/main and initializes a task.md template within that worktree to help you track your isolated work.