What problem does it solve?
Engineers repeatedly discover the same coding and design patterns across projects but lack a reliable, portable way to teach those patterns to AI assistants so the assistant applies them correctly and only when appropriate. This Skill defines a reproducible format and checklist so patterns become operational knowledge rather than ad-hoc notes.
Core Features & Use Cases
- Two-layer structure: a generic pattern that any developer can apply plus a grounded source section containing real code and file references.
- Practical checklist: the six tests (stranger, trigger, real-code, before/after, over-application, domain connection) prevent incorrect or noisy skills from shipping.
- Before/after transformations: teaches how to show realistic code changes with WHY comments so an AI can apply the change safely.
- Use Case: convert a recurring error-handling pattern scattered across a repo into a single SKILL.md that automatically loads when prompts ask for improved error handling.
Quick Start
Write a SKILL.md with a YAML frontmatter naming when it should load, a clear generic pattern section, and an "In the source" block showing real code with file path comments.