agentleFS
prinxprinx/agents/skills/deployment-decisions/SKILL.md

deployment-decisions

Skill0 starsChanged 4 months agoMITView on GitHub

Use when the user wants to deploy but the method, platform, or process is not yet established.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    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:

    Ask: Do you already have a way to deploy this project?

    line 12
  2. Very specific:

    If yes: ask what it is (GitHub Actions, a script, a service, manual steps).

    line 14
  3. Distinctive:

    If no: go to step 2.

    line 15
  4. Distinctive:

    Ask: Do you have a server or VPS?

    line 19
  5. Distinctive:

    If yes: go to VPS path (step 3a).

    line 21
  6. Distinctive:

    If no: go to step 3b.

    line 22
  7. Distinctive:

    Ask: Do you already have Docker set up on the server?

    line 26
  8. Distinctive:

    If yes: suggest GitHub Actions + Docker.

    line 28
  9. Distinctive:

    If no: suggest installing Docker first, then the same workflow.

    line 29
  10. Distinctive:

    If the user says "I don't know" or "just pick one": choose the simplest free option for their stack and explain why in one sentence.

    line 48
  11. Distinctive:

    After the user chooses:

    line 52
  12. Very specific:

    If the user wants, also save to ~/.agents/skills/deploy-project/SKILL.md for global reuse.

    line 62
  13. Distinctive:

    Never suggest paid services unless the user explicitly asks.

    line 66
  14. Very specific:

    Never handle tokens, passwords, or API keys directly.

    line 67
  15. Distinctive:

    Keep the setup under 5 steps.

    line 68
  16. Distinctive:

    If something fails, diagnose the specific step before suggesting fixes.

    line 69

≈ “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

Deployment Decisions

Guide the user through choosing how to deploy. Keep it simple. Ask one question at a time. Never assume knowledge. Prefer free options. Save the chosen process as a project skill for future use.

Step 1 — Check for an existing process

Ask: Do you already have a way to deploy this project?

  • If yes: ask what it is (GitHub Actions, a script, a service, manual steps). Verify it works by asking how they normally run it. Save it as a project skill at .agents/skills/deploy-project/SKILL.md so future runs reuse it. Done.
  • If no: go to step 2.

Step 2 — Assess infrastructure

Ask: Do you have a server or VPS? (for example a DigitalOcean droplet, Hetzner, AWS EC2, a home server)

  • If yes: go to VPS path (step 3a).
  • If no: go to step 3b.

Step 3a — VPS path

Ask: Do you already have Docker set up on the server?

  • If yes: suggest GitHub Actions + Docker. Create a GitHub Actions workflow that builds a Docker image and deploys to the VPS via SSH. This is simple, free (GitHub Actions has generous free minutes), and repeatable. Save as project skill.
  • If no: suggest installing Docker first, then the same workflow. Walk them through Docker install on their server (one command per distro).

Credentials: use GitHub Actions secrets. The agent generates the workflow file; the user adds secrets (VPS_HOST, VPS_USER, VPS_SSH_KEY) in the GitHub repo settings. The agent never handles these directly.

Step 3b — No server

Present the free options with one-line pros and cons:

PlatformProsCons
VercelZero config for Next.js/React, free tier, automatic HTTPS, instant deploysFree tier limits, framework-focused
NetlifySimilar to Vercel, generous free tier, form handlingSame framework bias
Cloudflare PagesFast, free, edge networkLess flexible for backends
GitHub PagesFree, simpleStatic only, no server-side
RailwayFree tier, supports any stack, simpleFree tier limited hours
RenderFree tier, Docker supportCold starts on free tier

Suggest the simplest option that fits their stack. For a Next.js app, suggest Vercel. For a static site, suggest Cloudflare Pages or GitHub Pages. For a full-stack app with a database, suggest Railway or Render.

If the user says "I don't know" or "just pick one": choose the simplest free option for their stack and explain why in one sentence.

Step 4 — Set up and save

After the user chooses:

  1. Walk through the setup step by step, one command or action at a time.
  2. For services (Vercel, Netlify, etc.): guide them to create an account and connect their repo. Prefer gh CLI or the service's own CLI for auth — the agent should not handle tokens directly.
  3. For VPS: generate the GitHub Actions workflow and any Dockerfiles needed.
  4. Save the deployment process as .agents/skills/deploy-project/SKILL.md with:
    • Platform chosen
    • How to deploy (command or push-to-deploy)
    • Any required environment variables (names only, never values)
    • How to verify deployment worked (URL or health check)
  5. If the user wants, also save to ~/.agents/skills/deploy-project/SKILL.md for global reuse.

Rules

  • Never suggest paid services unless the user explicitly asks.
  • Never handle tokens, passwords, or API keys directly. Use gh CLI, service CLIs, or tell the user what to add in their dashboard.
  • Keep the setup under 5 steps. If it needs more, simplify.
  • If something fails, diagnose the specific step before suggesting fixes.

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.