Conversation
- Add medusa-development.mdc with Medusa v2 patterns and best practices - Add remix-storefront.mdc for React Router v7 storefront development - Add typescript-patterns.mdc with advanced TypeScript patterns - Add testing-patterns.mdc for comprehensive testing strategies - Add comprehensive README.md documentation - Covers API development, modules, services, components, and testing - Includes TypeScript conventions, error handling, and performance optimization - Provides contextual guidance for AI-assisted development
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
- Split testing-patterns.mdc (682 lines) into: - testing-patterns-unit.mdc (240 lines) - testing-patterns-integration.mdc (184 lines) - testing-patterns-e2e.mdc (31 lines) - Split remix-storefront.mdc (562 lines) into: - remix-storefront-routing.mdc (205 lines) - remix-storefront-components.mdc (147 lines) - remix-storefront-optimization.mdc (257 lines) - Updated .cursor/README.md to reflect new file structure - Improved file organization and maintainability - Enhanced context-aware targeting with specific globs - Reduced cognitive load for developers working with specific patterns This optimization follows Cursor best practices for file size management while maintaining comprehensive coverage and improving navigation.
6 tasks
…rules-file-sizes feat: Optimize cursor rules file sizes by splitting large files
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.
🎯 Overview
This PR implements comprehensive Cursor rules for the Medusa2 starter project to improve developer experience and AI-assisted development. The rules provide contextually aware suggestions when working with Cursor AI on Medusa projects.
📁 What's Added
Core Rule Files
.cursor/rules/medusa-development.mdc- Medusa v2 backend development patterns.cursor/rules/remix-storefront.mdc- React Router v7 storefront development.cursor/rules/typescript-patterns.mdc- Advanced TypeScript patterns.cursor/rules/testing-patterns.mdc- Comprehensive testing strategies.cursor/README.md- Complete documentation and usage guide🚀 Key Features
Medusa v2 Backend Development
React Router v7 Storefront
TypeScript Excellence
Testing Strategies
🎨 Integration
File Pattern Targeting
apps/medusa/**/*.ts→ Medusa development rulesapps/storefront/**/*.ts→ Remix storefront rules**/*.test.ts→ Testing pattern rulesAutomatic Activation
📚 Documentation
The
.cursor/README.mdprovides:✅ Benefits
🔧 Usage
Once merged, developers using Cursor will automatically receive:
📖 Related
.cursor/rules/remix-hook-form-migration.mdcThis implementation provides a comprehensive foundation for AI-assisted Medusa development, helping developers build better applications faster while maintaining code quality and consistency.
💻 View my work • About Codegen