본문으로 건너뛰기
cccskills
무료GitHub에 공개

building-skills-from-patterns

When the same multi-step workflow repeats in Cursor (user corrections or agent redos), capture it as a new SKILL.md under .cursor/skills/ so future sessions load it automatically.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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-rules if 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).

Frontmatter:

---
name: <slug>
description: One line: what it does and when to use it. Ends with a clear trigger.
user-invocable: true   # optional, if the user should be able to invoke by name
---

Body sections (keep lean):

  1. Title — human-readable.
  2. When to use — bullets.
  3. Steps — numbered, imperative, tool names where useful (npm, gh, MCP tools).
  4. Notes — edge cases, safety, when not to use.

Match the tone of other skills in the repo: concrete commands, no filler.

3. Validate

  • Description is specific enough for Cursor to match the skill when the user describes the task.
  • Steps are executable by an agent without guessing repo layout (or say “detect package manager from lockfile”).
  • No secrets or machine-specific paths.

4. Point the user to it

Tell the user where the file lives and that the agent will pick it up on the next chat in that workspace.

Relationship to rules and hooks

MechanismUse for
SkillOn-demand procedure, branching steps, tool usage.
Rule (.cursor/rules/)Always-on conventions, style, file patterns.
Hook (.cursor/hooks.json)Automate after file save / stop events.

If the pattern is “every time I save, run X,” suggest a hook instead. If it is “when I ask to ship,” keep it as a skill.

Notes

  • Prefer one skill per workflow — avoid megaskills that try to cover every situation.
  • Update an existing skill instead of adding a duplicate if the workflow evolves.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

0xAidan/polymarket-bot-test42026년 9월 4일 업데이트

Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

0xAidan/polymarket-bot-test42026년 9월 4일 업데이트

Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

0xAidan/polymarket-bot-test42026년 9월 4일 업데이트

Add authentication to a web application using NextAuth.js (Auth.js), including OAuth providers, session management, and protected routes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

0xAidan/polymarket-bot-test42026년 9월 4일 업데이트

Dockerize an application with a production-ready Dockerfile, docker-compose setup, and .dockerignore.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

0xAidan/polymarket-bot-test42026년 9월 4일 업데이트

Set up Playwright end-to-end testing in a project, including test configuration, example tests, and CI integration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

0xAidan/polymarket-bot-test42026년 9월 4일 업데이트

0xAidan의 스킬 모두 보기

이 스킬의 문제 신고