{"id":28229594,"url":"https://github.com/mohameddev19/cursor-rules","last_synced_at":"2026-01-26T03:03:02.155Z","repository":{"id":288318490,"uuid":"967627778","full_name":"mohameddev19/cursor-rules","owner":"mohameddev19","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-16T19:16:13.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T10:37:54.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohameddev19.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-16T18:42:04.000Z","updated_at":"2025-05-28T02:16:16.000Z","dependencies_parsed_at":"2025-04-17T05:53:58.117Z","dependency_job_id":"411f23d3-852b-48bd-9f59-4d813733dfda","html_url":"https://github.com/mohameddev19/cursor-rules","commit_stats":null,"previous_names":["mohameddev19/cursor-rules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mohameddev19/cursor-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohameddev19%2Fcursor-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohameddev19%2Fcursor-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohameddev19%2Fcursor-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohameddev19%2Fcursor-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohameddev19","download_url":"https://codeload.github.com/mohameddev19/cursor-rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohameddev19%2Fcursor-rules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28765571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T02:25:41.078Z","status":"ssl_error","status_checked_at":"2026-01-26T02:24:28.809Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-18T16:10:38.488Z","updated_at":"2026-01-26T03:03:02.150Z","avatar_url":"https://github.com/mohameddev19.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js Project Cursor Rules\n\nA collection of standardized guidelines for Next.js projects in Cursor IDE to ensure consistent code quality and best practices.\n\n## Overview\n\nThis repository contains Cursor IDE rules for Next.js applications. These rules help maintain consistent code quality and adhere to best practices when developing Next.js applications.\n\n## What are Cursor Rules?\n\nCursor Rules are guidelines that help AI assistants (like Claude in Cursor) understand your project's conventions and best practices. When you add these rules to your project, Cursor's AI can provide more accurate and useful code suggestions, completions, and refactorings that align with your project's standards.\n\n### Example of Rules in Action\n\nWithout rules:\n```\nUser: \"Create a component for a form\"\nClaude: *generates a basic React component with no specific form library or project conventions*\n```\n\nWith rules:\n```\nUser: \"Create a component for a form\"\nClaude: *generates a component using your project's form library (React Hook Form, Formik, etc.), follows project naming conventions, and includes proper TypeScript types and validation patterns*\n```\n\n## How to Use\n\n1. Copy the `.cursorrules` file to the root of your Next.js project\n2. Copy the `.cursor/rules` directory to your project\n3. Make any project-specific adjustments to the rules as needed\n\nWhen working with Cursor IDE, the AI will now understand your project's guidelines and provide suggestions that align with these standards.\n\nFor detailed installation and customization instructions, see the [Usage Guide](./docs/USAGE.md).\n\nFor practical examples of how rules improve Claude's assistance, see the [Examples Document](./docs/EXAMPLES.md).\n\n## Features\n\nThese rules provide guidance for:\n\n### Framework Standards\n- Next.js 14+ App Router best practices\n- Client/server component organization\n- TypeScript usage\n- UI component library integration\n- State management\n- Internationalization\n- Custom hooks\n\n### Quality Controls\n- TypeScript type safety\n- ESLint conformance\n- Responsive design patterns\n- Testing standards\n- Code documentation\n- Component size management\n\n### Code Organization\n- Component responsibility segregation\n- Feature-based organization\n- Atomic design principles\n- Business logic separation\n- State management practices\n\n### Performance Guidelines\n- Image optimization\n- Data fetching strategies\n- Rendering optimization\n- Memoization patterns\n- Code splitting techniques\n\n## Rule Categories\n\nThe rules are organized into the following categories:\n\n- **Base TypeScript**: Fundamental TypeScript standards for Next.js projects\n- **React Components**: Guidelines for creating React components\n- **Form Components**: Best practices for form implementation\n- **Next.js Pages**: Standards for page components and routing\n- **Redux Store**: Patterns for state management with Redux\n- **Services**: Business logic and API integration guidelines\n\n## Customization\n\nThese rules are designed to be adaptable to different project requirements. You can modify them to fit your specific project needs:\n\n- Adjust UI library references (Mantine, shadcn/ui, Material UI, etc.)\n- Modify state management approaches (Redux, Context API, Zustand, etc.)\n- Customize internationalization requirements\n- Add project-specific conventions\n\n## License\n\nMIT ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohameddev19%2Fcursor-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohameddev19%2Fcursor-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohameddev19%2Fcursor-rules/lists"}