
Run tests with coverage analysis and identify untested code paths. Use to find gaps before releases.
Trigger reindexing of a specific WordPress extension. Use to rebuild the search index for a plugin, theme, or core version.
Check and tidy Go module dependencies. Use after adding/removing imports or before releases.
Run go generate to build templ templates and frontend assets. Use after changing templates or CSS/JS.
Run golangci-lint and static analysis on Go code. Use before pushing or to check code quality.
Create and manage database migrations using goose. Use for schema changes, new tables, or index optimization.
Run Go race detector to find data races in concurrent code. Use after any change to mutexes, goroutines, or channels.
Run integration tests that require Docker (Postgres, MinIO via testcontainers). Use to validate database and storage behavior.
Run Go benchmarks and compare results to detect performance regressions. Use before and after performance-related changes.
Run gosec and govulncheck to find security vulnerabilities. Use before releases or after dependency changes.
Run Go unit tests. Use after code changes to verify correctness.
Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.
Run CPU and memory profiling with pprof to identify performance hotspots. Use when investigating high resource usage.