example-skill
إنشاء معالجات مهام تلقائية
也可从以下获取: Joseph OBrien,Joseph OBrien,ANcpLua,anthropics,ChaiWithJai
يحتاج المستخدمون إلى مهارات قابلة لإعادة الاستخدام تُفعَّل تلقائيًا بناءً على السياق. يوفر هذا القالب نقطة انطلاق لبناء مهارات تنفذ مهام محددة دون استدعاء يدوي.
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“example-skill”。 Create a skill that helps with API documentation
预期结果:
- Skill Name: api-docs-helper
- Trigger: When user opens or modifies files with .api, .openapi, or .swagger extension
- Capabilities:
- - Analyzes API endpoint definitions
- - Validates request/response schemas
- - Generates documentation from code comments
- - Suggests improvements to API design
- Resources:
- - Scripts: api-analyzer.py, schema-validator.py
- - References: openapi-best-practices.md
- - Templates: api-doc-template.md
正在使用“example-skill”。 Build a skill that validates configuration files
预期结果:
- Skill Name: config-validator
- Trigger: When user opens or modifies .json, .yaml, or .yml files
- Capabilities:
- - Parses configuration structure
- - Validates against schema definitions
- - Reports missing or invalid fields
- - Suggests corrections for common issues
安全审计
安全This is a documentation-only template skill containing no executable code. SKILL.md is a markdown file that describes skill structure and patterns. The static analysis scanner generated false positives by misinterpreting documentation references (script paths, URLs) as executable patterns. No actual code execution, network requests, or cryptographic operations exist in this skill.
风险因素
🌐 网络访问 (1)
质量评分
你能构建什么
بناء مهارات جديدة بسرعة
استخدم هذا القالب كنقطة انطلاق لإنشاء مهارات Claude Code جديدة مع بنية صحيحة.
توحيد تنسيق المهارات
ضمان أن جميع المهارات في إضافة تتبع أنماطًا متسقة باستخدام هذا القالب.
توثيق قدرات المهارة
تقديم توثيق واضح لمستخدمي المهارة مع أمثلة وأنماط الاستخدام.
试试这些提示
Create a new skill called [skill-name] using the example-skill template. The skill should [describe what it does] and activate when [describe trigger conditions].
Add a new capability to [existing-skill] that [describes new functionality]. Reference best practices from the skill documentation.
Write clear documentation for [skill-name] including when it auto-invokes, what capabilities it provides, and how users should interact with it.
Define the exact conditions under which [skill-name] should auto-invoke, including file patterns, user queries, and detected situations.
最佳实践
- حدّد شروط تشغيل واضحة حتى يعرف Claude متى يستدعي المهارة تلقائيًا
- أبقِ أوصاف القدرات محددة وقابلة للتنفيذ، وليست عامة
- ضع السكربتات والمراجع والأصول الفعلية في المجلدات الفرعية المخصصة لها
避免
- ترك نصوص موضعية مثل 'task X' أو 'situation W' في المهارات المنشورة
- التصريح بالأدوات في allowed-tools دون استخدامها في منطق المهارة
- إنشاء مهارات تتفعل عند عدد كبير من الشروط مما يسبب ازدحام السياق