Brief description of what this skill teaches
Brief introduction to this skill and what problem it solves.
Describe the situations where this skill should be used:
Explain the first key concept.
// Example code demonstrating concept 1
function example() {
// Implementation
}
Explain the second key concept.
// Example code demonstrating concept 2
function anotherExample() {
// Implementation
}
Problem: What problem does this pattern solve?
Solution:
// Good: Recommended approach
const good = doItThisWay();
// Bad: Anti-pattern to avoid
const bad = dontDoThis();
Why: Explain why the good approach is better.
Problem: What problem does this pattern solve?
Solution:
// Implementation example
// Don't do this
const mistake = badApproach();
Why it's wrong: Explanation
Fix:
// Do this instead
const fixed = correctApproach();
Similar structure...
Use this checklist when applying this skill:
Last updated: YYYY-MM-DD