Loading...
Loading...
Compare original and translation side by side
undefinedundefinedundefinedundefined---
name: my-skill
description: Brief description of what it does and when to use it.
------
name: my-skill
description: 简要说明技能的功能及适用场景。
---undefinedundefined---
name: lowercase-with-hyphens # Max 64 chars, [a-z0-9-] only
description: What it does AND when to use it. Include trigger keywords.
---description---
name: lowercase-with-hyphens # 最多64个字符,仅允许[a-z0-9-]
description: 说明技能功能及适用场景,包含触发关键词。
---description---
name: safe-reader
description: Read-only file access. Use for code review without modifications.
allowed-tools: Read, Grep, Glob
---allowed-tools---
name: safe-reader
description: 只读文件访问权限。用于无需修改的代码审查场景。
allowed-tools: Read, Grep, Glob
---allowed-toolsundefinedundefined
---
---| Type | Location | Scope | Shared |
|---|---|---|---|
| Personal | | All your projects | No |
| Project | | This repo | Yes (git) |
| Plugin | Via installed plugins | Per plugin | Via marketplace |
| 类型 | 存储位置 | 适用范围 | 是否可共享 |
|---|---|---|---|
| 个人技能 | | 所有项目 | 否 |
| 项目技能 | | 当前仓库 | 是(通过Git) |
| 插件技能 | 通过已安装的插件 | 单个插件 | 是(通过市场) |
my-skill/
├── SKILL.md # Required
├── reference.md # Optional docs
├── examples/ # Optional examples
├── scripts/ # Optional utilities
│ └── helper.ts
└── templates/ # Optional templatesSee [reference.md](reference.md) for details.
Run the helper:
` ` `bash
bun scripts/helper.ts
` ` `my-skill/
├── SKILL.md # 必填文件
├── reference.md # 可选文档
├── examples/ # 可选示例
├── scripts/ # 可选工具脚本
│ └── helper.ts
└── templates/ # 可选模板详情请查看[reference.md](reference.md)。
运行辅助脚本:
```bash
bun scripts/helper.ts
Claude仅在需要时读取支持文件(渐进式披露)。
---description: Helps with datadescription: Analyze Excel spreadsheets, create pivot tables, generate charts. Use when working with Excel files, .xlsx format, or spreadsheet analysis.description: 处理数据相关工作description: 分析Excel电子表格、创建数据透视表、生成图表。适用于处理Excel文件、.xlsx格式或电子表格分析场景。~/.claude/skills/api-testing/SKILL.md~/.claude/skills/api-testing/SKILL.md---
name: api-testing
description: Test REST APIs with curl and analyze responses. Use when testing endpoints, debugging APIs, or validating HTTP requests.
------
name: api-testing
description: 使用curl测试REST API并分析响应。适用于测试接口、调试API或验证HTTP请求场景。
--- undefined undefined bash curl -X GET "https://api.example.com/users" curl -X POST "https://api.example.com/users" \ -H "Content-Type: application/json" \ -d '{"name": "John"}' curl -X GET "https://api.example.com/users"
curl -X POST "https://api.example.com/users" \
-H "Content-Type: application/json" \
-d '{"name": "John"}' bash curl -H "Authorization: Bearer $TOKEN" \ "https://api.example.com/protected" curl -H "Authorization: Bearer $TOKEN" \
"https://api.example.com/protected" bash curl -o response.json "https://api.example.com/data" curl -o response.json "https://api.example.com/data" undefined undefinedjq
---jq
---undefinedundefinedundefinedundefinedundefinedundefined
Ensure:
- Opening `---` on line 1
- Closing `---` before content
- No tabs (use spaces)
- Strings with special chars are quoted
---
需确保:
- 开头的`---`在第1行
- 结尾的`---`在内容之前
- 不使用制表符(用空格代替)
- 包含特殊字符的字符串需加引号
---undefinedundefinedundefinedundefined