Skip to content

Add .cursor/rules/echo_rules.mdc to all templates#737

Open
writsop wants to merge 1 commit intoMerit-Systems:masterfrom
writsop:add-cursor-rules
Open

Add .cursor/rules/echo_rules.mdc to all templates#737
writsop wants to merge 1 commit intoMerit-Systems:masterfrom
writsop:add-cursor-rules

Conversation

@writsop
Copy link

@writsop writsop commented Mar 13, 2026

Summary

Adds framework-specific Cursor IDE rules (.cursor/rules/echo_rules.mdc) to all 7 templates as requested in #19.

Templates Updated

Template Key Patterns
next/ Next.js App Router + Echo SDK
react/ React (Vite) + Echo SDK
echo-cli/ CLI tool with Echo SDK
next-chat/ Next.js chat + AI SDK
next-video-template/ Next.js video generation
nextjs-api-key-template/ API key auth patterns
react-image/ React image generation

Each Rule File Includes

  • Project structure overview
  • SDK initialization patterns
  • Key code patterns and best practices
  • Environment variable documentation
  • Anti-patterns to avoid

Format

All files use .mdc format with YAML frontmatter:

---
description: ...
globs: ...
alwaysApply: false
---

Fixes #19

Adds framework-specific Cursor IDE rules for each template:
- next/ - Next.js App Router + Echo SDK patterns
- react/ - React (Vite) + Echo SDK patterns
- echo-cli/ - CLI tool with Echo SDK patterns
- next-chat/ - Next.js chat app with AI SDK integration
- next-video-template/ - Next.js video generation patterns
- nextjs-api-key-template/ - API key auth patterns
- react-image/ - React image generation patterns

Each rule file includes:
- Project structure overview
- SDK initialization patterns
- Key code patterns and best practices
- Environment variable documentation
- Anti-patterns to avoid

Fixes Merit-Systems#19
@vercel
Copy link
Contributor

vercel bot commented Mar 13, 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.

1 participant