find-skills

对比查看原文与翻译

🇺🇸

原文

英文
🇨🇳

翻译

中文

Find Skills

查找技能

This skill helps you discover and install skills from the open agent skills ecosystem.
本技能可帮助你从开放Agent技能生态中发现并安装技能。

When to Use This Skill

何时使用本技能

Use this skill when the user:
  • Asks "how do I do X" where X might be a common task with an existing skill
  • Says "find a skill for X" or "is there a skill for X"
  • Asks "can you do X" where X is a specialized capability
  • Expresses interest in extending agent capabilities
  • Wants to search for tools, templates, or workflows
  • Mentions they wish they had help with a specific domain (design, testing, deployment, etc.)
当用户:
  • 提出“我该如何做X”这类问题,其中X可能是已有对应技能的常见任务
  • 说“找一个能做X的技能”或“有没有能做X的技能”
  • 问“你能做X吗”,其中X是一项专业能力
  • 表达出扩展Agent功能的兴趣
  • 想要搜索工具、模板或工作流
  • 提到希望在特定领域(设计、测试、部署等)获得帮助

What is the Skills CLI?

什么是Skills CLI?

The Skills CLI (
npx skills
) is the package manager for the open agent skills ecosystem. Skills are modular packages that extend agent capabilities with specialized knowledge, workflows, and tools.
Key commands:
  • 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
Browse skills at: https://skills.sh/
Skills CLI(
npx skills
)是开放Agent技能生态的包管理器。技能是模块化的包,可通过专业知识、工作流和工具扩展Agent的能力。
关键命令:
  • npx skills find [query]
    - 交互式或按关键词搜索技能
  • npx skills add <package>
    - 从GitHub或其他源安装技能
  • npx skills check
    - 检查技能更新
  • npx skills update
    - 更新所有已安装的技能
浏览技能: https://skills.sh/

How to Help Users Find Skills

如何帮助用户查找技能

Step 1: Understand What They Need

步骤1:理解用户需求

When a user asks for help with something, identify:
  1. The domain (e.g., React, testing, design, deployment)
  2. The specific task (e.g., writing tests, creating animations, reviewing PRs)
  3. Whether this is a common enough task that a skill likely exists
当用户请求帮助时,明确:
  1. 领域(例如:React、测试、设计、部署)
  2. 具体任务(例如:编写测试、创建动画、审核PR)
  3. 该任务是否足够常见,可能存在对应的技能

Step 2: Search for Skills

步骤2:搜索技能

Run the find command with a relevant query:
bash
npx skills find [query]
For example:
  • User asks "how do I make my React app faster?" →
    npx skills find react performance
  • User asks "can you help me with PR reviews?" →
    npx skills find pr review
  • User asks "I need to create a changelog" →
    npx skills find changelog
The command will return results like:
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
使用相关查询运行find命令:
bash
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

Step 3: Present Options to the User

步骤3:为用户展示选项

When you find relevant skills, present them to the user with:
  1. The skill name and what it does
  2. The install command they can run
  3. A link to learn more at skills.sh
Example response:
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
当找到相关技能时,向用户展示以下信息:
  1. 技能名称及其功能
  2. 可运行的安装命令
  3. 前往skills.sh了解更多的链接
示例回复:
我找到了一个可能对你有帮助的技能!“vercel-react-best-practices”技能提供了来自Vercel Engineering的React和Next.js性能优化指南。

安装命令:
npx skills add vercel-labs/agent-skills@vercel-react-best-practices

了解更多:https://skills.sh/vercel-labs/agent-skills/vercel-react-best-practices

Step 4: Offer to Install

步骤4:提供安装帮助

If the user wants to proceed, you can install the skill for them:
bash
npx skills add <owner/repo@skill> -g -y
The
-g
flag installs globally (user-level) and
-y
skips confirmation prompts.
如果用户想要继续,你可以为他们安装技能:
bash
npx skills add <owner/repo@skill> -g -y
-g
标志表示全局安装(用户级别),
-y
标志会跳过确认提示。

Common Skill Categories

常见技能分类

When searching, consider these common categories:
CategoryExample Queries
Web Developmentreact, nextjs, typescript, css, tailwind
Testingtesting, jest, playwright, e2e
DevOpsdeploy, docker, kubernetes, ci-cd
Documentationdocs, readme, changelog, api-docs
Code Qualityreview, lint, refactor, best-practices
Designui, ux, design-system, accessibility
Productivityworkflow, automation, git
搜索时,可参考以下常见分类:
分类示例查询
Web开发react, nextjs, typescript, css, tailwind
测试testing, jest, playwright, e2e
DevOpsdeploy, docker, kubernetes, ci-cd
文档docs, readme, changelog, api-docs
代码质量review, lint, refactor, best-practices
设计ui, ux, design-system, accessibility
生产力workflow, automation, git

Tips for Effective Searches

高效搜索技巧

  1. Use specific keywords: "react testing" is better than just "testing"
  2. Try alternative terms: If "deploy" doesn't work, try "deployment" or "ci-cd"
  3. Check popular sources: Many skills come from
    vercel-labs/agent-skills
    or
    ComposioHQ/awesome-claude-skills
  1. 使用具体关键词:“react testing”比仅用“testing”效果更好
  2. 尝试替代术语:如果“deploy”没有结果,试试“deployment”或“ci-cd”
  3. 查看热门源:许多技能来自
    vercel-labs/agent-skills
    ComposioHQ/awesome-claude-skills

When No Skills Are Found

未找到技能时

If no relevant skills exist:
  1. Acknowledge that no existing skill was found
  2. Offer to help with the task directly using your general capabilities
  3. Suggest the user could create their own skill with
    npx skills init
Example:
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
如果没有找到相关技能:
  1. 告知用户未找到现有技能
  2. 提出可以使用通用能力直接帮助完成任务
  3. 建议用户可以使用
    npx skills init
    创建自己的技能
示例:
我搜索了与“xyz”相关的技能,但未找到匹配结果。
我仍然可以直接帮你完成这项任务!你需要我继续吗?

如果你经常做这项任务,可以创建自己的技能:
npx skills init my-xyz-skill