patternsdev/skills 是从 https://github.com/patternsdev/skills. 导入的代理技能候选
概览
patternsdev/skills 是从 https://github.com/patternsdev/skills. 导入的代理技能候选
概述(AI 翻译)
JavaScript、React和Vue开发代理技能。来自 patterns.dev。
58项个人技能。只安装你需要的图案。
快速启动
按技术分类 — 将技能安装到一个堆栈中:
按技能名称 — 只安装你想要的特定图案:
个别
--skill值使用技能文件夹名称(例如hooks-pattern、ai-ui-patterns),而非路径(react/hooks-pattern)。
手动安装
克隆仓库并复制你想要的技能目录:
可与.cursor/skills/、.claude/skills/或.codex/skills/使用。
JavaScript 技能
| 技能 | 类型 | 描述 |
|---|---|---|
singleton-pattern |
设计 | 在整个应用中共享一个全局实例 |
observer-pattern |
设计 | 使用可观测量在事件发生时通知订阅者 |
proxy-pattern |
设计 | 拦截与控制目标物体的交互 |
prototype-pattern |
设计 | 许多同类型对象共享属性 |
module-pattern |
设计 | 将你的代码拆分成更小、可重复使用的部分 |
mixin-pattern |
设计 | 为对象或类添加功能而无需继承 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。

Patterns.dev Skills
Agent Skills for JavaScript, React, and Vue development. From patterns.dev.
58 individual skills. Install only the patterns you need.
Quick Start
By technology — install skills in a stack:
npx skills add PatternsDev/skills/javascript
npx skills add PatternsDev/skills/react
npx skills add PatternsDev/skills/vue
By skill name — install only the specific patterns you want:
npx skills add PatternsDev/skills --skill hooks-pattern
npx skills add PatternsDev/skills --skill singleton-pattern
npx skills add PatternsDev/skills --skill composables
npx skills add PatternsDev/skills --skill ai-ui-patterns
Individual
--skillvalues use the skill folder name (e.g.hooks-pattern,ai-ui-patterns), not the path (react/hooks-pattern).
Manual Installation
Clone the repo and copy the skill directories you want:
cp -r react/hooks-pattern ~/.cursor/skills/
cp -r javascript/singleton-pattern ~/.cursor/skills/
cp -r vue/composables ~/.cursor/skills/
Works with .cursor/skills/, .claude/skills/, or .codex/skills/.
JavaScript Skills
| Skill | Type | Description |
|---|---|---|
singleton-pattern |
Design | Share a single global instance throughout our application |
observer-pattern |
Design | Use observables to notify subscribers when an event occurs |
proxy-pattern |
Design | Intercept and control interactions to target objects |
prototype-pattern |
Design | Share properties among many objects of the same type |
module-pattern |
Design | Split up your code into smaller, reusable pieces |
mixin-pattern |
Design | Add functionality to objects or classes without inheritance |
mediator-pattern |
Design | Use a central mediator object to handle communication between components |
flyweight-pattern |
Design | Reuse existing instances when working with identical objects |
factory-pattern |
Design | Use a factory function in order to create objects |
command-pattern |
Design | Decouple methods that execute tasks by sending commands to a commander |
provider-pattern |
Design | Make data available to multiple child components |
loading-sequence |
Performance | Optimize your loading sequence to improve how quickly your app is usable |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add patternsdev/skills