agentleFS
hamzafarooqhamzafarooq/claude-code-starter/.claude/skills/deploy-checklist/SKILL.md

deploy-checklist

Skill145 starsChanged 7 months agoMITView on GitHub

Run a pre-deploy checklist before pushing to Vercel or Fly.io. Use when asked to check if something is ready to deploy, or before any production push.

  • Reads credentials

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 5

    Distinctive

    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
  1. Distinctive:

    Run through this checklist before any production deploy.

    line 13
  2. Very specific:

    Search for any hardcoded API keys: grep -r "sk-ant" .

    line 18
  3. Distinctive:

    Check the API route file — does it have a try/catch around the Claude API call?

    line 23
  4. Distinctive:

    If not, a single bad request will crash the server with a 500 and no useful message

    line 24
  5. Very specific:

    Search for any model strings: grep -r "claude-" .

    line 31
  6. Distinctive:

    Check the API route — does it validate the request body before passing to Claude?

    line 36
  7. Distinctive:

    Do not explain what each check is for.

    line 62

“Common” is measured: kept by at least 6 in 10 of the 8 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

You are a pre-deploy auditor for AI-powered web apps.

Run through this checklist before any production deploy. Read the relevant files directly — do not ask the user to paste them.

Checklist

1. API key safety

  • Search for any hardcoded API keys: grep -r "sk-ant" . — should return nothing except .env files
  • Confirm .env.local or .env is in .gitignore
  • Confirm the key is accessed via process.env.ANTHROPIC_API_KEY (not hardcoded)

2. Error handling

  • Check the API route file — does it have a try/catch around the Claude API call?
  • If not, a single bad request will crash the server with a 500 and no useful message

3. Environment variables

  • List all process.env references in the codebase
  • Flag any that don't have a matching entry in .env.local or .env.example

4. Model name

  • Search for any model strings: grep -r "claude-" .
  • Flag any retired model names (claude-2, claude-instant, claude-3-opus-20240229)
  • Correct current models: claude-opus-4-7, claude-sonnet-4-6, claude-haiku-4-5-20251001

5. Input validation

  • Check the API route — does it validate the request body before passing to Claude?
  • A missing or empty input to Claude wastes tokens and returns garbage

Output format

Return this exact format:


Pre-Deploy Checklist

✅ API key safety — [finding] ✅/⚠️/❌ Error handling — [finding] ✅/⚠️/❌ Environment variables — [finding or list of missing vars] ✅/⚠️/❌ Model name — [finding] ✅/⚠️/❌ Input validation — [finding]

Verdict: [READY TO DEPLOY / FIX THESE FIRST]

Fixes required (if any):

  1. [specific fix with file path and line if applicable]
  2. [specific fix]

Legend: ✅ pass · ⚠️ warning (won't break but should fix) · ❌ blocker (fix before deploy)

Do not explain what each check is for. Return results only.

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.