feat(templates): add comprehensive Cursor rules for Echo projects (closes #636)#806
Open
D3CC wants to merge 1 commit into
Open
feat(templates): add comprehensive Cursor rules for Echo projects (closes #636)#806D3CC wants to merge 1 commit into
D3CC wants to merge 1 commit into
Conversation
Add .cursor/rules/echo_rules.mdc covering: - Echo SDK server/client initialization patterns - Next.js API routes with Echo-billed AI providers - React component patterns and auth flows - TypeScript configuration and import conventions - CLI patterns for Echo TS SDK - Error handling and styling guidelines - Environment variable requirements Closes Merit-Systems#636
Contributor
|
@D3CC is attempting to deploy a commit to the Merit Systems Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add comprehensive
.cursor/rules/echo_rules.mdcto echo-start templates as requested in #636.What's included:
SDK Initialization Patterns:
src/echo/index.tsEchoProviderwrapper patternsServer/Client Boundaries:
isSignedIn()in server componentsReact Component Patterns:
TypeScript Configuration:
CLI Patterns:
generateText()andstreamText()usageAdditional Coverage:
File
templates/.cursor/rules/echo_rules.mdc— Cursor AI rules tailored for Echo Next.js, React, and CLI projectsReferences
templates/next-chat/src/echo/index.tsandtemplates/next-chat/src/providers.tsxCloses #636