setup
Installation
SKILL.md
Setup & Isolation Skill
Purpose
Safety first. To enforce defense-in-depth and prevent broken code from polluting the repository's main or active development branches, this skill uses Git Worktrees to isolate the agent's workspace. All generation and validation occur in this sandbox.
SOP: Workspace Isolation Workflow
Step 0 - Environment Verification
Before creating a worktree, verify the project environment is ready:
- Confirm the
.agents/directory exists at the repo root. If not, the project is not nemodev-enabled — flag this to the user. - Check for
AGENTS.mdat the repo root. This is the behavior contract that governs all downstream skills. - Verify Git is installed and the current directory is a Git repository.
Step 1 - Baseline Check
Verify the repository state is clean:
- Run
git status. Proceed only if the working tree is clean. - If there are uncommitted changes, halt and ask the user to commit or stash them.
- Run
git fetch originto ensure you're working from the latest state.