بنقرة واحدة
trellis-create-app
Scaffold a new Cloudflare-first Trellis app and hand the user to readiness or deploy.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new Cloudflare-first Trellis app and hand the user to readiness or deploy.
التثبيت باستخدام 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.
Take a first-time Trellis user from local proof to the simplest credible Cloudflare production deployment.
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-create-app |
| description | Scaffold a new Cloudflare-first Trellis app and hand the user to readiness or deploy. |
Use this skill when the user explicitly wants to scaffold a new Trellis app.
Start with the smallest viable Trellis Cloudflare app:
npm run trellis -- init ../my-trellis-agent --name my-trellis-agent --json
Then:
cd ../my-trellis-agent
nvm use 22
npm install
npm run cf:login
npm run doctor -- --json
npm run smoke -- --json
Explain the scaffold in product language:
/mcp/trellis/mcp/operatorIf the user asks what creates the database, route them to trellis-setup-database: the generated deploy flow should resolve or create the TRELLIS_DB D1 database and apply Trellis runtime schema.
After init, route behavior edits to trellis-build-agent.
For novices, explain:
src/agent.ts is where they mount providers, model, state map, MCP surfaces, knowledge, skills, and workflow calls.src/state/*.map.ts is where they describe business state. Trellis writes it into D1; users do not hand-author internal D1 migrations.knowledge/**/*.md is product/company context.skills/**/SKILL.md is methodology for individual bounded skills.Do not encourage editing src/trellis-runtime.ts or src/index.ts for normal agent behavior.
Tell the user exactly what to do next:
cd <new-app>
nvm use 22
npm install
npm run cf:login
Then tell them:
npm run doctor -- --jsonnpm run smoke -- --jsontrellis-setup-database if the blocker is D1, schema, seed data, traces, or state rowstrellis-readiness-check if anything else blockstrellis-first-deploy when smoke is greenDo not ask for Attio, AgentMail, Firecrawl, Apify, Prospeo, Langfuse, or Braintrust credentials during first scaffold. Provider credentials are connected after the Cloudflare app boots.