verify-deployment
Verify deployment readiness — Docker builds, nginx config, env vars documented, CI pipeline healthy. Final gate before merge. Used in Phase 6.7.
SKILL.mdskills/verify-deployment/SKILL.md
GitHubVerify Deployment
Final deployment readiness gate before merge to main, for the project
described in kuraka.config.yaml.
Input
docker-compose*.yml- Dockerfiles (backend, frontend)
nginx.conf.env.example(root + per-service).github/workflows/*.yml(or equivalent CI config)- Migration files
Steps
1. Validate Docker
docker compose config > /dev/null
2. Check env vars
- Grep the codebase for env var reads (
os.environ[...],settings.X,process.env.X, equivalent for the configured language). - Compare against
.env.exampleentries. - Flag missing.
3. Check nginx (if changed)
nginx -t -c nginx.conf
4. Check CI pipeline (if changed)
- Read
.github/workflows/*.yml(or equivalent). - Verify the project's
${stack.backend.lint_cmd}and${stack.backend.test_cmd}are invoked (and frontend equivalents ifstack.frontendis present).
5. Migrations apply
Apply the migrations against the test DB using
${stack.database.migration_tool}:
# Example for Alembic; equivalent for other tools
alembic upgrade head
6. Build smoke test (if Dockerfiles changed)
docker compose build
docker compose up -d
sleep 10
curl -f http://localhost:8000/api/health # or the project's actual health endpoint
7. Project-specific checks
Apply every check in
.claude/project/review-checks/deployment-verifier.md if it exists.
Common additions: specific env vars required by the project, specific
secrets layout, IP allowlists at the proxy layer.
8. Produce report
Use the format from the deployment-verifier agent prompt.
Rules
- BLOCKER on missing env vars.
- BLOCKER on invalid docker-compose.
- Smoke test is mandatory if Docker changed.
- Run
verify-outputbefore returning.