fix: Add .cursor/rules/echo_rules.mdc to echo-start templates#764
Open
ledgerpilot wants to merge 6 commits intoMerit-Systems:masterfrom
Open
fix: Add .cursor/rules/echo_rules.mdc to echo-start templates#764ledgerpilot wants to merge 6 commits intoMerit-Systems:masterfrom
ledgerpilot wants to merge 6 commits intoMerit-Systems:masterfrom
Conversation
…dc to echo-start templates
…dc to echo-start templates
…dc to echo-start templates
…dc to echo-start templates
…dc to echo-start templates
Contributor
|
@ledgerpilot is attempting to deploy a commit to the Merit Systems Team on Vercel. A member of the Team first needs to authorize it. |
Each template now has a unique .cursor/rules/echo_rules.mdc file that reflects its specific use case: - assistant-ui: multi-provider AI (OpenAI/Anthropic/Google), tool calling - authjs: Next-Auth session validation, auth-protected chat routes - next-chat: streaming chat, useChat hook, conversation context - next: minimal Next.js, catch-all route setup, basic AI route pattern - nextjs-api-key-template: API key auth, Bearer header validation - echo-cli: Commander.js CLI, Node.js streaming, clack/prompts guidance - react: Vite/React with EchoProvider and EchoTokens - react-chat: EchoChatProvider, useEchoModelProviders, streaming in SPA - next-image: DALL-E image generation, next/image display - next-video-template: Gemini multimodal video analysis and captions - react-image: Vite image generation hook Fixed incorrect globs (previously pointed to templates/**/ instead of **/ relative to each template root). Closes Merit-Systems#636
Author
|
Updated this PR: expanded from 5 templates to all 11, and rewrote each |
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.
Closes #636
What changed
Added a tailored
.cursor/rules/echo_rules.mdcto all 11 echo-start templates. Each file is specific to that template's use case — which is what #636 asked for.assistant-uiauthjsnext-chatuseChathook, conversation historynextnextjs-api-key-templateecho-cliclack/promptsreactEchoProvider,EchoTokensreact-chatEchoChatProvider,useEchoModelProviders, streamingnext-imagenext/imagedisplaynext-video-templatereact-imageAlso fixed
globsfront-matter — the original files usedtemplates/**/...paths that would never match inside a template. Each file now uses**/*.ts,**/*.tsxrelative to its own root.