Skip to content

ddtcorex/maestro-skills / skills/govard-toolbox

govard-toolbox

Flagged

Use 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.

FileKindSize
SKILL.mdskill md10.4 KB
references/AUDIT.mdmarkdown4.6 KB
references/COMMANDS.mdmarkdown7.3 KB
references/CONFIGURATION.mdmarkdown2.2 KB
references/DEPLOYMENT.mdmarkdown4.8 KB
references/FAQ.mdmarkdown3.5 KB
references/GUIDES.mdmarkdown2.8 KB
references/HOST-WITHOUT-DOCKER.mdmarkdown1.8 KB
references/SANDBOX.mdmarkdown5.0 KB
references/VERIFY.mdmarkdown23.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 volumes
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 119kUpdated Claude CodeCodexVerifiedInstall
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: 118kUpdated Claude CodeCodexVerifiedInstall