google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
infra-docker
Local development environment with Docker Compose for PostgreSQL and other services. This skill should be used when setting up local infrastructure, managing development databases, or configuring containerized services.
Full skill instructions
Docker Compose patterns for local development environments including PostgreSQL and supporting services.
Create docker-compose.yml in project root:
services:
postgres:
image: postgres:16-alpine
container_name: myapp-postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: myapp
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data:
# Start services
docker compose up -d
# View logs
docker compose logs -f postgres
# Stop services
docker compose down
# Stop and remove volumes (reset database)
docker compose down -v
# Check status
docker compose ps
# Database
DATABASE_URL=postgres://postgres:postgres@localhost:5432/myapp
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-myapp}
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data:
services:
postgres:
image: postgres:16-alpine
container_name: myapp-postgres
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: myapp
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
container_name: myapp-redis
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_data:
redis_data:
services:
postgres:
image: postgres:16-alpine
container_name: myapp-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: myapp
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4:latest
container_name: myapp-pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: admin
PGADMIN_CONFIG_SERVER_MODE: "False"
ports:
- "5050:80"
volumes:
- pgadmin_data:/var/lib/pgadmin
depends_on:
- postgres
volumes:
postgres_data:
pgadmin_data:
Access pgAdmin at http://localhost:5050
services:
minio:
image: minio/minio:latest
container_name: myapp-minio
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- "9000:9000" # API
- "9001:9001" # Console
volumes:
- minio_data:/data
volumes:
minio_data:
Access Minio Console at http://localhost:9001
# Using Docker
docker compose exec postgres psql -U postgres -d myapp
# Direct connection (if psql installed locally)
psql postgres://postgres:postgres@localhost:5432/myapp
-- List databases
\l
-- Connect to database
\c myapp
-- List tables
\dt
-- Describe table
\d user
-- Show table data
SELECT * FROM "user" LIMIT 10;
-- Exit
\q
# Backup
docker compose exec postgres pg_dump -U postgres myapp > backup.sql
# Restore
docker compose exec -T postgres psql -U postgres myapp < backup.sql
# Backup specific tables
docker compose exec postgres pg_dump -U postgres -t user -t session myapp > users_backup.sql
# Drop and recreate
docker compose exec postgres psql -U postgres -c "DROP DATABASE IF EXISTS myapp;"
docker compose exec postgres psql -U postgres -c "CREATE DATABASE myapp;"
# Or restart with fresh volume
docker compose down -v
docker compose up -d
Add convenient scripts:
{
"scripts": {
"docker:up": "docker compose up -d",
"docker:down": "docker compose down",
"docker:reset": "docker compose down -v && docker compose up -d",
"docker:logs": "docker compose logs -f",
"docker:psql": "docker compose exec postgres psql -U postgres -d myapp",
"db:generate": "drizzle-kit generate",
"db:migrate": "tsx src/lib/db/migrate.ts",
"db:studio": "drizzle-kit studio",
"dev": "next dev",
"dev:full": "docker compose up -d && next dev"
}
}
# Start services (if not running)
npm run docker:up
# Run migrations (if schema changed)
npm run db:migrate
# Start dev server
npm run dev
# Generate migration
npm run db:generate
# Apply migration
npm run db:migrate
# Verify in Drizzle Studio
npm run db:studio
# Reset everything
npm run docker:reset
# Run migrations
npm run db:migrate
# Check container status
docker compose ps
# Expected output:
# NAME STATUS
# myapp-postgres Up (healthy)
# myapp-redis Up (healthy)
Script to wait for PostgreSQL before running commands:
#!/bin/bash
# wait-for-db.sh
echo "Waiting for PostgreSQL..."
until docker compose exec postgres pg_isready -U postgres > /dev/null 2>&1; do
sleep 1
done
echo "PostgreSQL is ready!"
# Find what's using port 5432
lsof -i :5432
# Kill the process or use a different port
# In docker-compose.yml:
ports:
- "5433:5432" # Map to different local port
# Check logs
docker compose logs postgres
# Common issues:
# - Port conflict: change port mapping
# - Volume permissions: docker compose down -v
# - Image pull failed: docker compose pull
# Verify container is running
docker compose ps
# Verify port mapping
docker compose port postgres 5432
# Test connection
docker compose exec postgres pg_isready -U postgres
# Pre-pull images
docker compose pull
# Check disk space
docker system df
# Clean up unused resources
docker system prune
Add to .gitignore:
# Docker volumes (if not using named volumes)
.docker-data/
# Local environment overrides
docker-compose.override.yml
This setup is for local development only. For production:
infra-aws skill for production deployment| Command | Purpose |
|---|---|
docker compose up -d | Start services |
docker compose down | Stop services |
docker compose down -v | Stop and reset data |
docker compose logs -f | View logs |
docker compose ps | Check status |
docker compose exec postgres psql -U postgres | Connect to DB |
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.