example-skill

JaimeStill 的头像作者 JaimeStill

Describe when this skill should be invoked. Include trigger keywords, file patterns, and explicit use cases. The more specific, the better Claude can determine when to load this skill.

📖 中文导读:Describe when this skill should be invoked. Include trigger keywords, file patterns, and explicit use cases. The more specific, the better Claude can determine when to load this skill. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: example-skill description: > Describe when this skill should be invoked. Include trigger keywords, file patterns, and explicit use cases. The more specific, the better Claude can determine when to load this skill.

Example Skill

When This Skill Applies

This skill is relevant when:

  • Working on [specific type of task]
  • Editing files matching [pattern]
  • Discussing [topic area]

Principles

1. First Principle

Explanation of the principle with rationale.

Example:

// Good example demonstrating the principle

2. Second Principle

Another key principle for this domain.

Example:

// Example code

Patterns

Pattern Name

Description of when to use this pattern.

// Pattern implementation

Usage:

// How to apply the pattern

Another Pattern

Description and implementation.

Anti-Patterns

What to Avoid

Bad:

// Code showing the anti-pattern

Why: Explanation of why this is problematic.

Good:

// Correct approach

References

For additional details: