Agent skill
env-spinup
Spin up the local development environment — Docker, database, schema push, and test validation. Use before running tests.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/env-spinup
SKILL.md
Environment Spin-Up
Run before every test validation. Full restart each time.
docker compose down && docker compose up -d
until docker compose exec db pg_isready -U postgres 2>/dev/null; do sleep 1; done
docker compose exec db psql -U postgres -c "CREATE DATABASE bricktrack;" 2>/dev/null || true
npx drizzle-kit push
npm run test:unit
npm run test:e2e
Key Details
- Playwright auto-starts dev server via
webServerconfig inplaywright.config.ts .env.localDATABASE_URL must point tobricktrackdatabase (notproperty_tracker)- E2E requires:
BETTER_AUTH_SECRET,E2E_CLERK_USER_EMAIL,E2E_CLERK_USER_PASSWORDin.env.local - DB runs via Docker Compose with
pgvector/pg16 - Must manually create
bricktrackdb after fresh container (theCREATE DATABASEcommand above handles this)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?