Operate And Test Skill
Use this skill for operational workflows: local runs, tests, migrations, seeds, builds, logging checks, deployment readiness, and test strategy.
Core Commands
Prefer Task when it is available:
task dev
task build
task test
task schema-gen
task migrate
task migrate-down
task seed
Plain Go fallbacks:
go run ./app/cmd/web
go build -o bin/web ./app/cmd/web
go test ./...
go generate ./app/gojang/models
go run ./app/cmd/migrate/main.go up
go run ./app/cmd/seed
Workflow
- Read
Taskfile.ymlbefore assuming command names. - Use Taskfile Commands, Testing Best Practices, Deployment Guide, and Logging Guide as references.
- Run the narrowest useful test first.
- Run
go test ./...before finishing code changes.
Environment Notes
Local config comes from .env, with .env.example as the template. SQLite and PostgreSQL are supported through DATABASE_URL. Auth email links use APP_BASE_URL. Email delivery uses SES first when configured, SMTP as fallback, and no email service when neither provider is configured.