System Documentation

What problem does it solve?

The pool eliminates slow, failure-prone “one worktree per issue” setups by providing a fixed set of reusable git worktrees that are prepared, leased, and reset reliably for parallel issue work.

Core Features & Use Cases

  • Persistent worktree pool: Creates and maintains detached worktrees under .worktrees/instance-N, each with its own node_modules for consistent parallel execution.
  • Fast leasing for batch runs: Leases an instance to a specific branch, hard-resets to a base ref, cleans untracked files, and runs pnpm install only when package dependencies changed.
  • Recovery and lifecycle management: Supports status inspection, resetting back to origin/release, repairing corrupted/wedged instances, and fully destroying the pool.

Quick Start

Ask your agent to initialize the pool by running: .pi/skills/pool/scripts/pool.sh init 4.

Dependency Matrix

Required Modules

gitpnpm

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pool
Download link: https://github.com/Jeqqe/jersal-project-template/archive/main.zip#pool

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.