Use this skill for THB-BBL delivery safety and operational readiness.
When to use
- CI/CD correctness, resilience, speed, or failure isolation work.
- Deployment safety, rollback readiness, and environment hardening.
- Secrets/config handling and runtime observability changes.
When not to use
- Pure feature development with no operations impact.
- UI/backend implementation that does not touch delivery controls.
- Architecture-only decisions without release or operations implications.
Preflight
- Identify target environments and release constraints.
- Identify current pipeline bottlenecks and frequent failure patterns.
- Verify rollback path for app deploys and Prisma migrations.
- Verify environment safety for
DATABASE_URL,DIRECT_URL, and AI/API credentials.
Stop condition: if rollback path is unknown, stop and define rollback readiness first.
Execution checklist
- Validate build/start health for Next.js (
npm run build,npm run startexpectations). - Strengthen deploy gates and rollback controls.
- Verify Prisma migration sequencing and rollback guidance.
- Validate local stack safety and reproducibility (
npm run dev:stack). - Verify secret management and config safety.
- Improve observability and failure diagnostics where needed.
- Do not ship pipeline/deploy changes without documented rollback verification steps.
- Run baseline checks:
npm run lint,npm run typecheck,npm run test, andpython3 -m pytest backend/testswhenbackend/**changes.
Fallbacks
- If scope becomes architecture-heavy, coordinate with
bbl-senior-architect. - If request is mostly app behavior changes, route to
bbl-senior-backendorbbl-senior-frontend. - If safety checks are intentionally reduced, record explicit risk acceptance and impact.
Completion contract
Return:
scope_statementpipeline_changesdeployment_gatesrollback_readinessenv_safety_checksfiles_changedvalidations_runblocked_checksresidual_risks