building-skills
正确构建 Claude Code 技能
创建可靠的 AI 技能需要清晰的触发条件、安全的权限和有效的结构。此技能指导 Claude、Codex 和 Claude Code 用户完成设计、验证和维护。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "building-skills" from https://skillstore.io/skills/c0ntr0lledcha0s-building-skills.md and its manifest at https://skillstore.io/api/skills/c0ntr0lledcha0s-building-skills/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“building-skills”。 创建一个用于审查 Terraform plans 的技能。
预期结果:
为 Terraform 审查工作流提供建议的技能名称、聚焦触发条件的描述、能力列表、资源计划和验证清单。
正在使用“building-skills”。 检查为什么我的技能没有加载。
预期结果:
审查 frontmatter、文件位置、命名、描述清晰度、资源路径和 allowed-tools 格式。
正在使用“building-skills”。 这个工作流应该是技能还是智能体?
预期结果:
根据调用方式、上下文需求、隔离性、资源使用和预期用户控制给出建议。
安全审计
中风险The static findings are false positives caused by Markdown code fences, inline code examples, example paths, and validator messages. No prompt injection, credential exfiltration, or malicious command execution was found. The remaining concern is broad pre-approved Write, Edit, and Bash access in a community skill.
已确认安全问题 (1)
风险因素
⚙️ 外部命令 (97)
📁 文件系统访问 (2)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/c0ntr0lledcha0s-building-skills/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/c0ntr0lledcha0s-building-skills?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/c0ntr0lledcha0s-building-skills?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/c0ntr0lledcha0s-building-skills/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/c0ntr0lledcha0s-building-skills.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 引用
C0ntr0lledCha0s. (2026). building-skills security audit report (audit version 8) [Author version 2.0.0]. Skillstore. https://skillstore.io/skills/c0ntr0lledcha0s-building-skills/audits/8BibTeX 引用
@techreport{c0ntr0lledcha0s-c0ntr0lledcha0s-building-skills-2026,
author = {C0ntr0lledCha0s},
title = {building-skills security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/c0ntr0lledcha0s-building-skills/audits/8},
note = {Author version 2.0.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "building-skills security audit report (audit version 8)"
version: "2.0.0"
type: report
authors:
- name: "C0ntr0lledCha0s"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/c0ntr0lledcha0s-building-skills/audits/8"
identifiers:
- type: other
value: "skillstore:c0ntr0lledcha0s-building-skills:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
创建新技能
规划技能目录,编写 SKILL.md 指南,选择资源,并在使用前验证结果。
标准化现有技能
根据 Claude Code 约定审查 frontmatter、命名、描述、allowed-tools 和资源引用。
审计技能架构
判断某个工作流应作为技能、智能体还是命令,然后记录正确的结构。
试试这些提示
为 [domain] 创建一个 Claude Code 技能。包含清晰的名称、自动调用描述、能力和基础资源部分。
审查此技能目录中的 schema 问题、不清晰的触发条件、高风险权限、缺失资源和无效 frontmatter。
重写此技能描述,使 Claude 只在正确任务中调用它。保持具体,并控制在 schema 限制以内。
根据此工作流,判断哪些部分应作为技能、智能体或命令。说明目录结构和权限模型。
最佳实践
- 编写准确说明技能应在何时激活的描述。
- 保持 allowed-tools 最小化,仅在必需时添加写入或 shell 访问权限。
- 在分享技能前验证 SKILL.md、资源路径和示例。
避免
- 不要向技能 frontmatter 添加 model 字段。
- 不要使用适用于许多无关任务的模糊描述。
- 不要为只读指导类技能授予 Bash 或写入权限。
常见问题
这个技能能帮助我构建什么?
它能在技能、智能体和命令之间做出判断吗?
它包含验证器吗?
它能保证技能安全吗?
Codex 用户可以使用这个技能吗?
什么时候应该避免使用这个技能?
开发者详情
许可证
MIT
作者版本
v2.0.0
Skillstore 修订
r1
引用
5ab1d37e83436c6eef84de88573e142b94f2a4ad
维护新鲜度
2026/7/27
使用量
8 次下载 · 335 次浏览
文件结构