using-git-worktrees
Isolate parallel or sub-agent work in git worktrees and integrate or discard it explicitly, keeping the main checkout clean.
Skill by mimimaster
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mimimaster-using-git-worktrees-0a2f00
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/using-git-worktrees
What's inside
- Skill name
using-git-worktrees- Description
- Isolate parallel or sub-agent work in git worktrees and integrate or discard it explicitly, keeping the main checkout clean. Use when starting work that must not disturb the current tree, running parallel branches or file-writing subagents, or when the user mentions worktrees.
- License
- MIT
- Instructions
- 22 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Using Git Worktrees ## Goal Isolated checkout(s) for parallel or sub-agent work, with a clean default product worktree and deliberate integrate/discard. ## Done means - Long-lived parallel work uses a worktree (prefer product sibling directory when available) instead of dirty stashing on main. - Worktree path is visible in session/UI when spawning agents. - Merge or discard is explicit. - For piwin sub-agents: `worktree` mode owns writable isolation; `readonly` does not mutate. ## Stop when - Isolation is unavailable — say so; do not pretend writes are isolated. ## Constraints - Do not force-push `main`/`master`. - Host isolation policy is authoritative for sub-agents. ## Verify - Default session worktree stays clean; agent work lands only where intended.
From mimimaster/piwin, MIT.
More from mimimaster/piwin
- 0.788score
improve
piwin (adapted from shadcn/improve)
Audit a codebase as a read-only senior advisor and write prioritized, self-contained implementation plans under plans/ for other agents to execute; never…
SkillAFreshness: A★ 142Claude Code +9 - 0.788score
improve
piwin (adapted from shadcn/improve)
Survey a codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
subagent-driven-development
mimimaster
Execute an approved plan by delegating isolatable steps to isolated child sessions (Host serializes writers), then review diffs and verify in the parent.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
find-skill
mimimaster
Find a skill, MCP server or extension for a task: first what is installed, then what can be installed from piwin's curated catalog.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
create-skill
mimimaster
Create or revise an Agent Skill (SKILL.md) with valid frontmatter and a short outcome-oriented body.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
optimize-prompt
mimimaster
Rewrite system prompts, tool descriptions, and agent instructions into dense, contract-style, XML-bounded specs with a before/after comparison.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
imagegen
mimimaster
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or…
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
generate-flashcards
mimimaster
Create study flashcards from notes or open knowledge via flashcard_batch_create; folders and documents go through Doc Cards generate instead.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
executing-plans
mimimaster
Execute an approved SessionPlan in the current session slice by slice, recording step evidence with piwin_plan_set_step.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
llm-wiki
mimimaster
Knowledge management, document synthesis, and concept graph maintenance following Andrej Karpathy's LLM-Wiki pattern.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
requesting-code-review
mimimaster
Write a short, high-signal review request covering intent, risks, files touched, tests run, and specific asks.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
videogen
mimimaster
Generate short videos from a text prompt or an image reference with the configured video model via video_gen.
SkillAFreshness: A★ 142Claude Code +9
Signals
- Stars
- 142
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Sep 17, 2026 (1 month ago)
- Last release
- Oct 8, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mimimaster/piwin
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mimimaster
- 0.782score
executing-plans
mimimaster
Execute an approved SessionPlan in the current session slice by slice, recording step evidence with piwin_plan_set_step.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
imagegen
mimimaster
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or…
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
generate-flashcards
mimimaster
Create study flashcards from notes or open knowledge via flashcard_batch_create; folders and documents go through Doc Cards generate instead.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
create-skill
mimimaster
Create or revise an Agent Skill (SKILL.md) with valid frontmatter and a short outcome-oriented body.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
requesting-code-review
mimimaster
Write a short, high-signal review request covering intent, risks, files touched, tests run, and specific asks.
SkillAFreshness: A★ 142Claude Code +9 - 0.782score
find-skill
mimimaster
Find a skill, MCP server or extension for a task: first what is installed, then what can be installed from piwin's curated catalog.
SkillAFreshness: A★ 142Claude Code +9
Cite this page
using-git-worktrees skill. Agent Mart. https://agentmart.dev/skills/mimimaster-using-git-worktrees-0a2f00 (last updated 2026-10-24)