platform-context-exporter / isolation_rules
Cursor rule48 starsChanged 18 months agoMITView on GitHub
main rule
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- alkoleft/mcp-bsl-platform-contextword for word, first seen Jul 1, 2025
Other versions1 project uses a version of this.
Word for word · 1
- alkoleft/mcp-bsl-platform-context★ 197100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository14 other files it gives its agents.
- .cursor/rules/111-java-object-oriented-design.mdcCursor rule
- .cursor/rules/112-java-type-design.mdcCursor rule
- .cursor/rules/113-java-general-guidelines.mdcCursor rule
- .cursor/rules/114-java-secure-coding.mdcCursor rule
- .cursor/rules/115-java-concurrency.mdcCursor rule
- .cursor/rules/116-java-logging.mdcCursor rule
- .cursor/rules/121-java-unit-testing.mdcCursor rule
- .cursor/rules/122-java-integration-testing.mdcCursor rule
- .cursor/rules/131-java-refactoring-with-modern-features.mdcCursor rule
- .cursor/rules/132-java-functional-programming.mdcCursor rule
- .cursor/rules/133-java-data-oriented-programming.mdcCursor rule
- .cursor/rules/301-framework-spring-boot.mdcCursor rule
- .cursor/rules/isolation_rules/main-optimized.mdcCursor rule
- .cursor/rules/java-spring-cursor-rules.mdcCursor rule
The file
We split this main.mdc into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
NO process can continue without verifying Memory Bank existence
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description: main rule
globs: main.mdc
alwaysApply: false
---
# 🔍 ISOLATION-FOCUSED MEMORY BANK SYSTEM
🚨 CRITICAL RULE: MEMORY BANK CREATION IS MANDATORY 🚨
Memory Bank MUST be created BEFORE any other operation in ANY mode
NO process can continue without verifying Memory Bank existence
> **TL;DR:** This system is designed to work with Cursor custom modes, where each mode loads only the rules it needs. The system uses visual Mermaid diagrams and selective document loading to optimize context usage.
## 🧭 MODE-SPECIFIC VISUAL MAPS
```mermaid
graph TD
subgraph Modes["Cursor Custom Modes"]
VAN["VAN MODE<br>Initialization"] --> PLAN["PLAN MODE<br>Task Planning"]
PLAN --> Creative["CREATIVE MODE<br>Design Decisions"]
Creative --> Implement["IMPLEMENT MODE<br>Code Implementation"]
Implement --> Reflect["REFLECT MODE<br>Task Review"]
Reflect --> Archive["ARCHIVE MODE<br>Documentation"]
end
VAN -.->|"Loads"| VANRules["• main.md<br>• platform-awareness.md<br>• file-verification.md<br>• workflow-init.md"]
PLAN -.->|"Loads"| PLANRules["• main.md<br>• task-tracking.md<br>• planning-process.md"]
Creative -.->|"Loads"| CreativeRules["• main.md<br>• creative-phase.md<br>• design-patterns.md"]
Implement -.->|"Loads"| ImplementRules["• main.md<br>• command-execution.md<br>• implementation-guide.md"]
Reflect -.->|"Loads"| ReflectRules["• main.md<br>• reflection-format.md"]
Archive -.->|"Loads"| ArchiveRules["• main.md<br>• archiving-guide.md"]
```
## 📋 MEMORY BANK VERIFICATION - MANDATORY IN ALL MODES
```mermaid
graph TD
Start["Mode Activation"] --> CheckMemBank{"Memory Bank<br>Exists?"}
CheckMemBank -->|"No"| CreateMemBank["CREATE MEMORY BANK<br>[CRITICAL STEP]"]
CheckMemBank -->|"Yes"| VerifyMemBank["Verify Memory Bank<br>Structure"]
CreateMemBank --> VerifyCreation{"Creation<br>Successful?"}
VerifyCreation -->|"No"| AbortAll["⛔ ABORT ALL OPERATIONS<br>Fix Memory Bank First"]
VerifyCreation -->|"Yes"| VerifyMemBank
VerifyMemBank --> StructureCheck{"Structure<br>Valid?"}
StructureCheck -->|"No"| FixStructure["Fix Memory Bank<br>Structure"]
StructureCheck -->|"Yes"| ContinueMode["Continue with<br>Mode Operations"]
FixStructure --> VerifyFix{"Fix<br>Successful?"}
VerifyFix -->|"No"| AbortAll
VerifyFix -->|"Yes"| ContinueMode
style CheckMemBank fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
style CreateMemBank fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
style VerifyCreation fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
style AbortAll fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
style StructureCheck fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
style FixStructure fill:#ff5555,stroke:#dd3333,color:white
style VerifyFix fill:#ff5555,stroke:#dd3333,color:white
```
## 📚 VISUAL PROCESS MAPS
Each mode has its own visual process map:
- @VAN Mode Map
- @PLAN Mode Map
- @CREATIVE Mode Map
- @IMPLEMENT Mode Map
- @REFLECT Mode Map
- @ARCHIVE Mode Map
## 🔄 FILE STATE VERIFICATION
In this isolation-focused approach, Memory Bank files maintain continuity between modes:
```mermaid
graph TD
subgraph "Memory Bank Files"
tasks["tasks.md<br>Source of Truth"]
active["activeContext.md<br>Current Focus"]
creative["creative-*.md<br>Design Decisions"]
progress["progress.md<br>Implementation Status"]
end
VAN["VAN MODE"] -->|"Creates/Updates"| tasks
VAN -->|"Creates/Updates"| active
PLAN["PLAN MODE"] -->|"Reads"| tasks
PLAN -->|"Reads"| active
PLAN -->|"Updates"| tasks
Creative["CREATIVE MODE"] -->|"Reads"| tasks
Creative -->|"Creates"| creative
Creative -->|"Updates"| tasks
Implement["IMPLEMENT MODE"] -->|"Reads"| tasks
Implement -->|"Reads"| creative
Implement -->|"Updates"| tasks
Implement -->|"Updates"| progress
Reflect["REFLECT MODE"] -->|"Reads"| tasks
Reflect -->|"Reads"| progress
Reflect -->|"Updates"| tasks
Archive["ARCHIVE MODE"] -->|"Reads"| tasks
Archive -->|"Reads"| progress
Archive -->|"Archives"| creative
```
## 📋 MODE TRANSITION PROTOCOL
```mermaid
sequenceDiagram
participant User
participant CurrentMode
participant NextMode
CurrentMode->>CurrentMode: Complete Phase Requirements
CurrentMode->>User: "Phase complete. NEXT MODE: [mode name]"
User->>CurrentMode: End Current Mode
User->>NextMode: Start Next Mode
NextMode->>NextMode: Verify Required File State
alt File State Valid
NextMode->>User: "Continuing from previous mode..."
else File State Invalid
NextMode->>User: "Required files not in expected state"
NextMode->>User: "Return to [previous mode] to complete requirements"
end
```
## 💻 PLATFORM-SPECIFIC COMMANDS
| Action | Windows | Mac/Linux |
|--------|---------|-----------|
| Create file | `echo. > file.ext` | `touch file.ext` |
| Create directory | `mkdir directory` | `mkdir -p directory` |
| Change directory | `cd directory` | `cd directory` |
| List files | `dir` | `ls` |
| Show file content | `type file.ext` | `cat file.ext` |
## ⚠️ COMMAND EFFICIENCY GUIDANCE
For optimal performance, use efficient command chaining when appropriate:
```
# Efficient command chaining examples:
mkdir -p project/{src,tests,docs} && cd project
grep "TODO" $(find . -name "*.js")
npm install && npm start
```
Refer to [command-execution.mdc](mdc:.cursor/rules/isolation_rules/Core/command-execution.mdc) for detailed guidance. Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

