claude-code-skills
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseClaude 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: in project root
.claude/skills/ - 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
undefinedbash
undefinedClone 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
undefinedgit clone https://github.com/user/skill-repo ~/.claude/skills/skill-name
undefinedManual Installation
手动安装
- Create skill folder in
.claude/skills/ - Add with frontmatter
SKILL.md - Restart Claude Code to pick up new skills
- 在 中创建技能文件夹
.claude/skills/ - 添加带有前置元数据的 文件
SKILL.md - 重启Claude Code以识别新技能
Verifying Installation
验证安装
bash
undefinedbash
undefinedList installed skills
列出已安装的技能
ls ~/.claude/skills/
ls ~/.claude/skills/
Check skill metadata
查看技能元数据
head ~/.claude/skills/skill-name/SKILL.md
undefinedhead ~/.claude/skills/skill-name/SKILL.md
undefinedUsing Skills
使用技能
Skills activate automatically based on your request context. You can also:
- Mention skill name explicitly in your prompt
- Use to bootstrap context for a repository
/init
技能会根据你的请求上下文自动激活。你也可以:
- 在提示词中明确提及技能名称
- 使用 命令为仓库初始化上下文
/init
Official Skills Repository
官方技能仓库
Key Official Skills
核心官方技能
| Skill | Purpose |
|---|---|
| docx | Word document manipulation |
| xlsx | Excel spreadsheet operations |
| pptx | PowerPoint presentations |
| PDF extraction and creation | |
| webapp-testing | Playwright-based web testing |
| mcp-builder | Create MCP servers |
| skill-creator | Interactive skill creation |
| 技能 | 用途 |
|---|---|
| docx | Word文档处理 |
| xlsx | Excel电子表格操作 |
| pptx | PowerPoint演示文稿处理 |
| PDF提取与创建 | |
| webapp-testing | 基于Playwright的Web测试 |
| mcp-builder | 创建MCP服务器 |
| skill-creator | 交互式技能创建 |
Claude Code Commands
Claude Code命令
- - Initialize project context
/init - Skills auto-load when relevant to your task
- - 初始化项目上下文
/init - 当技能与任务相关时会自动加载
Best Practices
最佳实践
- Keep skills focused on specific tasks
- Use progressive disclosure for large reference files
- Include scripts for automation
- Test skills in isolated environments first
- 保持技能专注于特定任务
- 对大型参考文件采用渐进式披露方式
- 包含自动化脚本
- 先在隔离环境中测试技能
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.mdThe 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包含完整的分类资源列表及所有链接。