agentleFS
DipeshpalDipeshpal/capes/.claude/skills/deploy/SKILL.md

deploy

Skill1 starsChanged 2 months agoMITView on GitHub

Deploy Capes to Vercel production and smoke-test the live server without exposing secrets

  • Sends data out

169 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use Code Review & Quality, Incremental Implementation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • fdhhhdjdSkill

    Code Review & Quality

    Five-axis code review for comprehensive quality assessment

    Also in 3 projects that use this

  • fdhhhdjdSkill

    Incremental Implementation

    Build features in thin vertical slices with continuous verification

    Also in 3 projects that use this

  • ww-w-aiSkill

    qa-phase

    Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.

    Also in 3 projects that use this

  • ww-w-aiSkill

    desktop-app

    Desktop application development guide for Electron, Tauri, and native apps. Covers cross-platform desktop development for macOS, Windows, and Linux. Triggers: desktop app, Electron, Tauri, mac app, windows app, native app, 데스크톱 앱, 일렉트론, 타우리, デスクトップアプリ, Electron, 桌面应用, 桌面程序, aplicacion de escritorio, application bureau, Desktop-App Do NOT use for: mobile apps (use $mobile-app), web apps (use $dynamic or $starter).

    Also in 4 projects that use this

  • +1 more from fdhhhdjd
  • +7 more from ww-w-ai

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 150 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the working tree has uncommitted changes, ask the user whether to commit first.

    line 12
  2. Very specific:

    Run /run-tests. Do not deploy on failures.

    line 13
  3. Distinctive:

    If environment variables changed, remember they only apply to the next deployment.

    line 29

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

Current state:

!git status --short

Steps:

  1. If the working tree has uncommitted changes, ask the user whether to commit first. Do not commit or push unless asked. main is protected: code reaches it only through a pull request (docs/project/governance.md), and deploys are run from a checkout of main.
  2. Run /run-tests. Do not deploy on failures.
  3. vercel deploy --prod (the project is linked in .vercel/; if not, run node scripts/capes.mjs install).
  4. Smoke test against the live URL from .capes.local.json. Read the URL and key with a command that does not print the key, and never echo the key into the conversation:

    U=$(node -p "require('./.capes.local.json').url"); K=$(node -p "require('./.capes.local.json').key")
    curl -s "$U/"
    curl -s -X POST "$U/mcp" -H "Authorization: Bearer $K" -H "Content-Type: application/json" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | python -c "import sys,json; print(len(json.load(sys.stdin)['result']['tools']), 'tools')"
  5. Expect "status":"online" and the tool count that README.md lists. A 401 from the URL means Deployment Protection is on; a 404 on /mcp usually means a vercel.json rewrite crept in.
  6. Tell the user to fully restart Claude Desktop (and reload other clients) to refresh their tool list.

The Vercel project is capes-mcp. Only its automatic production domain is public; extra aliases from vercel alias set sit behind Deployment Protection (302). If the address changes, update every client entry (Claude Desktop uses mcp-remote with the URL in args).

If environment variables changed, remember they only apply to the next deployment.

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.