Start From Template
Scaffold a project by setting up the Skybridge template starter. Skybridge is a TypeScript framework for building MCP servers with type-safe APIs and React views.
Workflow
Ask: "Which package manager?" (npm / pnpm / yarn / bun / deno)
Run (do not
rmbeforehand—create handles conflicts):
{pm} create skybridge@latest {target-dir}
# deno
deno init --npm skybridge {target-dir}Template flags: --blank (minimal, no tools), --ecom (ecommerce starter) or --example <name> (a copy of examples/<name> from the Skybridge repo, downloaded from GitHub). With npm, separate flags: npm create skybridge@latest {target-dir} -- --ecom.
Scaffolding with --ecom? → follow ecommerce.md to fill it.
Start the dev server. Read logs to assess readiness/health; fix any errors (TypeScript, etc.) before proceeding.
Start implementing your app using these core concepts:
- Server handlers and view components → fetch-and-render-data.md
- View state and LLM context → state-and-context.md
- Display modes → ui-guidelines.md
- Delete unused views files and leftover code.