adding cursor rules#424
Merged
Merged
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds Cursor IDE configuration rules to define coding patterns and conventions across the Hypergraph monorepo. The rules are organized by package/application type to provide context-specific guidance for development.
- Establishes coding standards and architectural patterns for each package and application
- Implements project-wide rules for consistent development practices across the monorepo
- Provides technology-specific guidance for different parts of the codebase (React, Next.js, CLI tools, etc.)
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/hypergraph/.cursor/rules/core-sdk.mdc | Core SDK patterns including Effect usage, CRDT, and type safety |
| packages/hypergraph-react/.cursor/rules/react-patterns.mdc | React component patterns, hooks, and state management guidelines |
| docs/.cursor/rules/docusaurus-docs.mdc | Documentation structure and Docusaurus-specific patterns |
| apps/typesync/.cursor/rules/typesync-app.mdc | TypeSync application patterns for GraphQL and type generation |
| apps/server/.cursor/rules/backend-api.mdc | Backend API patterns for Express, Prisma, and authentication |
| apps/next-example/.cursor/rules/nextjs-example.mdc | Next.js 15+ patterns with App Router and Server Components |
| apps/events/.cursor/rules/events-app.mdc | Events application patterns using Vite and TanStack Router |
| apps/create-hypergraph/.cursor/rules/cli-tool.mdc | CLI tool patterns for scaffolding and template generation |
| apps/create-hypergraph-app/.cursor/rules/cli-app.mdc | CLI app patterns for application scaffolding |
| apps/connect/.cursor/rules/frontend-app.mdc | Connect frontend patterns with TanStack Router and React 19 |
| .cursor/rules/root-config.mdc | Root configuration for package management and build tools |
| .cursor/rules/project-wide.mdc | Project-wide standards for TypeScript, testing, and documentation |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Open
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.
adding these rules, we can iteratively improve them