协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
suggesting-cursor-rules if it should be always-on; use a skill if it is a procedure with steps.Choose a short slug (lowercase, hyphens): verifying-api-before-merge, releasing-mobile-build, etc.
SKILL.mdCreate .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):
npm, gh, MCP tools).Match the tone of other skills in the repo: concrete commands, no filler.
Tell the user where the file lives and that the agent will pick it up on the next chat in that workspace.
| Mechanism | Use for |
|---|---|
| Skill | On-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.