技能创建指南
skill-creator
创建高效技能的指南。当用户想要创建新技能(或更新现有技能),以专业知识、工作流或工具集成的方式扩展 Claude 的能力时使用。
- License 许可
- Apache-2.0
- 最近更新
- 2026-03-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- skill-creator
- source
- anthropics/skills
- license
- Apache-2.0
- description
- Guide for creating effective skills. Use when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
02 资源文件 1
- 参考文档.skill-meta.json141 B
03 SKILL.md 正文
Skill Creator
Skills are modular packages that extend Claude's capabilities by providing specialized knowledge, workflows, and tools.
Core Principles
Concise is Key
The context window is a shared resource. Only add context Claude doesn't already have. Challenge each piece: "Does Claude really need this?"
Anatomy of a Skill
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter (name, description)
│ └── Markdown instructions
└── Bundled Resources (optional)
├── scripts/ - Executable code
├── references/ - Documentation
└── assets/ - Templates, images
SKILL.md Format
---
name: my-skill-name
description: A clear description of what this skill does and when to use it
---
# My Skill Name
[Instructions for Claude when this skill is active]
## Examples
- Example usage 1
- Example usage 2
## Guidelines
- Guideline 1
- Guideline 2
Skill Creation Process
Step 1: Understand with Examples
Gather concrete examples of how the skill will be used. Ask:
- "What functionality should this skill support?"
- "What would a user say that should trigger this skill?"
Step 2: Plan Reusable Contents
Analyze examples to identify:
- Scripts: Code that gets rewritten repeatedly
- References: Documentation Claude needs to reference
- Assets: Templates, images for output
Step 3: Initialize
Create the skill directory structure with SKILL.md and resource folders.
Step 4: Implement
- Start with reusable resources (scripts, references, assets)
- Write clear SKILL.md with proper frontmatter
- Test scripts by actually running them
Step 5: Iterate
Use the skill on real tasks, notice struggles, improve.
Progressive Disclosure
Keep SKILL.md under 500 lines. Split content:
# PDF Processing
## Quick start
[code example]
## Advanced features
- **Form filling**: See [FORMS.md](FORMS.md)
- **API reference**: See [REFERENCE.md](REFERENCE.md)
What NOT to Include
- README.md
- INSTALLATION_GUIDE.md
- CHANGELOG.md
- User-facing documentation
Skills are for AI agents, not humans.
04 同仓库更多 Skills
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Python 应用开发
python-development
现代 Python 开发,涵盖 Python 3.12+、Django、FastAPI、异步编程模式以及生产环境最佳实践。适用于 Python 项目、API、数据处理或自动化脚本。
大模型应用开发
llm-application-dev
使用大型语言模型(LLM)构建应用,涵盖提示词工程、RAG 模式与 LLM 集成。适用于 AI 驱动的功能、聊天机器人或基于 LLM 的自动化。
JavaScript/TypeScript 开发
javascript-typescript
使用 ES6+、Node.js、React 和现代 Web 框架进行 JavaScript 与 TypeScript 开发。适用于前端、后端或全栈 JavaScript/TypeScript 项目。
前端界面设计与实现
frontend-design
创建风格独特、达到生产级标准且设计品质卓越的前端界面。当用户要求构建 Web 组件、页面、作品、海报或应用时使用此技能(示例包括网站、落地页、仪表盘、React 组件、HTML/CSS 布局,或需要对任何 Web UI 进行样式设计与美化)。生成富有创意且精致的代码与 UI 设计,避免千篇一律的 AI 审美风格。
数据库设计与优化
database-design
面向 PostgreSQL、MySQL 和 NoSQL 数据库的数据库模式(Schema)设计、优化与迁移方法。用于设计数据结构、编写迁移脚本,或优化查询。