How to Create Claude Code Skill
以清晰结构创建 Claude Code 技能
当结构、元数据和支持文件不清晰时,构建 Claude Code 技能可能会令人困惑。本指南展示了必需的 SKILL.md 布局、常见目录模式和命名实践。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "How to Create Claude Code Skill" from https://skillstore.io/skills/claudecode-npc-how-to-create-claude-code-skill.md and its manifest at https://skillstore.io/api/skills/claudecode-npc-how-to-create-claude-code-skill/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“How to Create Claude Code Skill”。 为审查拉取请求创建一个 Claude Code 技能。
预期结果:
一个简洁的技能计划,包含元数据指导、说明部分、示例和可选支持参考资料。
正在使用“How to Create Claude Code Skill”。 审查我们计划用于电子表格分析的技能目录。
预期结果:
- 确认必需的 SKILL.md 位置。
- 为高级细节建议参考文件和示例文件。
- 标记不清晰的名称和深层嵌套风险。
正在使用“How to Create Claude Code Skill”。 为工程仓库组织四个项目技能。
预期结果:
一个项目级文件夹计划,包含独立的技能目录以及每个工作流的清晰名称。
安全审计
安全All eight static detections are false positives in context. The file is an instructional guide: it includes a local directory creation example and official documentation links, but no executable payload, data collection, or prompt injection. No semantic security findings were identified.
风险因素
⚙️ 外部命令 (2)
🌐 网络访问 (4)
📁 文件系统访问 (2)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/claudecode-npc-how-to-create-claude-code-skill/audits/12?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/claudecode-npc-how-to-create-claude-code-skill?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/claudecode-npc-how-to-create-claude-code-skill?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/claudecode-npc-how-to-create-claude-code-skill/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/claudecode-npc-how-to-create-claude-code-skill.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
ClaudeCode-NPC. (2026). How to Create Claude Code Skill security audit report (audit version 12) [Author version unspecified]. Skillstore. https://skillstore.io/skills/claudecode-npc-how-to-create-claude-code-skill/audits/12BibTeX 引用
@techreport{claudecode-npc-claudecode-npc-how-to-create-claude-code-skill-2026,
author = {ClaudeCode-NPC},
title = {How to Create Claude Code Skill security audit report (audit version 12)},
institution = {Skillstore},
year = {2026},
number = {12},
url = {https://skillstore.io/skills/claudecode-npc-how-to-create-claude-code-skill/audits/12},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "How to Create Claude Code Skill security audit report (audit version 12)"
version: "unspecified"
type: report
authors:
- name: "ClaudeCode-NPC"
date-released: "2026-07-18"
url: "https://skillstore.io/skills/claudecode-npc-how-to-create-claude-code-skill/audits/12"
identifiers:
- type: other
value: "skillstore:claudecode-npc-how-to-create-claude-code-skill:audit:12"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
构建第一个技能
使用本指南起草一个包含必需元数据和清晰说明的最小 SKILL.md。
组织团队技能
在将项目技能文件夹和共享参考资料添加到仓库之前进行规划。
记录技能标准
创建关于名称、结构、支持文件和渐进式披露的内部指导。
试试这些提示
使用此技能为 [task] 概述一个最小 Claude Code 技能。包括名称、描述、说明和示例部分。
使用此技能为关于 [workflow] 的 Claude Code 技能规划支持文件。识别参考资料、示例、脚本和模板。
使用此技能审查我的 Claude Code 技能结构。检查元数据、目录布局、命名和渐进式披露。
使用此技能为跨 [domains] 的多个 Claude Code 技能设计仓库布局。推荐文件夹名称和共享文档。
最佳实践
- 保持主 SKILL.md 简洁,并将详细指导移到支持文件中。
- 使用描述技能所支持工作流的具体操作名称。
- 在记录设置时,将个人技能示例与项目技能示例分开。
避免
- 不要使用 Helper、Utils 或 Tools 等含糊的技能名称。
- 不要将重要说明埋在深层嵌套的参考文件中。
- 不要将示例设置命令视为自动安装步骤。
常见问题
此技能会安装 Claude Code 技能吗?
我可以将此指导与 Codex 一起使用吗?
该技能需要网络访问吗?
它描述哪些文件?
源内容是多语言的吗?
它能验证已完成的技能吗?
开发者详情
许可证
MIT
Skillstore 修订
r3
版本提示
作者未声明版本。
引用
c68df504887c54bf71d2d467a1fbebde49467868
维护新鲜度
2026/7/19
使用量
8 次下载 · 262 次浏览
文件结构
📄 SKILL.md