@jhm1909/ag-kit 0.1.0

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 (320) hide show
  1. package/.agent/ARCHITECTURE.md +189 -0
  2. package/.agent/known-registries.json +181 -0
  3. package/.agent/mcp_config.json +19 -0
  4. package/.agent/rules/clean-code.md +107 -0
  5. package/.agent/rules/documents.md +177 -0
  6. package/.agent/rules/git-workflow.md +68 -0
  7. package/.agent/rules/nano-banana.md +46 -0
  8. package/.agent/rules/research.md +35 -0
  9. package/.agent/rules/skill-loading.md +100 -0
  10. package/.agent/rules/skill-suggestion.md +47 -0
  11. package/.agent/rules/testing.md +52 -0
  12. package/.agent/rules/workflow-advisor.md +108 -0
  13. package/.agent/rules/workflow-skill-convention.md +127 -0
  14. package/.agent/skills/ai-engineer/SKILL.md +824 -0
  15. package/.agent/skills/ai-engineer/references/agentic-patterns.md +329 -0
  16. package/.agent/skills/ai-engineer/references/evaluation.md +493 -0
  17. package/.agent/skills/ai-engineer/references/llm.md +490 -0
  18. package/.agent/skills/ai-engineer/references/rag-advanced.md +444 -0
  19. package/.agent/skills/ai-engineer/references/serving-optimization.md +531 -0
  20. package/.agent/skills/ai-engineer/vector-db/README.md +137 -0
  21. package/.agent/skills/app-builder/SKILL.md +75 -0
  22. package/.agent/skills/app-builder/agent-coordination.md +71 -0
  23. package/.agent/skills/app-builder/feature-building.md +53 -0
  24. package/.agent/skills/app-builder/project-detection.md +34 -0
  25. package/.agent/skills/app-builder/scaffolding.md +118 -0
  26. package/.agent/skills/app-builder/tech-stack.md +41 -0
  27. package/.agent/skills/app-builder/templates/SKILL.md +39 -0
  28. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  29. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  30. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  31. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  32. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  33. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  34. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  35. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
  36. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
  37. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
  38. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
  39. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  40. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
  41. package/.agent/skills/backend-developer/SKILL.md +763 -0
  42. package/.agent/skills/backend-developer/references/general-patterns.md +65 -0
  43. package/.agent/skills/backend-developer/references/go-echo.md +68 -0
  44. package/.agent/skills/backend-developer/references/go-gin.md +76 -0
  45. package/.agent/skills/backend-developer/references/java-springboot.md +83 -0
  46. package/.agent/skills/backend-developer/references/node-express.md +64 -0
  47. package/.agent/skills/backend-developer/references/node-nestjs.md +69 -0
  48. package/.agent/skills/backend-developer/references/python-django.md +67 -0
  49. package/.agent/skills/backend-developer/references/python-fastapi.md +80 -0
  50. package/.agent/skills/blockchain-engineer/SKILL.md +975 -0
  51. package/.agent/skills/blockchain-engineer/references/deployment.md +28 -0
  52. package/.agent/skills/blockchain-engineer/references/evm.md +14 -0
  53. package/.agent/skills/blockchain-engineer/references/mechanisms.md +32 -0
  54. package/.agent/skills/blockchain-engineer/references/solidity.md +32 -0
  55. package/.agent/skills/business-analysis/SKILL.md +85 -0
  56. package/.agent/skills/business-analysis/references/best-practices/diagrams.md +141 -0
  57. package/.agent/skills/business-analysis/references/domains/ai-agent.md +94 -0
  58. package/.agent/skills/business-analysis/references/domains/blockchain-dapp.md +86 -0
  59. package/.agent/skills/business-analysis/references/domains/ecommerce.md +77 -0
  60. package/.agent/skills/business-analysis/references/domains/education.md +42 -0
  61. package/.agent/skills/business-analysis/references/domains/fintech.md +44 -0
  62. package/.agent/skills/business-analysis/references/domains/fnb.md +82 -0
  63. package/.agent/skills/business-analysis/references/domains/healthtech.md +44 -0
  64. package/.agent/skills/business-analysis/references/domains/internal-tools.md +38 -0
  65. package/.agent/skills/business-analysis/references/domains/marketplace.md +52 -0
  66. package/.agent/skills/business-analysis/references/domains/saas.md +36 -0
  67. package/.agent/skills/business-analysis/references/workflows/collaboration.md +41 -0
  68. package/.agent/skills/business-analysis/scripts/verify_mermaid.py +86 -0
  69. package/.agent/skills/business-analysis/templates/brd.md +46 -0
  70. package/.agent/skills/business-analysis/templates/change-request.md +41 -0
  71. package/.agent/skills/business-analysis/templates/prd-functional.md +38 -0
  72. package/.agent/skills/business-analysis/templates/use-case.md +40 -0
  73. package/.agent/skills/business-analysis/templates/user-story-detailed.md +36 -0
  74. package/.agent/skills/code-review/SKILL.md +113 -0
  75. package/.agent/skills/code-review/references/code-review-reception.md +209 -0
  76. package/.agent/skills/code-review/references/differential_review.md +59 -0
  77. package/.agent/skills/code-review/references/requesting-code-review.md +105 -0
  78. package/.agent/skills/code-review/references/spec_compliance.md +43 -0
  79. package/.agent/skills/code-review/references/verification-before-completion.md +139 -0
  80. package/.agent/skills/context-engineering/SKILL.md +68 -0
  81. package/.agent/skills/context-engineering/references/context-compression.md +84 -0
  82. package/.agent/skills/context-engineering/references/context-degradation.md +93 -0
  83. package/.agent/skills/context-engineering/references/context-fundamentals.md +75 -0
  84. package/.agent/skills/context-engineering/references/context-optimization.md +82 -0
  85. package/.agent/skills/context-engineering/references/evaluation.md +89 -0
  86. package/.agent/skills/context-engineering/references/memory-systems.md +88 -0
  87. package/.agent/skills/context-engineering/references/multi-agent-patterns.md +90 -0
  88. package/.agent/skills/context-engineering/references/project-development.md +97 -0
  89. package/.agent/skills/context-engineering/references/tool-design.md +86 -0
  90. package/.agent/skills/debugging/SKILL.md +60 -0
  91. package/.agent/skills/debugging/references/defense-in-depth.md +130 -0
  92. package/.agent/skills/debugging/references/root-cause-tracing.md +177 -0
  93. package/.agent/skills/debugging/references/systematic-debugging.md +295 -0
  94. package/.agent/skills/debugging/references/verification-before-completion.md +142 -0
  95. package/.agent/skills/designer/SKILL.md +159 -0
  96. package/.agent/skills/designer/concepts/apple-glass.md +48 -0
  97. package/.agent/skills/designer/concepts/aurora-gradients.md +26 -0
  98. package/.agent/skills/designer/concepts/bento-grids.md +14 -0
  99. package/.agent/skills/designer/concepts/claymorphism.md +27 -0
  100. package/.agent/skills/designer/concepts/neo-brutalism.md +32 -0
  101. package/.agent/skills/designer/data/app-interface.csv +31 -0
  102. package/.agent/skills/designer/data/charts.csv +26 -0
  103. package/.agent/skills/designer/data/colors.csv +162 -0
  104. package/.agent/skills/designer/data/design.csv +1776 -0
  105. package/.agent/skills/designer/data/icons.csv +106 -0
  106. package/.agent/skills/designer/data/landing.csv +35 -0
  107. package/.agent/skills/designer/data/products.csv +162 -0
  108. package/.agent/skills/designer/data/react-performance.csv +45 -0
  109. package/.agent/skills/designer/data/styles.csv +85 -0
  110. package/.agent/skills/designer/data/typography.csv +74 -0
  111. package/.agent/skills/designer/data/ui-reasoning.csv +162 -0
  112. package/.agent/skills/designer/data/ux-guidelines.csv +100 -0
  113. package/.agent/skills/designer/references/accessibility.md +172 -0
  114. package/.agent/skills/designer/references/branding.md +88 -0
  115. package/.agent/skills/designer/references/color-theory.md +139 -0
  116. package/.agent/skills/designer/references/creation.md +118 -0
  117. package/.agent/skills/designer/references/design-systems.md +219 -0
  118. package/.agent/skills/designer/references/frontend_design_aesthetics.md +57 -0
  119. package/.agent/skills/designer/references/layout.md +200 -0
  120. package/.agent/skills/designer/references/motion.md +92 -0
  121. package/.agent/skills/designer/references/review.md +100 -0
  122. package/.agent/skills/designer/references/trends.md +209 -0
  123. package/.agent/skills/designer/references/typography.md +190 -0
  124. package/.agent/skills/designer/scripts/remove_background.py +135 -0
  125. package/.agent/skills/designer/scripts/ui-search/__pycache__/core.cpython-314.pyc +0 -0
  126. package/.agent/skills/designer/scripts/ui-search/__pycache__/design_system.cpython-314.pyc +0 -0
  127. package/.agent/skills/designer/scripts/ui-search/core.py +217 -0
  128. package/.agent/skills/designer/scripts/ui-search/design_system.py +1067 -0
  129. package/.agent/skills/designer/scripts/ui-search/search.py +114 -0
  130. package/.agent/skills/designer/templates/design-motion-spec.md +30 -0
  131. package/.agent/skills/devops-engineer/SKILL.md +90 -0
  132. package/.agent/skills/devops-engineer/docker-compose/README.md +47 -0
  133. package/.agent/skills/devops-engineer/references/ci-cd-pipelines.md +76 -0
  134. package/.agent/skills/devops-engineer/references/cloud-providers.md +57 -0
  135. package/.agent/skills/devops-engineer/references/codebase-normalization.md +104 -0
  136. package/.agent/skills/devops-engineer/references/container-orchestration.md +69 -0
  137. package/.agent/skills/devops-engineer/references/iac-tools.md +63 -0
  138. package/.agent/skills/devops-engineer/references/observability-security.md +45 -0
  139. package/.agent/skills/devops-engineer/references/vercel-supabase.md +17 -0
  140. package/.agent/skills/devops-engineer/templates/release-notes.md +8 -0
  141. package/.agent/skills/frontend-developer/SKILL.md +125 -0
  142. package/.agent/skills/frontend-developer/react-nextjs/README.md +90 -0
  143. package/.agent/skills/frontend-developer/references/angular.md +52 -0
  144. package/.agent/skills/frontend-developer/references/composition_patterns.md +60 -0
  145. package/.agent/skills/frontend-developer/references/core-performance.md +68 -0
  146. package/.agent/skills/frontend-developer/references/modern-signals.md +43 -0
  147. package/.agent/skills/frontend-developer/references/react_performance_rules.md +55 -0
  148. package/.agent/skills/frontend-developer/references/vue-nuxt.md +55 -0
  149. package/.agent/skills/frontend-developer/scripts/validate_compliance.py +65 -0
  150. package/.agent/skills/frontend-developer/threejs/README.md +89 -0
  151. package/.agent/skills/frontend-developer/threejs/animation.md +552 -0
  152. package/.agent/skills/frontend-developer/threejs/fundamentals.md +488 -0
  153. package/.agent/skills/frontend-developer/threejs/geometry.md +548 -0
  154. package/.agent/skills/frontend-developer/threejs/interaction.md +660 -0
  155. package/.agent/skills/frontend-developer/threejs/lighting.md +481 -0
  156. package/.agent/skills/frontend-developer/threejs/loaders.md +623 -0
  157. package/.agent/skills/frontend-developer/threejs/materials.md +520 -0
  158. package/.agent/skills/frontend-developer/threejs/postprocessing.md +602 -0
  159. package/.agent/skills/frontend-developer/threejs/router.json +181 -0
  160. package/.agent/skills/frontend-developer/threejs/shaders.md +642 -0
  161. package/.agent/skills/frontend-developer/threejs/textures.md +628 -0
  162. package/.agent/skills/game-development/2d-games/SKILL.md +119 -0
  163. package/.agent/skills/game-development/3d-games/SKILL.md +135 -0
  164. package/.agent/skills/game-development/SKILL.md +167 -0
  165. package/.agent/skills/game-development/game-art/SKILL.md +185 -0
  166. package/.agent/skills/game-development/game-audio/SKILL.md +190 -0
  167. package/.agent/skills/game-development/game-design/SKILL.md +129 -0
  168. package/.agent/skills/game-development/mobile-games/SKILL.md +108 -0
  169. package/.agent/skills/game-development/multiplayer/SKILL.md +132 -0
  170. package/.agent/skills/game-development/pc-games/SKILL.md +144 -0
  171. package/.agent/skills/game-development/vr-ar/SKILL.md +123 -0
  172. package/.agent/skills/game-development/web-games/SKILL.md +150 -0
  173. package/.agent/skills/lead-architect/SKILL.md +85 -0
  174. package/.agent/skills/lead-architect/references/application-architecture.md +70 -0
  175. package/.agent/skills/lead-architect/references/infrastructure.md +51 -0
  176. package/.agent/skills/lead-architect/references/process.md +42 -0
  177. package/.agent/skills/lead-architect/references/system-architecture.md +62 -0
  178. package/.agent/skills/lead-architect/references/web-fullstack.md +82 -0
  179. package/.agent/skills/lead-architect/templates/adr.md +62 -0
  180. package/.agent/skills/lead-architect/templates/rfc.md +46 -0
  181. package/.agent/skills/lead-architect/templates/sdd.md +62 -0
  182. package/.agent/skills/lead-architect/templates/technical-spec.md +61 -0
  183. package/.agent/skills/marketer/SKILL.md +66 -0
  184. package/.agent/skills/marketer/remotion-best-practices/SKILL.md +58 -0
  185. package/.agent/skills/marketer/remotion-best-practices/rules/3d.md +86 -0
  186. package/.agent/skills/marketer/remotion-best-practices/rules/animations.md +29 -0
  187. package/.agent/skills/marketer/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
  188. package/.agent/skills/marketer/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
  189. package/.agent/skills/marketer/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +108 -0
  190. package/.agent/skills/marketer/remotion-best-practices/rules/assets.md +78 -0
  191. package/.agent/skills/marketer/remotion-best-practices/rules/audio.md +172 -0
  192. package/.agent/skills/marketer/remotion-best-practices/rules/calculate-metadata.md +104 -0
  193. package/.agent/skills/marketer/remotion-best-practices/rules/can-decode.md +75 -0
  194. package/.agent/skills/marketer/remotion-best-practices/rules/charts.md +58 -0
  195. package/.agent/skills/marketer/remotion-best-practices/rules/compositions.md +146 -0
  196. package/.agent/skills/marketer/remotion-best-practices/rules/display-captions.md +126 -0
  197. package/.agent/skills/marketer/remotion-best-practices/rules/extract-frames.md +229 -0
  198. package/.agent/skills/marketer/remotion-best-practices/rules/fonts.md +152 -0
  199. package/.agent/skills/marketer/remotion-best-practices/rules/get-audio-duration.md +58 -0
  200. package/.agent/skills/marketer/remotion-best-practices/rules/get-video-dimensions.md +68 -0
  201. package/.agent/skills/marketer/remotion-best-practices/rules/get-video-duration.md +58 -0
  202. package/.agent/skills/marketer/remotion-best-practices/rules/gifs.md +138 -0
  203. package/.agent/skills/marketer/remotion-best-practices/rules/images.md +130 -0
  204. package/.agent/skills/marketer/remotion-best-practices/rules/import-srt-captions.md +67 -0
  205. package/.agent/skills/marketer/remotion-best-practices/rules/lottie.md +68 -0
  206. package/.agent/skills/marketer/remotion-best-practices/rules/measuring-dom-nodes.md +35 -0
  207. package/.agent/skills/marketer/remotion-best-practices/rules/measuring-text.md +143 -0
  208. package/.agent/skills/marketer/remotion-best-practices/rules/sequencing.md +106 -0
  209. package/.agent/skills/marketer/remotion-best-practices/rules/tailwind.md +11 -0
  210. package/.agent/skills/marketer/remotion-best-practices/rules/text-animations.md +20 -0
  211. package/.agent/skills/marketer/remotion-best-practices/rules/timing.md +179 -0
  212. package/.agent/skills/marketer/remotion-best-practices/rules/transcribe-captions.md +19 -0
  213. package/.agent/skills/marketer/remotion-best-practices/rules/transitions.md +122 -0
  214. package/.agent/skills/marketer/remotion-best-practices/rules/trimming.md +53 -0
  215. package/.agent/skills/marketer/remotion-best-practices/rules/videos.md +171 -0
  216. package/.agent/skills/mcp-builder/SKILL.md +76 -0
  217. package/.agent/skills/mcp-builder/references/evaluation.md +602 -0
  218. package/.agent/skills/mcp-builder/references/mcp_best_practices.md +249 -0
  219. package/.agent/skills/mcp-builder/references/node_mcp_server.md +970 -0
  220. package/.agent/skills/mcp-builder/references/python_mcp_server.md +719 -0
  221. package/.agent/skills/mobile-developer/SKILL.md +83 -0
  222. package/.agent/skills/mobile-developer/api-routes/SKILL.md +389 -0
  223. package/.agent/skills/mobile-developer/building-ui/SKILL.md +335 -0
  224. package/.agent/skills/mobile-developer/building-ui/references/animations.md +220 -0
  225. package/.agent/skills/mobile-developer/building-ui/references/controls.md +270 -0
  226. package/.agent/skills/mobile-developer/building-ui/references/form-sheet.md +227 -0
  227. package/.agent/skills/mobile-developer/building-ui/references/gradients.md +106 -0
  228. package/.agent/skills/mobile-developer/building-ui/references/icons.md +213 -0
  229. package/.agent/skills/mobile-developer/building-ui/references/media.md +198 -0
  230. package/.agent/skills/mobile-developer/building-ui/references/route-structure.md +229 -0
  231. package/.agent/skills/mobile-developer/building-ui/references/search.md +248 -0
  232. package/.agent/skills/mobile-developer/building-ui/references/storage.md +121 -0
  233. package/.agent/skills/mobile-developer/building-ui/references/tabs.md +368 -0
  234. package/.agent/skills/mobile-developer/building-ui/references/visual-effects.md +197 -0
  235. package/.agent/skills/mobile-developer/building-ui/references/webgpu-three.md +605 -0
  236. package/.agent/skills/mobile-developer/cicd-workflows/SKILL.md +107 -0
  237. package/.agent/skills/mobile-developer/cicd-workflows/scripts/fetch.js +109 -0
  238. package/.agent/skills/mobile-developer/cicd-workflows/scripts/package.json +11 -0
  239. package/.agent/skills/mobile-developer/cicd-workflows/scripts/validate.js +84 -0
  240. package/.agent/skills/mobile-developer/data-fetching/SKILL.md +508 -0
  241. package/.agent/skills/mobile-developer/deployment/SKILL.md +207 -0
  242. package/.agent/skills/mobile-developer/deployment/references/app-store-metadata.md +479 -0
  243. package/.agent/skills/mobile-developer/deployment/references/ios-app-store.md +355 -0
  244. package/.agent/skills/mobile-developer/deployment/references/play-store.md +246 -0
  245. package/.agent/skills/mobile-developer/deployment/references/testflight.md +58 -0
  246. package/.agent/skills/mobile-developer/deployment/references/workflows.md +200 -0
  247. package/.agent/skills/mobile-developer/dev-client/SKILL.md +181 -0
  248. package/.agent/skills/mobile-developer/tailwind-setup/SKILL.md +501 -0
  249. package/.agent/skills/mobile-developer/upgrading-expo/SKILL.md +116 -0
  250. package/.agent/skills/mobile-developer/upgrading-expo/references/new-architecture.md +79 -0
  251. package/.agent/skills/mobile-developer/upgrading-expo/references/react-19.md +79 -0
  252. package/.agent/skills/mobile-developer/upgrading-expo/references/react-compiler.md +59 -0
  253. package/.agent/skills/mobile-developer/use-dom/SKILL.md +434 -0
  254. package/.agent/skills/modern-python/SKILL.md +122 -0
  255. package/.agent/skills/project-manager/SKILL.md +110 -0
  256. package/.agent/skills/project-manager/references/ba-collaboration.md +62 -0
  257. package/.agent/skills/project-manager/references/discovery_process.md +52 -0
  258. package/.agent/skills/project-manager/references/jobs_to_be_done.md +51 -0
  259. package/.agent/skills/project-manager/references/prd_development.md +52 -0
  260. package/.agent/skills/project-manager/references/rules-guide.md +55 -0
  261. package/.agent/skills/project-manager/references/skill-creation.md +98 -0
  262. package/.agent/skills/project-manager/references/strategic-frameworks.md +62 -0
  263. package/.agent/skills/project-manager/references/task-decomposition.md +194 -0
  264. package/.agent/skills/project-manager/references/workflows-guide.md +44 -0
  265. package/.agent/skills/project-manager/router.json +160 -0
  266. package/.agent/skills/project-manager/scripts/compare_skill.py +177 -0
  267. package/.agent/skills/project-manager/scripts/encoding_utils.py +36 -0
  268. package/.agent/skills/project-manager/scripts/init_skill.py +190 -0
  269. package/.agent/skills/project-manager/scripts/quick_validate.py +123 -0
  270. package/.agent/skills/project-manager/templates/pm-strategy-one-pager.md +6 -0
  271. package/.agent/skills/project-manager/templates/prd-strategic.md +38 -0
  272. package/.agent/skills/project-manager/templates/skill-questionnaire.md +118 -0
  273. package/.agent/skills/project-manager/templates/user-story-simple.md +14 -0
  274. package/.agent/skills/prompt-engineer/SKILL.md +319 -0
  275. package/.agent/skills/prompt-engineer/skill-creator/README.md +47 -0
  276. package/.agent/skills/qa-tester/SKILL.md +142 -0
  277. package/.agent/skills/qa-tester/assets/README.md +8 -0
  278. package/.agent/skills/qa-tester/references/accessibility_testing.md +35 -0
  279. package/.agent/skills/qa-tester/references/agent_browser.md +38 -0
  280. package/.agent/skills/qa-tester/references/automation/api_testing.md +23 -0
  281. package/.agent/skills/qa-tester/references/automation/best_practices.md +14 -0
  282. package/.agent/skills/qa-tester/references/automation/jest_vitest.md +26 -0
  283. package/.agent/skills/qa-tester/references/automation/playwright.md +30 -0
  284. package/.agent/skills/qa-tester/references/e2e_testing.md +46 -0
  285. package/.agent/skills/qa-tester/references/integration_testing.md +39 -0
  286. package/.agent/skills/qa-tester/references/performance_testing.md +44 -0
  287. package/.agent/skills/qa-tester/references/property_based_testing.md +44 -0
  288. package/.agent/skills/qa-tester/references/security_audit.md +53 -0
  289. package/.agent/skills/qa-tester/references/security_testing.md +30 -0
  290. package/.agent/skills/qa-tester/references/sharp_edges.md +49 -0
  291. package/.agent/skills/qa-tester/references/static_analysis.md +52 -0
  292. package/.agent/skills/qa-tester/references/supply_chain_audit.md +54 -0
  293. package/.agent/skills/qa-tester/references/test_case_standards.md +96 -0
  294. package/.agent/skills/qa-tester/references/test_report_template.md +32 -0
  295. package/.agent/skills/qa-tester/references/unit_testing.md +50 -0
  296. package/.agent/skills/qa-tester/references/visual_testing.md +32 -0
  297. package/.agent/skills/qa-tester/templates/uat-plan.md +34 -0
  298. package/.agent/skills/research-first/SKILL.md +118 -0
  299. package/.agent/skills-manifest.json +264 -0
  300. package/.agent/workflows/absorb.md +176 -0
  301. package/.agent/workflows/bootstrap.md +91 -0
  302. package/.agent/workflows/brainstorm.md +168 -0
  303. package/.agent/workflows/break-tasks.md +77 -0
  304. package/.agent/workflows/commit.md +349 -0
  305. package/.agent/workflows/custom-behavior.md +64 -0
  306. package/.agent/workflows/debug.md +65 -0
  307. package/.agent/workflows/development.md +49 -0
  308. package/.agent/workflows/documentation.md +221 -0
  309. package/.agent/workflows/gen-tests.md +53 -0
  310. package/.agent/workflows/guide.md +196 -0
  311. package/.agent/workflows/implement-feature.md +182 -0
  312. package/.agent/workflows/install-skill.md +193 -0
  313. package/.agent/workflows/qa.md +54 -0
  314. package/.agent/workflows/ui-ux-design.md +108 -0
  315. package/LICENSE +21 -0
  316. package/README.md +258 -0
  317. package/cli/index.js +345 -0
  318. package/cli/migrate-skills.js +113 -0
  319. package/cli/verify.js +291 -0
  320. package/package.json +49 -0
@@ -0,0 +1,68 @@
1
+ ---
2
+ trigger: model_decision
3
+ description: Always apply when using git for commits, branches, or version control
4
+ ---
5
+
6
+ # Git Workflow Rule
7
+
8
+ ## Critical Rules (MUST Follow)
9
+
10
+ 1. **MUST** use **Conventional Commits** format for all commit messages: `type(scope): description`
11
+ 2. **MUST** review `git diff --stat` before staging — never commit blindly
12
+ 3. **MUST** ask user before staging protected files (`.env`, lock files, CI configs)
13
+ 4. **MUST** suggest creating a feature branch when on `main` with > 5 file changes
14
+ 5. **MUST NOT** use `--no-verify` unless there is a tooling failure (OOM, SIGKILL) — never to bypass real lint/test errors
15
+ 6. **MUST NOT** commit `.env` files, secrets, or API keys — check `.gitignore` first
16
+
17
+ ## Commit Type Reference
18
+
19
+ | Type | Use For | Example |
20
+ |------|---------|---------|
21
+ | `feat` | New feature | `feat(auth): add OAuth2 login flow` |
22
+ | `fix` | Bug fix | `fix(api): handle null response in user endpoint` |
23
+ | `refactor` | Code restructuring (no behavior change) | `refactor(utils): extract validation helpers` |
24
+ | `docs` | Documentation only | `docs: add API reference to README` |
25
+ | `chore` | Maintenance, deps, config | `chore: upgrade React to v19` |
26
+ | `test` | Adding/fixing tests | `test(auth): add token expiry edge cases` |
27
+ | `style` | Formatting, whitespace (no logic) | `style: fix indentation in config files` |
28
+ | `ci` | CI/CD pipeline changes | `ci: add deploy workflow for staging` |
29
+ | `perf` | Performance improvement | `perf(db): add index on user_email column` |
30
+
31
+ ## Decision Flow
32
+
33
+ ```
34
+ ┌─────────────────────────────────────────────────────────────┐
35
+ │ BEFORE any git commit: │
36
+ ├─────────────────────────────────────────────────────────────┤
37
+ │ 1. Check current branch │
38
+ │ On main + many changes? → Suggest feature branch │
39
+ ├─────────────────────────────────────────────────────────────┤
40
+ │ 2. Review changes (git status + git diff --stat) │
41
+ │ Protected files changed? → List and ask confirmation │
42
+ ├─────────────────────────────────────────────────────────────┤
43
+ │ 3. Stage files │
44
+ │ > 15 files? → Offer split by scope / selective staging │
45
+ ├─────────────────────────────────────────────────────────────┤
46
+ │ 4. Generate commit message │
47
+ │ → Conventional Commits format │
48
+ │ → Present to user for approval │
49
+ ├─────────────────────────────────────────────────────────────┤
50
+ │ 5. Commit and push │
51
+ │ Push rejected? → git pull --rebase, then retry │
52
+ └─────────────────────────────────────────────────────────────┘
53
+ ```
54
+
55
+ ## Scope Detection
56
+
57
+ Auto-detect scope from file paths — use the **first meaningful directory**:
58
+
59
+ | Path Pattern | Scope |
60
+ |-------------|-------|
61
+ | `apps/<name>/...` | `<name>` |
62
+ | `packages/<name>/...` | `<name>` |
63
+ | `src/components/...` | `components` |
64
+ | `.agent/skills/...` | `skills` |
65
+ | `cli/...` | `cli` |
66
+ | Root files | omit scope |
67
+
68
+ When files span multiple scopes, omit scope or use the dominant one.
@@ -0,0 +1,46 @@
1
+ ---
2
+ trigger: model_decision
3
+ description: Apply this rule when generating images, icons, or visual assets using generate_image tool.
4
+ ---
5
+
6
+ # Generate Image Usage Guide
7
+
8
+ ## 1. The Prompting Formula
9
+
10
+ To maximize image quality, ALWAYS structure your prompt using this progression. Do not just send a raw description.
11
+
12
+ **`[Core Subject]` + `[Visual Style]` + `[Lighting/Color]` + `[Technical/Quality specs]`**
13
+
14
+ ### Examples:
15
+
16
+ - **Bad**: "A robot"
17
+ - **Good**: "Cute round robot avatar, flat vector art style, soft indigo and white lighting, minimal UI icon, high resolution"
18
+
19
+ - **Bad**: "Dashboard background"
20
+ - **Good**: "Abstract geometric patterns, soft cyberpunk aesthetic, dark slate and neon blue dark mode, subtle texture, 4k wallpaper"
21
+
22
+ ## 2. Capability & Constraints
23
+
24
+ - **Naming**: You **MUST** use `snake_case` with a maximum of **3 words**.
25
+ - ✅ `hero_robot_icon`
26
+ - ❌ `HeroRobotIcon` (CamelCase not allowed)
27
+ - ❌ `blue_hero_robot_floating_in_space` (Too long)
28
+ - **Text Handling**: The tool cannot render legible text. **NEVER** ask for text inside the image (e.g., "A button that says Start"). Request the _button shape_ only.
29
+ - **Composition**: It excels at single objects (Icons, Avatars) and abstract backgrounds. It struggles with complex multi-character scenes or precise UI layouts.
30
+
31
+ ## 3. High-Leverage Keywords
32
+
33
+ Use these specific keywords to steer the model towards specific outcomes:
34
+
35
+ | Goal | Keywords to Inject |
36
+ | :-------------- | :------------------------------------------------------------------------------------------------- |
37
+ | **UI Icons** | `vector icon`, `flat design`, `minimalist`, `app icon`, `white background`, `svg style` |
38
+ | **Game Assets** | `game sprite`, `isometric view`, `digital painting`, `character concept`, `unreal engine 5 render` |
39
+ | **Backgrounds** | `abstract`, `bokeh`, `gradient`, `blur`, `texture`, `wallpaper`, `geometric` |
40
+ | **Styling** | `soft lighting`, `cinematic`, `volumetric light`, `rule of thirds`, `ultra detailed` |
41
+
42
+ ## 4. Operational Best Practices
43
+
44
+ 1. **One Concept per Request**: Don't try to generate a "Dashboard with a sidebar and a chart". Generate the "Sidebar background" and the "Chart graphic" separately.
45
+ 2. **Color Accuracy**: Use descriptive color names ("Emerald Green", "Midnight Blue") rather than just Hex codes, as models understand names better visually.
46
+ 3. **Iteration**: If the first specific result isn't perfect, generalize the prompt slightly (remove strict constraints) and try again.
@@ -0,0 +1,35 @@
1
+ ---
2
+ trigger: model_decision
3
+ description: Always apply when doing research
4
+ ---
5
+
6
+ # Deep Research & Insight Gathering Rule
7
+
8
+ ## Core Rules (MUST Follow)
9
+
10
+ 1. **PROACTIVE SEARCHING**: Before planning or implementation, MUST use `search_web` with at least 5-10 varied keyword groups to gather the latest trends, best practices, and innovative ideas.
11
+ 2. **MULTI-DIMENSIONAL KEYWORDS**: Keywords must cover multiple angles:
12
+ - **Current Trends**: e.g., "modern UI design trends 2026", "latest React performance patterns".
13
+ - **Competitive/Comparative Analysis**: e.g., "top-tier SaaS landing pages", "comparison of agentic AI frameworks".
14
+ - **Deep Technical Details**: e.g., "advanced CSS glassmorphism implementation", "Vercel edge function benchmarks".
15
+ - **Common Pitfalls**: e.g., "anti-patterns in multi-agent systems", "UI accessibility common mistakes".
16
+ 3. **INSIGHT SYNTHESIS**: Research findings MUST be documented in `docs/050-Research/Analysis-{Topic}.md` BEFORE moving to the execution phase.
17
+ 4. **NO GENERIC PLACEHOLDERS**: Use research results to identify actual color palettes, modern typography, and real-world examples instead of using safe/default values.
18
+ 5. **CONTINUOUS DISCOVERY**: If a technical hurdle is met during implementation, trigger a new research cycle instead of guessing.
19
+
20
+ ## Decision Flow
21
+
22
+ 1. Identify the core domains of the task (e.g., Fintech UX, Scalable Go Backend, WebGL Performance).
23
+ 2. Generate 10+ specific search queries.
24
+ 3. Execute `search_web` and consume in-depth content using `read_url_content` or `read_browser_page`.
25
+ 4. Extract "Wow Factors" and modern standards.
26
+ 5. Document insights in the Research folder.
27
+ 6. Apply these specific insights to the Roadmap, PRD, and Implementation.
28
+
29
+ ## Examples of Inactive vs. Proactive Behavior
30
+
31
+ - **Inactive**: Using standard blue/white for a dashboard because it's "professional".
32
+ - **Proactive**: Searching for "premium dark mode dashboard aesthetics 2026", finding "Deep Emerald & Gold" lacquer-inspired themes, and implementing a high-contrast premium UI.
33
+
34
+ - **Inactive**: Writing shared utility functions for API calls.
35
+ - **Proactive**: Searching for "TanStack Query v5 optimistic update patterns", finding a more robust signal-based approach, and implementing that instead.
@@ -0,0 +1,100 @@
1
+ ---
2
+ trigger: model_decision
3
+ description: Always apply when loading, routing, or recommending skills from the agent kit
4
+ ---
5
+
6
+ # Skill Loading Rule
7
+
8
+ ## Critical Rules (MUST Follow)
9
+
10
+ 1. **MUST** check `skills-manifest.json` before loading any skill — verify skill exists and read its triggers
11
+ 2. **MUST** follow the Knowledge Graph relationships in `SKILL.md` — load `extends` parents first, then the skill itself
12
+ 3. **MUST** respect `conflicts` — never load two conflicting skills simultaneously
13
+ 4. **MUST** load `requires` dependencies automatically (hard requirements)
14
+ 5. **MUST** suggest `suggests` skills to user (soft recommendations, don't auto-load)
15
+ 6. **MUST** consider `estimated_tokens` — avoid loading more skills than the context window allows
16
+ 7. **MUST NOT** load a skill's full content unless it's needed — use trigger matching first
17
+
18
+ ## Decision Flow
19
+
20
+ ```
21
+ ┌─────────────────────────────────────────────────────────────┐
22
+ │ WHEN user request comes in: │
23
+ ├─────────────────────────────────────────────────────────────┤
24
+ │ 1. Match request against skill triggers │
25
+ │ → Check skills-manifest.json "triggers" arrays │
26
+ │ → Also check file patterns (e.g., app/_layout.tsx → mobile)│
27
+ │ Found match? → Load that skill's SKILL.md │
28
+ │ No match? → Use project-manager as default router │
29
+ ├─────────────────────────────────────────────────────────────┤
30
+ │ 2. Check Knowledge Graph section of loaded skill │
31
+ │ Has "extends"? → Load parent skill FIRST │
32
+ │ Has "requires"? → Load required skills automatically │
33
+ │ Has "suggests"? → Mention to user: "Consider also..." │
34
+ │ Has "conflicts"?→ Check if conflicting skill is active │
35
+ ├─────────────────────────────────────────────────────────────┤
36
+ │ 3. Estimate token budget │
37
+ │ Sum estimated_tokens of all loaded skills │
38
+ │ > 50% of context? → Warn user, suggest unloading │
39
+ │ > 80% of context? → STOP, ask user which to prioritize │
40
+ ├─────────────────────────────────────────────────────────────┤
41
+ │ 4. Load sub-skills on demand │
42
+ │ Don't preload all sub-skills │
43
+ │ Load only when task requires specific sub-capability │
44
+ └─────────────────────────────────────────────────────────────┘
45
+ ```
46
+
47
+ ## Trigger Matching Priority
48
+
49
+ | Priority | Match Type | Example |
50
+ |----------|-----------|---------|
51
+ | 1 (highest) | File pattern detected | `app/_layout.tsx` → `mobile-developer` |
52
+ | 2 | Explicit keyword in request | "deploy to AWS" → `devops-engineer` |
53
+ | 3 | Domain context | Working in `.sol` files → `blockchain-engineer` |
54
+ | 4 | Suggested by active skill | `frontend-developer` suggests `designer` |
55
+
56
+ ## Token Budget Guidelines
57
+
58
+ | Skill Load | Tokens | Context Usage |
59
+ |-----------|--------|---------------|
60
+ | 1 base skill | 3-10K | ✅ Light |
61
+ | 1 base + 1 sub-skill | 10-20K | ✅ Normal |
62
+ | 2 base + extends chain | 20-40K | ⚠️ Monitor |
63
+ | 3+ skills loaded | 40K+ | 🚨 Review & trim |
64
+
65
+ ## Skill Chain Examples
66
+
67
+ **React Next.js project:**
68
+ ```
69
+ frontend-developer (3.5K)
70
+ └─ extends: none (base)
71
+ └─ load sub: react-nextjs/ (additional)
72
+ └─ suggests: designer, tailwind-setup
73
+ Total: ~8K tokens
74
+ ```
75
+
76
+ **Mobile Expo project:**
77
+ ```
78
+ mobile-developer (8K)
79
+ └─ extends: frontend-developer (3.5K)
80
+ └─ load sub: building-ui/ (on demand)
81
+ └─ suggests: backend-developer, designer
82
+ Total: ~12K tokens
83
+ ```
84
+
85
+ ## Progressive Disclosure (from Anthropic's skill-creator)
86
+
87
+ Skills should follow a **3-level loading** strategy to minimize token usage:
88
+
89
+ | Level | What | When |
90
+ |-------|------|------|
91
+ | **L1: Metadata** | `skills-manifest.json` entry (name, triggers, size) | Always loaded — routing decisions |
92
+ | **L2: SKILL.md** | Main instruction file — **≤ 150 lines** | Loaded when skill is activated |
93
+ | **L3: references/** | Deep docs, examples, sub-skills | Loaded on-demand when specific topic needed |
94
+
95
+ **Key rules:**
96
+ - SKILL.md **MUST** stay under 150 lines — force progressive disclosure
97
+ - Description in manifest **MUST** be < 200 chars — for efficient discovery
98
+ - Put detailed content in `references/` folder, link from SKILL.md
99
+ - Never front-load everything — load deep context only when task requires it
100
+
@@ -0,0 +1,47 @@
1
+ # Skill Suggestion Rule
2
+
3
+ ## When to Apply
4
+ Always active. AI should continuously monitor for skill gaps during conversations.
5
+
6
+ ## Rule: Auto-Suggest External Skills
7
+
8
+ When the AI detects it's working in a **domain not covered by installed skills**, it should:
9
+
10
+ ### 1. Detect Skill Gap
11
+ Trigger when:
12
+ - User mentions a technology/service not in `skills-manifest.json`
13
+ - AI is about to write code for an unfamiliar framework
14
+ - User asks about best practices for a specific tool/platform
15
+ - Task requires domain expertise beyond general coding
16
+
17
+ ### 2. Check Known Registries
18
+ ```
19
+ Read .agent/known-registries.json
20
+ → Search for matching skill by name or description
21
+ ```
22
+
23
+ ### 3. Suggest (non-blocking)
24
+
25
+ Format suggestion as a brief inline note — do NOT interrupt the workflow:
26
+
27
+ ```
28
+ 💡 Skill suggestion: `stripe-best-practices` is available from the official
29
+ Stripe registry. Run `/install-skill stripe` to install it.
30
+ (Continuing without it for now...)
31
+ ```
32
+
33
+ ### 4. Important Constraints
34
+
35
+ - **Never block** the user's current task to suggest a skill
36
+ - **Suggest once** per domain per conversation — don't repeat
37
+ - **Prefer context7** for simple docs lookups — only suggest skill install for comprehensive best-practices or methodology content
38
+ - **Don't suggest** for domains the user is clearly experienced in
39
+ - **Registry-only suggestions** — never suggest unverified community skills without user explicitly searching
40
+
41
+ ### 5. Suggestion Priority
42
+
43
+ | Situation | Action |
44
+ |-----------|--------|
45
+ | Registry has matching skill | Suggest `/install-skill <name>` |
46
+ | No registry match, but context7 has docs | Say "I can query context7 for `<lib>` docs" |
47
+ | No match anywhere | Work with general knowledge, no suggestion |
@@ -0,0 +1,52 @@
1
+ ---
2
+ trigger: model_decision
3
+ description: Always apply when doing or writing testing
4
+ ---
5
+
6
+ # Testing and Regression Rule
7
+
8
+ ## Critical Rules (MUST Follow)
9
+
10
+ 1. **MUST** run existing tests before starting any work to establish a baseline.
11
+ 2. **MUST** run tests after completing changes to ensure no regressions were introduced.
12
+ 3. **MUST** add new tests for any new features implemented.
13
+ 4. **MUST** add reproduction tests for any bug fixes to ensure the bug does not return.
14
+ 5. **MUST** report test results (pass/fail) in the task summary and walkthrough.
15
+ 6. **MUST NOT** proceed to finalize a task if tests are failing, unless explicitly instructed by the user after explaining the failure and its impact.
16
+
17
+ ## Decision Flow
18
+
19
+ ```
20
+ ┌─────────────────────────────────────────────────────────────┐
21
+ │ WHEN implementing a feature or fixing a bug: │
22
+ ├─────────────────────────────────────────────────────────────┤
23
+ │ 1. Run baseline tests. │
24
+ │ Are they passing? │
25
+ │ NO → Notify user of existing failures before proceeding. │
26
+ │ YES → Continue. │
27
+ ├─────────────────────────────────────────────────────────────┤
28
+ │ 2. Implement changes (Feature/Fix/Refactor). │
29
+ ├─────────────────────────────────────────────────────────────┤
30
+ │ 3. Add/Update tests for the new code. │
31
+ ├─────────────────────────────────────────────────────────────┤
32
+ │ 4. Run ALL relevant tests. │
33
+ │ Are they passing? │
34
+ │ NO → Analyze failures, fix code/tests, repeat step 4. │
35
+ │ YES → Continue. │
36
+ ├─────────────────────────────────────────────────────────────┤
37
+ │ 5. Document test results in Walkthrough/Task Summary. │
38
+ └─────────────────────────────────────────────────────────────┘
39
+ ```
40
+
41
+ ## Running Tests
42
+
43
+ - Use `npm test` to run the test suite.
44
+ - For specific tests, use `npm test -- <path_to_test_file>`.
45
+ - If the project uses a different test runner (e.g., `pytest`, `jest`, `vitest`), adapt the command accordingly based on `package.json` or project documentation.
46
+
47
+ ## What to do on Failure
48
+
49
+ 1. **Analyze logs**: Look for the specific assertion failure or error message.
50
+ 2. **Determine Root Cause**: Is it a bug in the code, a bug in the test, or a change in requirements?
51
+ 3. **Fix and Re-run**: Apply the necessary fix and run the tests again.
52
+ 4. **Communicate**: If a failure is expected or cannot be fixed easily, notify the user with a detailed explanation.
@@ -0,0 +1,108 @@
1
+ ---
2
+ trigger: model_decision
3
+ description: Always suggest relevant workflows when user starts a new task or seems unsure what to do next
4
+ ---
5
+
6
+ # Workflow Advisor Rule
7
+
8
+ ## Critical Rules (MUST Follow)
9
+
10
+ 1. **MUST** suggest relevant workflows when user describes a new project or task
11
+ 2. **MUST** suggest the *next* workflow when a current workflow completes
12
+ 3. **MUST** present workflow chains for multi-phase projects, not individual commands
13
+ 4. **MUST NOT** overwhelm — suggest max 3 options at a time
14
+ 5. **MUST NOT** force workflows — suggestions are optional, user can always say "no"
15
+
16
+ ## When to Activate
17
+
18
+ | User Signal | Action |
19
+ |-------------|--------|
20
+ | "I want to build..." / "tạo project mới" | Suggest full project chain |
21
+ | "What should I do next?" / "làm gì tiếp" | Analyze context → suggest next step |
22
+ | User finishes a workflow | Auto-suggest the logical next workflow |
23
+ | User seems lost or asks vague question | Offer `/guide` |
24
+ | User mentions specific phase (design, code, test) | Suggest matching workflow |
25
+
26
+ ## Workflow Chains (Pre-built Recipes)
27
+
28
+ ### 🆕 New Project (from scratch)
29
+ ```
30
+ /brainstorm → /documentation → /break-tasks → /implement-feature → /commit
31
+ ```
32
+
33
+ ### 🔄 New Feature (existing project)
34
+ ```
35
+ /break-tasks → /implement-feature → /gen-tests → /commit
36
+ ```
37
+
38
+ ### 🐛 Bug Fix
39
+ ```
40
+ /development → /gen-tests → /commit
41
+ ```
42
+
43
+ ### 🎨 UI/UX Feature
44
+ ```
45
+ /ui-ux-design → /break-tasks → /implement-feature → /commit
46
+ ```
47
+
48
+ ### 📚 Documentation Only
49
+ ```
50
+ /documentation → /commit
51
+ ```
52
+
53
+ ### 🔍 Study External Kit
54
+ ```
55
+ /absorb → /break-tasks → /implement-feature → /commit
56
+ ```
57
+
58
+ ### 🚀 MVP Sprint
59
+ ```
60
+ Phase 0: /brainstorm → /documentation
61
+ Phase 1: /break-tasks → /implement-feature → /commit
62
+ Phase 2: /break-tasks → /implement-feature → /commit
63
+ Phase N: (repeat until done)
64
+ Final: /qa → /commit
65
+ ```
66
+
67
+ ## Suggestion Format
68
+
69
+ When suggesting, use this compact format:
70
+
71
+ ```
72
+ 💡 Suggested workflow:
73
+ /brainstorm → /documentation → /break-tasks → /implement-feature
74
+
75
+ Or pick a specific one:
76
+ 1. /brainstorm — define requirements & roadmap
77
+ 2. /break-tasks — break features into atomic tasks
78
+ 3. /guide — help me choose
79
+ ```
80
+
81
+ ## Chain Transition Detection
82
+
83
+ After each workflow completes, check what logically comes next:
84
+
85
+ | Just Finished | Suggest Next |
86
+ |--------------|-------------|
87
+ | `/brainstorm` | `/documentation` (create specs from PRD) |
88
+ | `/documentation` | `/break-tasks` (break specs into tasks) |
89
+ | `/break-tasks` | `/implement-feature` (start coding) |
90
+ | `/implement-feature` | `/gen-tests` or `/commit` |
91
+ | `/gen-tests` | `/commit` |
92
+ | `/ui-ux-design` | `/break-tasks` → `/implement-feature` |
93
+ | `/qa` | `/commit` |
94
+ | `/absorb` | `/break-tasks` (implement absorbed items) |
95
+ | `/development` | `/commit` |
96
+
97
+ ## Context Detection
98
+
99
+ Detect project stage from existing files:
100
+
101
+ | Files Found | Stage | Suggestion |
102
+ |------------|-------|-----------|
103
+ | No `docs/` folder | 🆕 Brand new | Start with `/brainstorm` |
104
+ | `docs/010-Planning/Roadmap.md` exists | Planning done | `/documentation` or `/break-tasks` |
105
+ | `docs/020-Requirements/PRD-*.md` exists | Requirements ready | `/break-tasks` |
106
+ | `docs/050-Tasks/Task-*.md` exists | Tasks defined | `/implement-feature` |
107
+ | Source code exists but no docs | Legacy project | `/documentation` (Mode A: from codebase) |
108
+ | Tests exist but failing | Bug phase | `/development` (debug mode) |
@@ -0,0 +1,127 @@
1
+ ---
2
+ trigger: model_decision
3
+ description: Convention for how workflows must invoke skills — the multi-layer architecture
4
+ ---
5
+
6
+ # Workflow ↔ Skill Convention
7
+
8
+ ## Multi-Layer Architecture
9
+
10
+ ```
11
+ ┌───────────────────────────────────────────────┐
12
+ │ USER │
13
+ │ "I want to build a SaaS app" │
14
+ ├───────────────────────────────────────────────┤
15
+ │ LAYER 1: Guide │
16
+ │ /guide detects intent → recommends chain │
17
+ ├───────────────────────────────────────────────┤
18
+ │ LAYER 2: Workflow Chain │
19
+ │ /brainstorm → /documentation → /break-tasks │
20
+ ├───────────────────────────────────────────────┤
21
+ │ LAYER 3: Skills │
22
+ │ Each step invokes expert skills: │
23
+ │ [project-manager] → [lead-architect] → │
24
+ │ [business-analysis] → [frontend-developer] │
25
+ ├───────────────────────────────────────────────┤
26
+ │ LAYER 4: Manifest │
27
+ │ skills-manifest.json routes dependencies: │
28
+ │ extends, requires, suggests, conflicts │
29
+ ├───────────────────────────────────────────────┤
30
+ │ LAYER 5: Rules │
31
+ │ Always-on guardrails: clean-code, testing, │
32
+ │ git-workflow, skill-loading, research │
33
+ └───────────────────────────────────────────────┘
34
+ ```
35
+
36
+ ## Critical Rules (MUST Follow)
37
+
38
+ 1. **MUST** invoke at least one skill per major workflow step
39
+ 2. **MUST** use the format: `**Invoke \`[skill-name]\` skill** to <action>`
40
+ 3. **MUST** invoke the most relevant skill — not just any skill
41
+ 4. **MUST NOT** create workflows that are just shell commands without skill context
42
+ 5. **MUST NOT** invoke skills for trivial operations (file copy, git status)
43
+
44
+ ## Skill Selection Guide
45
+
46
+ | Workflow Step Doing... | Invoke This Skill |
47
+ |----------------------|-------------------|
48
+ | Analyzing requirements | `[business-analysis]` |
49
+ | Planning roadmap / PRD | `[project-manager]` |
50
+ | Architecture decisions | `[lead-architect]` |
51
+ | Breaking into tasks | `[lead-architect]` + `[business-analysis]` |
52
+ | UI/UX design | `[designer]` |
53
+ | Frontend code | `[frontend-developer]` |
54
+ | Backend/API code | `[backend-developer]` |
55
+ | Mobile code | `[mobile-developer]` |
56
+ | Testing | `[qa-tester]` |
57
+ | Research | `[research rule]` (not a skill, but activates deep research) |
58
+ | DevOps / deploy | `[devops-engineer]` |
59
+ | Security review | `[blockchain-engineer]` or domain-specific |
60
+ | AI/LLM integration | `[ai-engineer]` |
61
+
62
+ ## Why This Matters
63
+
64
+ ### For Beginners (non-technical users)
65
+ - They type `/guide` → AI suggests the chain
66
+ - Each workflow step tells AI which **expert mindset** to adopt
67
+ - Result: expert-level output without knowing anything about skills
68
+
69
+ ### For Experienced Developers
70
+ - They can call any workflow directly or skip steps
71
+ - Skills provide **domain-specific best practices** they might miss
72
+ - Knowledge graph prevents loading conflicting or redundant skills
73
+ - They can override: "skip the research step" → workflow adapts
74
+
75
+ ### For the AI
76
+ - Skills are **not decorative** — they change the AI's behavior
77
+ - `Invoke [lead-architect]` = think about system design, scalability, trade-offs
78
+ - `Invoke [qa-tester]` = think about edge cases, test coverage, regression
79
+ - Without skill invocation, AI defaults to generic responses
80
+ - With skill invocation, AI activates domain expertise
81
+
82
+ ## Example: Good vs Bad Workflow Step
83
+
84
+ ### ❌ Bad (no skill, vague instruction)
85
+ ```markdown
86
+ ## Step 2: Create Plan
87
+ 1. Create a plan document
88
+ 2. Save to docs/
89
+ ```
90
+
91
+ ### ✅ Good (skill invoked, specific actions)
92
+ ```markdown
93
+ ## Step 2: Create Plan
94
+
95
+ **Invoke `[lead-architect]` skill** to analyze technical requirements.
96
+ **Invoke `[project-manager]` skill** to create phased roadmap.
97
+
98
+ 1. Break project into phases (MVP → v1.0 → v2.0)
99
+ 2. Identify dependencies between features
100
+ 3. Estimate complexity per phase
101
+ 4. Create `docs/010-Planning/Roadmap-{Name}.md`
102
+ ```
103
+
104
+ ## Workflow Template
105
+
106
+ When creating new workflows, follow this template:
107
+
108
+ ```markdown
109
+ ---
110
+ description: <what this workflow does>
111
+ ---
112
+
113
+ # Workflow Name
114
+
115
+ ## Step N: <Step Name>
116
+
117
+ // turbo (if safe to auto-run)
118
+
119
+ **Invoke `[relevant-skill]` skill** to <specific action>.
120
+
121
+ > **For beginners**: <explain what happens in simple terms>
122
+ > **For experts**: <mention what can be skipped or customized>
123
+
124
+ 1. <Specific action>
125
+ 2. <Specific action>
126
+ 3. **WAIT** for user input (if needed)
127
+ ```