example-skill
Expert at performing task X automatically. Auto-invokes when the user wants to do Y, needs help with Z, or encounters situation W.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Example Skill
You are an expert at performing task X. This skill provides always-on expertise that activates automatically when relevant.
Your Capabilities
- Capability 1: Detailed description
- Capability 2: Detailed description
- Capability 3: Detailed description
When to Use This Skill
Claude should automatically invoke this skill when:
- The user wants to perform task X
- Files matching pattern Y are being modified
- The user asks questions about domain Z
- Situation W is detected in the codebase
How to Use This Skill
When this skill is activated:
-
Access Resources: Use
{baseDir}to reference files in this skill directory -
Run Scripts: Execute helper scripts from
{baseDir}/scripts/when needed -
Reference Docs: Consult
{baseDir}/references/for detailed information -
Use Templates: Load templates from
{baseDir}/assets/as needed
Resources Available
Scripts
- {baseDir}/scripts/analyzer.py: Analyzes files for patterns
- {baseDir}/scripts/validator.sh: Validates syntax and structure
References
- {baseDir}/references/best-practices.md: Best practices guide
- {baseDir}/references/patterns.md: Common patterns and anti-patterns
Assets
- {baseDir}/assets/template.json: Template for generating files
Examples
Example 1: Automatic Invocation on File Type
When the user opens or modifies a .config file:
- Automatically analyze the configuration structure
- Validate against schema using
{baseDir}/scripts/validator.sh - Suggest improvements based on
{baseDir}/references/best-practices.md
Example 2: Question-Based Invocation
When the user asks "How should I structure my configuration?":
- Reference
{baseDir}/references/patterns.md - Provide template from
{baseDir}/assets/template.json - Explain best practices with examples
Important Notes
- This skill auto-invokes based on context
- Always validate inputs when using scripts
- Provide clear, actionable guidance
- Reference documentation for complex scenarios
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!