Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Instruction file imported from guigeng/cursor-template (.cursor/rules/awesome-cursor-rules-mdc/typescript-nextjs-supabase-cursorrules-prompt-file/general-typescript-node-js-next-js-project-rules.mdc). Copyright stays with the author.
Write concise, technical TypeScript code with accurate examples.
Use functional and declarative programming patterns; avoid classes.
Prefer iteration and modularization over code duplication.
Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).
Use lowercase with dashes for directories (e.g., components/auth-wizard).
Favor named exports for components.
Use TypeScript for all code; prefer interfaces over types.
Avoid enums; use const objects or as const assertions instead.
Use functional components with TypeScript interfaces.
Use arrow functions for components and handlers.
Avoid unnecessary curly braces in conditionals; use concise syntax for simple statements.
Use declarative JSX.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/guigeng-cursor-template-general-typescript-node-js-next-71fd22/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.