agentleFS
loganware05loganware05/captains-compass-cursor/.cursor/skills/docker-cloud/SKILL.md

docker-cloud

Skill2 starsChanged 31 days agoMITView on GitHub

Implements Dockerfiles, Compose, preview deploys, health checks, and rollback-safe cloud configuration

  • Reads credentials

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Prefer the project's existing container and cloud conventions.

    line 20
  2. Distinctive:

    Keep images minimal and reproducible (pinned base tags when practical).

    line 21
  3. Distinctive:

    Add health checks and sensible restart policies for services that need them.

    line 23
  4. Very specific:

    Document required env vars in .env.example and TESTING.md / PROJECT_CONTEXT.md.

    line 26
  5. Distinctive:

    Write rollback steps (previous image tag, compose down, redeploy prior revision).

    line 27
  6. Distinctive:

    Do not deploy to production or run destructive cloud operations without Captain approval.

    line 35
  7. Very specific:

    Do not commit cloud credentials, kubeconfigs, or .env files.

    line 36
  8. Distinctive:

    Do not expose debug ports or disable TLS "temporarily" in shared environments.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Docker and Cloud Previews

Use this Skill when

Working on Dockerfiles, Docker Compose, container health checks, preview deployments, deployment manifests, or cloud configuration for non-production environments.

Inputs

  • Approved IMPLEMENTATION_PLAN.md (deployment + rollback sections)
  • Existing Dockerfile / Compose / cloud config
  • Environment separation from PROJECT_CONTEXT.md

Procedure

  1. Prefer the project's existing container and cloud conventions.
  2. Keep images minimal and reproducible (pinned base tags when practical).
  3. Separate build-time and runtime secrets; never bake secrets into images.
  4. Add health checks and sensible restart policies for services that need them.
  5. For cloud previews: create/update preview environments only; do not touch production without explicit Captain approval.
  6. Capture deploy logs and URLs under .agent/evidence/deployment/ when available.
  7. Document required env vars in .env.example and TESTING.md / PROJECT_CONTEXT.md.
  8. Write rollback steps (previous image tag, compose down, redeploy prior revision).

Output

Dockerfile/Compose/cloud config changes, evidence paths, and rollback notes for the First Mate.

Prohibited actions

  • Do not deploy to production or run destructive cloud operations without Captain approval.
  • Do not commit cloud credentials, kubeconfigs, or .env files.
  • Do not expose debug ports or disable TLS "temporarily" in shared environments.

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.