CocktailRecipes / isolation_rules
Cursor rule1 starsChanged 20 months agoMITView on GitHub
main rule
- Installs packages
In this repository19 other files it gives its agents.
- .cursor/rules/android-kotlin-compose-rules/break_down_rule.mdcCursor rule
- .cursor/rules/android-kotlin-compose-rules/implementation_rule.mdcCursor rule
- .cursor/rules/android-kotlin-compose-rules/project_overview_template.mdcCursor rule
- .cursor/rules/android-kotlin-compose-rules/technical_design_documentation_rule.mdcCursor rule
- .cursor/rules/core-rules/readme.mdCursor rule
- .cursor/rules/core-rules/rule-generating-agent.mdcCursor rule
- .cursor/rules/core-rules/rule-update-cursor-modes-manual.mdcCursor rule
- .cursor/rules/core-rules/workflow-agile-manual.mdcCursor rule
- .cursor/rules/global-rules/emoji-communication-always.mdcCursor rule
- .cursor/rules/global-rules/readme.mdCursor rule
- .cursor/rules/tool-rules/git-commit-push-agent.mdcCursor rule
- .cursor/rules/tool-rules/readme.mdCursor rule
- .cursor/rules/ui-rules/compose_ui_guideline.mdcCursor rule
- .cursor/rules/ui-rules/readme.mdCursor rule
- .cursor/rules/workflows/arch.mdcCursor rule
- .cursor/rules/workflows/dev.mdcCursor rule
- .cursor/rules/workflows/pm.mdcCursor rule
- .cursor/rules/workflows/task-breakdown-always.mdcCursor rule
- .cursor/rules/workflows/workflow-agile-manual.mdcCursor rule
The file
Files
---
description: main rule
globs: main.mdc
alwaysApply: false
---
# 🔍 ISOLATION-FOCUSED MEMORY BANK SYSTEM
> **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"]
```
## 📚 VISUAL PROCESS MAPS
Each mode has its own visual process map:
- [VAN Mode Map](mdc:visual-maps/van-mode-map.md)
- [PLAN Mode Map](mdc:visual-maps/plan-mode-map.md)
- [CREATIVE Mode Map](mdc:visual-maps/creative-mode-map.md)
- [IMPLEMENT Mode Map](mdc:visual-maps/implement-mode-map.md)
- [REFLECT Mode Map](mdc:visual-maps/reflect-mode-map.md)
- [ARCHIVE Mode Map](mdc:visual-maps/archive-mode-map.md)
## 🔄 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.md](mdc:Core/command-execution.md) 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.

