ai-developer-skill-os 7.5.0 → 8.1.4

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 (377) hide show
  1. package/.agents/CHANGELOG.md +2 -1
  2. package/.agents/README.md +51 -10
  3. package/.agents/docs/ARCHITECTURE.md +156 -0
  4. package/.agents/docs/CHI_TIET_SKILLS.md +2 -1
  5. package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -0
  6. package/.agents/docs/MIGRATION-STATUS.md +35 -0
  7. package/.agents/docs/MIGRATION-V8.md +10 -0
  8. package/.agents/docs/ROADMAP-V8.2.md +78 -0
  9. package/.agents/docs/V8-CERTIFICATION.md +27 -0
  10. package/.agents/docs/VERSIONING.md +95 -0
  11. package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -0
  12. package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -0
  13. package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -0
  14. package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -0
  15. package/.agents/docs/schemas/learning.schema.yml +69 -0
  16. package/.agents/docs/schemas/skill.schema.yml +188 -0
  17. package/.agents/docs/schemas/workflow.schema.yml +33 -0
  18. package/.agents/knowledge/design-intelligence/industries/ecommerce.md +3 -0
  19. package/.agents/knowledge/design-intelligence/industries/fintech.md +3 -0
  20. package/.agents/knowledge/design-intelligence/industries/healthcare.md +3 -0
  21. package/.agents/learnings/draft/README.md +37 -0
  22. package/.agents/registry/capability-graph.yml +500 -0
  23. package/.agents/registry/skills-index.yml +525 -0
  24. package/.agents/reports/RELEASE-CHECKLIST.md +29 -0
  25. package/.agents/reports/architecture-audit.md +13 -0
  26. package/.agents/reports/graph-health.md +20 -0
  27. package/.agents/reports/skill-audit.md +215 -0
  28. package/.agents/rules/coding.md +102 -0
  29. package/.agents/rules/command-safety.md +21 -0
  30. package/.agents/rules/global.md +135 -0
  31. package/.agents/rules/priorities.yml +24 -0
  32. package/.agents/rules/safety.md +84 -0
  33. package/.agents/rules/security.md +13 -0
  34. package/.agents/rules/skill-quality.md +14 -0
  35. package/.agents/skills/_template/SKILL.md +132 -0
  36. package/.agents/skills/qk-access-policy/SKILL.md +61 -5
  37. package/.agents/skills/qk-agent-observability/SKILL.md +73 -0
  38. package/.agents/skills/qk-ai-builder/SKILL.md +62 -5
  39. package/.agents/skills/qk-api-lifecycle/SKILL.md +59 -6
  40. package/.agents/skills/qk-bug-resolution/SKILL.md +64 -6
  41. package/.agents/skills/qk-context-loader/SKILL.md +63 -11
  42. package/.agents/skills/qk-data-lifecycle/SKILL.md +61 -5
  43. package/.agents/skills/qk-db-optimizer/SKILL.md +61 -5
  44. package/.agents/skills/qk-design-system-engineering/SKILL.md +112 -0
  45. package/.agents/skills/qk-devops-platform/SKILL.md +117 -0
  46. package/.agents/skills/qk-docs/SKILL.md +62 -6
  47. package/.agents/skills/qk-engineering-standard/SKILL.md +62 -12
  48. package/.agents/skills/qk-fe-api-integration/SKILL.md +60 -6
  49. package/.agents/skills/qk-feature-delivery/SKILL.md +65 -6
  50. package/.agents/skills/qk-frontend-architecture/SKILL.md +134 -0
  51. package/.agents/skills/qk-help/SKILL.md +245 -193
  52. package/.agents/skills/qk-orchestrator/SKILL.md +67 -13
  53. package/.agents/skills/qk-orchestrator/references/routing-table.md +4 -3
  54. package/.agents/skills/qk-product-specification/SKILL.md +130 -0
  55. package/.agents/skills/qk-production-release/SKILL.md +59 -6
  56. package/.agents/skills/qk-project-bootstrap/SKILL.md +68 -7
  57. package/.agents/skills/qk-project-health/SKILL.md +63 -6
  58. package/.agents/skills/qk-project-memory/SKILL.md +109 -6
  59. package/.agents/skills/qk-security-audit/SKILL.md +135 -0
  60. package/.agents/skills/qk-system-evolution/SKILL.md +63 -12
  61. package/.agents/skills/qk-test-engineering/SKILL.md +139 -0
  62. package/.agents/skills/qk-ui-audit/SKILL.md +63 -8
  63. package/.agents/skills/qk-ui-builder/SKILL.md +509 -0
  64. package/.agents/skills/qk-ui-builder/references/anti-patterns.md +295 -0
  65. package/.agents/skills/qk-ui-builder/references/color.md +115 -0
  66. package/.agents/skills/qk-ui-builder/references/component-cookbook.md +1194 -0
  67. package/.agents/skills/qk-ui-builder/references/copy.md +250 -0
  68. package/.agents/skills/qk-ui-builder/references/interaction-and-states.md +115 -0
  69. package/.agents/skills/qk-ui-builder/references/layout-and-space.md +111 -0
  70. package/.agents/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +48 -0
  71. package/.agents/skills/qk-ui-builder/references/macrostructures/02-long-document.md +50 -0
  72. package/.agents/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +51 -0
  73. package/.agents/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +49 -0
  74. package/.agents/skills/qk-ui-builder/references/macrostructures/05-workbench.md +44 -0
  75. package/.agents/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +50 -0
  76. package/.agents/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +51 -0
  77. package/.agents/skills/qk-ui-builder/references/macrostructures/08-photographic.md +50 -0
  78. package/.agents/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +50 -0
  79. package/.agents/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +49 -0
  80. package/.agents/skills/qk-ui-builder/references/macrostructures/12-letter.md +49 -0
  81. package/.agents/skills/qk-ui-builder/references/macrostructures/13-index-first.md +49 -0
  82. package/.agents/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +48 -0
  83. package/.agents/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +48 -0
  84. package/.agents/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +51 -0
  85. package/.agents/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +48 -0
  86. package/.agents/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +48 -0
  87. package/.agents/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +50 -0
  88. package/.agents/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +48 -0
  89. package/.agents/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +45 -0
  90. package/.agents/skills/qk-ui-builder/references/macrostructures.md +38 -0
  91. package/.agents/skills/qk-ui-builder/references/motion.md +95 -0
  92. package/.agents/skills/qk-ui-builder/references/responsive.md +115 -0
  93. package/.agents/skills/qk-ui-builder/references/slop-test.md +135 -0
  94. package/.agents/skills/qk-ui-builder/references/structure.md +280 -0
  95. package/.agents/skills/qk-ui-builder/references/themes/atmospheric.md +53 -0
  96. package/.agents/skills/qk-ui-builder/references/themes/carnival.md +52 -0
  97. package/.agents/skills/qk-ui-builder/references/themes/cobalt.md +52 -0
  98. package/.agents/skills/qk-ui-builder/references/themes/editorial.md +52 -0
  99. package/.agents/skills/qk-ui-builder/references/themes/garden.md +52 -0
  100. package/.agents/skills/qk-ui-builder/references/themes/hum.md +52 -0
  101. package/.agents/skills/qk-ui-builder/references/themes/lumen.md +52 -0
  102. package/.agents/skills/qk-ui-builder/references/themes/midnight.md +52 -0
  103. package/.agents/skills/qk-ui-builder/references/themes/modern-minimal.md +52 -0
  104. package/.agents/skills/qk-ui-builder/references/themes/playful.md +52 -0
  105. package/.agents/skills/qk-ui-builder/references/themes/specimen.md +52 -0
  106. package/.agents/skills/qk-ui-builder/references/themes/terminal.md +52 -0
  107. package/.agents/skills/qk-ui-builder/references/typography.md +129 -0
  108. package/.agents/skills/qk-ui-system-builder/SKILL.md +61 -5
  109. package/.agents/skills/qk-validation-gate/SKILL.md +63 -11
  110. package/.agents/skills/qk-web-quality-gate/SKILL.md +114 -0
  111. package/.agents/workflows/_schema.yml +109 -0
  112. package/.agents/workflows/bug-resolution.yml +101 -0
  113. package/.agents/workflows/code-review.yml +77 -0
  114. package/.agents/workflows/documentation.yml +75 -0
  115. package/.agents/workflows/feature-delivery.yml +103 -0
  116. package/.agents/workflows/refactor.yml +81 -0
  117. package/.agents/workflows/research.yml +60 -0
  118. package/.agents/workflows/security-audit.yml +72 -0
  119. package/.agents/workflows/skill-evolution.yml +65 -0
  120. package/.agents/workflows/spec-driven-development.yml +57 -0
  121. package/CHANGELOG.md +91 -69
  122. package/README.md +50 -45
  123. package/bin/install.js +57 -309
  124. package/package.json +14 -3
  125. package/tooling/generate-evaluation-cases.cjs +44 -0
  126. package/tooling/generate-registry.js +157 -0
  127. package/tooling/run-aar.js +143 -0
  128. package/tooling/validate-graph.js +87 -0
  129. package/tooling/validate-skills.js +102 -0
  130. package/.agents/_template/BEHAVIOR_SPEC.md +0 -96
  131. package/.agents/_template/examples/example-en.md +0 -49
  132. package/.agents/_template/examples/example-vi.md +0 -49
  133. package/.agents/skills/qk-design-to-code/SKILL.md +0 -285
  134. package/.agents/skills.json +0 -819
  135. package/.github/workflows/ci.yml +0 -56
  136. package/.qk-ai-skill-os/CHANGELOG.md +0 -69
  137. package/.qk-ai-skill-os/LICENSE +0 -21
  138. package/.qk-ai-skill-os/README.md +0 -59
  139. package/.qk-ai-skill-os/_template/BEHAVIOR_SPEC.md +0 -96
  140. package/.qk-ai-skill-os/_template/examples/example-en.md +0 -49
  141. package/.qk-ai-skill-os/_template/examples/example-vi.md +0 -49
  142. package/.qk-ai-skill-os/docs/CHI_TIET_SKILLS.md +0 -125
  143. package/.qk-ai-skill-os/docs/GOVERNANCE.md +0 -40
  144. package/.qk-ai-skill-os/docs/HUONG_DAN_SU_DUNG.md +0 -120
  145. package/.qk-ai-skill-os/docs/SPEC.md +0 -87
  146. package/.qk-ai-skill-os/docs/adr/0001-intent-based-architecture.md +0 -19
  147. package/.qk-ai-skill-os/docs/adr/0002-kernel-freeze.md +0 -21
  148. package/.qk-ai-skill-os/docs/adr/0003-risk-based-verification.md +0 -20
  149. package/.qk-ai-skill-os/docs/adr/0004-progressive-evidence.md +0 -19
  150. package/.qk-ai-skill-os/docs/skill-classification.md +0 -25
  151. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-accessibility-audit/SKILL.md +0 -121
  152. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-agent-orchestrator/SKILL.md +0 -179
  153. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-api-integration/SKILL.md +0 -389
  154. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-auth-security/SKILL.md +0 -96
  155. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-backend-architecture/SKILL.md +0 -125
  156. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-bug-fix/SKILL.md +0 -213
  157. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-component-generator/SKILL.md +0 -136
  158. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-context-manager/SKILL.md +0 -175
  159. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-database-engineer/SKILL.md +0 -104
  160. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-deployment/SKILL.md +0 -96
  161. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-design-system/SKILL.md +0 -137
  162. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-form-builder/SKILL.md +0 -140
  163. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-architecture/SKILL.md +0 -155
  164. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-debug/SKILL.md +0 -133
  165. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-performance/SKILL.md +0 -129
  166. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-frontend-testing/SKILL.md +0 -146
  167. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-git-engineer/SKILL.md +0 -304
  168. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-help/SKILL.md +0 -68
  169. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-migration/SKILL.md +0 -284
  170. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-project-audit/SKILL.md +0 -280
  171. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-refactor/SKILL.md +0 -222
  172. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-state-management/SKILL.md +0 -140
  173. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-table-crud-generator/SKILL.md +0 -127
  174. package/.qk-ai-skill-os/skills/_archive_old_skills/qk-ui-builder/SKILL.md +0 -152
  175. package/.qk-ai-skill-os/skills/_template/SKILL.md +0 -238
  176. package/.qk-ai-skill-os/skills/qk-access-policy/SKILL.md +0 -179
  177. package/.qk-ai-skill-os/skills/qk-ai-builder/SKILL.md +0 -221
  178. package/.qk-ai-skill-os/skills/qk-api-lifecycle/SKILL.md +0 -176
  179. package/.qk-ai-skill-os/skills/qk-bug-resolution/SKILL.md +0 -307
  180. package/.qk-ai-skill-os/skills/qk-context-loader/SKILL.md +0 -218
  181. package/.qk-ai-skill-os/skills/qk-data-lifecycle/SKILL.md +0 -192
  182. package/.qk-ai-skill-os/skills/qk-db-optimizer/SKILL.md +0 -196
  183. package/.qk-ai-skill-os/skills/qk-design-to-code/SKILL.md +0 -291
  184. package/.qk-ai-skill-os/skills/qk-docs/SKILL.md +0 -198
  185. package/.qk-ai-skill-os/skills/qk-engineering-standard/SKILL.md +0 -351
  186. package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/backend.md +0 -122
  187. package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/database.md +0 -3
  188. package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/frontend.md +0 -152
  189. package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/security.md +0 -3
  190. package/.qk-ai-skill-os/skills/qk-engineering-standard/rules/testing.md +0 -3
  191. package/.qk-ai-skill-os/skills/qk-fe-api-integration/SKILL.md +0 -326
  192. package/.qk-ai-skill-os/skills/qk-feature-delivery/SKILL.md +0 -305
  193. package/.qk-ai-skill-os/skills/qk-help/SKILL.md +0 -193
  194. package/.qk-ai-skill-os/skills/qk-orchestrator/SKILL.md +0 -277
  195. package/.qk-ai-skill-os/skills/qk-orchestrator/references/routing-table.md +0 -77
  196. package/.qk-ai-skill-os/skills/qk-production-release/SKILL.md +0 -290
  197. package/.qk-ai-skill-os/skills/qk-project-bootstrap/SKILL.md +0 -240
  198. package/.qk-ai-skill-os/skills/qk-project-health/SKILL.md +0 -199
  199. package/.qk-ai-skill-os/skills/qk-project-memory/SKILL.md +0 -172
  200. package/.qk-ai-skill-os/skills/qk-system-evolution/SKILL.md +0 -285
  201. package/.qk-ai-skill-os/skills/qk-ui-audit/SKILL.md +0 -314
  202. package/.qk-ai-skill-os/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
  203. package/.qk-ai-skill-os/skills/qk-ui-system-builder/SKILL.md +0 -225
  204. package/.qk-ai-skill-os/skills/qk-validation-gate/SKILL.md +0 -361
  205. package/.qk-ai-skill-os/skills.json +0 -819
  206. package/CLAUDE.md +0 -110
  207. package/_template/BEHAVIOR_SPEC.md +0 -96
  208. package/_template/examples/example-en.md +0 -49
  209. package/_template/examples/example-vi.md +0 -49
  210. package/add_lang.js +0 -21
  211. package/add_lang.py +0 -25
  212. package/add_sections.py +0 -53
  213. package/bin/lint.js +0 -122
  214. package/docs/CHI_TIET_SKILLS.md +0 -125
  215. package/docs/GOVERNANCE.md +0 -40
  216. package/docs/HUONG_DAN_SU_DUNG.md +0 -120
  217. package/docs/SPEC.md +0 -87
  218. package/docs/adr/0001-intent-based-architecture.md +0 -19
  219. package/docs/adr/0002-kernel-freeze.md +0 -21
  220. package/docs/adr/0003-risk-based-verification.md +0 -20
  221. package/docs/adr/0004-progressive-evidence.md +0 -19
  222. package/docs/skill-classification.md +0 -25
  223. package/fix_seeds.js +0 -22
  224. package/framework/KERNEL.md +0 -83
  225. package/framework/bias-library/cosmetic-refactor.md +0 -21
  226. package/framework/bias-library/enterprise-crud.md +0 -21
  227. package/framework/bias-library/fake-ui-slop.md +0 -20
  228. package/framework/bias-library/hallucinated-tools.md +0 -20
  229. package/framework/bias-library/missing-ui-states.md +0 -19
  230. package/framework/bias-library/over-indexing.md +0 -20
  231. package/framework/bias-library/swallow-errors.md +0 -19
  232. package/framework/bias-library/ui-only-security.md +0 -17
  233. package/framework/decision-primitives.md +0 -47
  234. package/framework/dial-library/complexity-budget.md +0 -13
  235. package/framework/dial-library/granularity.md +0 -13
  236. package/framework/dial-library/optimization-strategy.md +0 -13
  237. package/framework/dial-library/strictness.md +0 -13
  238. package/framework/rule-library/delegation-only.md +0 -9
  239. package/framework/rule-library/minimal-diff.md +0 -9
  240. package/framework/skill-schema.md +0 -310
  241. package/knowledge/backend/nodejs.md +0 -52
  242. package/knowledge/frontend/react.md +0 -81
  243. package/migrate-to-v6.js +0 -130
  244. package/migrate.js +0 -147
  245. package/migrate.py +0 -133
  246. package/migrate_all.cjs +0 -96
  247. package/patch.js +0 -15
  248. package/patch.py +0 -89
  249. package/patch2.py +0 -83
  250. package/rename.js +0 -64
  251. package/skills/_archive_old_skills/qk-accessibility-audit/SKILL.md +0 -121
  252. package/skills/_archive_old_skills/qk-agent-orchestrator/SKILL.md +0 -179
  253. package/skills/_archive_old_skills/qk-api-integration/SKILL.md +0 -389
  254. package/skills/_archive_old_skills/qk-auth-security/SKILL.md +0 -96
  255. package/skills/_archive_old_skills/qk-backend-architecture/SKILL.md +0 -125
  256. package/skills/_archive_old_skills/qk-bug-fix/SKILL.md +0 -213
  257. package/skills/_archive_old_skills/qk-component-generator/SKILL.md +0 -136
  258. package/skills/_archive_old_skills/qk-context-manager/SKILL.md +0 -175
  259. package/skills/_archive_old_skills/qk-database-engineer/SKILL.md +0 -104
  260. package/skills/_archive_old_skills/qk-deployment/SKILL.md +0 -96
  261. package/skills/_archive_old_skills/qk-design-system/SKILL.md +0 -137
  262. package/skills/_archive_old_skills/qk-form-builder/SKILL.md +0 -140
  263. package/skills/_archive_old_skills/qk-frontend-architecture/SKILL.md +0 -155
  264. package/skills/_archive_old_skills/qk-frontend-debug/SKILL.md +0 -133
  265. package/skills/_archive_old_skills/qk-frontend-performance/SKILL.md +0 -129
  266. package/skills/_archive_old_skills/qk-frontend-testing/SKILL.md +0 -146
  267. package/skills/_archive_old_skills/qk-git-engineer/SKILL.md +0 -304
  268. package/skills/_archive_old_skills/qk-help/SKILL.md +0 -68
  269. package/skills/_archive_old_skills/qk-migration/SKILL.md +0 -284
  270. package/skills/_archive_old_skills/qk-project-audit/SKILL.md +0 -280
  271. package/skills/_archive_old_skills/qk-refactor/SKILL.md +0 -222
  272. package/skills/_archive_old_skills/qk-state-management/SKILL.md +0 -140
  273. package/skills/_archive_old_skills/qk-table-crud-generator/SKILL.md +0 -127
  274. package/skills/_archive_old_skills/qk-ui-builder/SKILL.md +0 -152
  275. package/skills/_template/SKILL.md +0 -238
  276. package/skills/qk-access-policy/SKILL.md +0 -179
  277. package/skills/qk-ai-builder/SKILL.md +0 -215
  278. package/skills/qk-api-lifecycle/SKILL.md +0 -176
  279. package/skills/qk-bug-resolution/SKILL.md +0 -307
  280. package/skills/qk-context-loader/SKILL.md +0 -218
  281. package/skills/qk-data-lifecycle/SKILL.md +0 -192
  282. package/skills/qk-db-optimizer/SKILL.md +0 -196
  283. package/skills/qk-design-to-code/SKILL.md +0 -285
  284. package/skills/qk-docs/SKILL.md +0 -198
  285. package/skills/qk-engineering-standard/SKILL.md +0 -351
  286. package/skills/qk-engineering-standard/rules/backend.md +0 -122
  287. package/skills/qk-engineering-standard/rules/database.md +0 -3
  288. package/skills/qk-engineering-standard/rules/frontend.md +0 -152
  289. package/skills/qk-engineering-standard/rules/security.md +0 -3
  290. package/skills/qk-engineering-standard/rules/testing.md +0 -3
  291. package/skills/qk-fe-api-integration/SKILL.md +0 -326
  292. package/skills/qk-feature-delivery/SKILL.md +0 -305
  293. package/skills/qk-help/SKILL.md +0 -193
  294. package/skills/qk-orchestrator/SKILL.md +0 -277
  295. package/skills/qk-orchestrator/references/routing-table.md +0 -77
  296. package/skills/qk-production-release/SKILL.md +0 -284
  297. package/skills/qk-project-bootstrap/SKILL.md +0 -234
  298. package/skills/qk-project-health/SKILL.md +0 -199
  299. package/skills/qk-project-memory/SKILL.md +0 -172
  300. package/skills/qk-system-evolution/SKILL.md +0 -281
  301. package/skills/qk-ui-audit/SKILL.md +0 -314
  302. package/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
  303. package/skills/qk-ui-system-builder/SKILL.md +0 -221
  304. package/skills/qk-validation-gate/SKILL.md +0 -359
  305. package/skills.json +0 -819
  306. package/specs/contracts/behavior-contract.yaml +0 -40
  307. package/specs/expectations/qk-bug-resolution.yaml +0 -35
  308. package/specs/fixtures/user-payload.json +0 -12
  309. package/specs/regressions/api-integration-null-fields.yaml +0 -19
  310. package/specs/scenarios/fix-login-nullref.yaml +0 -3
  311. package/taste-skill/.claude-plugin/marketplace.json +0 -20
  312. package/taste-skill/.claude-plugin/plugin.json +0 -19
  313. package/taste-skill/.github/FUNDING.yml +0 -1
  314. package/taste-skill/.github/copilot-instructions.md +0 -11
  315. package/taste-skill/CHANGELOG.md +0 -111
  316. package/taste-skill/LICENSE +0 -21
  317. package/taste-skill/README.md +0 -212
  318. package/taste-skill/assets/.gitkeep +0 -0
  319. package/taste-skill/assets/readme-banner.webp +0 -0
  320. package/taste-skill/assets/readme-buttons/btn-agent-skills.webp +0 -0
  321. package/taste-skill/assets/readme-buttons/btn-changelog.webp +0 -0
  322. package/taste-skill/assets/readme-buttons/btn-mit.webp +0 -0
  323. package/taste-skill/assets/readme-buttons/btn-site.webp +0 -0
  324. package/taste-skill/assets/readme-buttons/btn-tools.webp +0 -0
  325. package/taste-skill/assets/readme-cta-tasteskill.svg +0 -5
  326. package/taste-skill/assets/sponsors/animations-dev.webp +0 -0
  327. package/taste-skill/assets/sponsors/emil-animations-dev.webp +0 -0
  328. package/taste-skill/assets/taste-skill-logo.png +0 -0
  329. package/taste-skill/assets/taste-skill-logo.webp +0 -0
  330. package/taste-skill/assets/vercel-oss-program-badge.svg +0 -44
  331. package/taste-skill/examples/floria-bottom.webp +0 -0
  332. package/taste-skill/examples/floria-full.webp +0 -0
  333. package/taste-skill/examples/floria-top.webp +0 -0
  334. package/taste-skill/research/README.md +0 -8
  335. package/taste-skill/research/laziness/README.md +0 -25
  336. package/taste-skill/research/laziness/findings/empirical-results.md +0 -58
  337. package/taste-skill/research/laziness/findings/references.md +0 -20
  338. package/taste-skill/research/laziness/remediation/architectural-patterns.md +0 -55
  339. package/taste-skill/research/laziness/remediation/parameter-tuning.md +0 -44
  340. package/taste-skill/research/laziness/remediation/prompt-engineering.md +0 -52
  341. package/taste-skill/research/laziness/remediation/reference-prompts.md +0 -79
  342. package/taste-skill/research/laziness/root-causes/cognitive-shortcuts.md +0 -23
  343. package/taste-skill/research/laziness/root-causes/output-limits.md +0 -39
  344. package/taste-skill/research/laziness/root-causes/rlhf-and-compute.md +0 -27
  345. package/taste-skill/research/laziness/root-causes/training-data-bias.md +0 -28
  346. package/taste-skill/scripts/build-emil-sponsor-row.mjs +0 -41
  347. package/taste-skill/scripts/convert-readme-assets-webp.mjs +0 -142
  348. package/taste-skill/scripts/process-readme-buttons.mjs +0 -108
  349. package/taste-skill/scripts/process-sponsor-badge.mjs +0 -83
  350. package/taste-skill/skill.sh +0 -25
  351. package/taste-skill/skills/brandkit/SKILL.md +0 -798
  352. package/taste-skill/skills/brutalist-skill/SKILL.md +0 -92
  353. package/taste-skill/skills/gpt-tasteskill/SKILL.md +0 -74
  354. package/taste-skill/skills/image-to-code-skill/SKILL.md +0 -1228
  355. package/taste-skill/skills/imagegen-frontend-mobile/SKILL.md +0 -1465
  356. package/taste-skill/skills/imagegen-frontend-web/SKILL.md +0 -987
  357. package/taste-skill/skills/llms.txt +0 -13
  358. package/taste-skill/skills/minimalist-skill/SKILL.md +0 -85
  359. package/taste-skill/skills/output-skill/SKILL.md +0 -49
  360. package/taste-skill/skills/redesign-skill/SKILL.md +0 -178
  361. package/taste-skill/skills/soft-skill/SKILL.md +0 -98
  362. package/taste-skill/skills/stitch-skill/DESIGN.md +0 -121
  363. package/taste-skill/skills/stitch-skill/SKILL.md +0 -184
  364. package/taste-skill/skills/taste-skill/SKILL.md +0 -1206
  365. package/taste-skill/skills/taste-skill-v1/SKILL.md +0 -226
  366. package/temp_fix.js +0 -61
  367. package/templates/DESIGN.md +0 -38
  368. package/templates/bug-report.md +0 -21
  369. package/templates/design-report.md +0 -21
  370. package/templates/feature-report.md +0 -20
  371. package/templates/review-report.md +0 -21
  372. package/templates/skill-template.md +0 -38
  373. package/tests/behavior-conformance.test.js +0 -154
  374. package/tests/install-script.test.js +0 -38
  375. package/tests/registry.test.js +0 -111
  376. package/update_template.js +0 -28
  377. package/vitest.config.js +0 -11
@@ -1,56 +0,0 @@
1
- name: CI / Spec Compliance & Registry Validation
2
-
3
- on:
4
- pull_request:
5
- paths:
6
- - 'skills/**'
7
- - 'skills.json'
8
- - 'docs/SPEC.md'
9
- - 'bin/install.js'
10
- push:
11
- branches: [ main ]
12
- paths:
13
- - 'skills/**'
14
- - 'skills.json'
15
- - 'docs/SPEC.md'
16
- - 'bin/install.js'
17
-
18
- jobs:
19
- lint-and-validate:
20
- runs-on: windows-latest
21
- steps:
22
- - name: Checkout
23
- uses: actions/checkout@v4
24
-
25
- - name: Setup Node.js
26
- uses: actions/setup-node@v4
27
- with:
28
- node-version: '20.x'
29
-
30
- - name: Install dependencies
31
- run: npm install
32
-
33
- - name: Validate Skills Registry vs Filesystem
34
- run: npm run test:registry
35
-
36
- - name: Validate SKILL.md Spec Compliance
37
- run: npm run lint
38
-
39
- snapshot:
40
- runs-on: windows-latest
41
- needs: lint-and-validate
42
- if: github.ref == 'refs/heads/main'
43
- steps:
44
- - name: Checkout
45
- uses: actions/checkout@v4
46
-
47
- - name: Setup Node.js
48
- uses: actions/setup-node@v4
49
- with:
50
- node-version: '20.x'
51
-
52
- - name: Install dependencies
53
- run: npm install
54
-
55
- - name: Generate Registry Snapshot
56
- run: node bin/install.js --ide=7 --scope=2
@@ -1,69 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to the **AI Developer Skill OS** project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [7.0.2] - 2026-07-15
9
-
10
- ### Added
11
- - **Frontend Integration**: Added `qk-fe-api-integration` skill to strictly enforce zero-overhead base API consumption, DTO mapping, and resilient UI states.
12
-
13
- ## [7.0.0] - 2026-07-15
14
-
15
- ### Changed (The "Anti-Slop & Zero-Trust" Architecture Upgrade)
16
- - **Zero-Trust Logic**: Core logic skills (`qk-context-loader`, `qk-orchestrator`, `qk-feature-delivery`) now mandate a Topological Context Graph prior to any code generation.
17
- - **Strict Design Contract**: Frontend skills (`qk-ui-system-builder`, `qk-design-to-code`, `qk-ui-audit`) now explicitly reject generic styling (slop) and enforce strict token matching against a mandated `DESIGN.md`.
18
- - **Repair Loop Enforcement**: `qk-bug-resolution` updated to strictly prohibit jumping to fixes without explicitly establishing an `Observe -> Hypothesis -> Evidence` chain.
19
- - **Contract-First APIs**: `qk-api-lifecycle` now requires explicit OpenAPI/Swagger definitions prior to endpoint implementation.
20
- - **Upgraded Testing Framework**: Fixed regex and validation logic in `behavior-conformance.test.js` to rigorously support YAML array strings and precise V7 markdown constraints. All 22 skills bumped to `v7.0.0`.
21
- - **Project Bootstrapping**: `qk-project-bootstrap` now scaffolds `DESIGN.md` explicitly upon initialization.
22
-
23
-
24
- ## [4.0.0] - 2026-07-02
25
-
26
- ### Changed (Major Architecture Upgrade)
27
- - **Intent-Based Agent Architecture:** Replaced rule-based individual skill exceptions with global behavioral group classifications (Static Analysis, Development, Validation, Maintenance).
28
- - **OS Kernel Refactor:** Completely rewrote `AGENTS.md` (the "OS Kernel") into a strictly organized, lightweight structure under 100 lines.
29
- - **Progressive Evidence Collection:** Agents now enforce an 80% Confidence Threshold and incremental Context Budget (`1 file` → `3 files`) to prevent over-fetching and hallucination loops.
30
- - **Cost & Escalation Policies:** Introduced strict cost-optimization logic, Stopping Criteria, and Escalation protocols to prevent infinite `run_command` retries.
31
- - **Risk-based Verification:** Dynamic test execution based on the risk level of changes (Levels 0-3).
32
-
33
- ### Added
34
- - **Registry Validation Suite:** Full Vitest test suite enforcing SKILL.md frontmatter compliance against `docs/SPEC.md`.
35
- - **GitHub Actions CI:** Automated validation on every PR and push to main.
36
- - **Idempotent Installer:** `bin/install.js` now detects and updates existing rule blocks instead of duplicating them.
37
- - **Kilo Code Native Support:** First-class support for `CLAUDE.md` + `kilo.json` config generation.
38
- - **Governance Docs:** `docs/GOVERNANCE.md`, ADRs, and skill classification policy for enterprise maintainability.
39
- - **Engineering Standards:** `qk-engineering-standard` and `qk-validation-gate` skills enforce SOLID, DRY, Clean Code, and mandatory quality gates.
40
-
41
- ## [1.0.1] - 2026-07-01
42
- ### Fixed
43
- - Standardized Language rule across all 23 SKILL.md files for consistency.
44
- - Updated registry version to match package.json.
45
-
46
- ## [1.0.0] - 2026-07-01
47
-
48
- ### Added
49
- - Released the complete AI Developer Skill OS with 23 targeted skills for coding agents.
50
- - **Engineering Core (8 skills):**
51
- - `agent-orchestrator` for planning and delegating tasks.
52
- - `context-manager` for project context and file selection.
53
- - `project-audit` for 3-mode health checks.
54
- - `bug-fix` with root cause analysis.
55
- - `refactor` for safe, behavior-preserving code restructuring.
56
- - `migration` for dependency updates and library swapping.
57
- - `api-integration` for robust API connections.
58
- - `git-engineer` for commit messages and PR documentation.
59
- - **Frontend Core (11 skills):**
60
- - `frontend-architecture`, `design-system`, `ui-builder`, `component-generator`.
61
- - `state-management`, `form-builder`, `table-crud-generator`.
62
- - `frontend-debug`, `frontend-testing`, `accessibility-audit`, `frontend-performance`.
63
- - **Backend Core (4 skills):**
64
- - `backend-architecture`, `database-engineer`, `auth-security`, `deployment`.
65
- - Added comprehensive `skills.json` registry with dependencies and trigger keywords.
66
- - Added bilingual `README.md` (English/Vietnamese).
67
- - Added detailed user documentation in `docs/HUONG_DAN_SU_DUNG.md` and `docs/CHI_TIET_SKILLS.md`.
68
- - Translated all skill frontmatter descriptions to Vietnamese for better UX in agent terminals.
69
- - Included generic English and Vietnamese usage examples in `_template/examples/`.
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Quang Khánh
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,59 +0,0 @@
1
- # 🚀 AI Developer Skill OS (ai-developer-skill-os) v7.0.0
2
-
3
- > **V7.0.0 "Anti-Slop & Zero-Trust Architecture"**
4
-
5
- Hệ sinh thái AI Developer Skill OS đã được tái cấu trúc hoàn toàn. Thay vì cung cấp các "công cụ rời rạc" (Toolbox), phiên bản V7 được thiết kế như một **Hệ điều hành khép kín, hoạt động theo kỷ luật của một Kiến trúc sư Hệ thống (50 năm kinh nghiệm)**.
6
-
7
- ---
8
-
9
- ## 🏗️ Triết Lý Hoạt Động Cốt Lõi (V7 Kernel)
10
-
11
- ### 1. Zero-Trust Context (Không bao giờ đoán mò)
12
- Mọi kỹ năng phân tích logic và backend (như `qk-feature-delivery`, `qk-orchestrator`) đều bị khoá chặt, không được phép hoạt động nếu chưa có **Dependency Graph** (Bản đồ cấu trúc) từ `qk-context-loader`. AI không được phép thay đổi code dựa trên trí tưởng tượng.
13
-
14
- ### 2. Contract-First (Khế ước đi đầu)
15
- - **Frontend / UI**: Mọi sửa đổi giao diện đều phải dựa trên `DESIGN.md`. Nếu vi phạm (tạo ra giao diện lười biếng "slop", dùng màu mặc định sai lệch), AI sẽ tự động bị đánh trượt bài kiểm toán.
16
- - **Backend / API**: Mọi API phải được viết `OpenAPI/Swagger` schema trước khi viết logic thực tế (`qk-api-lifecycle`).
17
- - **Database**: Cấm truy vấn mù. Bắt buộc phải có Schema định nghĩa rõ ràng trước (`qk-data-lifecycle`).
18
-
19
- ### 3. Repair Loop (Chu trình Sửa Lỗi Khép Kín)
20
- Bảo vệ mã nguồn khỏi thói quen "sửa vội" của AI. Lỗi bắt buộc phải qua chu trình điều tra nghiêm ngặt: `Observe -> Hypothesis -> Evidence -> Fix -> Verify` (`qk-bug-resolution`).
21
-
22
- ---
23
-
24
- ## 🧩 Danh sách 23 Master Skills
25
-
26
- Các kỹ năng được quản lý cực kỳ chặt chẽ với bài kiểm tra tự động (Vitest) để đảm bảo tính nhất quán của luật lệ:
27
- - **Orchestration:** `qk-orchestrator`, `qk-context-loader`, `qk-policy-engine`, `qk-access-policy`
28
- - **Engineering / Dev:** `qk-feature-delivery`, `qk-api-lifecycle`, `qk-fe-api-integration`, `qk-data-lifecycle`, `qk-design-to-code`, `qk-ui-system-builder`
29
- - **Validation & Standards:** `qk-validation-gate`, `qk-engineering-standard`, `qk-ui-audit`, `qk-project-health`, `qk-bug-resolution`
30
- - **Ops & AI:** `qk-system-evolution`, `qk-production-release`, `qk-ai-builder`, `qk-project-bootstrap`
31
- - **Docs & Utils:** `qk-docs`, `qk-project-memory`, `qk-help`
32
-
33
- ---
34
-
35
- ## 💻 Cách Cài Đặt (Installation)
36
-
37
- Sử dụng npm:
38
- ```bash
39
- npm i -g ai-developer-skill-os
40
- ```
41
- Hoặc khởi tạo thông qua `npx`:
42
- ```bash
43
- npx ai-developer-skill-os init
44
- ```
45
-
46
- ## 🧪 Testing
47
-
48
- Hệ thống được bảo vệ bằng bộ Test Suite (Vitest) để tự động kiểm toán tính hợp lệ của toàn bộ 23 file Kỹ năng trước khi xuất bản:
49
-
50
- ```bash
51
- npm test
52
- ```
53
-
54
- ## 🚀 Tra Cứu (Help)
55
-
56
- Để tra cứu danh sách các Kỹ năng và luật lệ khắt khe của hệ thống V7, hãy gọi:
57
- ```bash
58
- ./qk-help
59
- ```
@@ -1,96 +0,0 @@
1
- ---
2
- name: qk-[tên-behavior]
3
- version: 6.0.0
4
- updated: 2026-07-10
5
- description: Behavior Specification theo chuẩn BSF v6.0.
6
- ---
7
-
8
- # 📜 Behavior Specification: [Tên Behavior]
9
-
10
- ## 1. Behavior (Định danh Hành vi)
11
- ```yaml
12
- Mission: [Mục tiêu tối thượng của hành vi này]
13
- Authority: [Thẩm quyền tối đa được phép]
14
- Responsibility: [Trách nhiệm cốt lõi]
15
- Limitation: [Giới hạn tuyệt đối không được vượt qua]
16
- ```
17
-
18
- ## 2. Contracts (Hợp đồng)
19
-
20
- ### 2.1. Capability Contract
21
- ```yaml
22
- Can:
23
- - [Hành động được phép: VD - read_docs, execute_tests]
24
- Must:
25
- - [Hành động bắt buộc: VD - verify assumptions before coding]
26
- Cannot:
27
- - [Hành động cấm: VD - invent API, drop database]
28
- ```
29
-
30
- ### 2.2. Output Contract
31
- ```yaml
32
- Artifacts:
33
- - [Artifact 1: VD - plan.md]
34
- - [Artifact 2: VD - summary_report]
35
- Completion: "Artifacts generated & Quality Gates passed."
36
- ```
37
-
38
- ## 3. Policies (Chính sách)
39
-
40
- ### 3.1. Context Policy
41
- ```yaml
42
- Scope: [current_repo | whole_workspace | external_docs]
43
- Priority:
44
- 1: Project Docs
45
- 2: Current Conversation
46
- 3: Source Code
47
- Trust: "official docs > code > assumptions"
48
- Fallback: ask_user
49
- ```
50
-
51
- ### 3.2. Reasoning Boundary
52
- ```yaml
53
- May infer: [VD: Variable naming, Local scope logic]
54
- Must verify: [VD: Business logic, Auth rules]
55
- Must ask: [VD: Missing edge cases, Vague requirements]
56
- Must refuse: [VD: Unsafe assumptions, Security risks]
57
- ```
58
-
59
- ### 3.3. Decision Policy
60
- ```yaml
61
- Priority:
62
- 1: correctness
63
- 2: safety
64
- 3: maintainability
65
- 4: performance
66
- ```
67
-
68
- ### 3.4. Evidence Policy
69
- ```yaml
70
- Accept: [logs, unit tests, profiling data]
71
- Prefer: [official vendor docs, architecture repo docs]
72
- Reject: [guess, outdated internet search, agent memory]
73
- ```
74
-
75
- ### 3.5. Escalation Policy
76
- ```yaml
77
- Warning: [Cảnh báo rủi ro (VD: Rename file)]
78
- Confirmation: [Cần user cho phép (VD: Override config)]
79
- Stop: [Dừng ngay lập tức (VD: Đụng vào Auth, Permission Denied)]
80
- ```
81
-
82
- ## 4. Protocol (Tùy chọn)
83
- *(Chỉ sử dụng nếu behavior này yêu cầu quy trình nhiều bước (State Machine). Xóa phần này nếu không cần thiết).*
84
-
85
- ```yaml
86
- States:
87
- - collect_context
88
- - clarify
89
- - execute
90
-
91
- Transitions:
92
- collect_context:
93
- if context_missing: -> clarify
94
- else: -> execute
95
- # ... (Các rule chuyển trạng thái khác) ...
96
- ```
@@ -1,49 +0,0 @@
1
- ---
2
- # AI Developer Skill OS
3
- # Example usage file (English)
4
- # Copy this as a starting point for your skill examples
5
- ---
6
-
7
- # Example: [Skill Name]
8
-
9
- ## Input
10
-
11
- **User request:**
12
- ```
13
- [Describe what the user said or asked]
14
- ```
15
-
16
- **Project context:**
17
- - Framework: [React 18 / Next.js 14 / Vue 3 / etc.]
18
- - Relevant files: `[path/to/file.ts]`
19
- - Current state: [Brief description]
20
-
21
- ---
22
-
23
- ## Execution
24
-
25
- **Skill activated:** `[skill-name]`
26
-
27
- **Phase 1 — Analysis:**
28
- > [What the AI analyzed]
29
-
30
- **Phase 2 — Plan:**
31
- > [What the AI decided to do]
32
-
33
- **Phase 3 — Output:**
34
-
35
- ```typescript
36
- // [filename.ts]
37
- // [Generated or modified code]
38
- ```
39
-
40
- ---
41
-
42
- ## Result
43
-
44
- ```
45
- ✅ Summary: [What was done]
46
- 📁 Files: [List of files]
47
- ⚠️ Warnings: [Any notes]
48
- 🔗 Next steps: [Follow-up suggestion]
49
- ```
@@ -1,49 +0,0 @@
1
- ---
2
- # AI Developer Skill OS
3
- # File ví dụ sử dụng (Tiếng Việt)
4
- # Sao chép file này làm điểm khởi đầu cho ví dụ của bạn
5
- ---
6
-
7
- # Ví dụ: [Tên Skill]
8
-
9
- ## Input (Đầu vào)
10
-
11
- **Yêu cầu của người dùng:**
12
- ```
13
- [Mô tả người dùng đã nói hoặc yêu cầu gì]
14
- ```
15
-
16
- **Bối cảnh dự án:**
17
- - Framework: [React 18 / Next.js 14 / Vue 3 / v.v.]
18
- - File liên quan: `[path/to/file.ts]`
19
- - Trạng thái hiện tại: [Mô tả ngắn]
20
-
21
- ---
22
-
23
- ## Thực thi
24
-
25
- **Skill được kích hoạt:** `[skill-name]`
26
-
27
- **Phase 1 — Phân tích:**
28
- > [AI đã phân tích gì]
29
-
30
- **Phase 2 — Kế hoạch:**
31
- > [AI quyết định làm gì]
32
-
33
- **Phase 3 — Kết quả:**
34
-
35
- ```typescript
36
- // [filename.ts]
37
- // [Code được tạo hoặc chỉnh sửa]
38
- ```
39
-
40
- ---
41
-
42
- ## Kết quả
43
-
44
- ```
45
- ✅ Tóm tắt: [Đã làm gì]
46
- 📁 Files: [Danh sách file]
47
- ⚠️ Lưu ý: [Ghi chú quan trọng]
48
- 🔗 Bước tiếp theo: [Gợi ý skill hoặc hành động tiếp theo]
49
- ```
@@ -1,125 +0,0 @@
1
- # Từ Điển Chi Tiết 22 Siêu Kỹ Năng (Master Skills)
2
-
3
- Dưới đây là danh sách chi tiết và giải thích cụ thể cho toàn bộ 22 Kỹ năng thuộc Kiến trúc AI Developer Skill OS. Các kỹ năng được phân chia khép kín theo 7 lớp kiến trúc tiêu chuẩn cấp doanh nghiệp (Enterprise Architecture).
4
-
5
- ---
6
-
7
- ## 🏗️ Lớp 0: Foundation Layer (Nền Tảng Cốt Lõi)
8
- *Lớp này đóng vai trò như "Não bộ trung tâm", chuyên nhận lệnh, cấp quyền, cung cấp luật lệ và chuẩn bị môi trường trước khi bất kỳ dòng code nào được viết ra.*
9
-
10
- ### 1. `qk-orchestrator` (Trợ Lý Điều Phối)
11
- - **Mô tả:** Nhận lệnh chung chung từ người dùng, tự động phân tích ý đồ và định hướng luồng công việc (chọn gọi các kỹ năng nào tiếp theo).
12
- - **Khi nào dùng:** Khi bạn có một yêu cầu lớn và không biết bắt đầu từ đâu.
13
-
14
- ### 2. `qk-context-loader` (Nạp Ngữ Cảnh)
15
- - **Mô tả:** Có khả năng đọc lướt dự án để gom chính xác các file liên quan đến task hiện tại (chống tràn bộ nhớ token của AI).
16
- - **Khi nào dùng:** Khi code dự án quá lớn, cần khoanh vùng các file cần sửa.
17
-
18
- ### 3. `qk-access-policy` (Kiểm Soát Phân Quyền)
19
- - **Mô tả:** Xử lý và cung cấp các quy tắc về bảo mật (Security), phân quyền (RBAC), Authentication (JWT/OAuth).
20
- - **Khi nào dùng:** Khi tính năng liên quan đến việc bảo mật, ai được quyền truy cập vào đâu.
21
-
22
- ### 4. `qk-project-memory` (Trí Nhớ Dự Án)
23
- - **Mô tả:** Lưu trữ DNA của dự án, các quyết định kiến trúc, UI pattern và các convention đã được thống nhất từ trước.
24
- - **Khi nào dùng:** Khi muốn AI làm theo đúng style đã có sẵn trong dự án.
25
-
26
- ### 5. `qk-engineering-standard` (Bộ Luật Thiết Kế)
27
- - **Mô tả:** Bơm các "luật thép" (về Frontend, Backend, Database) vào ngữ cảnh để bắt AI tuân thủ cấu trúc thư mục và naming.
28
- - **Khi nào dùng:** Tự động gọi để ép AI viết code không bị rác.
29
-
30
- ### 6. `qk-project-bootstrap` (Khởi Tạo Dự Án)
31
- - **Mô tả:** Setup toàn bộ khung sườn của một dự án mới tinh từ con số 0 (Cấu hình lint, format, folder structure).
32
- - **Khi nào dùng:** Lúc bắt đầu dự án mới.
33
-
34
- ---
35
-
36
- ## 🎨 Lớp 1: UI System Layer (Hệ Thống Giao Diện)
37
- *Nhóm chuyên biệt về vẽ giao diện và quản lý hệ thống thành phần (Components).*
38
-
39
- ### 7. `qk-ui-system-builder` (Kỹ Sư Hệ Thống UI)
40
- - **Mô tả:** Quản lý Design Token, tạo ra các Component có thể tái sử dụng (Button, Table, Form) đảm bảo tính nhất quán toàn dự án.
41
- - **Khi nào dùng:** Xây dựng thư viện giao diện, tránh viết CSS lộn xộn.
42
-
43
- ### 8. `qk-design-to-code` (Chuyển Đổi Thiết Kế)
44
- - **Mô tả:** Đọc hiểu hình ảnh/Figma để tự động chuyển thành mã nguồn giao diện (React, Tailwind, v.v.).
45
- - **Khi nào dùng:** Bóc tách UI từ bản thiết kế.
46
-
47
- ### 9. `qk-ui-audit` (Kiểm Toán Giao Diện)
48
- - **Mô tả:** Kiểm tra độ nhất quán UI/UX, hỗ trợ Responsive trên điện thoại và tối ưu khả năng tiếp cận (Accessibility - a11y).
49
- - **Khi nào dùng:** Kiểm tra lỗi UI sau khi hoàn thiện giao diện.
50
-
51
- ---
52
-
53
- ## 💻 Lớp 2: Development Layer (Phát Triển E2E)
54
- *Khối thực thi mạnh mẽ nhất, đi từ A-Z một tính năng cụ thể.*
55
-
56
- ### 10. `qk-feature-delivery` (Chuyển Giao Tính Năng)
57
- - **Mô tả:** Kỹ năng toàn năng, tự động phân tích thiết kế Database -> Viết API -> Xây UI -> Viết Unit Test cho một tính năng trọn vẹn.
58
- - **Khi nào dùng:** Xây dựng tính năng hoàn chỉnh (Ví dụ: Chức năng Thanh Toán).
59
-
60
- ### 11. `qk-api-lifecycle` (Vòng Đời API)
61
- - **Mô tả:** Chuyên biệt cho Backend: Viết spec, tạo Service, định nghĩa Type, viết Test và sinh tài liệu cho API.
62
- - **Khi nào dùng:** Xây dựng các Endpoint API.
63
-
64
- ### 12. `qk-data-lifecycle` (Vòng Đời Dữ Liệu)
65
- - **Mô tả:** Quản lý Schema, tạo file Migration, tối ưu câu lệnh truy vấn (SQL, Prisma, v.v.).
66
- - **Khi nào dùng:** Thay đổi cấu trúc cơ sở dữ liệu.
67
-
68
- ### 13. `qk-db-optimizer` (Tối Ưu Database)
69
- - **Mô tả:** Phân tích EXPLAIN plan, tìm N+1 queries, đề xuất index và tối ưu query performance.
70
- - **Khi nào dùng:** Truy vấn chậm, performance DB issue.
71
-
72
- ### 14. `qk-fe-api-integration` (Tích Hợp API Frontend)
73
- - **Mô tả:** Consume API Backend, quản lý State, bind vào UI — tuân thủ kiến trúc Base dự án.
74
- - **Khi nào dùng:** Khi cần gọi API từ frontend, map DTO, xử lý Loading/Error states.
75
-
76
- ---
77
-
78
- ## 🛡️ Lớp 3: Quality Assurance Layer (Đảm Bảo Chất Lượng)
79
- *Kiểm tra độ sạch của code và diệt bug.*
80
-
81
- ### 15. `qk-project-health` (Kiểm Toán Dự Án)
82
- - **Mô tả:** Quét toàn bộ dự án để tìm Code Smell, Nợ kỹ thuật (Tech Debt), và các vi phạm kiến trúc.
83
- - **Khi nào dùng:** Định kỳ kiểm tra chất lượng mã nguồn hoặc tối ưu hiệu năng.
84
-
85
- ### 16. `qk-bug-resolution` (Giải Quyết Bug Triệt Để)
86
- - **Mô tả:** Tái hiện lỗi, đào sâu tìm Root Cause, cung cấp giải pháp an toàn và viết Regression Test để chống lỗi lặp lại.
87
- - **Khi nào dùng:** Sửa các lỗi đứt gãy hoặc logic nghiêm trọng.
88
-
89
- ### 17. `qk-validation-gate` (Cổng Kiểm Định)
90
- - **Mô tả:** Kỹ năng chặn cửa. Bắt buộc chạy Test, Linting và Scan Security. Chỉ khi "PASS" mới cho phép kết thúc task.
91
- - **Khi nào dùng:** Nằm cuối quy trình code của bất kỳ tính năng nào.
92
-
93
- ---
94
-
95
- ## 🚀 Lớp 4 & 5: Evolution & Operation (Vận Hành & Tiến Hóa)
96
- *Triển khai dự án lên Production và nâng cấp phiên bản lớn.*
97
-
98
- ### 18. `qk-system-evolution` (Tiến Hóa Hệ Thống)
99
- - **Mô tả:** Nâng cấp dependency (VD: Next 14 lên 15), phân tích rủi ro ảnh hưởng và thực thi nâng cấp an toàn không downtime.
100
- - **Khi nào dùng:** Update version framework/thư viện.
101
-
102
- ### 19. `qk-production-release` (Triển Khai Môi Trường)
103
- - **Mô tả:** Viết Dockerfile, cấu hình CI/CD Pipelines (Github Actions), Deploy lên Cloud (AWS, Vercel).
104
- - **Khi nào dùng:** Release sản phẩm cho người dùng cuối.
105
-
106
- ---
107
-
108
- ## 🤖 Lớp 6: AI Builder Layer (Tích hợp AI)
109
-
110
- ### 20. `qk-ai-builder` (Xây Dựng AI App)
111
- - **Mô tả:** Chuyên thiết kế và code các ứng dụng AI như RAG (Retrieval-Augmented Generation), Agent logic và Prompt Engineering.
112
- - **Khi nào dùng:** Tích hợp LLM vào trong phần mềm của bạn.
113
-
114
- ---
115
-
116
- ## 📚 Lớp 7: Knowledge Layer (Tri Thức & Tài Liệu)
117
- *Hệ thống tự học và viết tài liệu vĩ đại của OS.*
118
-
119
- ### 21. `qk-docs` (Kỹ Sư Tài Liệu)
120
- - **Mô tả:** Tự động sinh hoặc cập nhật tài liệu cho con người đọc: `README.md`, `CHANGELOG.md`, `API Docs`.
121
- - **Khi nào dùng:** Nằm ở cuối quy trình sau khi hoàn thành tính năng.
122
-
123
- ### 22. `qk-help` (Tra Cứu Nhanh)
124
- - **Mô tả:** Cuốn từ điển sống. Cung cấp thông tin và hướng dẫn chi tiết (Pro-tips) về cách sử dụng toàn bộ hệ thống.
125
- - **Khi nào dùng:** Bất kỳ khi nào người dùng cần hỗ trợ sử dụng hệ điều hành.
@@ -1,40 +0,0 @@
1
- # Project Governance
2
-
3
- This document serves as the "Constitution" for the AI Developer Skill OS. It dictates how the project evolves, when core files can be modified, and how versions are incremented.
4
-
5
- ## 1. Core Philosophy
6
- **Architecture-first, features-second.**
7
- Before submitting any Pull Request, ask yourself:
8
- 1. *Does this change require modifying the OS Kernel (`AGENTS.md`)?*
9
- 2. *If not, can this be solved at the Skill, Knowledge, or Template layer?*
10
-
11
- If the problem can be solved in a Skill, Knowledge document, or Template, **do not touch the Kernel**.
12
-
13
- ## 2. When to modify `AGENTS.md` (The Kernel)
14
- The Kernel is **frozen**. Modifications to `AGENTS.md` are strictly prohibited unless:
15
- - The change introduces a fundamentally new paradigm for ALL agents (e.g., a completely new approach to token management).
16
- - A critical, framework-breaking hallucination loop is discovered that cannot be solved via Skill guidelines.
17
- - **Requirement:** Any modification to `AGENTS.md` MUST be accompanied by a new Architecture Decision Record (ADR).
18
-
19
- ## 3. When to create an ADR (Architecture Decision Record)
20
- ADRs (located in `docs/adr/`) must be created when:
21
- - Modifying `AGENTS.md` or `SPEC.md`.
22
- - Introducing a new lifecycle phase to the pipeline.
23
- - Deprecating an existing core feature or standard tool.
24
-
25
- ## 4. Definition of a "Breaking Change"
26
- A change is considered **Breaking** if it:
27
- - Alters the required YAML frontmatter contract in `SPEC.md`.
28
- - Changes the fundamental routing logic or expected `behavior` / `intent` mappings.
29
- - Removes an existing global policy that downstream agents rely on.
30
-
31
- ## 5. Versioning Strategy (Semantic Versioning)
32
- We strictly adhere to SemVer based on the framework's architecture, not just content.
33
- - **MAJOR (e.g., v4.0.0 to v6.0.0):** Breaking changes to the Kernel (`AGENTS.md`), Metadata Contract (`SPEC.md`), or fundamental routing.
34
- - **MINOR (e.g., v4.0.0 to v4.1.0):** Adding new Capabilities, new default Skills, new Knowledge docs, or new Templates.
35
- - **PATCH (e.g., v4.0.0 to v4.0.1):** Fixing typos in docs, updating README, or minor bug fixes within an individual skill's SOP.
36
-
37
- ## 6. PR Review Process
38
- 1. **Architecture Compliance:** Does the PR violate the Kernel Freeze? Are all skills compliant with `SPEC.md`?
39
- 2. **Documentation Consistency:** Are the changes reflected in `CHANGELOG.md`?
40
- 3. **No Redundancy:** Ensure the PR does not re-introduce tool usage rules or verification overrides into individual skills.