Loading...
Loading...
Compare original and translation side by side
| File | Read When |
|---|---|
| Default: frontmatter constraints, directory structure, naming rules |
| Choosing a pattern or need a structural template for a specific skill type |
| Final validation before shipping |
| 文件 | 阅读时机 |
|---|---|
| 默认场景:前置元数据约束、目录结构、命名规则 |
| 选择模式或需要特定类型Skill的结构模板时 |
| 发布前的最终验证环节 |
| Pattern | When to use | Example | Key files |
|---|---|---|---|
| Simple/hub | Dispatch to 2-5 focused files by track | | SKILL.md + track files |
| Workflow | Multi-step process with progressive loading | | SKILL.md + |
| Rules-based | Audit/lint with categorized rules | | SKILL.md + |
| Mixed | Workflow with conditional references | | SKILL.md + |
references/skill-patterns.md| 模式 | 适用场景 | 示例 | 核心文件 |
|---|---|---|---|
| Simple/hub | 根据分类调度至2-5个聚焦文件 | | SKILL.md + 分类文件 |
| Workflow | 带渐进式加载的多步骤流程 | | SKILL.md + |
| Rules-based | 带分类规则的审核/检查 | | SKILL.md + |
| Mixed | 带条件参考的工作流 | | SKILL.md + |
references/skill-patterns.mdSkill creation progress:
- [ ] Step 1: Choose skill pattern
- [ ] Step 2: Create directory and frontmatter
- [ ] Step 3: Write SKILL.md body
- [ ] Step 4: Add reference or rule files
- [ ] Step 5: Validate with quality checklist
- [ ] Step 6: Update README.md
- [ ] Step 7: Smoke-test installationSkill创作进度:
- [ ] 步骤1:选择Skill模式
- [ ] 步骤2:创建目录和前置元数据
- [ ] 步骤3:编写SKILL.md主体内容
- [ ] 步骤4:添加参考或规则文件
- [ ] 步骤5:使用质量检查清单进行验证
- [ ] 步骤6:更新README.md
- [ ] 步骤7:安装冒烟测试references/skill-patterns.mdreferences/skill-patterns.mdreferences/format-specification.mdskills/<name>/SKILL.mdnamenamedescriptionreferences/format-specification.mdskills/<name>/SKILL.mdnamenamedescriptionreferences/rules/references/rules/references/quality-checklist.mdreferences/quality-checklist.md| `<skill-name>` | <phase> | <one-line description> || `<skill-name>` | <阶段> | <单行描述> |cp -R skills/<name> ~/.claude/skills/
ls ~/.claude/skills/<name>/cp -R skills/<name> ~/.claude/skills/
ls ~/.claude/skills/<name>/rules/rules/rules/_sections.mdrules/_sections.mdundefinedundefinedundefinedundefinedrules/_template.mdrules/_template.md---
title: Rule Title Here
impact: MEDIUM
tags: tag1, tag2
------
title: 规则标题
impact: MEDIUM
tags: tag1, tag2
---undefinedundefined<prefix>-<slug>.md_template.md<prefix>-<slug>.md_template.md| Priority | Category | Impact | Prefix | Rules |
|----------|----------|--------|--------|-------|
| 1 | Category Name | CRITICAL | `prefix-` | N || 优先级 | 类别 | 影响级别 | 前缀 | 规则数量 |
|----------|----------|--------|--------|-------|
| 1 | 类别名称 | CRITICAL | `prefix-` | N |agents-mddocs-writingplan-featureagents-mddocs-writingplan-feature