encore-api
Installation
SKILL.md
Encore API Endpoints
Instructions
When creating API endpoints with Encore.ts, follow these patterns:
1. Import the API module
import { api } from "encore.dev/api";
2. Define typed request/response interfaces
Always define explicit TypeScript interfaces for request and response types:
interface CreateUserRequest {
email: string;
Related skills
More from encoredev/skills
encore-service
Structure and organize Encore.ts services.
354encore-code-review
Review Encore.ts code for best practices and anti-patterns.
346encore-auth
Implement authentication with auth handlers and gateways in Encore.ts.
345encore-database
Database queries, migrations, and ORM integration with Encore.ts.
337encore-testing
Test APIs and services with Vitest in Encore.ts.
333encore-infrastructure
Declare databases, Pub/Sub, cron jobs, caching, object storage, and secrets with Encore.ts.
326