원클릭으로
packaging
// Enable and operate the Packaging feature (ops/packaging conventions + ctl-packaging) for building runnable artifacts (usually container images).
// Enable and operate the Packaging feature (ops/packaging conventions + ctl-packaging) for building runnable artifacts (usually container images).
Treat convex/schema.ts as the database Single Source of Truth, initialize Convex scaffolding, regenerate docs/context/db/schema.json and docs/context/convex/functions.json, and verify the repository stays aligned with Convex mode.
Mirror schema changes from a real database (SSOT) into repo artifacts (prisma/schema.prisma + db/schema/tables.json) and refresh LLM context (docs/context/db/schema.json).
Apply schema changes from repo SSOT (prisma/schema.prisma) to a target DB via Prisma migrations, with diff preview + approval gate; then refresh LLM context (docs/context/db/schema.json).
Enable and operate the Deployment feature (ops/deploy conventions + deploy scripts) for multi-environment delivery.
Plan/apply/verify cloud environment config and secret references using env contract + policy/inventory routing; detect drift, rotate secrets, and decommission environments with approval gates. Use for staging/prod deployments and maintenance.
Maintain env contract SSOT (env/contract.yaml), validate env/values + env/secrets refs coverage, and generate env/.env.example + docs/context/env/*. Use when adding/renaming/deprecating config keys.
| name | packaging |
| description | Enable and operate the Packaging feature (ops/packaging conventions + ctl-packaging) for building runnable artifacts (usually container images). |
Standardize how the repo defines build artifacts (services, jobs, apps) and how humans build them in a repeatable way.
When enabled, this feature materializes:
ops/packaging/**
ops/packaging/templates/Dockerfile.*ops/packaging/scripts/docker-build.mjsops/packaging/handbook/**docs/packaging/registry.json (packaging targets registry)Controller scripts (provided by the template SSOT):
node .ai/skills/features/packaging/scripts/ctl-packaging.mjs — packaging target registry management.ai/skills/features/packaging/templates/
into the repo root.node .ai/skills/features/packaging/scripts/ctl-packaging.mjs init
node .ai/skills/features/packaging/scripts/ctl-packaging.mjs verify
Optional (recommended for LLM routing): record the flag in project state:
node .ai/scripts/ctl-project-state.mjs init
node .ai/scripts/ctl-project-state.mjs set features.packaging true
ops/packaging/handbook/.node .ai/skills/features/packaging/scripts/ctl-packaging.mjs verify
docs/packaging/registry.json or under ops/packaging/.ops/packaging/**, docs/packaging/**).