@nockdev/awf 6.2.5 → 6.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/.agent/config.yaml +2 -2
  2. package/.agent/core/AGENT_BEHAVIOR.md +1 -1
  3. package/.agent/core/AUDIT_POLICY.md +1 -1
  4. package/.agent/core/CACHE.md +1 -1
  5. package/.agent/core/DATA_SAFETY.md +1 -1
  6. package/.agent/core/MEMORY_PATHS.yaml +2 -2
  7. package/.agent/core/PERMISSIONS.md +1 -1
  8. package/.agent/core/README.md +1 -1
  9. package/.agent/core/VERSION.yaml +4 -4
  10. package/.agent/core/archive/ACTIVE_MEMORY.yaml +2 -2
  11. package/.agent/core/archive/CHECKPOINT.yaml +2 -2
  12. package/.agent/core/archive/CLEANUP_ENGINE.yaml +2 -2
  13. package/.agent/core/archive/CONTEXT_INJECTOR.yaml +2 -2
  14. package/.agent/core/archive/CONTEXT_LOADER.yaml +1 -1
  15. package/.agent/core/archive/CONTEXT_OPTIMIZATION.yaml +1 -1
  16. package/.agent/core/archive/CONTEXT_PRIORITY.yaml +2 -2
  17. package/.agent/core/archive/FLOW_ENGINE.yaml +1 -1
  18. package/.agent/core/archive/GRAPH_MEMORY.yaml +1 -1
  19. package/.agent/core/archive/HYBRID_ROUTER.yaml +1 -1
  20. package/.agent/core/archive/INTENT_DETECTION.yaml +1 -1
  21. package/.agent/core/archive/MEMORY_CONSOLIDATION.yaml +3 -3
  22. package/.agent/core/archive/MEMORY_ENGINE.yaml +2 -2
  23. package/.agent/core/archive/MEMORY_UTILS.yaml +1 -1
  24. package/.agent/core/archive/REFLECTION_ENGINE.yaml +1 -1
  25. package/.agent/core/archive/ROUTER.yaml +4 -4
  26. package/.agent/core/archive/SCORING_FORMULA.yaml +2 -2
  27. package/.agent/core/archive/SEMANTIC_ENGINE.yaml +1 -1
  28. package/.agent/core/archive/SKILLS_FLOW.yaml +1 -1
  29. package/.agent/core/archive/STATE_MACHINE.yaml +1 -1
  30. package/.agent/core/archive/SUMMARIZATION_ENGINE.yaml +2 -2
  31. package/.agent/core/archive/TOKEN_BUDGETS.yaml +2 -2
  32. package/.agent/core/archive/TOKEN_LOADING.yaml +2 -2
  33. package/.agent/core/archive/TOKEN_SUMMARY.yaml +2 -2
  34. package/.agent/core/reference/CODING_STYLES.yaml +1 -1
  35. package/.agent/core/reference/LIBRARY_REGISTRY.yaml +1 -1
  36. package/.agent/core/reference/MCP_TOOLS.yaml +2 -2
  37. package/.agent/core/reference/PATTERNS.yaml +1 -1
  38. package/.agent/core/reference/SKILL_SCHEMA.yaml +1 -1
  39. package/.agent/i18n/en.yaml +6 -6
  40. package/.agent/i18n/vi.yaml +6 -6
  41. package/.agent/ide/README.md +1 -1
  42. package/.agent/ide/amazonq.json +1 -1
  43. package/.agent/ide/amp.json +1 -1
  44. package/.agent/ide/antigravity.json +1 -1
  45. package/.agent/ide/augment.json +1 -1
  46. package/.agent/ide/claude.json +1 -1
  47. package/.agent/ide/cline.json +1 -1
  48. package/.agent/ide/cody.json +1 -1
  49. package/.agent/ide/continue.json +1 -1
  50. package/.agent/ide/cursor.json +1 -1
  51. package/.agent/ide/gemini.json +1 -1
  52. package/.agent/ide/jetbrains.json +1 -1
  53. package/.agent/ide/kiro.json +1 -1
  54. package/.agent/ide/opencode.json +1 -1
  55. package/.agent/ide/roo.json +1 -1
  56. package/.agent/ide/tabnine.json +1 -1
  57. package/.agent/ide/trae.json +1 -1
  58. package/.agent/ide/vscode.json +1 -1
  59. package/.agent/ide/windsurf.json +1 -1
  60. package/.agent/ide/zed.json +1 -1
  61. package/.agent/manifest.yaml +1 -1
  62. package/.agent/personas/README.md +1 -1
  63. package/.agent/personas/architect.md +1 -1
  64. package/.agent/personas/auditor.md +1 -1
  65. package/.agent/personas/debugger.md +1 -1
  66. package/.agent/personas/developer.md +1 -1
  67. package/.agent/personas/devops.md +1 -1
  68. package/.agent/personas/documenter.md +1 -1
  69. package/.agent/personas/orchestrator.md +1 -1
  70. package/.agent/personas/persona.schema.yaml +1 -1
  71. package/.agent/personas/planner.md +1 -1
  72. package/.agent/personas/researcher.md +1 -1
  73. package/.agent/personas/security.md +1 -1
  74. package/.agent/personas/tester.md +1 -1
  75. package/.agent/rules/README.md +1 -1
  76. package/.agent/rules/archive/constitutional/tier-0-core.yaml +5 -5
  77. package/.agent/rules/archive/constitutional/tier-1-safety.yaml +5 -5
  78. package/.agent/rules/archive/constitutional/tier-2-execution.yaml +6 -6
  79. package/.agent/rules/archive/context-management.yaml +1 -1
  80. package/.agent/rules/archive/duplication-prevention.md +1 -1
  81. package/.agent/rules/archive/evidence.yaml +1 -1
  82. package/.agent/rules/archive/project-detection.md +1 -1
  83. package/.agent/rules/archive/reflection.yaml +1 -1
  84. package/.agent/rules/archive/versioning.yaml +5 -5
  85. package/.agent/rules/data/build-systems.yaml +57 -2
  86. package/.agent/rules/modules/agent-delegation.yaml +2 -2
  87. package/.agent/rules/modules/edit-verification.yaml +1 -1
  88. package/.agent/rules/modules/git-workflow.yaml +1 -1
  89. package/.agent/rules/modules/language.yaml +1 -1
  90. package/.agent/rules/modules/online-research.yaml +1 -1
  91. package/.agent/rules/modules/performance-optimization.yaml +2 -2
  92. package/.agent/rules/modules/quality.yaml +1 -1
  93. package/.agent/rules/modules/stop-conditions.yaml +1 -1
  94. package/.agent/rules/modules/terminal-safety.yaml +1 -1
  95. package/.agent/rules/modules/yagni.yaml +1 -1
  96. package/.agent/rules/validation-framework.md +1 -1
  97. package/.agent/skills/README.md +1 -1
  98. package/.agent/skills/_categories.yaml +2 -2
  99. package/.agent/skills/ai-ml/rag-patterns/META.yaml +2 -0
  100. package/.agent/skills/core/api-design/META.yaml +1 -1
  101. package/.agent/skills/core/authentication/META.yaml +1 -1
  102. package/.agent/skills/core/error-handling/META.yaml +1 -1
  103. package/.agent/skills/core/logging/META.yaml +1 -1
  104. package/.agent/skills/core/observability/META.yaml +1 -1
  105. package/.agent/skills/core/security/META.yaml +1 -1
  106. package/.agent/skills/core/security/SKILL.md +1 -1
  107. package/.agent/skills/cross-cutting/accessibility/META.yaml +1 -1
  108. package/.agent/skills/cross-cutting/audit-pro/META.yaml +9 -1
  109. package/.agent/skills/cross-cutting/audit-pro/SKILL.md +61 -5
  110. package/.agent/skills/cross-cutting/bun/META.yaml +17 -8
  111. package/.agent/skills/cross-cutting/bun/SKILL.md +1 -1
  112. package/.agent/skills/cross-cutting/coding-rules/META.yaml +1 -1
  113. package/.agent/skills/cross-cutting/database/META.yaml +42 -1
  114. package/.agent/skills/cross-cutting/database/SKILL.md +44 -628
  115. package/.agent/skills/cross-cutting/database/references/nosql-patterns.md +194 -0
  116. package/.agent/skills/cross-cutting/database/references/orms-patterns.md +278 -0
  117. package/.agent/skills/cross-cutting/database/references/postgresql.md +144 -0
  118. package/.agent/skills/cross-cutting/deno/META.yaml +19 -10
  119. package/.agent/skills/cross-cutting/deno/SKILL.md +1 -1
  120. package/.agent/skills/cross-cutting/domyh-design/META.yaml +1 -1
  121. package/.agent/skills/cross-cutting/domyh-design/data/desktop-colors.yaml +1 -1
  122. package/.agent/skills/cross-cutting/electron/SKILL.md +15 -616
  123. package/.agent/skills/cross-cutting/electron/references/ipc-testing.md +114 -0
  124. package/.agent/skills/cross-cutting/electron/references/native-integrations.md +216 -0
  125. package/.agent/skills/cross-cutting/electron/references/performance-accessibility.md +118 -0
  126. package/.agent/skills/cross-cutting/electron/references/updates-persistence.md +165 -0
  127. package/.agent/skills/cross-cutting/seo/META.yaml +1 -1
  128. package/.agent/skills/cross-cutting/skill-creator/META.yaml +37 -0
  129. package/.agent/skills/cross-cutting/skill-creator/SKILL.md +163 -0
  130. package/.agent/skills/cross-cutting/skill-creator/references/patterns.md +58 -0
  131. package/.agent/skills/cross-cutting/skill-creator/references/schema-v2.md +44 -0
  132. package/.agent/skills/cross-cutting/sql/META.yaml +1 -1
  133. package/.agent/skills/cross-cutting/sql/SKILL.md +1 -1
  134. package/.agent/skills/cross-cutting/tailwind/META.yaml +1 -1
  135. package/.agent/skills/cross-cutting/tailwind/SKILL.md +1 -1
  136. package/.agent/skills/cross-cutting/tdd-workflow/META.yaml +1 -1
  137. package/.agent/skills/cross-cutting/testing/META.yaml +7 -1
  138. package/.agent/skills/cross-cutting/testing/SKILL.md +1 -1
  139. package/.agent/skills/cross-cutting/testing/data/frameworks.yaml +1 -1
  140. package/.agent/skills/cross-cutting/web-perf/META.yaml +1 -1
  141. package/.agent/skills/cross-cutting/web-perf/SKILL.md +1 -1
  142. package/.agent/skills/devops/aws/META.yaml +1 -1
  143. package/.agent/skills/devops/aws/SKILL.md +101 -16
  144. package/.agent/skills/devops/azure/SKILL.md +96 -30
  145. package/.agent/skills/devops/ci-cd/META.yaml +1 -1
  146. package/.agent/skills/devops/ci-cd/SKILL.md +114 -8
  147. package/.agent/skills/devops/docker/META.yaml +1 -1
  148. package/.agent/skills/devops/docker/SKILL.md +96 -8
  149. package/.agent/skills/devops/gcp/SKILL.md +106 -30
  150. package/.agent/skills/devops/kubernetes/META.yaml +1 -1
  151. package/.agent/skills/devops/kubernetes/SKILL.md +125 -8
  152. package/.agent/skills/frameworks/angular/META.yaml +1 -1
  153. package/.agent/skills/frameworks/angular/SKILL.md +1 -1
  154. package/.agent/skills/frameworks/flutter/META.yaml +1 -1
  155. package/.agent/skills/frameworks/flutter/SKILL.md +1 -1
  156. package/.agent/skills/frameworks/nextjs/META.yaml +1 -1
  157. package/.agent/skills/frameworks/nextjs/SKILL.md +1 -1
  158. package/.agent/skills/frameworks/nuxt/META.yaml +1 -1
  159. package/.agent/skills/frameworks/nuxt/SKILL.md +1 -1
  160. package/.agent/skills/frameworks/react/META.yaml +1 -1
  161. package/.agent/skills/frameworks/react/SKILL.md +24 -1
  162. package/.agent/skills/frameworks/react-native/META.yaml +1 -1
  163. package/.agent/skills/frameworks/react-native/SKILL.md +1 -1
  164. package/.agent/skills/frameworks/svelte/META.yaml +1 -1
  165. package/.agent/skills/frameworks/svelte/SKILL.md +1 -1
  166. package/.agent/skills/frameworks/vue/META.yaml +1 -1
  167. package/.agent/skills/frameworks/vue/SKILL.md +1 -1
  168. package/.agent/skills/index.json +2 -2
  169. package/.agent/skills/languages/asm/META.yaml +1 -1
  170. package/.agent/skills/languages/asm/SKILL.md +27 -436
  171. package/.agent/skills/languages/asm/references/advanced-architectures.md +191 -0
  172. package/.agent/skills/languages/asm/references/build-structure.md +150 -0
  173. package/.agent/skills/languages/asm/references/simd-programming.md +92 -0
  174. package/.agent/skills/languages/c/META.yaml +1 -1
  175. package/.agent/skills/languages/c/SKILL.md +14 -356
  176. package/.agent/skills/languages/c/references/data-structures.md +63 -0
  177. package/.agent/skills/languages/c/references/memory-management.md +74 -0
  178. package/.agent/skills/languages/c/references/platform-headers.md +230 -0
  179. package/.agent/skills/languages/clojure/META.yaml +1 -1
  180. package/.agent/skills/languages/clojure/SKILL.md +1 -1
  181. package/.agent/skills/languages/cpp/META.yaml +1 -1
  182. package/.agent/skills/languages/cpp/SKILL.md +22 -753
  183. package/.agent/skills/languages/cpp/references/headers-optimization.md +229 -0
  184. package/.agent/skills/languages/cpp/references/memory-concurrency.md +85 -0
  185. package/.agent/skills/languages/cpp/references/modern-cpp-features.md +126 -0
  186. package/.agent/skills/languages/cpp/references/platform-headers.md +202 -0
  187. package/.agent/skills/languages/cpp/references/stl-containers.md +57 -0
  188. package/.agent/skills/languages/crystal/META.yaml +1 -1
  189. package/.agent/skills/languages/crystal/SKILL.md +1 -1
  190. package/.agent/skills/languages/csharp/META.yaml +1 -1
  191. package/.agent/skills/languages/csharp/SKILL.md +1 -1
  192. package/.agent/skills/languages/elixir/META.yaml +1 -1
  193. package/.agent/skills/languages/elixir/SKILL.md +1 -1
  194. package/.agent/skills/languages/fsharp/META.yaml +1 -1
  195. package/.agent/skills/languages/fsharp/SKILL.md +1 -1
  196. package/.agent/skills/languages/go/META.yaml +1 -1
  197. package/.agent/skills/languages/go/SKILL.md +1 -1
  198. package/.agent/skills/languages/haskell/META.yaml +1 -1
  199. package/.agent/skills/languages/haskell/SKILL.md +1 -1
  200. package/.agent/skills/languages/java/META.yaml +1 -1
  201. package/.agent/skills/languages/java/SKILL.md +1 -1
  202. package/.agent/skills/languages/javascript/META.yaml +1 -1
  203. package/.agent/skills/languages/javascript/SKILL.md +1 -1
  204. package/.agent/skills/languages/julia/META.yaml +1 -1
  205. package/.agent/skills/languages/julia/SKILL.md +1 -1
  206. package/.agent/skills/languages/kotlin/META.yaml +1 -1
  207. package/.agent/skills/languages/kotlin/SKILL.md +1 -1
  208. package/.agent/skills/languages/lua/META.yaml +1 -1
  209. package/.agent/skills/languages/lua/SKILL.md +3 -3
  210. package/.agent/skills/languages/nim/META.yaml +1 -1
  211. package/.agent/skills/languages/nim/SKILL.md +1 -1
  212. package/.agent/skills/languages/ocaml/META.yaml +1 -1
  213. package/.agent/skills/languages/ocaml/SKILL.md +1 -1
  214. package/.agent/skills/languages/perl/META.yaml +1 -1
  215. package/.agent/skills/languages/perl/SKILL.md +1 -1
  216. package/.agent/skills/languages/php/META.yaml +1 -1
  217. package/.agent/skills/languages/php/SKILL.md +1 -1
  218. package/.agent/skills/languages/python/META.yaml +1 -1
  219. package/.agent/skills/languages/python/SKILL.md +1 -1
  220. package/.agent/skills/languages/r/META.yaml +1 -1
  221. package/.agent/skills/languages/r/SKILL.md +1 -1
  222. package/.agent/skills/languages/ruby/META.yaml +1 -1
  223. package/.agent/skills/languages/ruby/SKILL.md +1 -1
  224. package/.agent/skills/languages/rust/META.yaml +1 -1
  225. package/.agent/skills/languages/rust/SKILL.md +1 -1
  226. package/.agent/skills/languages/scala/META.yaml +1 -1
  227. package/.agent/skills/languages/scala/SKILL.md +1 -1
  228. package/.agent/skills/languages/solidity/META.yaml +1 -1
  229. package/.agent/skills/languages/solidity/SKILL.md +1 -1
  230. package/.agent/skills/languages/swift/META.yaml +1 -1
  231. package/.agent/skills/languages/swift/SKILL.md +1 -1
  232. package/.agent/skills/languages/typescript/META.yaml +19 -1
  233. package/.agent/skills/languages/typescript/SKILL.md +23 -1
  234. package/.agent/skills/languages/zig/META.yaml +1 -1
  235. package/.agent/skills/languages/zig/SKILL.md +1 -1
  236. package/.agent/templates/README.md +2 -2
  237. package/.agent/templates/chains/feature/step1-requirements.md +76 -0
  238. package/.agent/templates/chains/feature/step2-design.md +75 -0
  239. package/.agent/templates/chains/feature/step3-planning.md +81 -0
  240. package/.agent/templates/chains/feature/step4-implementation.md +74 -0
  241. package/.agent/templates/chains/feature/step5-testing.md +81 -0
  242. package/.agent/templates/debug-report.md +1 -1
  243. package/.agent/templates/deploy-plan.md +1 -1
  244. package/.agent/templates/doc-template.md +1 -1
  245. package/.agent/templates/feature-lifecycle.md +53 -0
  246. package/.agent/templates/index.yaml +53 -2
  247. package/.agent/templates/migrate-plan.md +1 -1
  248. package/.agent/templates/phase-template.md +1 -1
  249. package/.agent/templates/tasks/audit.yaml +1 -1
  250. package/.agent/templates/tasks/bug_fix.yaml +1 -1
  251. package/.agent/templates/tasks/code_implementation.yaml +1 -1
  252. package/.agent/templates/tasks/feature_development.yaml +89 -0
  253. package/.agent/templates/tasks/refactor.yaml +1 -1
  254. package/.agent/templates/test-report.md +1 -1
  255. package/.agent/workflows/doctor.md +124 -0
  256. package/.agent/workflows/feature.md +130 -0
  257. package/.agent/workflows/help.md +7 -5
  258. package/dist/constants.d.ts +1 -1
  259. package/dist/constants.js +1 -1
  260. package/package.json +2 -2
@@ -0,0 +1,163 @@
1
+ # Skill Creator — DOMYH Awesome Code
2
+
3
+ Guide for creating new domyh-awf skills with proper schema, progressive disclosure, and quality standards.
4
+
5
+ ## Decision Tree
6
+
7
+ ```
8
+ Task → Creating a new skill?
9
+ ├─ Simple skill (patterns only)
10
+ │ └─ META.yaml + SKILL.md (< 300 lines)
11
+ ├─ Standard skill
12
+ │ └─ META.yaml + SKILL.md + data/*.yaml
13
+ ├─ Complex skill (deep-dive content)
14
+ │ └─ META.yaml + SKILL.md + ADVANCED.md + data/ + references/
15
+ └─ Expanding existing skill?
16
+ └─ Check line count → Split if > 500 lines
17
+ ```
18
+
19
+ ## Quick Start — 6-Step Workflow
20
+
21
+ ### Step 1: Choose Category & Directory
22
+
23
+ ```yaml
24
+ categories:
25
+ core: # Foundation skills (security, coding-rules)
26
+ languages: # Programming languages (typescript, python, go)
27
+ frameworks: # Frameworks (react, nextjs, vue)
28
+ cross-cutting: # Multi-domain skills (testing, database, docker)
29
+ devops: # Infrastructure (aws, kubernetes, ci-cd)
30
+ tooling: # Dev tools (git, vscode)
31
+ ai-ml: # AI/ML patterns (rag-patterns, prompt-engineering)
32
+ ```
33
+
34
+ ### Step 2: Create META.yaml
35
+
36
+ ```yaml
37
+ # Template — META.yaml v2
38
+ name: my-skill # lowercase, hyphen-separated
39
+ version: "6.2.7"
40
+ display: My Skill # Human-readable name
41
+ category: cross-cutting # One of the 7 categories
42
+ tier: 2 # 1=core, 2=standard, 3=specialized
43
+ priority: 3 # 0-6 (lower = higher priority)
44
+
45
+ desc: "Short description — max 80 chars"
46
+
47
+ trigger_desc: | # NEW v2: Rich description for semantic matching
48
+ When to activate this skill. Keywords, file patterns, common
49
+ user questions that should trigger this skill. Max 1024 chars.
50
+
51
+ triggers:
52
+ file_patterns:
53
+ - "*.ext"
54
+ - "config.file"
55
+ keywords:
56
+ - keyword1
57
+ - keyword2
58
+ - keyword3
59
+ intents:
60
+ - "action description 1"
61
+ - "action description 2"
62
+
63
+ caps:
64
+ - Capability 1
65
+ - Capability 2
66
+ - Capability 3
67
+
68
+ compatibility: "Runtime >= version" # NEW v2: Environment requirements
69
+
70
+ related_skills:
71
+ - related-skill-1
72
+ - related-skill-2
73
+
74
+ data_files:
75
+ - data/patterns.yaml
76
+ ```
77
+
78
+ ### Step 3: Write SKILL.md (< 500 lines)
79
+
80
+ ```markdown
81
+ # Skill Name
82
+
83
+ Short description of what this skill covers.
84
+
85
+ ## Decision Tree ← REQUIRED: When to use which pattern
86
+
87
+ ## Quick Start ← REQUIRED: Most common workflow
88
+
89
+ ## Patterns ← Key patterns with code examples
90
+
91
+ ## Best Practices ← Checklist format preferred
92
+
93
+ ## Data Files ← Reference to data/ files
94
+
95
+ ## Deep-Dive References ← Links to references/ (if split)
96
+ ```
97
+
98
+ ### Step 4: Create data/ files (YAML patterns)
99
+
100
+ ```yaml
101
+ # data/patterns.yaml
102
+ patterns:
103
+ - name: pattern-name
104
+ description: "What this pattern does"
105
+ when: "When to use it"
106
+ example: |
107
+ Code example here
108
+ ```
109
+
110
+ ### Step 5: Add references/ (if > 500 lines)
111
+
112
+ Split detailed content into `references/*.md` files:
113
+
114
+ ```
115
+ my-skill/
116
+ ├── META.yaml
117
+ ├── SKILL.md (< 300 lines, core content)
118
+ ├── ADVANCED.md (optional, deep-dive)
119
+ ├── data/
120
+ │ └── patterns.yaml
121
+ └── references/
122
+ ├── advanced-patterns.md
123
+ └── migration-guide.md
124
+ ```
125
+
126
+ ### Step 6: Validate
127
+
128
+ ```yaml
129
+ checklist:
130
+ - [ ] META.yaml has all required fields (name, version, category, desc)
131
+ - [ ] trigger_desc is under 1024 chars
132
+ - [ ] SKILL.md is under 500 lines
133
+ - [ ] Decision tree present in SKILL.md
134
+ - [ ] Quick start section with working examples
135
+ - [ ] data/ files use consistent YAML schema
136
+ - [ ] references/ files linked from SKILL.md
137
+ - [ ] No duplicate keywords with existing skills
138
+ ```
139
+
140
+ ## SKILL.md Best Practices
141
+
142
+ | Practice | Rule |
143
+ | -------------------------- | -------------------------------------------- |
144
+ | **Line limit** | < 500 lines (split to references/ if larger) |
145
+ | **Decision tree** | Always include — guides agent routing |
146
+ | **Code examples** | Working, copy-pasteable code |
147
+ | **Checklist** | Use `- [ ]` for actionable items |
148
+ | **Cross-refs** | Link to related skills and data files |
149
+ | **Progressive disclosure** | Core in SKILL.md, details in references/ |
150
+
151
+ ## Common Mistakes
152
+
153
+ ❌ No decision tree → Agent doesn't know when to use patterns
154
+ ❌ SKILL.md > 500 lines → Context bloat, slow loading
155
+ ❌ Missing `desc` field → Broken HSA routing
156
+ ❌ Missing `triggers.file_patterns` → No auto-detection
157
+ ❌ Overlapping keywords → Confused skill selection
158
+ ❌ Placeholder content → Wasted token budget
159
+
160
+ ## References
161
+
162
+ - [META.yaml v2 Schema](references/schema-v2.md)
163
+ - [Progressive Disclosure Patterns](references/patterns.md)
@@ -0,0 +1,58 @@
1
+ # Progressive Disclosure Patterns
2
+
3
+ ## 3-Tier Loading System
4
+
5
+ ```
6
+ Tier 1: META.yaml (~100 tokens) — Always loaded for routing
7
+ Tier 2: SKILL.md (~1,500 tokens) — Loaded on-demand when skill activated
8
+ Tier 3: ADVANCED.md (~4,000 tokens) — Referenced only when deep-dive needed
9
+ ```
10
+
11
+ ## When to Split
12
+
13
+ | Condition | Action |
14
+ | ---------------------- | -------------------------------------- |
15
+ | SKILL.md < 300 lines | Keep as-is |
16
+ | SKILL.md 300-500 lines | Consider splitting heavy sections |
17
+ | SKILL.md > 500 lines | **Must split** into core + references/ |
18
+
19
+ ## Split Strategy
20
+
21
+ 1. **Keep in SKILL.md** (core, < 300 lines):
22
+ - Decision tree
23
+ - Quick start / most common workflow
24
+ - Essential patterns overview
25
+ - Production checklist
26
+ - Data file references
27
+
28
+ 2. **Move to references/** (on-demand):
29
+ - Detailed code examples
30
+ - Platform-specific content
31
+ - Migration guides
32
+ - Advanced patterns
33
+ - API reference tables
34
+
35
+ 3. **Keep in ADVANCED.md** (rare access):
36
+ - Deep architectural patterns
37
+ - Performance tuning guides
38
+ - Edge cases and gotchas
39
+ - Historical context
40
+
41
+ ## Reference File Naming
42
+
43
+ ```
44
+ references/
45
+ ├── {topic}-patterns.md # Pattern collections
46
+ ├── {platform}-specific.md # Platform guides
47
+ ├── migration-guide.md # Version migration
48
+ └── api-reference.md # API documentation
49
+ ```
50
+
51
+ ## Linking Pattern
52
+
53
+ ```markdown
54
+ ## 📚 Deep-Dive References
55
+
56
+ - **Topic Name** — Brief description
57
+ → See [references/topic-name.md](references/topic-name.md)
58
+ ```
@@ -0,0 +1,44 @@
1
+ # META.yaml v2 Schema Reference
2
+
3
+ ## Required Fields
4
+
5
+ | Field | Type | Max Length | Description |
6
+ | ---------- | ------ | ---------- | -------------------------------------------------------------------------- |
7
+ | `name` | string | 30 chars | Lowercase, hyphen-separated identifier |
8
+ | `version` | string | - | Semver string (e.g., "6.2.7") |
9
+ | `category` | enum | - | One of: core, languages, frameworks, cross-cutting, devops, tooling, ai-ml |
10
+ | `desc` | string | 80 chars | Short description for listings |
11
+
12
+ ## Recommended Fields
13
+
14
+ | Field | Type | Max Length | Description |
15
+ | ------------------------ | ------ | ---------- | ------------------------------------------ |
16
+ | `display` | string | 50 chars | Human-readable display name |
17
+ | `tier` | int | - | 1=core, 2=standard, 3=specialized |
18
+ | `priority` | int | - | 0-6 (lower = higher priority) |
19
+ | `trigger_desc` | string | 1024 chars | Rich semantic description for HSA matching |
20
+ | `triggers.file_patterns` | list | - | File globs for auto-detection |
21
+ | `triggers.keywords` | list | 30 items | Keywords for BM25 matching |
22
+ | `triggers.intents` | list | 10 items | User intent descriptions |
23
+ | `caps` | list | 6 items | Capability descriptions |
24
+ | `compatibility` | string | 100 chars | Environment requirements |
25
+
26
+ ## Optional Fields
27
+
28
+ | Field | Type | Description |
29
+ | ------------------------ | ---- | ---------------------------------- |
30
+ | `related_skills` | list | Other skills to cross-reference |
31
+ | `prevent_confusion_with` | map | Disambiguation from similar skills |
32
+ | `data_files` | list | Paths to data/ YAML files |
33
+ | `patterns.total` | int | Total pattern count |
34
+ | `patterns.domains` | map | Domain breakdown |
35
+
36
+ ## Validation Rules
37
+
38
+ 1. `name` must be unique across all skills
39
+ 2. `desc` must not exceed 80 characters
40
+ 3. `trigger_desc` must not exceed 1024 characters
41
+ 4. `triggers.keywords` should have 5-30 items
42
+ 5. `caps` should have 3-6 items
43
+ 6. `compatibility` should specify minimum versions
44
+ 7. File patterns must use standard glob syntax
@@ -1,5 +1,5 @@
1
1
  name: sql
2
- version: "6.2.5"
2
+ version: "6.2.7"
3
3
  category: database
4
4
  tier: 3
5
5
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: sql
3
3
  detect: ["*.sql", "migrations/*.sql", "*.pgsql"]
4
- version: "6.2.5"
4
+ version: "6.2.7"
5
5
  category: database
6
6
  tier: 1
7
7
  ---
@@ -1,5 +1,5 @@
1
1
  name: tailwind
2
- version: "6.2.5"
2
+ version: "6.2.7"
3
3
  display: Tailwind CSS 4.0
4
4
  category: cross-cutting
5
5
  tier: 1
@@ -7,7 +7,7 @@ detect:
7
7
  "@tailwind",
8
8
  '@import "tailwindcss"',
9
9
  ]
10
- version: "6.2.5"
10
+ version: "6.2.7"
11
11
  category: styling
12
12
  tier: 1
13
13
  ---
@@ -1,5 +1,5 @@
1
1
  name: tdd-workflow
2
- version: "6.2.5"
2
+ version: "6.2.7"
3
3
  display: Test-Driven Development
4
4
  category: cross-cutting
5
5
  tier: 1
@@ -1,5 +1,5 @@
1
1
  name: testing
2
- version: "6.2.5"
2
+ version: "6.2.7"
3
3
  display: Testing
4
4
  category: support
5
5
  tier: 1
@@ -7,6 +7,12 @@ priority: 2
7
7
 
8
8
  desc: "Testing patterns: unit tests, integration tests, mocking, TDD, coverage, e2e"
9
9
 
10
+ trigger_desc: |
11
+ Activate when user asks about writing tests, test coverage, mocking,
12
+ test-driven development (TDD), integration tests, e2e tests, test
13
+ fixtures, assertions, or testing framework selection (Vitest, Jest,
14
+ pytest, Go testing). Also for CI test pipeline setup.
15
+
10
16
  triggers:
11
17
  file_patterns:
12
18
  - "tests/"
@@ -8,7 +8,7 @@ detect:
8
8
  "vitest.config.*",
9
9
  "playwright.config.*",
10
10
  ]
11
- version: "6.2.5"
11
+ version: "6.2.7"
12
12
  ---
13
13
 
14
14
  # Testing Patterns (2026)
@@ -55,7 +55,7 @@ patterns:
55
55
  mocking: vi.fn(), vi.mock()
56
56
  coverage: --coverage
57
57
  docs_url: https://vitest.dev
58
- # v6.2.5: Version-specific info
58
+ # v6.2.7: Version-specific info
59
59
  version_info:
60
60
  current: "4.0.0"
61
61
  min_supported: "2.0.0"
@@ -1,5 +1,5 @@
1
1
  name: web-perf
2
- version: "6.2.5"
2
+ version: "6.2.7"
3
3
  category: support
4
4
  tier: 3
5
5
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: web-perf
3
3
  detect: ["lighthouse.json", "web-vitals.*", ".lighthouserc.js"]
4
- version: "6.2.5"
4
+ version: "6.2.7"
5
5
  category: support
6
6
  tier: 1
7
7
  ---
@@ -1,5 +1,5 @@
1
1
  name: aws
2
- version: "6.2.5"
2
+ version: "6.2.7"
3
3
  category: infrastructure
4
4
  tier: 3
5
5
 
@@ -2,6 +2,101 @@
2
2
 
3
3
  AWS cloud services patterns for serverless, containers, and AI/ML. Covers Lambda, S3, ECS, EKS, Bedrock, and SageMaker.
4
4
 
5
+ ## Decision Tree
6
+
7
+ ```
8
+ Task → What are you deploying?
9
+ ├─ API/Microservice
10
+ │ ├─ Low traffic / event-driven → Lambda + API Gateway
11
+ │ ├─ Medium traffic → ECS Fargate (containers)
12
+ │ └─ High traffic / complex → EKS (Kubernetes)
13
+ ├─ Static website
14
+ │ └─ S3 + CloudFront (CDN)
15
+ ├─ Data processing
16
+ │ ├─ Batch → Step Functions + Lambda
17
+ │ ├─ Stream → Kinesis + Lambda
18
+ │ └─ ETL → Glue
19
+ ├─ AI/ML
20
+ │ ├─ Foundation models → Bedrock
21
+ │ ├─ Custom training → SageMaker
22
+ │ └─ RAG → Bedrock + OpenSearch Serverless
23
+ └─ Database
24
+ ├─ Relational → RDS (PostgreSQL/MySQL) or Aurora
25
+ ├─ Key-value → DynamoDB
26
+ ├─ Cache → ElastiCache (Redis/Valkey)
27
+ └─ Vector → OpenSearch Serverless
28
+ ```
29
+
30
+ ## Quick Start — Lambda + API Gateway
31
+
32
+ ```yaml
33
+ # template.yaml (SAM)
34
+ AWSTemplateFormatVersion: "2010-09-09"
35
+ Transform: AWS::Serverless-2016-10-31
36
+
37
+ Globals:
38
+ Function:
39
+ Timeout: 30
40
+ Runtime: nodejs22.x
41
+ MemorySize: 256
42
+ Architectures: [arm64] # Graviton = cheaper + faster
43
+ Environment:
44
+ Variables:
45
+ NODE_ENV: production
46
+
47
+ Resources:
48
+ ApiFunction:
49
+ Type: AWS::Serverless::Function
50
+ Properties:
51
+ CodeUri: src/
52
+ Handler: index.handler
53
+ Events:
54
+ Api:
55
+ Type: HttpApi
56
+ Properties:
57
+ Path: /api/{proxy+}
58
+ Method: ANY
59
+ ```
60
+
61
+ ```bash
62
+ # Deploy
63
+ sam build
64
+ sam deploy --guided
65
+ ```
66
+
67
+ ## Quick Start — ECS Fargate
68
+
69
+ ```bash
70
+ # Create cluster + service
71
+ aws ecs create-cluster --cluster-name myapp
72
+ aws ecs create-service \
73
+ --cluster myapp \
74
+ --service-name api \
75
+ --task-definition myapp:1 \
76
+ --desired-count 2 \
77
+ --launch-type FARGATE \
78
+ --network-configuration "awsvpcConfiguration={subnets=[subnet-xxx],securityGroups=[sg-xxx],assignPublicIp=ENABLED}"
79
+ ```
80
+
81
+ ## Quick Start — Bedrock
82
+
83
+ ```python
84
+ import boto3
85
+ import json
86
+
87
+ bedrock = boto3.client('bedrock-runtime', region_name='us-east-1')
88
+
89
+ response = bedrock.invoke_model(
90
+ modelId='anthropic.claude-3-5-sonnet-20241022-v2:0',
91
+ body=json.dumps({
92
+ "anthropic_version": "bedrock-2023-05-31",
93
+ "max_tokens": 1024,
94
+ "messages": [{"role": "user", "content": "Hello"}]
95
+ })
96
+ )
97
+ result = json.loads(response['body'].read())
98
+ ```
99
+
5
100
  ## Patterns (25 total)
6
101
 
7
102
  ### Compute (6)
@@ -17,32 +112,22 @@ AWS cloud services patterns for serverless, containers, and AI/ML. Covers Lambda
17
112
 
18
113
  - S3 Vectors (vector embeddings in S3)
19
114
  - S3 Tables (Apache Iceberg format)
20
- - S3 metadata management
21
- - S3 lifecycle policies
22
- - Cross-region replication
115
+ - S3 lifecycle policies and replication
23
116
 
24
117
  ### Kubernetes (5)
25
118
 
26
- - EKS cluster configuration
27
- - EKS Pod Identity (replaces IRSA)
28
- - EKS capabilities and add-ons
29
- - Fargate profiles for EKS
30
- - EKS auto-mode
119
+ - EKS cluster configuration + Pod Identity
120
+ - Fargate profiles, auto-mode, add-ons
31
121
 
32
122
  ### AI/ML (5)
33
123
 
34
- - Bedrock foundation models integration
35
- - SageMaker model training pipeline
36
- - MLFlow experiment tracking
37
- - Bedrock Agents for autonomous tasks
38
- - SageMaker inference endpoints
124
+ - Bedrock foundation models + Agents
125
+ - SageMaker training + inference endpoints
39
126
 
40
127
  ### Serverless (4)
41
128
 
42
129
  - API Gateway + Lambda patterns
43
- - Step Functions orchestration
44
- - DynamoDB single-table design
45
- - CloudFront edge functions
130
+ - Step Functions, DynamoDB single-table design
46
131
 
47
132
  ## Data Files
48
133
 
@@ -1,43 +1,109 @@
1
- # Microsoft Azure
1
+ # Azure Cloud Services
2
2
 
3
- > Azure Functions Azure DevOps Cosmos DB AKS
3
+ Azure cloud services patterns for enterprise workloads. Covers App Service, AKS, Functions, Cosmos DB, Azure AI.
4
4
 
5
- ---
5
+ ## Decision Tree
6
6
 
7
- ## Khi Nào Dùng
7
+ ```
8
+ Task → What are you deploying?
9
+ ├─ Web API
10
+ │ ├─ Simple → App Service (PaaS)
11
+ │ ├─ Event-driven → Azure Functions
12
+ │ └─ Complex / microservices → AKS (Kubernetes)
13
+ ├─ Static website
14
+ │ └─ Azure Static Web Apps + CDN
15
+ ├─ Database
16
+ │ ├─ Relational → Azure SQL / PostgreSQL Flexible
17
+ │ ├─ NoSQL → Cosmos DB
18
+ │ └─ Cache → Azure Cache for Redis
19
+ ├─ AI/ML
20
+ │ ├─ OpenAI models → Azure OpenAI Service
21
+ │ ├─ Custom models → Azure ML
22
+ │ └─ Search → Azure AI Search (vector + hybrid)
23
+ └─ DevOps
24
+ ├─ CI/CD → Azure DevOps Pipelines or GitHub Actions
25
+ └─ IaC → Bicep (Azure-native) or Terraform
26
+ ```
8
27
 
9
- - Deploy serverless functions (Azure Functions)
10
- - CI/CD pipelines (Azure DevOps)
11
- - NoSQL database (Cosmos DB)
12
- - Enterprise app deployment
28
+ ## Quick Start App Service
13
29
 
14
- ## Service Selection
30
+ ```bash
31
+ # Create and deploy
32
+ az group create --name myapp-rg --location eastus
33
+ az appservice plan create --name myplan --resource-group myapp-rg --sku B1 --is-linux
34
+ az webapp create --name myapp --resource-group myapp-rg --plan myplan --runtime "NODE:22-lts"
35
+ az webapp up --name myapp --resource-group myapp-rg
36
+ ```
15
37
 
16
- | Service | Type | Best For |
17
- | ------------------- | -------------------- | ---------------------- |
18
- | **Azure Functions** | Serverless functions | Event-driven, webhooks |
19
- | **App Service** | Managed web apps | APIs, web apps |
20
- | **AKS** | Managed Kubernetes | Microservices |
21
- | **Cosmos DB** | Multi-model NoSQL | Global distribution |
22
- | **Azure SQL** | Managed SQL | Relational data |
38
+ ## Quick Start Azure Functions
23
39
 
24
- ## Azure Functions Quick Start
40
+ ```typescript
41
+ // src/functions/httpTrigger.ts
42
+ import { app, HttpRequest, HttpResponseInit } from "@azure/functions";
25
43
 
26
- ```bash
27
- func init MyProject --typescript
28
- func new --name HttpTrigger --template "HTTP trigger"
29
- func start # Local development
30
- az functionapp publish MyFunctionApp # Deploy
44
+ app.http("hello", {
45
+ methods: ["GET", "POST"],
46
+ authLevel: "anonymous",
47
+ handler: async (request: HttpRequest): Promise<HttpResponseInit> => {
48
+ const name = request.query.get("name") || "World";
49
+ return { body: `Hello, ${name}!` };
50
+ },
51
+ });
31
52
  ```
32
53
 
33
- ## Common Traps
54
+ ## Quick Start — Azure OpenAI
55
+
56
+ ```python
57
+ from openai import AzureOpenAI
58
+
59
+ client = AzureOpenAI(
60
+ api_key=os.getenv("AZURE_OPENAI_API_KEY"),
61
+ api_version="2024-10-21",
62
+ azure_endpoint=os.getenv("AZURE_OPENAI_ENDPOINT")
63
+ )
64
+
65
+ response = client.chat.completions.create(
66
+ model="gpt-4o",
67
+ messages=[{"role": "user", "content": "Hello"}]
68
+ )
69
+ ```
70
+
71
+ ## Patterns (20 total)
72
+
73
+ ### Compute (5)
74
+
75
+ - App Service deployment slots (zero-downtime)
76
+ - Azure Functions with Durable Functions
77
+ - AKS cluster with managed identity
78
+ - Container Apps (serverless containers)
79
+ - Azure Spring Apps for Java
80
+
81
+ ### Data (5)
82
+
83
+ - Cosmos DB partition strategies
84
+ - Azure SQL Hyperscale
85
+ - PostgreSQL Flexible Server
86
+ - Azure Cache for Redis
87
+ - Event Hubs for streaming
88
+
89
+ ### AI (5)
90
+
91
+ - Azure OpenAI GPT-4o integration
92
+ - Azure AI Search (vector + hybrid)
93
+ - Azure ML endpoints
94
+ - Prompt Flow orchestration
95
+ - Content Safety filters
96
+
97
+ ### Infrastructure (5)
34
98
 
35
- | Trap | Fix |
36
- | --------------- | -------------------------------------------- |
37
- | Cold starts | Premium plan, keep-alive pings |
38
- | Entra ID config | Use managed identity, DefaultAzureCredential |
39
- | Cost management | Azure Cost Management + budget alerts |
99
+ - Bicep modules (IaC)
100
+ - Azure DevOps pipelines
101
+ - Managed Identity (passwordless)
102
+ - Key Vault integration
103
+ - Private Endpoints
40
104
 
41
- ---
105
+ ## Data Files
42
106
 
43
- _DOMYH Awesome Code Azure Skill v1.0.0_
107
+ - `data/compute.yaml` App Service, Functions, AKS patterns
108
+ - `data/data.yaml` — Cosmos DB, SQL, Redis patterns
109
+ - `data/ai.yaml` — Azure OpenAI, AI Search patterns
@@ -1,5 +1,5 @@
1
1
  name: ci-cd
2
- version: "6.2.5"
2
+ version: "6.2.7"
3
3
  category: infrastructure
4
4
  tier: 3
5
5