using-git-worktrees
Pass
Audited by Gen Agent Trust Hub on Mar 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: Automates the setup and verification of development environments.
- The skill detects project manifest files and automatically executes commands like
npm install,cargo build,pip install,poetry install, andgo mod downloadto prepare the workspace. - It runs project-specific test suites (e.g.,
npm test,cargo test,pytest) to ensure a clean baseline before development begins. - [COMMAND_EXECUTION]: Orchestrates Git repository operations for workspace isolation.
- Uses
git worktree addto create new branches in isolated directories based on user preference or project configuration. - Automatically verifies if worktree directories are ignored using
git check-ignoreand modifies.gitignoreif necessary to prevent tracking of the isolated environment. - [EXTERNAL_DOWNLOADS]: Triggers the download of project dependencies from official language registries.
- The setup process initiates network requests via standard package managers (npm, pip, poetry, go, cargo) to fetch dependencies defined in the project's configuration files.
Audit Metadata