← 返回
未分类 中文

Skill Creator Enhanced

Enhanced skill creator with templates, validation, publishing workflow, and quality gates. Guides through skill creation process with best practices, common...
增强型技能创建工具,提供模板、验证、发布工作流和质量门禁;引导完成技能创建过程,遵循最佳实践和常见问题指南。
534422530 534422530 来源
未分类 clawhub v2.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 92
下载
💾 0
安装
1
版本
#latest

概述

Skill Creator Plus

Enhanced skill creator with templates, validation, publishing workflow, and quality gates.

Features

  • Skill Templates: Ready-to-use templates for common skill types
  • Validation Rules: Quality gates before publishing
  • Publishing Workflow: ClawHub integration
  • Best Practices: Proven patterns and anti-patterns
  • Testing Framework: Validate skills before release

Quick Reference

StepActionCommand
-----------------------
1Plan skillDefine purpose, audience, triggers
2Create structureUse templates
3Write SKILL.mdFollow guidelines
4Add resourcesScripts, references, assets
5ValidateRun validation
6TestReal-world testing
7PublishClawHub publish

Skill Anatomy

Directory Structure

skill-name/
├── SKILL.md (required)
├── scripts/ (optional)
│   └── helper.py
├── references/ (optional)
│   └── guide.md
└── assets/ (optional)
    └── template.txt

SKILL.md Structure

---
name: skill-name
description: "Clear description of what the skill does and when to use it."
metadata:
  author: your-name
  version: 1.0.0
  tags: tag1, tag2
  compatibility: opencode
  license: MIT
---

# Skill Name

## Overview
Brief overview of the skill.

## Features
- Feature 1
- Feature 2

## Usage
How to use the skill.

## Examples
Concrete examples.

Skill Templates

Knowledge Skill

---
name: knowledge-skill
description: "Domain knowledge for [topic]. Use when user asks about [specific topics]."
metadata:
  author: your-name
  version: 1.0.0
  tags: knowledge, domain
  compatibility: opencode
  license: MIT
---

# [Topic] Knowledge

## Overview
Brief overview of the domain.

## Key Concepts
- Concept 1: Definition
- Concept 2: Definition

## Common Patterns
1. Pattern 1: Description
2. Pattern 2: Description

## References
- [link1](url1)
- [link2](url2)

Workflow Skill

---
name: workflow-skill
description: "Automated workflow for [task]. Use when user wants to [action]."
metadata:
  author: your-name
  version: 1.0.0
  tags: workflow, automation
  compatibility: opencode
  license: MIT
---

# [Task] Workflow

## Overview
Brief overview of the workflow.

## Steps
1. Step 1: Description
2. Step 2: Description
3. Step 3: Description

## Commands

command1

command2


## Error Handling
- Error 1: Solution
- Error 2: Solution

Tool Integration Skill

---
name: tool-skill
description: "Integration with [tool/API]. Use when working with [tool]."
metadata:
  author: your-name
  version: 1.0.0
  tags: tool, integration
  compatibility: opencode
  license: MIT
---

# [Tool] Integration

## Overview
Brief overview of the tool.

## Setup
1. Install: `command`
2. Configure: `command`
3. Verify: `command`

## Usage

tool-command


## API Reference
- Method 1: Description
- Method 2: Description

## Examples

Example 1

command

Example 2

command

Validation Rules

Required Fields

  • [ ] name: Skill name (lowercase, hyphens)
  • [ ] description: Clear, comprehensive description

Description Quality

  • [ ] What the skill does
  • [ ] When to use it (triggers)
  • [ ] Specific use cases
  • [ ] No vague language

Structure Quality

  • [ ] SKILL.md under 500 lines
  • [ ] Progressive disclosure
  • [ ] No extraneous files
  • [ ] Clear organization

Content Quality

  • [ ] Imperative/infinitive form
  • [ ] Concise examples
  • [ ] No duplication
  • [ ] Actionable instructions

Publishing Workflow

1. Prepare

# Validate skill
clawhub validate skill-name

# Test locally
# Use skill in real scenarios

2. Publish

# Publish to ClawHub
clawhub publish skill-name --version "1.0.0"

# With options
clawhub publish skill-name \
  --name "Skill Display Name" \
  --slug "skill-slug" \
  --version "1.0.0" \
  --tags "tag1,tag2"

3. Verify

# Check publication
clawhub search skill-name

# Sync to local
clawhub sync

Quality Gates

Pre-Publish Checklist

  • [ ] SKILL.md follows template
  • [ ] Description is comprehensive
  • [ ] No extraneous files
  • [ ] Examples are clear
  • [ ] Scripts are tested
  • [ ] References are accurate
  • [ ] License is specified

Post-Publish Verification

  • [ ] Skill appears in ClawHub search
  • [ ] Installation works
  • [ ] Skill triggers correctly
  • [ ] Instructions are clear
  • [ ] Examples work

Common Patterns

Pattern 1: Progressive Disclosure

# Skill Name

## Quick Start
Basic usage example.

## Advanced Features
- Feature 1: See [FEATURE1.md](FEATURE1.md)
- Feature 2: See [FEATURE2.md](FEATURE2.md)

Pattern 2: Domain Organization

skill-name/
├── SKILL.md
└── references/
    ├── domain1.md
    ├── domain2.md
    └── domain3.md

Pattern 3: Conditional Loading

# Skill Name

## Basic Usage
Simple example.

## Advanced Usage
For complex scenarios, see [ADVANCED.md](ADVANCED.md).

Anti-Patterns

Anti-PatternProblemFix
----------------------------
Too verboseContext bloatKeep under 500 lines
No examplesUnclear expectationsAdd concrete examples
Extraneous filesClutterRemove unnecessary files
Vague descriptionPoor triggeringBe specific
No progressive disclosureLoading overheadSplit into references

Testing Framework

Test Cases

  1. Trigger Test: Does the skill activate correctly?
  2. Instruction Test: Are instructions clear?
  3. Example Test: Do examples work?
  4. Error Test: Are errors handled?

Test Script

#!/bin/bash
# test-skill.sh

SKILL_NAME=$1

echo "Testing skill: $SKILL_NAME"

# Validate structure
clawhub validate $SKILL_NAME

# Test installation
clawhub install $SKILL_NAME

# Verify installation
ls -la ~/.openclaw/workspace/skills/$SKILL_NAME

echo "Test complete"

Best Practices

  1. Start simple - Begin with basic skill, iterate
  2. Be specific - Clear triggers and instructions
  3. Add examples - Concrete use cases
  4. Test thoroughly - Real-world testing
  5. Document well - Clear SKILL.md
  6. Publish regularly - Share improvements
  7. Gather feedback - Iterate based on usage

ClawHub Integration

Search Skills

clawhub search "query"

Install Skills

clawhub install skill-name

Publish Skills

clawhub publish skill-name

Sync Skills

clawhub sync

版本历史

共 1 个版本

  • v2.0.0 当前
    2026-06-07 06:39

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,102 📥 829,204
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,467 📥 532,777
dev-programming

Karpathy编程四大原则

534422530
AI编程四大原则 —— 源自 Karpathy 法则 (forrestchang/andrej-karpathy-skills94.2k⭐)。在AI编程时强制执行四大原则:先思考、保持简单、精准修改、目标驱动。适用于代码审查、代码生成、bu
★ 3 📥 941