Find Skills技能使用说明
2026-03-29
新闻来源:网淘吧
围观:18
电脑广告
手机广告
查找技能
使用技能命令行工具(npx skills)从开放的智能体技能生态系统中发现并安装技能。
技能命令行工具命令
npx skills find [query] # Search for skills interactively or by keyword
npx skills add <package> # Install a skill from GitHub or other sources
npx skills check # Check for skill updates
npx skills update # Update all installed skills
浏览技能请访问:https://skills.sh/

如何帮助用户查找技能
步骤1:了解他们的需求
识别:
- 领域(例如:React、测试、设计、部署)
- 具体任务(例如:编写测试、创建动画、审查PR)
- 该任务是否常见到很可能存在相应技能
步骤2:搜索技能
npx skills find [query]
示例:
- "如何让我的React应用运行更快?" →
npx skills find react performance - "你能帮我审查PR吗?" →
npx skills find pr review - "我需要创建一个变更日志" →
npx skills find changelog
结果格式:
Install with npx skills add <owner/repo@skill>
vercel-labs/agent-skills@vercel-react-best-practices
└ https://skills.sh/vercel-labs/agent-skills/vercel-react-best-practices
第3步:向用户展示选项
包括:
- 技能名称及其功能
- 安装命令
- 指向 skills.sh 了解更多信息的链接
示例:
I found a skill that might help! The "vercel-react-best-practices" skill provides
React and Next.js performance optimization guidelines from Vercel Engineering.
To install it:
npx skills add vercel-labs/agent-skills@vercel-react-best-practices
Learn more: https://skills.sh/vercel-labs/agent-skills/vercel-react-best-practices
第4步:提供安装选项
使用全局标志和自动确认进行安装:
npx skills add <owner/repo@skill> -g -y
常见技能类别
| 类别 | 示例查询 |
|---|---|
| Web 开发 | react, nextjs, typescript, css, tailwind |
| 测试 | testing, jest, playwright, e2e |
| DevOps | deploy, docker, kubernetes, ci-cd |
| 文档 | docs, readme, changelog, api-docs |
| 代码质量 | review, lint, refactor, best-practices |
| 设计 | 用户界面,用户体验,设计系统,可访问性 |
| 生产力 | 工作流,自动化,Git |
高效搜索技巧
- 使用具体关键词:例如,"react 测试" 比仅用 "测试" 更好
- 尝试替代术语:如果 "部署" 无效,可尝试 "deployment" 或 "持续集成/持续部署"
- 查看热门来源:
vercel-labs/agent-skills或ComposioHQ/awesome-claude-skills
当未找到相关技能时
如果未发现相关技能:
- 告知用户未找到现有技能
- 提供直接使用通用能力协助任务的方案
- 建议通过以下命令创建自定义技能:
npx skills init
I searched for skills related to "xyz" but didn't find any matches.
I can still help you with this task directly! Would you like me to proceed?
If this is something you do often, you could create your own skill:
npx skills init my-xyz-skill
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~