LLM rules
Rules are predefined guidelines and constraints that steer an AI assistant’s behavior. They specify the style, conventions, best practices, or security policies to follow. Rules ensure consistency, quality, and compliance of the generated suggestions.
Usage
Running the install command above will add the rules to the Manifest rules in your project.
npm create manifest --cursor
You can replace --cursor
with another option if you're using a different AI tool;
--copilot
if you're using GitHub Copilot--windsurf
for Windsurf
If you need to install rules manually, download the file below and add it to your AI code editor:
⬇️ Download Manifest Rules
Types and OpenAPI Generation
When you run Manifest, it generates 2 key context files in the /.manifest folder:
- openapi.yml: OpenAPI spec for the available endpoints, schemas, and the API base URL of your backend.
- types.ts: type file with typings and DTOs (Data Transfer Object) for each entity.
By including these context files, Manifest ensures your AI code editor understands your API, enabling smarter and more reliable code generation,especially when you want to connect a frontend to your Manifest backend.