webspresso-usage

Reference Webspresso usage for file-based SSR, API routing, and config.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/litepacks/webspresso --skill webspresso-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webspresso-usage
Source: https://github.com/litepacks/webspresso/tree/main/.cursor/skills/webspresso-usage
Command: npx skills add https://github.com/litepacks/webspresso --skill webspresso-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive reference for Webspresso usage, covering file-based SSR and API routing, createApp options (including clientRuntime), session auth, Nunjucks helpers, i18n, lifecycle hooks, Zod API validation, ORM, plugins, CLI, env vars, and testing. It guides you on how to apply these capabilities in real projects within this repo or any Webspresso app, enabling you to add routes, APIs, models, plugins, or debugging tooling with confidence.

Core Features & Use Cases

  • Comprehensive reference for file-based SSR and API routing, including how to structure pages, API endpoints, and admin/plugins integration.
  • Guidance on createApp options (clientRuntime, auth, i18n, hooks, and ORM) to build robust Webspresso apps.
  • Real-world use cases and debugging tips for routing, ctx.db, sessions, templates, and plugin interactions.

Quick Start

Inspect the project to identify and apply Webspresso usage patterns across pages, APIs, models, plugins, and client runtime.

Frequently Asked Questions about webspresso-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up file-based SSR and API routing in a Webspresso app?

Webspresso uses file-based SSR and API routing by organizing pages and endpoints in specific directories. You configure createApp options to integrate client runtime, authentication, and ORM for production-ready server-rendered applications.

How do I configure session authentication and environment variables for Webspresso?

Webspresso session authentication and environment variables are configured through the createApp options and CLI workflows. You define authentication flows and manage environment variables to ensure secure production deployments.

How does Nunjucks template rendering work with Webspresso plugins?

Nunjucks templates in Webspresso render server-side pages, and plugins extend core functionality via lifecycle hooks. You use Nunjucks helpers within pages and integrate plugins to manage admin interfaces and application extensions.

Can I use Zod API validation and ORM with Webspresso for database operations?

Webspresso supports Zod API validation and ORM integration for database operations. You validate API endpoints using Zod schemas and interact with the database via the ORM using the ctx.db object within your application routes.

What are the CLI workflows and lifecycle hooks available in Webspresso?

Webspresso CLI workflows manage project scaffolding and environment configuration, while lifecycle hooks intercept execution phases. You use the CLI to build projects and configure hooks within createApp to control runtime processes.

Does Webspresso support internationalization and client runtime configuration?

Webspresso supports internationalization (i18n) and client runtime configuration through createApp options. You configure i18n for multi-language support and define clientRuntime to manage client-side execution environments.