The fastest path: copy one prompt, paste it into your agent, and it handles everything — schema design, API calls, frontend wiring.
| Agent | File | Location |
|---|---|---|
| Claude Code | CLAUDE.md | Project root |
| Cursor | .cursorrules | Project root |
| Windsurf | .windsurfrules | Project root |
| Copilot | .github/copilot-instructions.md | Repo root |
| Any agent | System prompt | Paste directly |
The prompt contains everything: API base URL, keys, schema format reference, endpoint patterns, and auth instructions. Your agent can design and apply a schema, then build the frontend — all without reading docs.
The generated prompt includes:
.env# You say to the agent: "Build a habit tracker. Users can create habits, mark them done each day, and see streaks." # The agent reads the MoonDB prompt from CLAUDE.md and: # 1. Designs a schema (users, habits, completions) # 2. PUTs it to /v1/schema # 3. Builds the React/Vue/Svelte frontend # 4. Wires up auth and API calls
GET /v1/llm-context and update the prompt file so it stays in sync.