ddtcorex/maestro-skills/review-in-worktree
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when reviewing code isolated in a Git worktree outside a Govard-managed project directory (for example Maestro merge-request review trees under /tmp), when "govard tool" cannot find the project configuration, or when asked to run Govard-managed commands against a detached review tree.
Install
npx vskill@latest install ddtcorex/maestro-skills/review-in-worktreeSKILL.md
Reviewing in Detached Worktrees
Why Govard Commands Fail Here
govard tool … resolves the project from a .govard.yml found upward from the current directory and dispatches into that project's running app container. A bare review worktree (created with git worktree add for a merge request) carries neither the config nor a running environment, so project-routed Govard commands fail by design.
Option 1 — Point at the Owning Checkout (preferred, read-only intent)
If the branch under review belongs to a Govard project that is already up (govard up ran in the real checkout), resolve the environment from there:
Verify with govard status before anything else. Treat this as read-only context for your review; never run mutations (migrations, cache flushes, indexers) against the owning project's database because a review asked for it.
Option 2 — Bootstrap a Throwaway Config
Only when the review must execute code and no owning environment exists:
Clean up afterwards so review trees do not leak containers:
Option 3 — Static Analysis Only (most MR reviews)
Most automated reviews only need the diff, repository history, and the domain skills (magento2-code-review, magento2-linter guidance). Prefer this when the reviewer has no container rights or the MR is not meant to run.
Container-free analysis is available for this case. govard audit run no longer needs a container when the check itself does not:
It reports composer manifest/lock problems and Magento module/DI wiring problems (govard-integrity findings) and is a different body of evidence from lint — never present it as a substitute for --checks lint, which does need Docker. Exit codes: 0 clean, 1 findings, 3 a required capability is missing (--error-json prints the versioned envelope). Review the integrity.json artifact referenced by the run result for the exact finding list.
Guardrails
- Never point
GOVARD_PROJECT_DIRat production or shared staging checkouts. - A worktree shares the repository with its main checkout: rebases or
git worktree remove affect both — coordinate before cleaning up.
- Database state is per project, not per worktree: two worktrees of one
project share data through the same stack.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/review-in-worktree/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ddtcorex/maestro-skills/review-in-worktree)