Back to Rules
Node.js

Manifest Backend YAML Best Practices for Cursor AI App Development

Claude Directory November 29, 2025
0 copies 0 downloads

Master lightweight Manifest backend creation in Cursor AI with these optimized rules: setup scripts, YAML schema compliance, entity limits, and demo-focused structures for quick app prototypes.

Rule Content
1. **Initialize Project Dependencies**: Begin by installing the 'manifest' npm package to enable backend generation capabilities.

2. **Configure Package Scripts**: Update package.json with custom scripts: 'manifest' for running the watch process via 'node node_modules/manifest/scripts/watch/watch.js', and 'manifest:seed' for seeding data using 'node node_modules/manifest/dist/manifest/src/seed/scripts/seed.js'.

3. **Generate Backend Configuration File**: Create a 'manifest/backend.yml' file and populate it with the schema-defined backend structure.

4. **Enhance VSCode Support**: Recommend the 'redhat.vscode-yaml' extension in '.vscode/extensions.json' and apply YAML schema validation in '.vscode/settings.json' by associating '**/manifest/**.yml' files with the Manifest schema.

5. **Adhere to YAML Schema Strictly**: Ensure the backend.yml file conforms precisely to the official Manifest schema, starting with a concise app name.

6. **Limit Scope for Demos**: Restrict to 2-3 entities max, each with no more than 4 properties, emphasizing variety in property types like date, number, richText, or image.

7. **Minimize Validations**: Incorporate validation rules sparingly, only 1-2 times across the file.

8. **Entity Naming Conventions**: Avoid 'admin' names, skip authenticable entities, prefix each entity with a relevant emoji (but omit in relationship refs), and insert line breaks before each entity block.

9. **Streamline Relationships**: Define relationships directly after properties using short YAML form like 'belongsTo: - Owner', without repeating entity names or using special characters.

10. **Omit Advanced Features**: Exclude middlewares, endpoints, hooks, seedCount, mainProp, and relationships on solo entities.

11. **Format Properties Concisely**: Use YAML shorthand for objects, e.g., '{ name: issueDate, type: date }' with proper spacing.

12. **Handle Choice Properties**: For 'choice' types, specify options via 'options.values' array, e.g., '{ name: type, type: choice, options: { values: ["Fire", "Water", "Grass"] } }'.

13. **Implement Basic Policies**: Apply simple public policies like 'read' for all, or add 'create' for open submissions such as forms or comments.

14. **Focus on Demo Readiness**: Design light structures showcasing property diversity without full data models, ideal for prototypes.

Comments

More Rules

View all
AI/ML

GLM-4.7 Optimized Config & System Prompt Designer

Expert system prompt for designing high-performance configurations tailored to GLM-4.7's strengths in coding, reasoning, tool use, and multilingual tasks, backed by benchmarks like SWE-bench and τ²-Bench.

C
Community
AI/ML

GLM-4.7 Open-Source Coding Expert: Optimized System Prompt

Leverage GLM-4.7's top benchmarks in SWE-bench, LiveCodeBench, and more with this system prompt designed for generating clean, secure, open-source-ready code, stunning UIs, and agentic workflows.

C
Community
AI/ML

GLM-4.7 Optimized Coding Agent

This system prompt transforms an AI into GLM-4.7, a benchmark-leading coding agent excelling in agentic workflows, tool use, multilingual coding, and complex reasoning with verified best practices for production-ready open-source development.

C
Community
DevOps

Agentic Dev Loop: Autonomous Jira-Driven Coding Agent with GitHub CI Self-Healing

Ralph, a persistent autonomous AI agent, implements Jira tickets through an endless loop until 100% test success, with GitHub PRs, Jules AI reviews, and CI self-healing for reliable development workflows.

C
Claude Directory
AI/ML

Türk Hukuku Uzmanı AI Agent: Güvenilir Yasal Danışman System Prompt

Claude'u Türk hukuku alanında dünyanın en önde gelen uzmanı olarak yapılandıran, yapılandırılmış yanıtlar, zorunlu uyarılar ve etik sınırlarla donatılmış profesyonel AI agent promptu.

C
Community
Database

PostgreSQL Best Practices: Expert Subagent Guide

Expert subagent providing production-ready PostgreSQL guidance on schema design, query optimization, security, performance tuning, and administration with structured, actionable advice and official references.

C
Claude Directory