ddtcorex/maestro-skills/govard-toolbox
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "start/stop environment", "govard up", "govard down", "run commands in container", "govard sh", "do database operations", "db dump", "db import", "sync with remote", "bootstrap from staging", "debug configuration", "set up Xdebug", "govard verify", "checklist", "QA harness", "deploy to a remote", "govard deploy", "deploy plan", "deploy check", "rollback a deploy", "sandbox rehearsal", or "rehearse a deploy". Provides high-level shortcuts and references for the Govard development environment orchestrator. This is the BASE skill. For framework-specific shortcuts, also load govard-magento, govard-laravel, govard-symfony or govard-wordpress.
Install
npx vskill@latest install ddtcorex/maestro-skills/govard-toolboxSKILL.md
Govard Toolbox
Govard is a containerized development environment orchestrator. This skill provides high-level shortcuts and references. The CLI is the source of truth: govard <command> --help for flags and govard capabilities for what each command needs, so prefer them over any list below when they disagree.
Quick Reference
Environment Lifecycle
| Shortcut | Full Command | Purpose | |
|---|---|---|---|
govard up | govard env up | Start project | |
govard down | govard env down | Stop project | |
govard sh | govard shell | Interactive shell | |
govard ps | govard env ps | List containers | |
govard verify | govard verify --phase 1 --json | 5-phase executable checklist (see VERIFY.md) |
Common Commands
Database Operations
A remote path may point at the layout root: Govard probes <path>, <path>/public_html and <path>/current over SSH. "no database configuration at ..." lists every path tried, so check the remote path instead of retrying blindly. A failed dump is reported as a failure, never as an empty-file success; read the credential warning first.
Remote Sync
Bootstrap
Deployment
Ships a git revision to a remote from .govard.yml. Read-only first, always:
Capabilities (confirm with govard capabilities): plan/build need nothing; check, releases, status and unlock need ssh; deploy/rollback also rsync; sandbox * needs Docker. A missing runtime is exit 3 CAPABILITY_MISSING, never a half-run. Recover a failed run with --resume (or --from <task>), never by unlocking and starting over. Resume adopts a recorded migrate verdict without re-probing; a recorded skip is discarded and re-probed; steps that already succeeded are not repeated.
Conditional migrate (Magento only). Before the downtime block the recipe probes cd {{release_path}} && {{php_bin}} bin/magento setup:db:status: exit 0 skips the whole downtime block (maintenance mode, worker pause, config import, db migrate, worker resume; reason db up-to-date (probe exit 0)); 1 or 2 runs it; any other exit fails the deploy. Compile, cache flush and the DB backup run regardless. Laravel, Symfony and WordPress have no probe, so their migrate steps always run. govard deploy plan shows which steps are gated (needs_migration).
Topology. Project-wide defaults live in a deploy: block (repository, branch, publish, deploy_path); per-remote overrides live ONLY under remotes.<name>.deploy:. Flat per-remote deploy keys are rejected by the loader (exit 4) with a message naming the key to move. Unset deploy_path probes the target and is adopted only when exactly one layout candidate matches.
What runs on the target comes from the framework recipe; --build=auto|server|artifact decides who builds, and govard deploy build --output <dir> makes the artifact. --db-backup defaults off; when on, the dump lands in shared/backups/deploy/<n>/ and rollback --with-db restores it. A framework whose recipe has no dump command refuses --db-backup up front (exit 4); see the framework skill.
Sandbox lists come from the recipe; deploy.settings.sandbox_{packages,extensions,services,tools} replace them. sandbox reset wipes the deploy directories (including shared/), so re-seed shared files. Details: SANDBOX.md.
Deploy preflight:govard deploy plan [remote]is read-only and never connects (--jsonfor machine-readable output);govard deploy check [remote]connects over ssh and is meant to leave nothing behind on the target (its layout probe uses a scratch directory it removes again). Both accept--build,--artifact-dir,--branch,--revisionand--tag;checkprints human text only.planreflects the configuration, not--publish,--keepor--verify, which only take effect on a real run. Run them on the host.
Per-framework detail (recipes, the conditional-migrate probe, and each framework's own step table): govard-magento, govard-laravel, govard-symfony, govard-wordpress. Full reference: <https://govard.ddtcorex.com/workflows/deployment>.
Host Without Docker
Govard works without a container runtime. Every command declares its runtime requirement, and the requirement-free set is derived from that manifest:
CAPABILITY_MISSING/ exit code3means a declared capability (docker, ssh,
rsync, cloudflared, net) is unavailable. The message names the capability, and govard env up --error-json prints it as a versioned JSON envelope. Do not hand-parse the text form.
govard doctorexits0when only optional capabilities are missing and
reports required/severity/affects per check; govard doctor --strict treats optional warnings as failures (the hard gate for bootstrap scripts).
- Container-free analysis:
govard audit run --checks integrity --format json
runs Go analyzers on the checkout with no Docker, no PHP and no toolchain. It is supported on Magento 2 only (composer manifest/lock problems plus module/DI wiring problems, govard-integrity findings); Laravel, Symfony and WordPress exit 1 with "does not support integrity audit". `--checks lint` still needs Docker and, without it, exits 3 pointing at --checks integrity. Xdebug is orthogonal to the container: on a host with stack.features.xdebug on, the audit refuses to start and asks for --allow-xdebug (govard verify has the same flag). Pass the flag or turn Xdebug off; this is not a capability failure and the exit code is not 3.
- Commands that forward their arguments (
govard tool php ...,
govard redis cli ...) cannot parse --error-json; their exit codes are unchanged.
Tool Execution
Services
Sandbox SSH gateway
Bastion govard-proxy-sshd at 127.0.0.1:2222: start it with govard svc up.
Prerequisites in order: govard svc up (bastion) → sandbox up (registers the slug; Foo_Bar logs in as foo-bar) → allow-key. Registration is best-effort and no deploy path goes through the gateway, so gateway breakage never blocks a real deploy.
Debugging
Agent guidance: before chaining govard ps / govard logs probes, run govard diag --json once and branch on its result; keep down && up escalation for diagnosed failures only.
Connecting an IDE
Xdebug listens on port 9003. govard debug on only enables the extension inside the container; the IDE side still needs to be configured to listen and map paths, or nothing will connect.
VSCode (.vscode/launch.json):
PhpStorm: Settings → PHP → Debug → set debug port to 9003; Settings → PHP → Servers → add a server named <project_name>-docker (the PHP_IDE_CONFIG server name Govard exports), host <project-domain>, port 443, debugger Xdebug, path mapping /var/www/html → project directory.
If it still doesn't connect: check govard debug status, confirm the XDEBUG_SESSION cookie matches stack.xdebug_session in .govard.yml, and confirm the IDE is actually listening on 9003 before triggering a request. Disable Xdebug (govard debug off) when not actively debugging, because it slows down every request noticeably.
Configuration
This is the start of the file. Read the full SKILL.md on GitHub.
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/govard-toolbox/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 2
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. 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/govard-toolbox)