skill-name
Describe when this skill should be invoked. Include: - Trigger keywords (e.g., authentication, API design) - File patterns (e.g., when editing *.go files) - Use cases (e.g., implementing login flows)
📖 中文导读:Describe when this skill should be invoked. Include: - Trigger keywords (e.g., authentication, API design) - File patterns (e.g., when editing *.go files) - Use cases (e.g., implementing login flows) 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: skill-name description: > Describe when this skill should be invoked. Include: - Trigger keywords (e.g., authentication, API design) - File patterns (e.g., when editing *.go files) - Use cases (e.g., implementing login flows)
Skill Name
When This Skill Applies
This skill is relevant when:
- [Specific scenario 1]
- [Specific scenario 2]
- [Specific scenario 3]
Principles
1. Principle Name
Clear explanation of the principle.
Rationale: Why this principle matters.
Example:
// Code demonstrating the principle
2. Another Principle
Explanation with examples.
Patterns
Pattern Name
When to use this pattern.
// Implementation
Key points:
- Point 1
- Point 2
Anti-Patterns
What to Avoid
Bad:
// Anti-pattern example
Why: Explanation of the problem.
Good:
// Correct approach
Quick Reference
- Key point 1
- Key point 2
- Key point 3