rasengan-server-core
Installation
SKILL.md
@rasenganjs/server Core Patterns
When to Activate
- Creating or editing
rasengan.server.{js,ts}orsrc/main.ts(server entry) - Writing
bootstrap()callbacks that register modules, middleware, or lifecycle hooks - Defining a module with
defineModule({ prefix, controllers, providers, imports, ... }) - Writing a
Controllersubclass with aroutes(router)method - Wiring dependency injection between controllers and providers/services
- Configuring the server (port, host, preset, build output) via
defineConfig - Running the CLI (
rasengan-server dev|build|start)
Bootstrap
bootstrap() is the entry point. It creates a ServerApp, loads config, runs your callback to register modules/middleware, compiles, and starts the runtime adapter (Node/Bun/workerd):