The Project Nursery
dev.to·1w·
Discuss: DEV
📐Design Systems
Preview
Report Post

Giving Cursor your own patterns to copy from

AI is pretty good at copying patterns. It’s not as good at inventing them. Give it a blank slate and ask for “a service layer,” and you’ll get something generic... probably fine, but not how you’d do it yourself. Point it at code that already works the way you like, and it’ll copy that instead.

This is obvious in hindsight, but it took me a while to discover. I kept starting new projects from scratch, describing what I wanted, getting okay-ish results. Meanwhile I had several working projects with patterns I’d refined over time just sitting there.

The Setup

The trick that made this click for me was symlinking my existing projects into the same parent folder as my new one:

`mkdir ~/projects/nursery cd ~/projects/nursery ln -s …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help