Overview
Maximize development speed by providing Cursor and LLMs with the full context of the Starkzap codebase using our built-in AI configuration files.1. Cursor IDE Setup
Add Project Rules
For the best experience, Cursor needs to understand our coding standards (ESM, Strict TS, and Path Aliases).- Copy the contents of
CLAUDE.mdfrom the root of the repository. - Paste them into a
.cursorrulesfile in your project root. - This allows Cursor to automatically use the correct commands (like
npm run typecheck) and follow our internal<conventions>.
Add External Documentation
Add the Starkzap API reference to Cursor’s indexed docs:- Settings > Features > Docs
- Add new doc
- URL:
https://docs.starkzap.com/llms-full.txt(or your localdocs/export/path)
2. Using the Agent Model (MCP)
If you are using the Model Context Protocol (MCP) with Claude or Cursor:- Context Loading: Point your filesystem MCP to
CLAUDE.mdandAGENTS.md. - Workflow Alignment: The AI will now understand the
Coordinator -> Executor -> Reviewerworkflow defined in our repo, making it better at planning complex features.
3. Common AI Commands
Inside Cursor Chat (Cmd+L or Ctrl+L), you can now use specific context:- “Check my types”: The AI will know to run
npm run typecheckbased onCLAUDE.md. - “Generate a new token preset”: The AI will point you to
npm run generate:tokensinstead of suggesting manual edits. - “@docs Starkzap how to batch transactions”: Uses the indexed documentation for accurate SDK syntax.