本文へ移動
cccskills
無料GitHub で公開

deployless-production-path

Continuous production path for deployless repositories. Use after mainline governance and release controls exist, when a repo needs CI/CD changes to automatically deploy, publish, or promote artifacts from main across any language, runtime, or hosting platform.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md9.6 KB
  • agents/openai.yaml211 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Continuous Production Path for Any-Language Repositories

Purpose

Make deployment from main mechanical, repeatable, and safe. The system should remove manual deploy decisions while preserving runtime release decisions through flags, kill switches, routing controls, or equivalent mechanisms.

The goal is:

merge to main -> required checks -> build artifact -> deploy/publish/promote -> smoke checks -> observe -> release through runtime controls

Deployment moves code. Release exposes behavior.

Preconditions

Run these skills first:

  1. deployless-audit
  2. deployless-mainline
  3. deployless-release-controls

Do not enable automatic production deployment when:

  • required tests are missing
  • deployment scripts are non-idempotent
  • secrets are committed or unmanaged
  • database migrations are destructive
  • rollback path is unknown
  • production observability is absent
  • compliance requires an approval that has not been modeled
  • AI PR intake is unbounded and can flood CI or merge queues faster than review can happen

Deployment target classification

Choose the correct target type before editing CI/CD.

Repo typeContinuous production path means
Backend serviceBuild and deploy service artifact from main
Frontend appBuild and deploy static or SSR artifact from main
Serverless/edgePublish functions from main after checks
Worker/batch jobDeploy worker artifact and keep risky jobs gated
Mobile appBuild/sign/submit or distribute candidate from main; release via app-store rollout, backend flags, or remote config
Library/packagePublish package artifacts from main via tags or release automation
CLIBuild and publish binaries/packages from main
InfrastructurePlan on PR, apply from main with policy/approval gates
MonorepoDeploy affected components independently from the same main commit

Inputs to inspect

  • Existing CI/CD configuration
  • Hosting provider or deployment platform
  • Build artifact type
  • Environment variables and secret management
  • Current deploy scripts
  • Smoke tests or health checks
  • Rollback mechanism
  • Migrations
  • Deployment approvals
  • Release tagging/changelog process
  • Observability and incident process
  • AI PR volume, bot authors, merge queue settings, CI concurrency limits, and expensive check triggers

Pipeline architecture

Use the repo's existing CI provider when possible.

The target pipeline has these stages:

validate
  format/lint/static analysis/typecheck/compile/tests/security checks

build
  produce immutable artifact or package

verify artifact
  test packaged artifact when possible

deploy from main
  deploy exact artifact associated with the main commit

post-deploy smoke
  health checks, migrations check, synthetic transaction, critical route check

observe
  emit version/deployment marker and check dashboards/alerts

Artifact rules

  • Build once, deploy the same artifact.
  • Stamp artifacts with commit SHA, version, build time, and repo name.
  • Avoid rebuilding different artifacts per environment unless the platform requires it.
  • Environment-specific behavior should come from runtime config, not artifact differences, when practical.
  • Store artifacts in the repo's normal registry, package store, container registry, app distribution service, or platform artifact store.

CI/CD implementation rules

Existing provider first

Do not migrate CI/CD providers just to implement this skill. Adapt existing systems:

  • GitHub Actions
  • GitLab CI
  • Bitbucket Pipelines
  • Azure Pipelines
  • Jenkins
  • CircleCI
  • Buildkite
  • cloud-hosted platform auto-deploy
  • custom scripts

Main trigger

Deployment or publication should trigger from main only after required checks pass.

Examples of acceptable triggers:

push to main
merged merge queue batch
release tag created from main
manual approval job after main checks
platform auto-deploy tied to main

Avoid environment branches as the target model.

PR flood control

For repositories with heavy AI-generated PR volume:

  • run cheap checks before expensive checks
  • cancel superseded CI runs on the same PR branch
  • require review-ready labels before expensive end-to-end, load, mobile, or full integration jobs
  • keep merge queue limited to PRs with clear owner, scope, tests, and rollback notes
  • prioritize incident, security, and human-unblocking fixes over speculative AI refactors
  • use path-aware CI for monorepos and ownership areas
  • document CI budget limits when automation can generate many branches

Secrets

  • Use the CI/CD provider's secret store.
  • Do not write secrets to files in the repo.
  • Do not print secrets in logs.
  • Use least-privilege deployment credentials.
  • Prefer short-lived cloud credentials or OIDC where the platform supports it.

Environments

Use environments for infrastructure separation, not as long-lived source branches.

Acceptable:

main commit -> staging deploy -> smoke -> production deploy
main commit -> preview deploy -> production deploy
main commit -> production canary -> production full

Not target model:

develop branch -> staging
release branch -> qa
production branch -> production

Approvals

If approvals are required, put them in the pipeline without reintroducing long-lived branches.

Examples:

  • approval before production deploy job
  • approval before infrastructure apply
  • approval before flag reaches broad rollout
  • approval before package publication

Migration handling

If the repo uses persistent data:

  • run migration validation in CI
  • prefer non-destructive migrations before deploying code that uses new schema
  • deploy code compatible with both old and new schema during transition
  • separate destructive cleanup into a later deploy
  • add rollback notes for every migration

For infrastructure repos:

  • plan on PR
  • policy-check the plan
  • apply from main
  • require approval when blast radius is high
  • keep state locking enabled

Rollback model

Prefer this order:

  1. Turn off feature flag or kill switch.
  2. Disable routing to new implementation.
  3. Roll back runtime config.
  4. Roll back deployment to previous artifact.
  5. Roll forward with a small fix.
  6. For data problems, follow the documented migration rollback/repair plan.

Document what each rollback option can and cannot undo.

Post-deploy verification

Add smoke checks appropriate to the repo:

  • service health endpoint
  • frontend page fetch
  • CLI version command
  • background job dry run
  • package install/import test
  • mobile build validation
  • infrastructure drift or policy check
  • synthetic transaction for critical path

Smoke checks must be fast and deterministic. They are not a substitute for full tests.

Observability requirements

Each production deploy should emit or expose:

service/application name
commit SHA
artifact version
deployment time
environment
release-control provider version or config version when available

New flagged behavior should be observable by flag key and variant, with low-cardinality labels.

Suggested docs

Create or update docs/continuous-production-path.md:

# Continuous production path

## Trigger

## Required checks

## Artifact

## Deployment target

## Runtime release controls

## Secrets and credentials

## Post-deploy smoke checks

## Rollback

## Migration handling

## Manual approvals, if any

## Operational dashboards and alerts

Output

Create or update:

  • CI/CD workflow files using the existing provider
  • build/test/package scripts only when missing and clearly inferable
  • deployment docs
  • smoke test scripts or commands
  • deployment marker/version endpoint if suitable
  • CI concurrency, cancellation, or path-filtering settings for AI PR flood control when relevant
  • docs/continuous-production-path.md
  • docs/deployless-mainline-plan.md, appending pipeline details

Acceptance criteria

This skill is complete when:

  • successful main commits have a documented path to production or publication
  • the path is automated or has only documented approval gates
  • the deployed artifact is tied to an exact commit
  • release exposure remains controlled at runtime when possible
  • post-deploy smoke checks exist or are explicitly documented as a blocker
  • rollback procedure is documented
  • AI-generated PR volume cannot starve required deploy checks or merge queue capacity
  • environment branches are not required by the target model

Anti-goals

  • Do not deploy untested code automatically.
  • Do not remove required compliance approvals.
  • Do not commit secrets.
  • Do not create a new CI/CD provider unless explicitly requested.
  • Do not use deployment automation as a substitute for feature flags or migration safety.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

AI PR intake and multi-agent governance for deployless repositories. Use when a repo has high-volume bot or agent PRs, parallel agent work, noisy low-context PRs, merge-queue pressure, CI exhaustion, duplicate fixes, ownership confusion, or review bottlenecks that threaten a single-mainline delivery model.

日本語の概要は準備中です。原文の説明を表示しています。

GuiBibeau/deployless82026年6月21日 更新

Deployless delivery-model audit. Use first when adapting any repository toward single-mainline development, automatic deployment from main, runtime release controls, production-trace-driven iteration, AI PR governance, or multi-agent delivery workflows.

日本語の概要は準備中です。原文の説明を表示しています。

GuiBibeau/deployless82026年6月21日 更新

Single-mainline governance for deployless repositories. Use after a deployless audit when a repo needs trunk-based branch rules, branch protection, contribution guidance, review gates, merge queue policy, AI PR intake rules, or agent-ready mainline practices.

日本語の概要は準備中です。原文の説明を表示しています。

GuiBibeau/deployless82026年6月21日 更新

Operational safety for deployless repositories. Use after mainline deployment and runtime release controls are designed, when a repo needs traces, replay tests, observability, rollback drills, smoke checks, compatibility windows, or expand-contract migration safety.

日本語の概要は準備中です。原文の説明を表示しています。

GuiBibeau/deployless82026年6月21日 更新

Runtime release controls for deployless repositories. Use when a repo needs feature flags, kill switches, capability gates, targeted rollout, remote config, routing rules, or a provider-neutral release-control facade independent of language and provider.

日本語の概要は準備中です。原文の説明を表示しています。

GuiBibeau/deployless82026年6月21日 更新

GuiBibeau のスキルをすべて見る

このスキルの問題を報告する