Cursor skill for capturing learnings from conversations into reusable skills (opens in new tab)

gist.github.com·11w·Open original (opens in new tab)
namedescription
capture-skillCapture learnings, patterns, or workflows from the current conversation into a new or existing skill. Use when the user wants to save what was learned, discovered, or built during a conversation as a reusable skill for future sessions.

Capture Skill from Conversation

This skill helps you extract knowledge, patterns, and workflows from the current conversation and persist them as a reusable skill.

When to Use

  • The user says "capture this as a skill" or "save this for next time"
  • A useful workflow, pattern, or piece of domain knowledge emerged during the conversation
  • The user wants to update an existing skill with new learnings
  • The conversation uncovered non-obvious steps, gotchas, or best practices worth preserving

Capture Process

Phase 1: Identify What to Capture

Review the conversation for:

  1. Workflows: Multi-step processes that were figured out through trial and error
  2. Domain knowledge: Non-obvious facts, configurations, or constraints discovered
  3. Gotchas and fixes: Problems encountered and their solutions
  4. Patterns: Code patterns, command sequences, or templates that worked well
  5. Decision rationale: Why certain approaches were chosen over alternatives

Summarize what you plan to capture and confirm with the user before proceeding.

Phase 2: Decide Destination

If the user already specified a skill or the destination is obvious from context, just proceed. Otherwise, use the AskQuestion tool (or ask conversationally) to clarify:

New or existing skill?

  • If existing: Which skill to update? (list relevant skills from ~/.cursor/skills/ and .cursor/skills/)
  • If new: What should it be named?

Storage location (for new skills):

  • Personal (~/.cursor/skills/) — available across all projects
  • Project (.cursor/skills/) — shared with the repository

Phase 3: Draft the Skill Content

When capturing into a new skill:

  1. Choose a descriptive name (lowercase, hyphens, max 64 chars)
  2. Write a specific description including WHAT and WHEN (third person)
  3. Distill the conversation into concise, actionable instructions
  4. Include concrete examples drawn from the conversation
  5. Add any utility scripts or commands that were used

When updating an existing skill:

  1. Read the existing SKILL.md
  2. Identify where new learnings fit (new section, updated steps, additional examples)
  3. Integrate without duplicating existing content
  4. Preserve the existing structure and voice

Phase 4: Distillation Guidelines

The goal is to transform a messy conversation into clean, reusable instructions.

Do:

Loading more...

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
Save / unsave
s
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