77| Instructions match codebase | Read source files, compare patterns | Update instructions with real code examples |
88| Examples are current | Check file links still exist | Update links or remove outdated examples |
99| Patterns are cohesive | Cross-reference skills for consistency | Consolidate or clarify conflicting advice |
10+ | Instructions overfit internals | Scan for exact literals and private names | Replace with stable pattern + one concrete reference |
1011| Anti-patterns are clear | Scan all ❌ marked items | Ensure each has explanation and correct approach |
1112| Decision trees are accurate | Follow trees on real tasks | Add missing branches, remove irrelevant ones |
1213| Completeness coverage | Map all file types and workflows | Add missing patterns, remove duplicates |
@@ -81,6 +82,7 @@ cat .github/skills/state-management.md | grep -A 10 "Event Handler Wrapper"
8182| Same pattern explained differently | Search both skills for same keyword | Pick clearer explanation, remove duplicate |
8283| Contradictory advice | Search for opposing ❌ markings | Determine which is correct, remove error |
8384| Different terminology | Search for synonyms across skills | Standardize term usage everywhere |
85+ | Over-specific literals | Search defaults/attribute names in docs | Keep literals only when part of public API |
8486| Missing links | Grep for file references | Verify all links exist, update if moved |
8587| Outdated examples | Check line counts match | Update example code to match current file |
8688
@@ -105,6 +107,7 @@ wc -l packages/vueltip/src/state.ts # Should match any line ranges in examples
1051072 . Are line numbers accurate if provided?
1061083 . Would copying the code work as-is?
1071094 . Are imports complete and correct?
110+ 5 . Is this showing a durable pattern, not an unstable literal?
108111
109112** Example check:**
110113
@@ -194,6 +197,7 @@ Before committing changes to any skill:
194197- [ ] ** Clarity** : Language is direct and unambiguous
195198- [ ] ** Consistency** : Terms match other skills
196199- [ ] ** Linkage** : All file links still valid
200+ - [ ] ** Durability** : Guidance survives field/default renames
197201- [ ] ** Anti-patterns** : Each ❌ has ✅ fix shown
198202- [ ] ** Decision trees** : All branches covered
199203- [ ] ** Practicality** : Real-world applicability verified
@@ -259,6 +263,16 @@ done
259263
260264## Red Flags: Patterns to Catch
261265
266+ ** Red Flag 0: Docs mirror private internals too closely**
267+ ```
268+ Instruction includes exact defaults and private key names
269+ ↓
270+ Small refactor causes many skill edits
271+ ↓
272+ Fix by documenting invariant behavior and linking to source
273+ for current literals
274+ ```
275+
262276** Red Flag 1: Example code doesn't compile**
263277``` typescript
264278// ❌ Instruction shows:
0 commit comments