google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
homelab-deployment
Automated service deployment with validation, templating, and verification - use when deploying new services, updating existing deployments, or troubleshooting deployment issues
Full skill instructions
Systematic service deployment workflow that eliminates common mistakes and ensures consistent, documented deployments.
Philosophy: Deployment should be boring, predictable, and self-documenting.
Always use for:
Triggers:
Every deployment follows the same workflow:
No ad-hoc deployments. No manual config editing without validation.
This skill integrates with specialized subagents for design decisions, verification, and cleanup:
Before Deployment (Phase 1):
After Deployment (Phase 5):
After Verification (Phase 5.5 - Optional):
Workflow with Subagents:
User Request → infrastructure-architect (design)
↓
homelab-deployment (implement)
↓
service-validator (verify)
↓
code-simplifier (cleanup - optional)
↓
Documentation + Git Commit
Gather information about the service:
Service Identity
Resource Requirements
Network Requirements
Security Requirements
Storage Requirements
Dependencies
Run checks BEFORE any deployment:
# Execute validation script
./.claude/skills/homelab-deployment/scripts/check-prerequisites.sh \
--service-name jellyfin \
--image docker.io/jellyfin/jellyfin:latest \
--networks systemd-reverse_proxy,systemd-media_services,systemd-monitoring \
--ports 8096 \
--config-dir ~/containers/config/jellyfin \
--data-dir ~/containers/data/jellyfin
# Validation checklist:
# ✓ Image exists in registry
# ✓ Networks exist
# ✓ Ports available (not in use)
# ✓ Config directory created
# ✓ Data directory created with correct permissions
# ✓ Parent directories exist
# ✓ Sufficient disk space
# ✓ No conflicting services
# ✓ SELinux status verified
If validation fails, STOP. Fix issues before proceeding.
Generate configuration from templates:
Select Template Pattern
templates/quadlets/web-app.containertemplates/quadlets/database.containertemplates/quadlets/monitoring-service.containertemplates/quadlets/background-worker.containerCustomize Quadlet
# Copy template
cp .claude/skills/homelab-deployment/templates/quadlets/web-app.container \
~/.config/containers/systemd/jellyfin.container
# Substitute values
sed -i "s/{{SERVICE_NAME}}/jellyfin/g" ~/.config/containers/systemd/jellyfin.container
sed -i "s|{{IMAGE}}|docker.io/jellyfin/jellyfin:latest|g" ~/.config/containers/systemd/jellyfin.container
sed -i "s/{{MEMORY_LIMIT}}/4G/g" ~/.config/containers/systemd/jellyfin.container
# ... etc
Validate Quadlet Syntax
# Run validation
./.claude/skills/homelab-deployment/scripts/validate-quadlet.sh \
~/.config/containers/systemd/jellyfin.container
# Checks:
# ✓ Valid INI syntax
# ✓ Required fields present
# ✓ Network names match systemd- prefix
# ✓ Volume paths use :Z SELinux labels
# ✓ Health check defined
# ✓ Resource limits set
Generate Traefik Route (if externally accessible)
# Select template based on security tier
# Public → templates/traefik/public-service.yml
# Authenticated → templates/traefik/authenticated-service.yml
# Admin → templates/traefik/admin-service.yml
# API → templates/traefik/api-service.yml
# Customize route
cp .claude/skills/homelab-deployment/templates/traefik/authenticated-service.yml \
~/containers/config/traefik/dynamic/jellyfin-router.yml
# Substitute values
sed -i "s/{{SERVICE_NAME}}/jellyfin/g" ~/containers/config/traefik/dynamic/jellyfin-router.yml
sed -i "s/{{HOSTNAME}}/jellyfin.patriark.org/g" ~/containers/config/traefik/dynamic/jellyfin-router.yml
sed -i "s/{{PORT}}/8096/g" ~/containers/config/traefik/dynamic/jellyfin-router.yml
Generate Prometheus Scrape Config (if metrics exposed)
# Add to prometheus.yml
# Template: templates/prometheus/service-scrape-config.yml
Deploy the service:
# Reload systemd to recognize new quadlet
systemctl --user daemon-reload
# Enable service for auto-start
systemctl --user enable jellyfin.service
# Start service
systemctl --user start jellyfin.service
# Wait for healthy state
for i in {1..30}; do
podman healthcheck run jellyfin && break
sleep 2
done
# Reload Traefik (if route added)
# Traefik watches files, no manual reload needed
# Restart Prometheus (if scrape config added)
systemctl --user restart prometheus.service
Invoke service-validator subagent for comprehensive verification:
The service-validator subagent uses a 7-level verification framework with an "assume failure until proven otherwise" mindset:
Automated verification:
# Claude automatically invokes service-validator subagent
# Which runs: ~/.claude/skills/homelab-deployment/scripts/verify-deployment.sh
# Manual verification (if needed):
~/.claude/skills/homelab-deployment/scripts/verify-deployment.sh \
jellyfin \
https://jellyfin.patriark.org \
true # expect Authelia auth
Verification outcomes:
Never document failed deployments. Verification must pass before proceeding.
Invoke code-simplifier subagent to refactor configs:
After successful verification, optionally clean up configurations to maintain pattern compliance:
# Claude may invoke code-simplifier subagent
# Simplifies: Quadlet directives, Traefik routes, environment variables
# Aligns with: Homelab patterns, ADRs, template standards
Simplification examples:
Safety:
Skip simplification if:
Generate documentation automatically:
Service Guide (docs/10-services/guides/jellyfin.md)
Deployment Journal (docs/10-services/journal/YYYY-MM-DD-jellyfin-deployment.md)
Update CLAUDE.md
Commit deployment changes:
# Add all deployment artifacts
git add ~/.config/containers/systemd/jellyfin.container
git add ~/containers/config/traefik/dynamic/jellyfin-router.yml
git add ~/containers/config/prometheus/prometheus.yml # if modified
git add docs/10-services/guides/jellyfin.md
git add docs/10-services/journal/$(date +%Y-%m-%d)-jellyfin-deployment.md
# Commit with structured message
git commit -m "$(cat <<'EOF'
Deploy Jellyfin media server
- Add quadlet configuration (4G memory, systemd networks)
- Configure Traefik route with Authelia authentication
- Add Prometheus scrape target
- Generate service documentation
Configuration:
Image: docker.io/jellyfin/jellyfin:latest
Networks: reverse_proxy, media_services, monitoring
Middleware: CrowdSec → Rate limit → Authelia
Verification: ✓ Service healthy, ✓ External access working
EOF
)"
# Push changes
git push origin main
If deployment fails:
# Stop service
systemctl --user stop jellyfin.service
# Disable service
systemctl --user disable jellyfin.service
# Remove container
podman rm jellyfin
# Remove quadlet
rm ~/.config/containers/systemd/jellyfin.container
# Remove Traefik route
rm ~/containers/config/traefik/dynamic/jellyfin-router.yml
# Reload systemd
systemctl --user daemon-reload
# Document rollback reason
This skill works with:
All templates support these substitutions:
{{SERVICE_NAME}} - Container/service name
{{IMAGE}} - Container image (registry/name:tag)
{{MEMORY_LIMIT}} - Memory limit (e.g., 4G)
{{MEMORY_HIGH}} - Memory high watermark (e.g., 3G)
{{CPU_SHARES}} - CPU shares (optional)
{{NICE}} - Process priority (optional)
{{CONFIG_DIR}} - Configuration directory path
{{DATA_DIR}} - Data directory path
{{NETWORKS}} - Comma-separated network list
{{PORTS}} - Exposed ports
{{ENVIRONMENT}} - Environment variables
{{HEALTH_CMD}} - Health check command
Use this decision tree:
Service needs external access (web UI/API)?
YES → Add systemd-reverse_proxy
NO → Skip
Service needs database access?
YES → Add systemd-database (if exists) or service-specific network
NO → Skip
Service provides/consumes metrics?
YES → Add systemd-monitoring
NO → Skip
Service handles authentication?
YES → Add systemd-auth_services
NO → Skip
Service processes media?
YES → Add systemd-media_services
NO → Skip
Service manages photos?
YES → Add systemd-photos
NO → Skip
IMPORTANT: First network determines default route (internet access)!
Security tiers:
PUBLIC SERVICE (no auth required):
crowdsec-bouncer@file
rate-limit-public@file
security-headers-public@file
AUTHENTICATED SERVICE (standard):
crowdsec-bouncer@file
rate-limit@file
authelia@file
security-headers@file
ADMIN SERVICE (strict):
crowdsec-bouncer@file
admin-whitelist@file
rate-limit-strict@file
authelia@file
security-headers-strict@file
API SERVICE:
crowdsec-bouncer@file
rate-limit@file
cors-headers@file
authelia@file
security-headers@file
INTERNAL ONLY:
internal-only@file
rate-limit@file
security-headers@file
Components:
Network topology:
Database: systemd-database (internal only)
Web app: systemd-reverse_proxy, systemd-database, systemd-monitoring
Traefik: systemd-reverse_proxy (already configured)
Prometheus: systemd-monitoring (already configured)
Example: Vaultwarden (password manager)
Components:
Network topology:
Service: systemd-monitoring
Prometheus: systemd-monitoring
Example: Node Exporter, cAdvisor
Components:
Network topology:
Service: systemd-reverse_proxy, systemd-media_services, systemd-monitoring
Example: Jellyfin, Plex, Immich
Components:
Network topology:
Auth service: systemd-reverse_proxy, systemd-auth_services
Redis: systemd-auth_services
Example: Authelia, Authentik
Cause: Network doesn't exist or wrong name
Solution:
# Check existing networks
podman network ls
# Create network if needed
podman network create systemd-<name>
# Fix quadlet network name (must start with systemd-)
sed -i 's/Network=reverse_proxy/Network=systemd-reverse_proxy/' \
~/.config/containers/systemd/service.container
Cause: Missing :Z SELinux label
Solution:
# Fix volume mount in quadlet
sed -i 's|:/config|:/config:Z|' ~/.config/containers/systemd/service.container
sed -i 's|:/data|:/data:Z|' ~/.config/containers/systemd/service.container
Cause: Another service using the port
Solution:
# Find what's using the port
ss -tulnp | grep <port>
# Change service port OR stop conflicting service
Cause: Health check command incorrect or service not ready
Solution:
# Check service logs
journalctl --user -u service.service -n 50
# Verify health check command
podman inspect service | grep -A 5 Healthcheck
# Test health check manually
podman healthcheck run service
# Increase health check timeout if needed
Cause: Service not reachable from Traefik
Solution:
# 1. Verify service running
systemctl --user status service.service
# 2. Check networks match
podman network inspect systemd-reverse_proxy | grep traefik
podman network inspect systemd-reverse_proxy | grep service
# 3. Test from Traefik container
podman exec traefik wget -O- http://service:port/
# 4. Check Traefik logs
podman logs traefik | grep service
Deployment is complete when:
This skill ensures every deployment is systematic, validated, and documented.
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.