Cursor rule
.cursor/rules/memory.mdcCursor rules
Quality
61/100
Scores the file, not the repository.Length
336 words
11 headings · 2 code blocksRepository
3
— · pushed 158 days agoLast changed
3 days ago
First indexed 3 days ago.1234# AI Memory Rule56This rule defines how the AI should manage and utilize its "memory" regarding this specific project, including user preferences, learned facts, and project-specific conventions.78## Purpose910The AI's memory helps maintain consistency and adapt to specific project needs or user preferences discovered during interactions. It prevents the AI from repeatedly asking for the same information or making suggestions contrary to established patterns.1112## Storage1314All learned project-specific knowledge and preferences should be stored and referenced in the `learned-memories.mdc` file located in `.cursor/rules`.1516## Updating Memory1718When new information relevant to the project's conventions, user preferences, or specific technical details is learned (either explicitly told by the user or inferred through conversation), the AI should:19201. **Identify Key Information:** Determine the core piece of knowledge to be stored.212. **Check Existing Memory:** Review `learned-memories.mdc` to see if this information contradicts or updates existing entries.223. **Propose Update:** Suggest an edit to `learned-memories.mdc` to add or modify the relevant information. Keep entries concise and clear.2324## Using Memory2526Before proposing solutions, code changes, or answering questions, the AI should consult `learned-memories.mdc` to ensure its response aligns with the recorded knowledge and preferences.2728## Example Scenario2930**User:** "We've decided to use Tailwind v4 for this project, not v3."3132**AI Action:**33341. Recognize this as a project-specific technical decision.352. Check `learned-memories.mdc` for existing Tailwind version information.363. Propose adding or updating an entry in `learned-memories.mdc`:37```markdown38 ## Technical Decisions3940 * **CSS Framework:** Tailwind v4 is used. Ensure usage aligns with v4 documentation and practices, noting differences from v3.41```424. In subsequent interactions involving Tailwind, the AI will refer to this entry and consult v4 documentation if necessary.4344## Memory File (`.cursor/rules/learned-memories.mdc`)4546The basic structure:4748```markdown49# Project Memory5051This file stores project-specific knowledge, conventions, and user preferences learned by the AI assistant.5253## User Preferences5455- [Preference 1]56- [Preference 2]5758## Technical Decisions5960- [Decision 1]61- [Decision 2]6263## Project Conventions6465- [Convention 1]66- [Convention 2]67```68---69alwaysApply: true70---71
Also in magdazelena/primer
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| magdazelena/primer.cursor/rules/agents.mdc · 3 | Cursor rules | no sections | 48/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/code-quality.mdc · 3 | Cursor rules | lint-formatstyletypesperformance+2 | 73/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/monorepo-management.mdc · 3 | Cursor rules | buildtestlint-formatstyle+5 | 79/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/nextjs-frontend.mdc · 3 | Cursor rules | teststylearchapi+1 | 72/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/project-structure.mdc · 3 | Cursor rules | testlint-formatarchmonorepo | 71/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/strapi-backend.mdc · 3 | Cursor rules | stylearchtypesdatabase | 68/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/strapi-plugin-development.mdc · 3 | Cursor rules | buildtestarchagent-behaviour | 85/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/testing-conventions.mdc · 3 | Cursor rules | teststyletesting-strategyapi+1 | 73/100 | 3 days ago | |
| magdazelena/primer.cursor/rules/typescript-conventions.mdc · 3 | Cursor rules | lint-formatstyletypesdo-not | 65/100 | 3 days ago |
Diff against .cursor/rules/agents.mdc Diff against .cursor/rules/code-quality.mdc Diff against .cursor/rules/monorepo-management.mdc Diff against .cursor/rules/nextjs-frontend.mdc Diff against .cursor/rules/project-structure.mdc Diff against .cursor/rules/strapi-backend.mdc Diff against .cursor/rules/strapi-plugin-development.mdc Diff against .cursor/rules/testing-conventions.mdc Diff against .cursor/rules/typescript-conventions.mdc
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
