ddtcorex/maestro-skills / skills/govard-toolbox
govard-toolbox
FlaggedUse when starting or stopping a Govard environment, running container commands, database dump or import, syncing from staging, Xdebug, or a deploy and its rehearsal. Keywords govard up, govard sh, govard deploy.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.4 KB |
| references/AUDIT.md | markdown | 4.6 KB |
| references/COMMANDS.md | markdown | 7.3 KB |
| references/CONFIGURATION.md | markdown | 2.2 KB |
| references/DEPLOYMENT.md | markdown | 4.8 KB |
| references/FAQ.md | markdown | 3.5 KB |
| references/GUIDES.md | markdown | 2.8 KB |
| references/HOST-WITHOUT-DOCKER.md | markdown | 1.8 KB |
| references/SANDBOX.md | markdown | 5.0 KB |
| references/VERIFY.md | markdown | 23.8 KB |
references/GUIDES.md
View on GitHub# Govard Usage Guides & Recommended Patterns
Official case studies and best practice patterns for common development tasks.
## 1. Onboarding & Cloning
### Clone from Staging
Use `bootstrap` with the `--clone` flag and privacy filters for a full initial setup.
```bash
govard bootstrap --clone -e staging --no-pii --no-noise --yes
```
This performs the following, unless skipped by flags (`--code-only`, `--no-db`, `--no-media`, `--no-composer`):
- `rsync` of source code (`--clone`)
- `composer install`
- database import with privacy filters
- media sync
- Auto-configuration of local settings
Preview it first with `govard bootstrap --clone -e staging --plan`.
### Safe Data Review
Preview the synchronization plan before making any changes.
```bash
govard sync --source staging --destination local --full --plan
```
This shows exactly what files and database tables will be affected.
## 2. Framework Specific Patterns
### Magento 2 Multi-Website Setup
1. Map the extra domains in `.govard.yml`:
```yaml
domain: "primary.test"
store_domains:
brand-b.test:
code: base
type: website
```
2. Register the domain with Govard:
```bash
govard domain add brand-b.test
```
3. Auto-configure environments:
```bash
govard config auto
govard tool magento cache:flush
```
### Laravel Development
1. Open environment: `govard up`
2. Run migrations: `govard tool artisan migrate`
3. Generate key: `govard tool artisan key:generate`
4. Open the app: `govard open admin` (framework admin panel, where one exists)
## 3. Remote Operations & Optimization
Rehearse against a container playing the target first, see [SANDBOX.md](SANDBOX.md).
### Secure Remote Dump
Stream a remote database dump into the project's local `var/` directory instead of leaving it on the remote server.
```bash
govard db dump -e staging --local --no-noise --no-pii
```
### Targeted File Sync
Synchronize a single file (like a config override) from a production environment.
```bash
govard sync --source prod --file --path app/etc/config.php
```
## 4. Resource Management
### Suspend & Resume
When working on many projects, use `svc sleep` and `svc wake` to manage global resources efficiently.
- `govard svc sleep`: Stop all running Govard projects and persist the wake state
- `govard svc wake`: Start the projects recorded in that sleep state
### Clean Junk
When Docker storage gets full, run diagnostics and cleanup.
- `govard doctor --fix` (alias `diag`): Apply safe automatic fixes (Govard home, stale compose files, registry, config drift); it does not free busy ports
- `govard env cleanup`: Prune stale compose files and manifests
- `govard project orphans`: Show Docker resources that are not in the registry
- `govard project delete <name>`: Completely remove a project's containers and persistent volumesRelated skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |