一键导入
trellis-first-deploy
Take a first-time Trellis user from local proof to the simplest credible Cloudflare production deployment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Take a first-time Trellis user from local proof to the simplest credible Cloudflare production deployment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build or modify a Trellis agent by editing the agent blueprint, skills, knowledge, state map, MCP surfaces, and verification commands.
Connect Claude Code, Codex, Cursor, or OpenCode to a local or deployed Trellis Cloudflare app over MCP.
Connect Trellis providers as Cloudflare Worker secrets one provider at a time.
Scaffold a new Cloudflare-first Trellis app and hand the user to readiness or deploy.
Route a new Trellis user through the Cloudflare-first path without making them understand the whole stack first.
Diagnose what is missing before a Trellis Cloudflare app can boot, deploy, or verify live.
| name | trellis-first-deploy |
| description | Take a first-time Trellis user from local proof to the simplest credible Cloudflare production deployment. |
Use this skill when the user wants the shortest path to getting a Trellis app into a hosted, demo-safe Cloudflare state.
/healthz, /mcp/trellis, /mcp/operator, and /smokeTreat the canonical hosted path as:
Do not route a first deploy through Vercel, Convex, or Railway.
Run:
npm run doctor -- --json
npm run smoke -- --json
npm run deploy -- --json
npm run verify -- --json
Then verify the deployed Worker:
npm run verify -- --live --url "$APP_URL" --api-key "$TRELLIS_API_KEY"
If the user wants a safe live harness exercise:
npm run verify -- --live --url "$APP_URL" --api-key "$TRELLIS_API_KEY" --exercise-agent
Always use Node 22 first:
nvm use 22
Authenticate:
npm run cf:login
or use:
CLOUDFLARE_ACCOUNT_ID=<account-id>
CLOUDFLARE_API_TOKEN=<token>
The first npm run deploy -- --json should resolve or create:
TRELLIS_DB D1 databaseTRELLIS_PACKS R2 bucketTRELLIS_ARTIFACTS R2 bucketTRELLIS_EVENTS queue and dead-letter queuePROSPECT_WORKFLOW Cloudflare Workflowknowledge/**/*.md and skills/**/SKILL.mdIf D1 setup, schema, seed data, trace cleanup, or state-row inspection becomes the main question, switch to trellis-setup-database.
Minimum protected remote route secret:
npx wrangler secret put TRELLIS_API_KEY
Optional webhook auth:
npx wrangler secret put TRELLIS_WEBHOOK_SECRET
Do not require provider secrets for the first deploy. Add them after the Worker is alive:
npm run trellis -- connect firecrawl --json
npm run trellis -- connect attio --json
npm run trellis -- connect agentmail --json
npm run trellis -- connect apify --json
npm run trellis -- connect prospeo --json
Do not treat the app as demo-ready until all of these are true:
npm run smoke -- --json passes locallynpm run deploy -- --json succeedsnpm run verify -- --json passes local Cloudflare checksnpm run verify -- --live --url "$APP_URL" --api-key "$TRELLIS_API_KEY" passes remote checks/healthz is healthy/mcp/trellis is reachable with auth/mcp/operator is reachable with authDo not turn on discovery automation or outbound sends before that point.
Production is not done until:
/healthz is healthy/mcp/trellis is reachable with auth/mcp/operator is reachable with authtrellis verify cloudflare --live passes