create-agent-skills by glittercowboy/taches-cc-resources
npx skills add https://github.com/glittercowboy/taches-cc-resources --skill create-agent-skills<essential_principles>
技能是模块化的、基于文件系统的能力,可按需提供领域专业知识。本技能教授如何创建有效的技能。
所有提示词最佳实践均适用。表述清晰、直接,使用 XML 结构。假设 Claude 是智能的——只添加 Claude 不具备的上下文。
当技能被调用时,Claude 会读取 SKILL.md。利用这一保证:
skill-name/
├── SKILL.md # 路由器 + 原则
├── workflows/ # 分步流程 (FOLLOW)
├── references/ # 领域知识 (READ)
├── templates/ # 输出结构 (COPY + FILL)
└── scripts/ # 可复用代码 (EXECUTE)
SKILL.md 询问"你想做什么?" → 路由到工作流 → 工作流指定需要读取哪些参考资料。
何时使用每个文件夹:
技能主体中不使用 Markdown 标题(#, ##, ###)。使用语义化的 XML 标签:
<objective>...</objective>
<process>...</process>
<success_criteria>...</success_criteria>
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
在内容内部保留 Markdown 格式(粗体、列表、代码块)。
SKILL.md 保持在 500 行以内。将详细内容拆分到参考文件中。仅加载当前工作流所需的内容。 </essential_principles>
等待回复后再继续。
选项 1(创建)的渐进式披露:
选项 3(添加组件)的渐进式披露:
基于意图的路由(如果用户未选择菜单但提供了清晰的意图):
阅读工作流后,请严格遵循它。
<quick_reference>
简单技能(单文件):
---
name: skill-name
description: What it does and when to use it.
---
<objective>What this skill does</objective>
<quick_start>Immediate actionable guidance</quick_start>
<process>Step-by-step procedure</process>
<success_criteria>How to know it worked</success_criteria>
复杂技能(路由器模式):
SKILL.md:
<essential_principles> - 始终适用
<intake> - 要询问的问题
<routing> - 将答案映射到工作流
workflows/:
<required_reading> - 需要加载哪些参考资料
<process> - 步骤
<success_criteria> - 完成条件...
references/:
领域知识、模式、示例
templates/:
Claude 复制并填充的输出结构
(计划、规范、配置、文档)
scripts/:
Claude 按原样运行的可执行代码
(部署、设置、API 调用、数据处理)
</quick_reference>
<reference_index>
全部位于 references/ 目录下:
结构: recommended-structure.md, skill-structure.md 原则: core-principles.md, be-clear-and-direct.md, use-xml-tags.md 模式: common-patterns.md, workflows-and-validation.md 资产: using-templates.md, using-scripts.md 高级: executable-code.md, api-security.md, iteration-and-testing.md </reference_index>
<workflows_index>
全部位于 workflows/ 目录下:
| 工作流 | 用途 |
|---|---|
| create-new-skill.md | 从零开始构建技能 |
| create-domain-expertise-skill.md | 为 build/ 构建详尽的领域知识库 |
| audit-skill.md | 根据最佳实践分析技能 |
| verify-skill.md | 检查内容是否仍然准确 |
| add-workflow.md | 向现有技能添加工作流 |
| add-reference.md | 向现有技能添加参考资料 |
| add-template.md | 向现有技能添加模板 |
| add-script.md | 向现有技能添加脚本 |
| upgrade-to-router.md | 将简单技能转换为路由器模式 |
| get-guidance.md | 帮助决定构建何种技能 |
| </workflows_index> |
<yaml_requirements>
必填字段:
---
name: skill-name # 小写字母加连字符,与目录名匹配
description: ... # 它的功能 AND 使用时机(第三人称)
---
命名约定:create-*, manage-*, setup-*, generate-*, build-* </yaml_requirements>
<success_criteria> 一个结构良好的技能:
周安装量
181
代码仓库
GitHub 星标
1.7K
首次出现
2026年1月23日
安全审计
安装于
claude-code154
opencode73
codex71
gemini-cli70
github-copilot66
cursor62
<essential_principles>
Skills are modular, filesystem-based capabilities that provide domain expertise on demand. This skill teaches how to create effective skills.
All prompting best practices apply. Be clear, be direct, use XML structure. Assume Claude is smart - only add context Claude doesn't have.
When a skill is invoked, Claude reads SKILL.md. Use this guarantee:
skill-name/
├── SKILL.md # Router + principles
├── workflows/ # Step-by-step procedures (FOLLOW)
├── references/ # Domain knowledge (READ)
├── templates/ # Output structures (COPY + FILL)
└── scripts/ # Reusable code (EXECUTE)
SKILL.md asks "what do you want to do?" → routes to workflow → workflow specifies which references to read.
When to use each folder:
No markdown headings (#, ##, ###) in skill body. Use semantic XML tags:
<objective>...</objective>
<process>...</process>
<success_criteria>...</success_criteria>
Keep markdown formatting within content (bold, lists, code blocks).
SKILL.md under 500 lines. Split detailed content into reference files. Load only what's needed for the current workflow. </essential_principles>
Wait for response before proceeding.
Progressive disclosure for option 1 (create):
Progressive disclosure for option 3 (add component):
Intent-based routing (if user provides clear intent without selecting menu):
After reading the workflow, follow it exactly.
<quick_reference>
Simple skill (single file):
---
name: skill-name
description: What it does and when to use it.
---
<objective>What this skill does</objective>
<quick_start>Immediate actionable guidance</quick_start>
<process>Step-by-step procedure</process>
<success_criteria>How to know it worked</success_criteria>
Complex skill (router pattern):
SKILL.md:
<essential_principles> - Always applies
<intake> - Question to ask
<routing> - Maps answers to workflows
workflows/:
<required_reading> - Which refs to load
<process> - Steps
<success_criteria> - Done when...
references/:
Domain knowledge, patterns, examples
templates/:
Output structures Claude copies and fills
(plans, specs, configs, documents)
scripts/:
Executable code Claude runs as-is
(deploy, setup, API calls, data processing)
</quick_reference>
<reference_index>
All in references/:
Structure: recommended-structure.md, skill-structure.md Principles: core-principles.md, be-clear-and-direct.md, use-xml-tags.md Patterns: common-patterns.md, workflows-and-validation.md Assets: using-templates.md, using-scripts.md Advanced: executable-code.md, api-security.md, iteration-and-testing.md </reference_index>
<workflows_index>
All in workflows/:
| Workflow | Purpose |
|---|---|
| create-new-skill.md | Build a skill from scratch |
| create-domain-expertise-skill.md | Build exhaustive domain knowledge base for build/ |
| audit-skill.md | Analyze skill against best practices |
| verify-skill.md | Check if content is still accurate |
| add-workflow.md | Add a workflow to existing skill |
| add-reference.md | Add a reference to existing skill |
| add-template.md | Add a template to existing skill |
| add-script.md | Add a script to existing skill |
| upgrade-to-router.md | Convert simple skill to router pattern |
| get-guidance.md | Help decide what kind of skill to build |
| </workflows_index> |
<yaml_requirements>
Required fields:
---
name: skill-name # lowercase-with-hyphens, matches directory
description: ... # What it does AND when to use it (third person)
---
Name conventions: create-*, manage-*, setup-*, generate-*, build-* </yaml_requirements>
<success_criteria> A well-structured skill:
Weekly Installs
181
Repository
GitHub Stars
1.7K
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
claude-code154
opencode73
codex71
gemini-cli70
github-copilot66
cursor62
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
62,200 周安装
Docker安全指南:全面容器安全最佳实践、漏洞扫描与合规性要求
177 周安装
iOS开发专家技能:精通Swift 6、SwiftUI与原生应用开发,涵盖架构、性能与App Store合规
177 周安装
describe技能:AI驱动结构化测试用例生成,提升代码质量与评审效率
2 周安装
专业 README 生成器 | 支持 Rust/TypeScript/Python 项目,自动应用最佳实践
2 周安装
Django 6 升级指南:从 Django 5 迁移的完整步骤与重大变更解析
1 周安装
GitLab DAG与并行处理指南:needs与parallel优化CI/CD流水线速度
2 周安装