claude-code-skills

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Claude Code Skills

Claude Code技能

Scope

适用范围

Use this skill when:
  • Installing skills for Claude Code
  • Developing Claude Code specific skills
  • Understanding Claude Code skill discovery
在以下场景使用本技能:
  • 为Claude Code安装技能
  • 开发Claude Code专属技能
  • 了解Claude Code技能发现机制

Installation Paths

安装路径

  • Project scope:
    .claude/skills/
    in project root
  • User scope:
    ~/.claude/skills/
Claude Code auto-discovers skills from these directories.
  • 项目范围:项目根目录下的
    .claude/skills/
  • 用户范围
    ~/.claude/skills/
Claude Code会自动从这些目录中发现技能。

Installing Skills

安装技能

From GitHub Repository

从GitHub仓库安装

bash
undefined
bash
undefined

Clone to project

克隆到项目目录

git clone https://github.com/user/skill-repo .claude/skills/skill-name
git clone https://github.com/user/skill-repo .claude/skills/skill-name

Or clone to user directory

或克隆到用户目录

git clone https://github.com/user/skill-repo ~/.claude/skills/skill-name
undefined
git clone https://github.com/user/skill-repo ~/.claude/skills/skill-name
undefined

Manual Installation

手动安装

  1. Create skill folder in
    .claude/skills/
  2. Add
    SKILL.md
    with frontmatter
  3. Restart Claude Code to pick up new skills
  1. .claude/skills/
    中创建技能文件夹
  2. 添加带有前置元数据的
    SKILL.md
    文件
  3. 重启Claude Code以识别新技能

Verifying Installation

验证安装

bash
undefined
bash
undefined

List installed skills

列出已安装的技能

ls ~/.claude/skills/
ls ~/.claude/skills/

Check skill metadata

查看技能元数据

head ~/.claude/skills/skill-name/SKILL.md
undefined
head ~/.claude/skills/skill-name/SKILL.md
undefined

Using Skills

使用技能

Skills activate automatically based on your request context. You can also:
  • Mention skill name explicitly in your prompt
  • Use
    /init
    to bootstrap context for a repository
技能会根据你的请求上下文自动激活。你也可以:
  • 在提示词中明确提及技能名称
  • 使用
    /init
    命令为仓库初始化上下文

Official Skills Repository

官方技能仓库

Key Official Skills

核心官方技能

SkillPurpose
docxWord document manipulation
xlsxExcel spreadsheet operations
pptxPowerPoint presentations
pdfPDF extraction and creation
webapp-testingPlaywright-based web testing
mcp-builderCreate MCP servers
skill-creatorInteractive skill creation
技能用途
docxWord文档处理
xlsxExcel电子表格操作
pptxPowerPoint演示文稿处理
pdfPDF提取与创建
webapp-testing基于Playwright的Web测试
mcp-builder创建MCP服务器
skill-creator交互式技能创建

Claude Code Commands

Claude Code命令

  • /init
    - Initialize project context
  • Skills auto-load when relevant to your task
  • /init
    - 初始化项目上下文
  • 当技能与任务相关时会自动加载

Best Practices

最佳实践

  1. Keep skills focused on specific tasks
  2. Use progressive disclosure for large reference files
  3. Include scripts for automation
  4. Test skills in isolated environments first
  1. 保持技能专注于特定任务
  2. 对大型参考文件采用渐进式披露方式
  3. 包含自动化脚本
  4. 先在隔离环境中测试技能

Full Resource List

完整资源列表

For more detailed Claude Code skill resources, complete link lists, or the latest information, use WebFetch to retrieve the full README.md:
https://raw.githubusercontent.com/gmh5225/awesome-skills/refs/heads/main/README.md
The README.md contains the complete categorized resource list with all links.
如需获取更详细的Claude Code技能资源、完整链接列表或最新信息,可使用WebFetch获取完整的README.md:
https://raw.githubusercontent.com/gmh5225/awesome-skills/refs/heads/main/README.md
该README.md包含完整的分类资源列表及所有链接。