ephemeral-worktree
SKILL.md
ephemeral-worktree
Use an ephemeral git worktree to implement changes safely without modifying the developer's main workspace.
This skill provides a safe development workflow for AI agents when implementing non-trivial code changes.
When to use
Use this skill when:
- implementing features
- performing refactors
- fixing bugs affecting multiple files
- making experimental or risky changes
- modifying multiple parts of the repository
Do not use this skill for trivial edits such as:
- documentation fixes
- formatting changes
- single-line modifications
Instructions
-
Create a temporary worktree session.
-
Perform all development work inside the worktree.
-
Run project tests to ensure the repository remains valid.
-
Create checkpoint commits while developing.
See:
rules/checkpoint.md
-
Present the resulting changes for developer review.
-
After review, the developer may merge or discard the worktree.
Additional References
Detailed implementation steps, scripts, and examples are available in:
references/worktree-workflow.md
Weekly Installs
2
Repository
karibulab/coding-agentsFirst Seen
6 days ago
Security Audits
Installed on
windsurf2
amp2
cline2
opencode2
cursor2
kimi-cli2