ddtcorex/maestro-skills/govard-magento
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "clear Magento cache", "flush redis cache", "run Magento CLI", "run bin/magento commands", "deploy static content", "setup:di:compile", "reindex catalog", "run indexer commands", "enable/disable modules", "start frontend sync", "run browser-sync", "set up live reload for Hyva/Luma", or "govard frontend". Provides Magento-specific Govard shortcuts and commands. DEPENDENT on govard-toolbox for base commands.
Install
npx vskill@latest install ddtcorex/maestro-skills/govard-magentoSKILL.md
Govard Magento Commands
Magento-specific shortcuts and commands for Govard environments. Run govard <cmd> --help for the current flag set and govard capabilities for what the installed binary supports.
Related Skills
REQUIRED BACKGROUND: Load govard-toolbox first. This skill only covers Magento-specific shortcuts layered on top of Govard's base environment commands.
Stack commands need Docker running. govard audit run --checks integrity is the container-free exception (see govard-toolbox, "Host Without Docker").
This skill covers only container/CLI shortcuts. For module architecture, DI, and security patterns, see magento2-dev-core and magento2-backend-dev; for code quality and performance checks, see magento2-linter, magento2-security-scan, and magento2-performance-audit.
Code Quality Audit
govard audit run --checks lint is the native, persistent lint gate for this project. Target-mode resolution, the PHP matrix, provider rules, and caching/rerun identity are covered in magento2-linter ("Govard-Native Lint Audit Is the Real Gate"); this skill does not duplicate that policy. To re-check the exact same session (for example after a fix) instead of starting a fresh, non-comparable run:
Optionally capture a page-profile artifact in the same run:
The profiler reads the CSV Magento writes to var/log/profiler.csv. If the run fails with "collect Magento profiler CSV ... No such file", Magento never wrote the file for that request, so the capture is unusable; try another uncached HTML URL. Policy details live in magento2-linter.
Gotchas:
- An audit refuses to run while Xdebug is enabled, to protect timing fidelity. Pass
--allow-xdebugto accept the overhead, or turn Xdebug off withgovard debug off. (The error text suggestsgovard config set stack.features.xdebug false, butconfig setrejects that key.) audit rerunreuses the session's stored checks. Passing a different--checksset than the session recorded can fail with "no persisted ... settings"; start a newaudit runinstead.
Unit Tests
Magento's project root ships no phpunit.xml, so a bare vendor/bin/phpunit there prints usage and exits 1. That exit means "no configuration found", never "tests failed". The unit-suite configuration lives at dev/tests/unit/phpunit.xml.dist; always pass it explicitly with -c and scope the run with --filter (module or class name) so unrelated core suites never execute:
For a direct path run (single module, no filter syntax), pair --no-coverage with the unit bootstrap:
Never run the full suite bare inside review or automated checks: Magento core fixtures can conflict when loaded together and kill the run for reasons unrelated to the change under review. A healthy scoped run reports OK with its test/assertion counts (PHPUnit warnings about duplicate suite files are noise from Magento's own config). Treat a Fatal error naming a vendor/ _files fixture as a pre-existing repo condition, not a regression. When piping output through tail, capture the real status via ${PIPESTATUS[0]} (or set -o pipefail); a trailing echo "EXIT:$?" after a pipe reports tail's status and masks PHPUnit failures as passes.
Magento CLI
govard tool magento <args> runs bin/magento in the PHP container. Run govard tool magento list to see what the installed Magento provides, and do not assume a command exists (for example there is no generate:* namespace and no dev:js:* / dev:css:* namespace in stock Magento).
Indexer Commands
Cron Commands
Development Tools
Frontend Development (BrowserSync / LiveReload)
Requires stack.features.frontend_sync: true in .govard.yml (Magento family only). Without it, govard frontend ... exits with "frontend sync is disabled". govard env up never starts this; it is a separate, explicit, on-demand lifecycle:
Prerequisites (Govard never creates or edits these files):
Let govard frontend start be the discovery oracle: it validates the setup and fails fast with the reason. Only read theme files to fix a specific failure; do not pre-verify by hand.
- Hyva: exactly one
scripts.browser-syncowner underapp/design/frontend/<Vendor>/<Theme>/web/tailwind, with a committedpackage-lock.json. The theme'sbrowser-sync.config.jsmust readGOVARD_FRONTEND_SYNC_TARGET(and port) from the environment instead of hard-coding a host. - Luma: root
Gruntfile.js,package.json,package-lock.json(copy Magento's.samplefiles, thengovard tool npm install). No BrowserSync config needed. - Hyva and Luma discovery are exclusive: start fails unless exactly one setup is valid.
Switching the active Hyva theme: move the scripts.browser-sync entry (plus its browser-sync.config.js and package-lock.json) from the old theme's web/tailwind/package.json to the new theme, then run govard frontend start again.
| Symptom | Fix | |
|---|---|---|
frontend start reports success but the page redirects to a different host or drops the session | The theme's browser-sync.config.js proxy settings rewrite the origin or cookie domain; keep both unchanged | |
| Discovery fails ("requires either exactly one Hyva ... or root Gruntfile.js and package.json") | Confirm exactly one theme owns scripts.browser-sync, or that the Luma root files exist, and not both | |
frontend start fails with "container ... health is unhealthy" | Read govard frontend logs; the sync container could not serve the project (for example Luma themes not yet compiled) |
Database Operations
A failed remote dump can leave a tiny stub file in var/; delete it before retrying.
Configuration
Do not run `app:config:dump` on a Govard project casually. It writes the dumped paths into app/etc/config.php and locks them. Afterwards govard config auto fails with "The value you set has already been locked" when it tries to set the same paths (for example Varnish or search settings). Dump only if the project really manages config through files, and use app:config:import to apply it.
Diagnostics
Multi-Website / Multi-Store Setup
Register additional store domains in .govard.yml under store_domains, then let Govard wire up the vhost/DNS side:
Store codes are also selectable via URL path (/fr/, /admin/) without a separate domain; reserve store_domains for genuinely separate hostnames/websites.
Redis Cache
govard valkey is the equivalent when the cache service is Valkey.
Varnish (only when stack.features.varnish: true)
Without the feature, these fail with "no such service: varnish" or "Varnish container ... is unknown". For tag-based invalidation use Magento's own cache flow (cache:clean full_page / cache:flush).
Logging
For agents, prefer bounded tail reads (no -f follow, it never returns):
Common Issues & Solutions
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-magento/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/govard-magento)