{"name":"cursor-memory-bank: Structured AI Development Workflow with Cursor 2.0 Commands","description":"cursor-memory-bank is a modular, documentation-driven framework designed to enhance AI-assisted development within the Cursor editor. It leverages Cursor 2.0 commands to provide persistent memory and guide AI through a structured development workflow. This system uses visual process maps and token optimization to streamline tasks from initialization to archiving.","github":"https://github.com/vanzan01/cursor-memory-bank","url":"https://osrepos.com/repo/vanzan01-cursor-memory-bank","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/vanzan01-cursor-memory-bank","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/vanzan01-cursor-memory-bank.md","json":"https://osrepos.com/repo/vanzan01-cursor-memory-bank.json","topics":["AI Development","Cursor Editor","Workflow Automation","LLM Tools","Software Engineering","Productivity","Markdown","Mermaid"],"keywords":["AI Development","Cursor Editor","Workflow Automation","LLM Tools","Software Engineering","Productivity","Markdown","Mermaid"],"stars":null,"summary":"cursor-memory-bank is a modular, documentation-driven framework designed to enhance AI-assisted development within the Cursor editor. It leverages Cursor 2.0 commands to provide persistent memory and guide AI through a structured development workflow. This system uses visual process maps and token optimization to streamline tasks from initialization to archiving.","content":"## Introduction\n\ncursor-memory-bank is a sophisticated, documentation-driven framework that transforms AI-assisted software development into a structured, phase-based process within the Cursor editor. It utilizes Cursor 2.0 commands to establish persistent memory and guide the AI through a comprehensive development workflow, from initial project setup to final archiving. The system is designed for token optimization, employing hierarchical rule loading and progressive documentation to ensure efficiency.\n\nAt its core, cursor-memory-bank operates through six specialized commands:\n*   `/van`: Initializes projects, detects platform, and determines task complexity.\n*   `/plan`: Creates detailed implementation plans.\n*   `/creative`: Explores design options for components requiring decisions.\n*   `/build`: Systematically implements planned changes.\n*   `/reflect`: Reviews completed work and documents lessons learned.\n*   `/archive`: Creates comprehensive documentation and updates the Memory Bank.\n\nEach command interacts with a shared `memory-bank/` directory, maintaining context across the entire workflow and adapting its behavior based on task complexity levels.\n\n## Installation\n\nTo get started with cursor-memory-bank, ensure you meet the prerequisites and follow these simple steps.\n\n### Prerequisites\n*   **Cursor Editor**: Version 2.0 or higher is required for the commands feature.\n*   **AI Model**: Claude 4 Sonnet or Claude 4 Opus is recommended for optimal results, especially for the `/creative` command's \"Think\" tool methodology.\n\n### Step 1: Get the Files\n\nClone the repository into your project directory:\n\nbash\ngit clone https://github.com/vanzan01/cursor-memory-bank.git\n\n\nAlternatively, if downloading a ZIP file:\n*   Copy the `.cursor` folder to your project directory. This folder contains both the rules and commands necessary for operation.\n*   Other explanatory documents are not strictly required for Memory Bank operation, but can be copied to a separate folder if desired.\n\n### Step 2: Using Commands\n\nCommands are ready to use immediately after installation, requiring no additional setup.\n\n1.  **Type `/` in the Cursor chat** to view the available commands:\n    *   `/van` - Initialization & entry point\n    *   `/plan` - Task planning\n    *   `/creative` - Design decisions\n    *   `/build` - Code implementation\n    *   `/reflect` - Task reflection\n    *   `/archive` - Task archiving\n2.  **Start with `/van`** to initialize your project, for example:\n    \n    /van Initialize project for adding user authentication feature\n    \n3.  **Follow the workflow**: Each command will guide you to the next logical step in the development process.\n\n## Examples\n\ncursor-memory-bank adapts its workflow based on the complexity of your task, ensuring an efficient and guided process.\n\n### Quick Start Workflow Examples\n\n*   **Level 1 (Quick Bug Fix):**\n    \n    /van ? /build ? /reflect ? /archive\n    \n*   **Level 2 (Simple Enhancement):**\n    \n    /van ? /plan ? /build ? /reflect ? /archive\n    \n*   **Level 3-4 (Feature/System):**\n    \n    /van ? /plan ? /creative ? /build ? /reflect ? /archive\n    \n\n### Complete Example Workflow (Level 3 Feature)\n\nHere is a complete example for implementing a Level 3 feature:\n\nbash\n# Step 1: Initialize the project and task\n/van Add user authentication with OAuth2 support\n\n# Step 2: Plan the implementation (VAN routes to PLAN for Level 3)\n/plan\n\n# Step 3: Explore design options for OAuth integration\n/creative\n\n# Step 4: Implement the feature based on the plan and design decisions\n/build\n\n# Step 5: Reflect on the implementation and document lessons learned\n/reflect\n\n# Step 6: Archive the completed task and documentation\n/archive\n\n\n## Why Use cursor-memory-bank?\n\ncursor-memory-bank offers several compelling advantages for developers working with AI assistants:\n\n*   **Structured Development Workflow**: It transforms ad-hoc coding into a coordinated, phase-based system, ensuring a logical progression from idea to completion.\n*   **Token Optimization**: Through hierarchical rule loading and progressive documentation, it significantly reduces token usage, leading to more efficient and cost-effective AI interactions.\n*   **Persistent Context and Memory**: The shared `memory-bank/` directory ensures that critical context is preserved across commands, allowing the AI to maintain a consistent understanding of the project state.\n*   **Adaptive Guidance**: Workflows adjust automatically based on task complexity (Levels 1-4), providing tailored guidance and documentation requirements.\n*   **Native Cursor 2.0 Integration**: Seamlessly integrates with Cursor's command feature, requiring no complex setup.\n*   **Visual Process Maps**: Clear visual representations for each development phase help in understanding and navigating the workflow.\n*   **Documentation-Driven**: Emphasizes comprehensive documentation throughout the process, from planning to archiving, improving project clarity and maintainability.\n\n## Links\n\nFor more detailed information, refer to the official documentation within the repository:\n\n*   [Commands Documentation](https://github.com/vanzan01/cursor-memory-bank/blob/main/.cursor/commands/README.md){:target=\"_blank\"}\n*   [Commands Migration Guide](https://github.com/vanzan01/cursor-memory-bank/blob/main/COMMANDS_MIGRATION.md){:target=\"_blank\"}\n*   [Memory Bank Optimizations](https://github.com/vanzan01/cursor-memory-bank/blob/main/MEMORY_BANK_OPTIMIZATIONS.md){:target=\"_blank\"}\n*   [Release Notes](https://github.com/vanzan01/cursor-memory-bank/blob/main/RELEASE_NOTES.md){:target=\"_blank\"}\n*   [Memory Bank Upgrade Guide](https://github.com/vanzan01/cursor-memory-bank/blob/main/memory_bank_upgrade_guide.md){:target=\"_blank\"}\n*   [CREATIVE Mode and Claude's \"Think\" Tool](https://github.com/vanzan01/cursor-memory-bank/blob/main/creative_mode_think_tool.md){:target=\"_blank\"}\n*   [Anthropic's Claude \"Think\" tool methodology blog](https://www.anthropic.com/engineering/claude-think-tool){:target=\"_blank\"}","metrics":{"detailViews":4,"githubClicks":10},"dates":{"published":null,"modified":"2025-12-09T08:01:08.000Z"}}