Skip to content

Add .cursor/rules/echo_rules.mdc to all echo-start templates#740

Open
kira-autonoma wants to merge 1 commit intoMerit-Systems:masterfrom
kira-autonoma:feat/cursor-rules
Open

Add .cursor/rules/echo_rules.mdc to all echo-start templates#740
kira-autonoma wants to merge 1 commit intoMerit-Systems:masterfrom
kira-autonoma:feat/cursor-rules

Conversation

@kira-autonoma
Copy link

Summary

  • Adds .cursor/rules/echo_rules.mdc to all 11 echo-start templates with framework-specific Cursor IDE guidelines
  • Each rules file is tailored to its template's stack (Next.js, React/Vite, CLI) covering SDK initialization, environment variables, project structure, server/client boundaries, error handling, TypeScript patterns, and testing
  • Templates covered: assistant-ui, authjs, echo-cli, next, next-chat, next-image, next-video-template, nextjs-api-key-template, react, react-chat, react-image

Closes #636

Test plan

  • Verify each .cursor/rules/echo_rules.mdc file is present under templates/<name>/.cursor/rules/
  • Confirm rules files use the correct .mdc frontmatter format (description, globs)
  • Check that SDK package names match each template's package.json dependencies
  • Validate that project structure sections reflect the actual file layout of each template
  • Open a template directory in Cursor IDE and confirm the rules are auto-detected

🤖 Generated with Claude Code

Add framework-specific Cursor rules files to all 11 echo-start templates.
Each file is tailored to its template's stack with guidelines for SDK
initialization, environment variables, project structure, server/client
boundaries, error handling, TypeScript patterns, and testing.

Templates covered:
- assistant-ui (Next.js + @assistant-ui/react)
- authjs (Next.js + Auth.js/NextAuth)
- echo-cli (Node.js CLI + Commander.js)
- next (Next.js base template)
- next-chat (Next.js streaming chat)
- next-image (Next.js image generation)
- next-video-template (Next.js + Google GenAI video)
- nextjs-api-key-template (Next.js + Prisma API keys)
- react (React + Vite base template)
- react-chat (React + Vite chat)
- react-image (React + Vite image generation)

Closes Merit-Systems#636

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Contributor

vercel bot commented Mar 15, 2026

Someone is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add .cursor/rules/echo_rules.mdc to echo-start templates

1 participant