Docs

Framework templates

Built-in convention templates for popular frameworks.

contextai ships with built-in convention templates for popular frameworks. When a template is applied, its conventions are merged into your config automatically.

Supported templates

  • nextjs
  • nestjs
  • express
  • remix
  • sveltekit

Usage

typescript
export default defineContext({
  // ...
  templates: ['nextjs'],
});

Templates are detected automatically during contextai init if your project uses a supported framework. You can also add them manually.

Template conventions are merged with your own — your conventions always take precedence.