building-skills-from-patterns
Building Skills From Patterns
Skills are reusable SKILL.md files. This meta-skill tells the agent to promote repeated muscle memory into a named skill: research once, encode the workflow, reuse forever.
When to trigger
- The user has asked for the same sequence three or more times (e.g. “always run lint then tsc then test before commit”).
- The agent notices it is re-deriving the same steps on every task in this repo (e.g. “how we deploy preview branches”).
- A correction sounds like a policy (“never use raw SQL here — always the repository layer”) — pair with
suggesting-cursor-rulesif it should be always-on; use a skill if it is a procedure with steps.
Workflow
1. Name the pattern
Choose a short slug (lowercase, hyphens): verifying-api-before-merge, releasing-mobile-build, etc.
2. Draft SKILL.md
Create .cursor/skills/<slug>/SKILL.md (or in this repo’s pattern, copy from resources/<slug>/SKILL.md when contributing upstream).
More from spencerpauly/awesome-cursor-skills
saving-workspace-context
Automatically persist useful context — research, decisions, learnings, templates — to workspace files so knowledge survives across conversations.
38reviewing-code
Perform a thorough code review focused on correctness, maintainability, performance, and best practices.
37database-design
Design database schemas — tables, relationships, indexes, constraints, and ORM setup. Covers relational design, normalization, and common patterns.
36suggesting-cursor-rules
When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently.
35systematic-debugging
Structured debugging methodology — reproduce, isolate, hypothesize, verify. Covers git bisect, binary search, logging, and minimal reproduction.
33auditing-security
Perform a systematic security audit of a codebase, checking for OWASP Top 10 vulnerabilities, secrets exposure, and insecure patterns.
33