new-build

Create isolated Git worktrees and branches for new development tasks.

Updated Dec 8, 2025
One-click install
npx skills add https://github.com/marcusglee11/LifeOS --skill new-build
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: new-build
Source: https://github.com/marcusglee11/LifeOS/tree/main/.claude/skills/new-build
Command: npx skills add https://github.com/marcusglee11/LifeOS --skill new-build

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill prevents merge conflicts and cross-session contamination by creating an isolated worktree for new development tasks before writing code.

Core Features & Use Cases

  • Branch Isolation: Creates a new, linked worktree and branch from main for each build.
  • Conflict Prevention: Ensures that concurrent agent activity does not interfere with the primary working tree.
  • Use Case: When starting a new feature development, use this Skill to create a dedicated environment, ensuring your work is clean and separate from ongoing maintenance or other feature branches.

Quick Start

Create a new build branch for the topic 'user-authentication'.

Frequently Asked Questions about new-build

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

FAQPage Schema
How do I isolate code changes in a new Git worktree to prevent merge conflicts?▼

To isolate code changes, create a linked Git worktree and branch from the main repository. This prevents cross-session contamination and concurrent agent activity from interfering with your primary working tree.

What is the best way to manage concurrent development tasks without cross-session contamination?▼

Managing concurrent development tasks without contamination requires creating an isolated Git worktree for each build. This ensures new feature development remains separate from ongoing maintenance or other active branches.

Can I create different Git branch types like hotfix or spike for isolated worktrees?▼

Yes, you can create isolated Git worktrees for various build kinds including 'build', 'fix', 'hotfix', and 'spike'. The process derives branch names automatically and manages metadata in 'artifacts/active_branches.json'.

How do I recover primary repository work after creating an isolated worktree?▼

Recovering primary repository work after creating an isolated worktree is supported through built-in recovery options. These options facilitate switching context back to the primary working tree after atomic branch creation.

Does creating a Git worktree from the main branch help prevent branch contamination?▼

Creating a linked worktree from the main branch prevents branch contamination by atomically generating an isolated environment. This keeps new development tasks separate from your primary working tree.