Claude Code中英文系列教程33:用魔法打败魔法,利用官方Skill创建Skill

又没有协助生成Skill的Skill。

答案是:有!

Anthropic官方自己就开源了一个Skills仓库。

<https://github.com/anthropics/skills\>

仓库的Skills文件夹里,就是Claude官方,自己做的Skills,里面是一些关于创意与设计、开发与技术、企业与沟通以及文档的skills示例

spec目录 是 Agent Skills 规范

template 里面是技能模板

skills大概功能介绍如下:

!1.jpg(https://p0-xtjj-private.juejin.cn/tos-cn-i-73owjymdk6/0af6e66c2ef44e9a800bf355e3cd1c13\~tplv-73owjymdk6-jj-mark-v1:0:0:0:0:5o6Y6YeR5oqA5pyv56S-5Yy6IEAgQXdlc29tZUFJVG9vbHM=:q75.awebp?policy=eyJ2bSI6MywidWlkIjoiMTE2OTUzNjEwMjk2NzE0NCJ9\&rk3s=e9ecf3d6\&x-orig-authkey=f32326d3454f2ac7e96d3d06cdbb035152127018\&x-orig-expires=1771066580\&x-orig-sign=ISaLdD10NhGhu65J3R9dcph3e1o%3D)

里面能生成Skills的Skill,就是那个skill-creator。

安装这个Skill也特别简单。

就是把Skills文件夹,直接拖到你的本地目录里。

地址如下:

Claude Code:~/.claude/skills

OpenCode:~/.config/opencode/skill

或插件市场方式安装

可以在 Claude Code 中运行下面命令将仓库注册为 插件市场,然后再安装skills

/plugin marketplace add anthropics/skills

然后可以输入/plugin 安装 document-skills 或 example-skills,重启下终端,运行/skills,可以看到安装的skills

一般会安装到\~/.claude/skills 用户目录,如果是项目级的,放在.claude/skills

skills文件大致内容

```bash


name: my-skill-name

description: A clear description of what this skill does and when to use it


My Skill Name

Add your instructions here that Claude will follow when this skill is active

Examples

  • Example usage 1

  • Example usage 2

Guidelines

  • Guideline 1

  • Guideline 2

```

另外claude code官方仓库里面也有一些插件 <https://github.com/anthropics/claude-code\> 具体在plugins 目录下

有如下一些重要插件:

1,agent-sdk-dev Claude Agent SDK 开发套件

2,code-review 代码审查,有5个并行Agents

3,commit-commands 用于提交、推送和创建拉取请求

4,feature-dev 开发工作流程

5,frontend-design 前端设计

6,plugin-dev 插件开发

7,pr-review-toolkit PR 审查

插件结构:

```bash

plugin-name/

├── .claude-plugin/

│ └── plugin.json # Plugin metadata

├── commands/ # Slash commands (optional)

├── agents/ # Specialized agents (optional)

├── skills/ # Agent Skills (optional)

├── hooks/ # Event handlers (optional)

├── .mcp.json # External tool configuration (optional)

└── README.md # Plugin documentation

```

上面2个仓库中有一个共同的frontend-design,一个通过插件的方式提供,内容差不多

相关推荐
蝎子莱莱爱打怪7 小时前
🚀 🚀🚀2026年5月GitHub月榜精选:17个项目中挑出10个推荐,实操4个!
人工智能·后端·ai编程
沈麽鬼9 小时前
【人机协作:AI 编程高效落地指南】实战篇:人群适配与项目实操
ai编程·cursor·vibecoding
Lkstar10 小时前
高级提示技巧:Few-shot、Chain-of-Thought、自一致性——让大模型推理能力翻倍
程序员·llm·ai编程
烂屁股的爸爸10 小时前
Claude Code :Skills、MCP、Plugin 安装目录、权限问题
ai编程
lulu121654407811 小时前
Codex Computer Use 深度分析:AI桌面自动化的技术突破与行业影响
java·运维·人工智能·自动化·ai编程
JavaGuide11 小时前
Claude Code 怎么学?推荐 4 个高质量开源教程,从入门到实战
github·ai编程·claude
Holman11 小时前
Claude Code 工程化:从"偶尔惊艳"到"稳定输出"
ai编程
代码简单说11 小时前
Codex接入DeepSeek教程:使用CC-Switch配置API渠道(图文详解)
openai·ai编程
沈麽鬼11 小时前
【人机协作:AI 编程高效落地指南】提示词篇:AI指挥提示词体系
ai编程·cursor·vibecoding
sweet丶11 小时前
Git Worktree 与AI Coding 协作并行开发
ai编程