0% found this document useful (0 votes)
68 views10 pages

Cursor AI_ 2-Week Journey and Rules of AI _ by Kenji _ Medium

Uploaded by

陳賢明
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views10 pages

Cursor AI_ 2-Week Journey and Rules of AI _ by Kenji _ Medium

Uploaded by

陳賢明
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Open in app

45
Search

Get unlimited access to the best of Medium for less than $1/week. Become a member

Cursor AI: 2-Week Journey and Rules of AI


I’ve officially switched from GitHub Copilot to Cursor AI.

Kenji · Follow
2 min read · Sep 12, 2024

Listen Share More

Two weeks into my journey with Cursor AI, I’ve fully transitioned from GitHub
Copilot. The switch has significantly increased my productivity, mostly through
multi-file editing and context-aware suggestions. This has reinforced my decision to
subscribe to Cursor AI.

Photo by Annie Spratt on Unsplash

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 1/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Let’s recap the key features that have made this transition so impactful:

Seamless VS Code integration

Powerful code completion and generation

Multi-file editing capabilities

Context-aware suggestions

Built-in chat interface for complex queries

While these features are impressive, I initially overlooked one more: “Rules for AI.”
This feature has quickly become essential, enhancing the AI’s ability to match my
coding style and project requirements.

What are “Rules for AI”?


“Rules for AI” allows you to set custom instructions that guide Cursor AI’s behavior
when generating code or providing suggestions. It’s like having a system prompt to
ensure your code aligns with your standards and best practices.

Setting up “Rules for AI” is straightforward:


1. Navigate to Cursor AI’s settings

2. Scroll to the “Rules for AI” section

3. Input custom rules, such as:

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 2/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

For Python:
Use snake_case for variable and function names.

Focus on readability and clarity over pure performance.

Always include proper error handling with try-except blocks.

Use descriptive variable names (e.g., is_authenticated instead of flag).

Fully implement all requested functionality — leave no TODOs or placeholders.

Benefits of “Rules for AI”


1. Tailor the AI’s behavior to match your coding style.

2. Ensure that the AI follows your team’s coding standards.

It’s worth noting that it takes time to fine-tune your rules and understand how they
impact the AI’s suggestions. Additionally, overly restrictive rules might limit the AI’s
creativity in problem-solving.

As I reflect on my journey from Copilot to Cursor, I’m struck by how rapidly the
landscape of AI-assisted development is evolving. Other tools like Devin and Replit
AI are pushing boundaries, which is good for us consumers. It is an exciting time,
and I’m sure there will be more AI tools coming out. However, for now, I am sticking
with Cursor AI.

If you find this helpful article, you might enjoy:

OpenHands (formerly OpenDevin)


Installation OpenDevin Guide
medium.com

2024 Podcast Playlist: 8 Essential Picks for Curious Minds

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 3/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Discover the Podcasts That Will Keep You Informed, Inspired, and
Entertained
medium.com

Artificial Intelligence AI Software Development Programming Data Science

Follow

Written by Kenji
185 Followers

I explore how AI & tech shape our lives, from innovation to personal growth. Writing helps me learn, and I'm
curious about where tech is taking us.

More from Kenji

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 4/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Kenji

Google NotebookLM-Part 2: Make Your Podcast Better


How to Use Better Inputs for Superior Podcast Results

Sep 21 40

Kenji in AI Unscripted

Autonomous Agents Like CrewAI Are Transforming Knowledge Work


Discover Real-World Examples, from Financial Analysis to Everyday Tasks, Powered by AI

6d ago 5

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 5/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Kenji

My Experience with OpenWebUI API Access: Overcoming Common


Integration Challenges
Tips and Solutions for Solving Common OpenWebUI API Access Issues

Sep 17 6

Kenji

GitHub Copilot vs Cursor: Levels Up and Closing the Gap


Multi-File Editing and Model Flexibility Mark Major Advances

Nov 4 53 1

See all from Kenji

Recommended from Medium

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 6/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Xiuer Old in JavaScript in Plain English

Microsoft launches a new generative AI script: GenAIScript!


Microsoft recently announced the launch of a new generative AI script: GenAIScript!

Oct 30 256 3

Kuldeepkumawat

Stuck Without Data? — Five Python Libraries Can Help!


One of the most annoying issues in a data science project or academic research is having no
data to work on. In many situations, we may…

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 7/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

4d ago 1

Lists

General Coding Knowledge


20 stories · 1714 saves

Coding & Development


11 stories · 893 saves

ChatGPT prompts
50 stories · 2195 saves

ChatGPT
21 stories · 864 saves

Abish Pius in Writing in the World of Artificial Intelligence

Don’t RAG it, RIG it with DataGemma (Code included)!


Full Article: DataGemma-FullPaper (datacommons.org)

Sep 25 52 1

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 8/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Kenji

Google NotebookLM-Part 2: Make Your Podcast Better


How to Use Better Inputs for Superior Podcast Results

Sep 21 40

Samar Singh

LightRAG : A GraphRAG Alternative.


How to Set Up LightRAG Locally?

Oct 26 80

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 9/10
2024/11/11 晚上10:48 Cursor AI: 2-Week Journey and Rules of AI | by Kenji | Medium

Lan Chu in Level Up Coding

Multimodal RAG Pipeline: Three Ways to Build It


Much of the world data exists as images, audios and videos , not just texts. Multimodal LLMs
systems are evolving to handle this…

3d ago 141 1

See more recommendations

https://medium.com/@kenji-onisuka/cursor-ai-2-week-journey-and-rules-of-ai-da5fecc83a3f 10/10

You might also like