ai-developer-skill-os 7.5.1 → 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 (300) hide show
  1. package/.agents/docs/ARCHITECTURE.md +156 -0
  2. package/.agents/docs/MIGRATION-CLEANUP-V8.1.3.md +36 -0
  3. package/.agents/docs/MIGRATION-STATUS.md +35 -0
  4. package/.agents/docs/MIGRATION-V8.md +10 -0
  5. package/.agents/docs/ROADMAP-V8.2.md +78 -0
  6. package/.agents/docs/V8-CERTIFICATION.md +27 -0
  7. package/.agents/docs/VERSIONING.md +95 -0
  8. package/.agents/docs/decisions/ADR-001-v8-migration.md +58 -0
  9. package/.agents/docs/decisions/ADR-002-workflow-separation.md +50 -0
  10. package/.agents/docs/decisions/ADR-003-registry-generated.md +54 -0
  11. package/.agents/docs/decisions/ADR-008-skill-boundary-review.md +27 -0
  12. package/.agents/docs/schemas/learning.schema.yml +69 -0
  13. package/.agents/docs/schemas/skill.schema.yml +188 -0
  14. package/.agents/docs/schemas/workflow.schema.yml +33 -0
  15. package/.agents/knowledge/design-intelligence/industries/ecommerce.md +3 -0
  16. package/.agents/knowledge/design-intelligence/industries/fintech.md +3 -0
  17. package/.agents/knowledge/design-intelligence/industries/healthcare.md +3 -0
  18. package/.agents/learnings/draft/README.md +37 -0
  19. package/.agents/registry/capability-graph.yml +500 -0
  20. package/.agents/registry/skills-index.yml +525 -0
  21. package/.agents/reports/RELEASE-CHECKLIST.md +29 -0
  22. package/.agents/reports/architecture-audit.md +13 -0
  23. package/.agents/reports/graph-health.md +20 -0
  24. package/.agents/reports/skill-audit.md +215 -0
  25. package/.agents/rules/coding.md +102 -0
  26. package/.agents/rules/command-safety.md +21 -0
  27. package/.agents/rules/global.md +135 -0
  28. package/.agents/rules/priorities.yml +24 -0
  29. package/.agents/rules/safety.md +84 -0
  30. package/.agents/rules/security.md +13 -0
  31. package/.agents/rules/skill-quality.md +14 -0
  32. package/.agents/skills/_template/SKILL.md +132 -0
  33. package/.agents/skills/qk-access-policy/SKILL.md +61 -5
  34. package/.agents/skills/qk-agent-observability/SKILL.md +73 -0
  35. package/.agents/skills/qk-ai-builder/SKILL.md +62 -5
  36. package/.agents/skills/qk-api-lifecycle/SKILL.md +59 -6
  37. package/.agents/skills/qk-bug-resolution/SKILL.md +64 -6
  38. package/.agents/skills/qk-context-loader/SKILL.md +63 -11
  39. package/.agents/skills/qk-data-lifecycle/SKILL.md +61 -5
  40. package/.agents/skills/qk-db-optimizer/SKILL.md +61 -5
  41. package/.agents/skills/qk-design-system-engineering/SKILL.md +112 -0
  42. package/.agents/skills/qk-devops-platform/SKILL.md +117 -0
  43. package/.agents/skills/qk-docs/SKILL.md +62 -6
  44. package/.agents/skills/qk-engineering-standard/SKILL.md +62 -12
  45. package/.agents/skills/qk-fe-api-integration/SKILL.md +60 -6
  46. package/.agents/skills/qk-feature-delivery/SKILL.md +65 -6
  47. package/.agents/skills/qk-frontend-architecture/SKILL.md +134 -0
  48. package/.agents/skills/qk-help/SKILL.md +245 -193
  49. package/.agents/skills/qk-orchestrator/SKILL.md +64 -11
  50. package/.agents/skills/qk-orchestrator/references/routing-table.md +1 -1
  51. package/.agents/skills/qk-product-specification/SKILL.md +130 -0
  52. package/.agents/skills/qk-production-release/SKILL.md +59 -6
  53. package/.agents/skills/qk-project-bootstrap/SKILL.md +66 -6
  54. package/.agents/skills/qk-project-health/SKILL.md +63 -6
  55. package/.agents/skills/qk-project-memory/SKILL.md +63 -6
  56. package/.agents/skills/qk-security-audit/SKILL.md +135 -0
  57. package/.agents/skills/qk-system-evolution/SKILL.md +63 -12
  58. package/.agents/skills/qk-test-engineering/SKILL.md +139 -0
  59. package/.agents/skills/qk-ui-audit/SKILL.md +60 -6
  60. package/.agents/skills/qk-ui-builder/SKILL.md +509 -446
  61. package/.agents/skills/qk-ui-system-builder/SKILL.md +61 -5
  62. package/.agents/skills/qk-validation-gate/SKILL.md +63 -11
  63. package/.agents/skills/qk-web-quality-gate/SKILL.md +114 -0
  64. package/.agents/workflows/_schema.yml +109 -0
  65. package/.agents/workflows/bug-resolution.yml +101 -0
  66. package/.agents/workflows/code-review.yml +77 -0
  67. package/.agents/workflows/documentation.yml +75 -0
  68. package/.agents/workflows/feature-delivery.yml +103 -0
  69. package/.agents/workflows/refactor.yml +81 -0
  70. package/.agents/workflows/research.yml +60 -0
  71. package/.agents/workflows/security-audit.yml +72 -0
  72. package/.agents/workflows/skill-evolution.yml +65 -0
  73. package/.agents/workflows/spec-driven-development.yml +57 -0
  74. package/CHANGELOG.md +91 -70
  75. package/README.md +44 -59
  76. package/bin/install.js +57 -309
  77. package/package.json +13 -2
  78. package/tooling/generate-evaluation-cases.cjs +44 -0
  79. package/tooling/generate-registry.js +157 -0
  80. package/tooling/run-aar.js +143 -0
  81. package/tooling/validate-graph.js +87 -0
  82. package/tooling/validate-skills.js +102 -0
  83. package/.agents/skills.json +0 -819
  84. package/.github/workflows/ci.yml +0 -56
  85. package/CLAUDE.md +0 -110
  86. package/_template/BEHAVIOR_SPEC.md +0 -96
  87. package/_template/examples/example-en.md +0 -49
  88. package/_template/examples/example-vi.md +0 -49
  89. package/add_lang.js +0 -21
  90. package/add_lang.py +0 -25
  91. package/add_sections.py +0 -53
  92. package/bin/lint.js +0 -123
  93. package/docs/CHI_TIET_SKILLS.md +0 -126
  94. package/docs/GOVERNANCE.md +0 -40
  95. package/docs/HUONG_DAN_SU_DUNG.md +0 -120
  96. package/docs/SPEC.md +0 -87
  97. package/docs/adr/0001-intent-based-architecture.md +0 -19
  98. package/docs/adr/0002-kernel-freeze.md +0 -21
  99. package/docs/adr/0003-risk-based-verification.md +0 -20
  100. package/docs/adr/0004-progressive-evidence.md +0 -19
  101. package/docs/skill-classification.md +0 -25
  102. package/fix_seeds.js +0 -22
  103. package/framework/KERNEL.md +0 -83
  104. package/framework/bias-library/cosmetic-refactor.md +0 -21
  105. package/framework/bias-library/enterprise-crud.md +0 -21
  106. package/framework/bias-library/fake-ui-slop.md +0 -20
  107. package/framework/bias-library/hallucinated-tools.md +0 -20
  108. package/framework/bias-library/missing-ui-states.md +0 -19
  109. package/framework/bias-library/over-indexing.md +0 -20
  110. package/framework/bias-library/swallow-errors.md +0 -19
  111. package/framework/bias-library/ui-only-security.md +0 -17
  112. package/framework/decision-primitives.md +0 -48
  113. package/framework/dial-library/complexity-budget.md +0 -13
  114. package/framework/dial-library/granularity.md +0 -13
  115. package/framework/dial-library/optimization-strategy.md +0 -13
  116. package/framework/dial-library/strictness.md +0 -13
  117. package/framework/rule-library/delegation-only.md +0 -9
  118. package/framework/rule-library/minimal-diff.md +0 -9
  119. package/framework/skill-schema.md +0 -310
  120. package/knowledge/backend/nodejs.md +0 -52
  121. package/knowledge/frontend/react.md +0 -81
  122. package/migrate-to-v6.js +0 -130
  123. package/migrate.js +0 -147
  124. package/migrate.py +0 -133
  125. package/migrate_all.cjs +0 -96
  126. package/patch.js +0 -15
  127. package/patch.py +0 -89
  128. package/patch2.py +0 -83
  129. package/rename.js +0 -64
  130. package/skills/_archive_old_skills/qk-accessibility-audit/SKILL.md +0 -121
  131. package/skills/_archive_old_skills/qk-agent-orchestrator/SKILL.md +0 -179
  132. package/skills/_archive_old_skills/qk-api-integration/SKILL.md +0 -389
  133. package/skills/_archive_old_skills/qk-auth-security/SKILL.md +0 -96
  134. package/skills/_archive_old_skills/qk-backend-architecture/SKILL.md +0 -125
  135. package/skills/_archive_old_skills/qk-bug-fix/SKILL.md +0 -213
  136. package/skills/_archive_old_skills/qk-component-generator/SKILL.md +0 -136
  137. package/skills/_archive_old_skills/qk-context-manager/SKILL.md +0 -175
  138. package/skills/_archive_old_skills/qk-database-engineer/SKILL.md +0 -104
  139. package/skills/_archive_old_skills/qk-deployment/SKILL.md +0 -96
  140. package/skills/_archive_old_skills/qk-design-system/SKILL.md +0 -137
  141. package/skills/_archive_old_skills/qk-form-builder/SKILL.md +0 -140
  142. package/skills/_archive_old_skills/qk-frontend-architecture/SKILL.md +0 -155
  143. package/skills/_archive_old_skills/qk-frontend-debug/SKILL.md +0 -133
  144. package/skills/_archive_old_skills/qk-frontend-performance/SKILL.md +0 -129
  145. package/skills/_archive_old_skills/qk-frontend-testing/SKILL.md +0 -146
  146. package/skills/_archive_old_skills/qk-git-engineer/SKILL.md +0 -304
  147. package/skills/_archive_old_skills/qk-help/SKILL.md +0 -68
  148. package/skills/_archive_old_skills/qk-migration/SKILL.md +0 -284
  149. package/skills/_archive_old_skills/qk-project-audit/SKILL.md +0 -280
  150. package/skills/_archive_old_skills/qk-refactor/SKILL.md +0 -222
  151. package/skills/_archive_old_skills/qk-state-management/SKILL.md +0 -140
  152. package/skills/_archive_old_skills/qk-table-crud-generator/SKILL.md +0 -127
  153. package/skills/_archive_old_skills/qk-ui-builder/SKILL.md +0 -152
  154. package/skills/_template/SKILL.md +0 -239
  155. package/skills/qk-access-policy/SKILL.md +0 -180
  156. package/skills/qk-ai-builder/SKILL.md +0 -216
  157. package/skills/qk-api-lifecycle/SKILL.md +0 -177
  158. package/skills/qk-bug-resolution/SKILL.md +0 -308
  159. package/skills/qk-context-loader/SKILL.md +0 -219
  160. package/skills/qk-data-lifecycle/SKILL.md +0 -193
  161. package/skills/qk-db-optimizer/SKILL.md +0 -197
  162. package/skills/qk-docs/SKILL.md +0 -199
  163. package/skills/qk-engineering-standard/SKILL.md +0 -352
  164. package/skills/qk-engineering-standard/rules/backend.md +0 -122
  165. package/skills/qk-engineering-standard/rules/database.md +0 -3
  166. package/skills/qk-engineering-standard/rules/frontend.md +0 -152
  167. package/skills/qk-engineering-standard/rules/security.md +0 -3
  168. package/skills/qk-engineering-standard/rules/testing.md +0 -3
  169. package/skills/qk-fe-api-integration/SKILL.md +0 -327
  170. package/skills/qk-feature-delivery/SKILL.md +0 -306
  171. package/skills/qk-help/SKILL.md +0 -194
  172. package/skills/qk-orchestrator/SKILL.md +0 -279
  173. package/skills/qk-orchestrator/references/routing-table.md +0 -78
  174. package/skills/qk-production-release/SKILL.md +0 -285
  175. package/skills/qk-project-bootstrap/SKILL.md +0 -236
  176. package/skills/qk-project-health/SKILL.md +0 -200
  177. package/skills/qk-project-memory/SKILL.md +0 -219
  178. package/skills/qk-system-evolution/SKILL.md +0 -282
  179. package/skills/qk-ui-audit/SKILL.md +0 -316
  180. package/skills/qk-ui-audit/references/anti-slop-checklist.md +0 -136
  181. package/skills/qk-ui-builder/SKILL.md +0 -447
  182. package/skills/qk-ui-builder/references/anti-patterns.md +0 -295
  183. package/skills/qk-ui-builder/references/color.md +0 -115
  184. package/skills/qk-ui-builder/references/component-cookbook.md +0 -1194
  185. package/skills/qk-ui-builder/references/copy.md +0 -250
  186. package/skills/qk-ui-builder/references/interaction-and-states.md +0 -115
  187. package/skills/qk-ui-builder/references/layout-and-space.md +0 -111
  188. package/skills/qk-ui-builder/references/macrostructures/01-bento-grid.md +0 -48
  189. package/skills/qk-ui-builder/references/macrostructures/02-long-document.md +0 -50
  190. package/skills/qk-ui-builder/references/macrostructures/03-marquee-hero.md +0 -51
  191. package/skills/qk-ui-builder/references/macrostructures/04-stat-led.md +0 -49
  192. package/skills/qk-ui-builder/references/macrostructures/05-workbench.md +0 -44
  193. package/skills/qk-ui-builder/references/macrostructures/06-conversational-faq.md +0 -50
  194. package/skills/qk-ui-builder/references/macrostructures/07-manifesto.md +0 -51
  195. package/skills/qk-ui-builder/references/macrostructures/08-photographic.md +0 -50
  196. package/skills/qk-ui-builder/references/macrostructures/09-quote-led.md +0 -50
  197. package/skills/qk-ui-builder/references/macrostructures/11-catalogue.md +0 -49
  198. package/skills/qk-ui-builder/references/macrostructures/12-letter.md +0 -49
  199. package/skills/qk-ui-builder/references/macrostructures/13-index-first.md +0 -49
  200. package/skills/qk-ui-builder/references/macrostructures/14-narrative-workflow.md +0 -48
  201. package/skills/qk-ui-builder/references/macrostructures/15-split-studio.md +0 -48
  202. package/skills/qk-ui-builder/references/macrostructures/16-feature-stack.md +0 -51
  203. package/skills/qk-ui-builder/references/macrostructures/17-type-specimen.md +0 -48
  204. package/skills/qk-ui-builder/references/macrostructures/18-portfolio-grid.md +0 -48
  205. package/skills/qk-ui-builder/references/macrostructures/19-map-diagram.md +0 -50
  206. package/skills/qk-ui-builder/references/macrostructures/20-ecosystem-index.md +0 -48
  207. package/skills/qk-ui-builder/references/macrostructures/21-component-playground.md +0 -45
  208. package/skills/qk-ui-builder/references/macrostructures.md +0 -38
  209. package/skills/qk-ui-builder/references/motion.md +0 -95
  210. package/skills/qk-ui-builder/references/responsive.md +0 -115
  211. package/skills/qk-ui-builder/references/slop-test.md +0 -135
  212. package/skills/qk-ui-builder/references/structure.md +0 -280
  213. package/skills/qk-ui-builder/references/themes/atmospheric.md +0 -53
  214. package/skills/qk-ui-builder/references/themes/carnival.md +0 -52
  215. package/skills/qk-ui-builder/references/themes/cobalt.md +0 -52
  216. package/skills/qk-ui-builder/references/themes/editorial.md +0 -52
  217. package/skills/qk-ui-builder/references/themes/garden.md +0 -52
  218. package/skills/qk-ui-builder/references/themes/hum.md +0 -52
  219. package/skills/qk-ui-builder/references/themes/lumen.md +0 -52
  220. package/skills/qk-ui-builder/references/themes/midnight.md +0 -52
  221. package/skills/qk-ui-builder/references/themes/modern-minimal.md +0 -52
  222. package/skills/qk-ui-builder/references/themes/playful.md +0 -52
  223. package/skills/qk-ui-builder/references/themes/specimen.md +0 -52
  224. package/skills/qk-ui-builder/references/themes/terminal.md +0 -52
  225. package/skills/qk-ui-builder/references/typography.md +0 -129
  226. package/skills/qk-ui-system-builder/SKILL.md +0 -222
  227. package/skills/qk-validation-gate/SKILL.md +0 -360
  228. package/skills.json +0 -820
  229. package/specs/contracts/behavior-contract.yaml +0 -40
  230. package/specs/expectations/qk-bug-resolution.yaml +0 -35
  231. package/specs/fixtures/user-payload.json +0 -12
  232. package/specs/regressions/api-integration-null-fields.yaml +0 -19
  233. package/specs/scenarios/fix-login-nullref.yaml +0 -3
  234. package/taste-skill/.claude-plugin/marketplace.json +0 -20
  235. package/taste-skill/.claude-plugin/plugin.json +0 -19
  236. package/taste-skill/.github/FUNDING.yml +0 -1
  237. package/taste-skill/.github/copilot-instructions.md +0 -11
  238. package/taste-skill/CHANGELOG.md +0 -111
  239. package/taste-skill/LICENSE +0 -21
  240. package/taste-skill/README.md +0 -212
  241. package/taste-skill/assets/.gitkeep +0 -0
  242. package/taste-skill/assets/readme-banner.webp +0 -0
  243. package/taste-skill/assets/readme-buttons/btn-agent-skills.webp +0 -0
  244. package/taste-skill/assets/readme-buttons/btn-changelog.webp +0 -0
  245. package/taste-skill/assets/readme-buttons/btn-mit.webp +0 -0
  246. package/taste-skill/assets/readme-buttons/btn-site.webp +0 -0
  247. package/taste-skill/assets/readme-buttons/btn-tools.webp +0 -0
  248. package/taste-skill/assets/readme-cta-tasteskill.svg +0 -5
  249. package/taste-skill/assets/sponsors/animations-dev.webp +0 -0
  250. package/taste-skill/assets/sponsors/emil-animations-dev.webp +0 -0
  251. package/taste-skill/assets/taste-skill-logo.png +0 -0
  252. package/taste-skill/assets/taste-skill-logo.webp +0 -0
  253. package/taste-skill/assets/vercel-oss-program-badge.svg +0 -44
  254. package/taste-skill/examples/floria-bottom.webp +0 -0
  255. package/taste-skill/examples/floria-full.webp +0 -0
  256. package/taste-skill/examples/floria-top.webp +0 -0
  257. package/taste-skill/research/README.md +0 -8
  258. package/taste-skill/research/laziness/README.md +0 -25
  259. package/taste-skill/research/laziness/findings/empirical-results.md +0 -58
  260. package/taste-skill/research/laziness/findings/references.md +0 -20
  261. package/taste-skill/research/laziness/remediation/architectural-patterns.md +0 -55
  262. package/taste-skill/research/laziness/remediation/parameter-tuning.md +0 -44
  263. package/taste-skill/research/laziness/remediation/prompt-engineering.md +0 -52
  264. package/taste-skill/research/laziness/remediation/reference-prompts.md +0 -79
  265. package/taste-skill/research/laziness/root-causes/cognitive-shortcuts.md +0 -23
  266. package/taste-skill/research/laziness/root-causes/output-limits.md +0 -39
  267. package/taste-skill/research/laziness/root-causes/rlhf-and-compute.md +0 -27
  268. package/taste-skill/research/laziness/root-causes/training-data-bias.md +0 -28
  269. package/taste-skill/scripts/build-emil-sponsor-row.mjs +0 -41
  270. package/taste-skill/scripts/convert-readme-assets-webp.mjs +0 -142
  271. package/taste-skill/scripts/process-readme-buttons.mjs +0 -108
  272. package/taste-skill/scripts/process-sponsor-badge.mjs +0 -83
  273. package/taste-skill/skill.sh +0 -25
  274. package/taste-skill/skills/brandkit/SKILL.md +0 -798
  275. package/taste-skill/skills/brutalist-skill/SKILL.md +0 -92
  276. package/taste-skill/skills/gpt-tasteskill/SKILL.md +0 -74
  277. package/taste-skill/skills/image-to-code-skill/SKILL.md +0 -1228
  278. package/taste-skill/skills/imagegen-frontend-mobile/SKILL.md +0 -1465
  279. package/taste-skill/skills/imagegen-frontend-web/SKILL.md +0 -987
  280. package/taste-skill/skills/llms.txt +0 -13
  281. package/taste-skill/skills/minimalist-skill/SKILL.md +0 -85
  282. package/taste-skill/skills/output-skill/SKILL.md +0 -49
  283. package/taste-skill/skills/redesign-skill/SKILL.md +0 -178
  284. package/taste-skill/skills/soft-skill/SKILL.md +0 -98
  285. package/taste-skill/skills/stitch-skill/DESIGN.md +0 -121
  286. package/taste-skill/skills/stitch-skill/SKILL.md +0 -184
  287. package/taste-skill/skills/taste-skill/SKILL.md +0 -1206
  288. package/taste-skill/skills/taste-skill-v1/SKILL.md +0 -226
  289. package/temp_fix.js +0 -61
  290. package/templates/DESIGN.md +0 -38
  291. package/templates/bug-report.md +0 -21
  292. package/templates/design-report.md +0 -21
  293. package/templates/feature-report.md +0 -20
  294. package/templates/review-report.md +0 -21
  295. package/templates/skill-template.md +0 -38
  296. package/tests/behavior-conformance.test.js +0 -154
  297. package/tests/install-script.test.js +0 -38
  298. package/tests/registry.test.js +0 -111
  299. package/update_template.js +0 -28
  300. package/vitest.config.js +0 -11
@@ -0,0 +1,103 @@
1
+ name: feature-delivery
2
+ version: 8.0.0
3
+ description: "Pipeline end-to-end để phát triển tính năng mới: từ requirement đến verified implementation."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: feature
10
+
11
+ steps:
12
+ - id: requirement
13
+ name: "Phân tích yêu cầu"
14
+ purpose: "Xác định rõ feature cần làm gì, cho ai, thành công trông như thế nào"
15
+ required: true
16
+ skip_if: null
17
+ inputs:
18
+ - user_description
19
+ - existing_context
20
+ outputs:
21
+ - feature_scope # What's in, what's out
22
+ - acceptance_criteria # How to know it's done
23
+ - affected_areas # Which parts of codebase are touched
24
+ min_confidence: HIGH
25
+ actions:
26
+ - "Viết lại requirement bằng ngôn ngữ kỹ thuật"
27
+ - "Xác định acceptance criteria rõ ràng"
28
+ - "Identify files/modules sẽ bị ảnh hưởng"
29
+ exit_on_fail: BLOCKED
30
+
31
+ - id: context
32
+ name: "Load context"
33
+ purpose: "Hiểu codebase hiện tại đủ để implement đúng cách"
34
+ required: true
35
+ skip_if: "Context graph đã có từ qk-context-loader"
36
+ inputs:
37
+ - affected_areas
38
+ outputs:
39
+ - existing_patterns # How similar things are done in this codebase
40
+ - integration_points # Where new code will connect
41
+ - constraints # Tech stack, conventions to follow
42
+ actions:
43
+ - "Đọc các file liên quan (targeted, không đọc toàn bộ)"
44
+ - "Tìm pattern tương tự trong codebase"
45
+ - "Xác định integration points"
46
+
47
+ - id: design
48
+ name: "Thiết kế solution"
49
+ purpose: "Quyết định approach trước khi code"
50
+ required: true
51
+ skip_if: "Feature đơn giản, single file, no design decision needed"
52
+ inputs:
53
+ - feature_scope
54
+ - existing_patterns
55
+ - constraints
56
+ outputs:
57
+ - implementation_plan # Files to create/modify + what changes
58
+ - data_structures # New types, interfaces if needed
59
+ - api_contract # If adding/changing API
60
+ min_confidence: HIGH
61
+ actions:
62
+ - "Outline: files to create, files to modify"
63
+ - "Define data structures và types"
64
+ - "Xác định API contract nếu cần"
65
+
66
+ - id: implement
67
+ name: "Implement"
68
+ purpose: "Viết code theo design đã approved"
69
+ required: true
70
+ skip_if: null
71
+ inputs:
72
+ - implementation_plan
73
+ - existing_patterns
74
+ outputs:
75
+ - created_files
76
+ - modified_files
77
+ - implementation_summary
78
+ actions:
79
+ - "Implement theo thứ tự: types → logic → UI → tests"
80
+ - "Follow existing patterns và conventions"
81
+ - "Không refactor ngoài scope"
82
+
83
+ - id: verify
84
+ name: "Verify implementation"
85
+ purpose: "Xác nhận feature hoạt động đúng theo acceptance criteria"
86
+ required: true
87
+ skip_if: null
88
+ inputs:
89
+ - acceptance_criteria
90
+ - created_files
91
+ - modified_files
92
+ outputs:
93
+ - verification_result
94
+ - unmet_criteria # Any criteria not yet met
95
+ actions:
96
+ - "Đối chiếu từng acceptance criterion"
97
+ - "Re-read key implementation sections"
98
+ - "Run tests nếu có"
99
+ exit_on_fail: PARTIAL
100
+
101
+ escalation:
102
+ max_retries: 1
103
+ on_failure: "Report implementation_plan + what was completed + what remains + blocker reason"
@@ -0,0 +1,81 @@
1
+ name: refactor
2
+ version: 8.0.0
3
+ description: "Pipeline refactor an toàn: giữ nguyên behavior bên ngoài, cải thiện chất lượng bên trong."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: refactor
10
+
11
+ steps:
12
+ - id: baseline
13
+ name: "Thiết lập baseline"
14
+ purpose: "Hiểu code hiện tại trước khi thay đổi"
15
+ required: true
16
+ skip_if: null
17
+ inputs:
18
+ - target_files
19
+ - refactor_goal # e.g. "extract functions", "reduce complexity", "improve naming"
20
+ outputs:
21
+ - current_behavior_summary # What the code does now
22
+ - pain_points # Specific issues to address
23
+ - test_coverage_status # Có tests không?
24
+ actions:
25
+ - "Đọc toàn bộ target section"
26
+ - "Mô tả behavior hiện tại"
27
+ - "Identify specific code smells"
28
+ exit_on_fail: BLOCKED
29
+
30
+ - id: plan
31
+ name: "Lên kế hoạch refactor"
32
+ purpose: "Quyết định approach để không thay đổi external behavior"
33
+ required: true
34
+ skip_if: null
35
+ inputs:
36
+ - pain_points
37
+ - current_behavior_summary
38
+ outputs:
39
+ - refactor_steps # Ordered list of changes
40
+ - risk_assessment # What could break
41
+ - rollback_point # Git commit or checkpoint
42
+ min_confidence: HIGH
43
+ actions:
44
+ - "Outline từng bước thay đổi"
45
+ - "Xác định gì có thể break"
46
+
47
+ - id: execute
48
+ name: "Thực hiện refactor"
49
+ purpose: "Apply changes theo plan, step by step"
50
+ required: true
51
+ skip_if: null
52
+ inputs:
53
+ - refactor_steps
54
+ outputs:
55
+ - modified_files
56
+ - changes_summary
57
+ actions:
58
+ - "Làm từng bước nhỏ, verify sau mỗi bước"
59
+ - "Không refactor ngoài scope đã định"
60
+ - "Không add functionality mới trong khi refactor"
61
+
62
+ - id: verify
63
+ name: "Verify behavior unchanged"
64
+ purpose: "Xác nhận external behavior giống hệt trước refactor"
65
+ required: true
66
+ skip_if: null
67
+ inputs:
68
+ - current_behavior_summary
69
+ - modified_files
70
+ outputs:
71
+ - behavior_preserved # true/false
72
+ - test_results # pass/fail/na
73
+ actions:
74
+ - "Re-read modified sections"
75
+ - "So sánh với current_behavior_summary"
76
+ - "Chạy tests nếu có"
77
+ exit_on_fail: FAILED
78
+
79
+ escalation:
80
+ max_retries: 1
81
+ on_failure: "Revert to rollback_point. Report what was completed and what remains."
@@ -0,0 +1,60 @@
1
+ name: research
2
+ version: 8.0.0
3
+ description: "Pipeline nghiên cứu codebase để hiểu context, dependency, và architecture trước khi thực hiện task lớn."
4
+
5
+ owner:
6
+ type: engineering
7
+ maintained_by: qk-team
8
+
9
+ verification_profile: review
10
+
11
+ steps:
12
+ - id: define_scope
13
+ name: "Xác định phạm vi nghiên cứu"
14
+ purpose: "Biết chính xác cần tìm hiểu gì để phục vụ task"
15
+ required: true
16
+ skip_if: null
17
+ inputs:
18
+ - research_goal # What decision does this research enable?
19
+ outputs:
20
+ - research_questions # Specific questions to answer
21
+ - entry_points # Files to start reading
22
+ exit_on_fail: BLOCKED
23
+
24
+ - id: explore
25
+ name: "Khám phá codebase"
26
+ purpose: "Thu thập thông tin đủ để trả lời research questions"
27
+ required: true
28
+ skip_if: null
29
+ inputs:
30
+ - entry_points
31
+ - research_questions
32
+ outputs:
33
+ - findings # Answers to research questions
34
+ - dependency_map # How components relate
35
+ - relevant_files # Files most relevant to the task
36
+ actions:
37
+ - "Dùng grep_search để tìm patterns, không đọc toàn bộ repo"
38
+ - "Đọc targeted sections (≤ 100 lines per read)"
39
+ - "Build mental model của dependency relationship"
40
+
41
+ - id: synthesize
42
+ name: "Tổng hợp kết quả"
43
+ purpose: "Trả lời research questions + tạo context cho task tiếp theo"
44
+ required: true
45
+ skip_if: null
46
+ inputs:
47
+ - findings
48
+ - dependency_map
49
+ outputs:
50
+ - context_summary # Ready-to-use context for next skill
51
+ - architecture_notes # Key patterns và conventions
52
+ - warnings # Gotchas, deprecated patterns, risks
53
+ actions:
54
+ - "Viết summary ngắn gọn (không cần exhaustive)"
55
+ - "Flag các pattern cũ/deprecated nếu thấy"
56
+ - "Liệt kê relevant files để task tiếp theo load"
57
+
58
+ escalation:
59
+ max_retries: 1
60
+ on_failure: "Report partial findings với confidence level"
@@ -0,0 +1,72 @@
1
+ name: security-audit
2
+ description: "Workflow kiểm toán an toàn mã nguồn và chống xâm nhập (Security Audit)."
3
+ version: 1.0.0
4
+
5
+ steps:
6
+ - id: observe
7
+ name: "Observe System"
8
+ purpose: "Thu thập metadata về cấu trúc và các thành phần"
9
+ required: true
10
+ inputs: [source_code]
11
+ outputs: [system_context]
12
+ actions:
13
+ - "Xác định tech stack, boundaries và các third-party libs"
14
+
15
+ - id: dependency_scan
16
+ name: "Dependency Scan"
17
+ purpose: "Kiểm tra rủi ro từ package bên ngoài"
18
+ required: true
19
+ inputs: [system_context, package_files]
20
+ outputs: [dependency_vulnerabilities]
21
+ actions:
22
+ - "Kiểm tra version cũ, thư viện có CVE"
23
+
24
+ - id: secret_scan
25
+ name: "Secret Scan"
26
+ purpose: "Tìm kiếm thông tin nhạy cảm bị rò rỉ"
27
+ required: true
28
+ inputs: [source_code]
29
+ outputs: [leaked_secrets]
30
+ actions:
31
+ - "Quét hardcoded API keys, tokens, passwords trong code"
32
+
33
+ - id: permission_review
34
+ name: "Permission Review"
35
+ purpose: "Rà soát mô hình phân quyền và RBAC"
36
+ required: true
37
+ inputs: [system_context, access_control_code]
38
+ outputs: [permission_flaws]
39
+ actions:
40
+ - "Kiểm tra nguyên tắc least privilege"
41
+ - "Tìm lỗ hổng authentication/authorization bypass"
42
+
43
+ - id: risk_classification
44
+ name: "Risk Classification"
45
+ purpose: "Đánh giá mức độ nghiêm trọng"
46
+ required: true
47
+ inputs: [dependency_vulnerabilities, leaked_secrets, permission_flaws]
48
+ outputs: [classified_risks]
49
+ actions:
50
+ - "Phân loại LOW/MEDIUM/HIGH/CRITICAL"
51
+
52
+ - id: recommendation
53
+ name: "Recommendation"
54
+ purpose: "Đề xuất giải pháp khắc phục"
55
+ required: true
56
+ inputs: [classified_risks]
57
+ outputs: [security_report]
58
+ actions:
59
+ - "Tạo báo cáo chi tiết kèm actionable steps"
60
+
61
+ - id: verify
62
+ name: "Verify Fixes"
63
+ purpose: "Đảm bảo lỗ hổng đã được vá"
64
+ required: false
65
+ inputs: [source_code, security_report]
66
+ outputs: [final_audit_status]
67
+ actions:
68
+ - "Check lại các vị trí đã report"
69
+
70
+ escalation:
71
+ max_retries: 0
72
+ on_failure: "Báo động đỏ (CRITICAL) nếu phát hiện secret leak"
@@ -0,0 +1,65 @@
1
+ name: skill-evolution
2
+ description: "Workflow vòng lặp tiến hóa và tối ưu hóa skill (Skill Evolution)."
3
+ version: 1.0.0
4
+
5
+ steps:
6
+ - id: observe_usage
7
+ name: "Observe Usage"
8
+ purpose: "Theo dõi cách skill được sử dụng"
9
+ required: true
10
+ inputs: [skill_logs]
11
+ outputs: [usage_metrics]
12
+ actions:
13
+ - "Thống kê trigger rate và token usage"
14
+
15
+ - id: measure_success
16
+ name: "Measure Success"
17
+ purpose: "Đánh giá tỷ lệ thành công"
18
+ required: true
19
+ inputs: [usage_metrics, execution_results]
20
+ outputs: [success_rate]
21
+ actions:
22
+ - "Xác định các lần exit SUCCESS vs FAILED/PARTIAL"
23
+
24
+ - id: detect_failure
25
+ name: "Detect Failure Patterns"
26
+ purpose: "Phát hiện lý do thất bại"
27
+ required: true
28
+ inputs: [execution_results]
29
+ outputs: [failure_patterns]
30
+ actions:
31
+ - "Phân tích log lỗi, hallucination, out of budget"
32
+
33
+ - id: improve_skill
34
+ name: "Improve Skill"
35
+ purpose: "Đề xuất tối ưu skill"
36
+ required: true
37
+ inputs: [failure_patterns, skill_body]
38
+ outputs: [improved_skill_proposal]
39
+ actions:
40
+ - "Giảm noise trong instruction"
41
+ - "Cập nhật examples và learnings"
42
+ - "Tinh chỉnh token budget"
43
+
44
+ - id: validate_improvement
45
+ name: "Validate Improvement"
46
+ purpose: "Xác thực bản nâng cấp"
47
+ required: true
48
+ inputs: [improved_skill_proposal]
49
+ outputs: [validation_result]
50
+ actions:
51
+ - "Chạy qua validate-skills.js"
52
+ - "Kiểm tra schema compliance"
53
+
54
+ - id: promote
55
+ name: "Promote Skill"
56
+ purpose: "Đưa bản cải tiến vào sử dụng"
57
+ required: true
58
+ inputs: [validation_result]
59
+ outputs: [stable_skill]
60
+ actions:
61
+ - "Chuyển status thành stable"
62
+
63
+ escalation:
64
+ max_retries: 1
65
+ on_failure: "Hủy bỏ bản cải tiến nếu validation thất bại"
@@ -0,0 +1,57 @@
1
+ name: spec-driven-development
2
+ description: "Workflow phát triển dựa trên đặc tả (Specification-Driven Development)."
3
+ version: 1.0.0
4
+
5
+ steps:
6
+ - id: clarify_requirement
7
+ name: "Clarify Requirements"
8
+ purpose: "Làm rõ yêu cầu từ ý tưởng ban đầu"
9
+ required: true
10
+ inputs: [user_idea]
11
+ outputs: [clarified_requirement]
12
+ actions:
13
+ - "Hỏi các câu hỏi làm rõ scope và constraints"
14
+ - "Xác định rõ outcome mong muốn"
15
+
16
+ - id: create_spec
17
+ name: "Create Specification"
18
+ purpose: "Viết tài liệu đặc tả kỹ thuật"
19
+ required: true
20
+ inputs: [clarified_requirement]
21
+ outputs: [technical_spec]
22
+ actions:
23
+ - "Thiết kế API contracts, data models"
24
+ - "Xác định UI/UX heuristics"
25
+ - "Xác định edge cases"
26
+
27
+ - id: create_plan
28
+ name: "Create Plan"
29
+ purpose: "Lên kế hoạch triển khai"
30
+ required: true
31
+ inputs: [technical_spec]
32
+ outputs: [implementation_plan]
33
+ actions:
34
+ - "Chia nhỏ spec thành các task cụ thể"
35
+ - "Đánh giá rủi ro và thứ tự ưu tiên"
36
+
37
+ - id: implement
38
+ name: "Implement"
39
+ purpose: "Triển khai mã nguồn"
40
+ required: true
41
+ inputs: [implementation_plan, technical_spec]
42
+ outputs: [source_code]
43
+ actions:
44
+ - "Code theo đúng spec"
45
+
46
+ - id: verify
47
+ name: "Verify Implementation"
48
+ purpose: "Kiểm tra mã nguồn với đặc tả"
49
+ required: true
50
+ inputs: [source_code, technical_spec]
51
+ outputs: [verification_result]
52
+ actions:
53
+ - "Đối chiếu kết quả code với acceptance criteria"
54
+
55
+ escalation:
56
+ max_retries: 2
57
+ on_failure: "Báo cáo lệch spec và xin chỉ thị"
package/CHANGELOG.md CHANGED
@@ -1,70 +1,91 @@
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-ui-builder`, `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/`.
70
-
1
+ # Changelog
2
+
3
+ All notable changes to AI Developer Skill OS are documented here.
4
+ Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
5
+
6
+ ---
7
+
8
+ ## [8.1.4] 2026-07 — Design Intelligence Pack
9
+
10
+ ### Added
11
+ - **Design Intelligence Layer**: `.agents/knowledge/design-intelligence/` (industries, themes, patterns, visual-language, components, templates)
12
+ - **Knowledge Dependencies**: `qk-design-system-engineering` and `qk-ui-builder` now have strict dependency bounds tied to Design Intelligence without bloating the Capability Graph.
13
+ - **Design Routing Test Cases**: `design-intel-01`, `02`, `03` for validating routing logic in design scenarios.
14
+ - **Re-introduced CLI Installer**: Restored and refactored `bin/install.js` to correctly copy `.agents` across global/local directories for easy NPM setup.
15
+
16
+ ### Changed
17
+ - Refined **Decision Boundaries**: `qk-ui-builder` explicitly forbidden from defining visual direction or brand identity (strict capability bounds).
18
+ - **README.md** reflects 30 Master Skills and the "Agent Engineering OS" mindset.
19
+ - **package.json**: Version bump `8.1.4` and whitelisted files for npm publish.
20
+
21
+ ---
22
+
23
+ ## [8.1.3] — 2026-07 — Architecture Freeze & Governance
24
+
25
+ ### Added
26
+ - **Capability Graph & Routing**: `.agents/registry/capability-graph.yml` to define skill relations (`depends_on`, `delegates_to`).
27
+ - **Priority Governance**: `.agents/rules/priorities.yml` enforcing safety layers (`P1: System Integrity`, `P2: Guardrails`).
28
+ - **Audit Tools**: `tooling/run-aar.js` for architectural acceptance testing.
29
+ - Test cases for routing and boundary attacks.
30
+
31
+ ### Changed
32
+ - Name transition from "Self-Improving" to **Adaptive Agent OS** (Self Optimizing ≠ Self Modifying).
33
+ - Enforced hard cap of **30 Skills** to prevent Skill Inflation.
34
+ - Frozen Baseline achieved: `v8.1.3-agent-os-production`.
35
+
36
+ ---
37
+
38
+ ## [8.0.0] 2026-07 Agent Knowledge System
39
+
40
+ ### Philosophy shift
41
+ - **V7:** Skill Repository — human selects skill, AI executes
42
+ - **V8:** Agent Knowledge System — AI retrieves context, selects capability, executes workflow, verifies
43
+
44
+ ### Added
45
+ - `rules/` — Agent behavior policies (global, coding, safety)
46
+ - `workflows/` Reusable execution pipelines (YAML, with inputs/outputs per step)
47
+ - `examples/` — Few-shot knowledge (good/, bad/)
48
+ - `learnings/` — Evidence-based learning lifecycle (draft/, validated/, deprecated/)
49
+ - `registry/` Generated AI retrieval index (skills-index.yml)
50
+ - `docs/ARCHITECTURE.md` Agent request flow diagram
51
+ - `docs/VERSIONING.md` Semantic versioning policy
52
+ - `docs/schemas/` Schema definitions for all knowledge objects
53
+ - `docs/decisions/` Architecture Decision Records (ADRs)
54
+ - `.agentsignore` AI boundary file (what agents should NOT load)
55
+ - `tooling/` Dev automation (generate-registry.js, validate-skills.js)
56
+ - `tests/agent-evaluation/` Agent behavior test harness
57
+
58
+ ### Changed
59
+ - SKILL.md schema upgraded to V8: added `type`, `intent`, `triggers`, `complexity`, `workflow`, `verification`, `related_skills`
60
+ - `skills.json` demoted to **generated compatibility manifest** (source of truth = SKILL.md)
61
+ - Workflows extracted from individual skills → shared reusable templates
62
+
63
+ ### Removed
64
+ - Embedded workflows inside SKILL.md body (moved to workflows/)
65
+ - Old migration scripts (migrate-v*.js, patch*.py, add_lang.*, etc.)
66
+ - Duplicate documentation (CLAUDE.md, old docs/)
67
+ - Experimental packages (packages/edaos-sdk)
68
+ - framework/, knowledge/, specs/, templates/ directories
69
+
70
+ ### Migration
71
+ - V7.5.1 tagged at git: `v7.5.1`
72
+ - V7 skills preserved in git history; migration is additive schema upgrade
73
+
74
+ ---
75
+
76
+ ## [7.5.1] — 2026-07 — Final V7 Release
77
+
78
+ - Bumped all skill versions to 7.5.1
79
+ - Added qk-fe-api-integration skill
80
+ - Added qk-performance-tuner (global config)
81
+ - Stabilized frontmatter schema across all 22 skills
82
+
83
+ ## [7.5.0] — 2026-07
84
+
85
+ - Major skills refactor with EDAOS runtime adapter
86
+ - Added MCP server integration
87
+ - Added qk-bug-resolution workflow contracts
88
+
89
+ ## [7.0.0] — 2026
90
+
91
+ - V7 release: 22 skills, YAML frontmatter, token budget system