agentleFS
wakqasahmedwakqasahmed/ai-engineering-workflow-skills/skills/engineering/release-gate/SKILL.md

release-gate

Skill2 starsChanged 2 months agoMITView on GitHub

Check deployment, staging, rollback, and health verification before release. Use for user-facing, infrastructure, CI/CD, integration, or high-risk changes.

10 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this before staging or production release.

    line 8
  2. Very specific:

    If the release introduces or changes a required config/secret name, reconcile required config/secret names against the target environment …

    line 14
  3. Very specific:

    If a secret-delivery path is new or changed, run a non-secret canary through that path and block until the canary confirms delivery works …

    line 15
  4. Distinctive:

    Run the smallest deployment validation available.

    line 16
  5. Distinctive:

    Prefer deploying reviewed artifacts over rebuilding unreviewed source.

    line 39
  6. Distinctive:

    Do not deploy production from unreviewed PRs.

    line 40
  7. Distinctive:

    Do not silently work around missing secrets, DNS, or account permissions.

    line 41
  8. Very specific:

    Test database safety (disposable/dedicated storage, staging backup timing) follows system-level/core.md (Test Database Safety) — this gate …

    line 42

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release Gate

Use this before staging or production release.

Workflow

  1. Confirm the reviewed commit or artifact being released.
  2. Confirm environment and deployment mechanism.
  3. If the release introduces or changes a required config/secret name, reconcile required config/secret names against the target environment and block on any gap (reconcile_config) — see configuration preflight.
  4. If a secret-delivery path is new or changed, run a non-secret canary through that path and block until the canary confirms delivery works (run_canary) — see configuration preflight.
  5. Run the smallest deployment validation available.
  6. Smoke-test the critical route or workflow.
  7. Record rollback path.
  8. Create a HITL issue if deployment needs missing human-held access. This is for access that does not exist yet and only a human can create or grant it (e.g., nobody has been given the third-party account/credential itself) — distinct from step 3's reconciliation, which is for config/secret names already obtainable through an existing provisioning process that simply haven't been set in the target environment yet.

Scope & Exemption Rules

Apply this gate selectively based on risk level to prevent release gridlock:

  • Exempt (Skip this gate): Low-risk changes per AI_ENGINEERING_WORKFLOW.md (documentation-only edits, comments, minor styling/CSS tweaks, test-only additions, and narrow bug fixes with no business-rule change, data schema, auth, or infrastructure changes) skip the full staging/rollback release gate.
  • Mandatory (Do not skip): Medium and High-risk changes (user-facing features, business logic changes, migrations, authentication/permissions, deployment pipelines, and third-party integrations) must satisfy all checks below before release.

Required For Medium/High Risk

  • CI status
  • Review status
  • Target environment
  • Smoke test command
  • Rollback command or previous artifact
  • Health check signal
  • Configuration completeness and secret-delivery verification, for changes that introduce or change required config/secrets (see configuration preflight)

Guardrails

  • Prefer deploying reviewed artifacts over rebuilding unreviewed source.
  • Do not deploy production from unreviewed PRs.
  • Do not silently work around missing secrets, DNS, or account permissions.
  • Test database safety (disposable/dedicated storage, staging backup timing) follows system-level/core.md (Test Database Safety) — this gate does not relax it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.