Vibe Coding with Cursor: My R&D Week Adventure š Link to heading
TL;DR: Spent a week building cool stuff with Cursor, an AI-powered IDE. Found it surprisingly effective for both coding and managing my second brain. When your requirements are clear, itās almost magical! āØ
The Setup: R&D Week Vibes Link to heading
You know that feeling when R&D week rolls around, and youāre caught between āI should learn something usefulā and āI want to have funā? Well, this time I decided to combine both by diving deep into Cursor, an AI-powered code editor thatās been making waves in the developer community.
The mission was simple: Use Cursor for everything - from managing my notes to building small task-specific projects. And by everything, I mean everything.
What Makes Cursor Different? Link to heading
Unlike traditional IDEs that just help you write code, Cursor feels more like having a pair programmer who actually gets your context. Itās built on top of VSCode (so you get all the good stuff youāre used to) but adds a layer of AI-powered features that make development feel moreā¦ vibey? š
The Good Parts Link to heading
Context-Aware AI: The AI understands your project structure and can help with everything from code completion to refactoring. For example, when working on a React component, it automatically suggested appropriate hooks and state management patterns based on my componentās purpose. When your requirements are clear, itās almost magical how it can scaffold projects and implement patterns!
Rules Feature: This is where things get interesting. You can create custom rules and context for different types of work, both at the project and global level. Think project-specific coding standards, documentation patterns, and even architecture guidelines.
Notepads: Quick thoughts? Code snippets? The notepad feature is like having a smart scratchpad that understands code and can share context between different parts of your development workflow.
Second Brain Management: A Pleasant Surprise Link to heading
One of my unexpected discoveries was how well Cursor handles note-taking and second brain management. Hereās what made it click for me:
- Markdown support is top-notch
- AI understands context across files
- Easy to maintain structure with rules
- Quick navigation between related notes
- File attachments for enhanced documentation
- Dynamic references using @ mentions
The Rules Feature: A Game Changer Link to heading
The rules feature deserves its own spotlight. Cursor offers two powerful ways to customize AI behavior (note that the older .cursorrules
file is being deprecated in favor of this new system):
Project Rules (
.cursor/rules
directory):- Semantic descriptions for specific use cases
- File pattern matching with glob patterns
- Automatic attachment when matching files are referenced
- Chain multiple rules using @file references
- Version controlled with your project
- Create new rules via command palette (
Cmd + Shift + P
>New Cursor Rule
)
Global Rules (Cursor Settings):
- Applied across all projects
- Perfect for consistent preferences
- Control output language and response style
- Set universal development guidelines
Pro tip: Use project rules whenever possible - theyāre more flexible, can be version controlled, and provide better granular control over different parts of your project.
Iāve set up different contexts for various types of work:
- Technical blog posts (with specific writing guidelines)
- Project documentation (with architecture patterns)
- Personal notes (with custom templates)
- Code standards (with framework-specific rules)
Each context comes with its own set of rules and AI behavior. Itās like having multiple specialized assistants at your disposal.
Notepads: Beyond Simple Notes Link to heading
The Notepads feature (currently in beta) has been a revelation. Think of them as enhanced reference documents that go beyond regular .cursorrules
. I use them for:
Dynamic Boilerplate Generation:
- Templates for common code patterns
- Project-specific scaffolding rules
- Consistent code structure templates
Architecture Documentation:
- Frontend specifications
- Backend design patterns
- Data model documentation
Development Guidelines:
- Team conventions
- Best practices
- Project-specific rules
The ability to share context between composers and chat interactions makes them incredibly powerful. Plus, you can attach files and use @ mentions to create a web of connected knowledge.
Small Projects, Big Impact Link to heading
During the week, I worked on several small, task-specific projects. The workflow typically went like this:
- Create a new project with clear requirements
- Set up project-specific rules and templates
- Let the AI handle boilerplate and routine coding
- Focus on architecture and edge cases
The AI handled a lot of the repetitive work, letting me focus on the creative aspects of each project. The clearer my requirements were, the more magical the results became. āØ
Lessons Learned Link to heading
AI-Powered Doesnāt Mean AI-Dependent: Cursor enhances your workflow without taking over.
Rules Are Your Friend: Taking time to set up proper rules pays off immensely.
Context is King: The more context you provide, the better the AI assistance becomes.
Second Brain Benefits: Itās not just for coding; itās a genuine knowledge management tool.
Clear Requirements = Magic: The more precise your task definition, the better the results.
Whatās Next? Link to heading
Iām planning to:
- Expand my rule sets for different types of work
- Create more structured templates for common architectural patterns
- Explore advanced AI features like multi-file refactoring
- Share my rules and templates with the community
Conclusion Link to heading
R&D weeks are about trying new things and finding better ways to work. This experiment with Cursor turned out to be more than just playing with a new tool - itās changed how I think about IDE capabilities and knowledge management.
The combination of familiar VSCode features with AI assistance, especially the rules system, makes it a powerful tool for both coding and knowledge work. Itās not perfect (what is?), but itās definitely earned its place in my daily toolkit.
Remember: The best tools are the ones that enhance your natural workflow rather than forcing you to adapt to them. Cursor does this surprisingly well. š