@harness-forge/cli 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 (1285) hide show
  1. package/.agents/skills/api-contract-review/SKILL.md +23 -0
  2. package/.agents/skills/architecture-decision-records/SKILL.md +23 -0
  3. package/.agents/skills/cloud-architect/SKILL.md +21 -0
  4. package/.agents/skills/cpp-engineering/SKILL.md +21 -0
  5. package/.agents/skills/db-migration-review/SKILL.md +23 -0
  6. package/.agents/skills/documentation-lookup/SKILL.md +8 -0
  7. package/.agents/skills/dotnet-engineering/SKILL.md +29 -0
  8. package/.agents/skills/go-engineering/SKILL.md +21 -0
  9. package/.agents/skills/java-engineering/SKILL.md +24 -0
  10. package/.agents/skills/javascript-engineering/SKILL.md +31 -0
  11. package/.agents/skills/kotlin-engineering/SKILL.md +21 -0
  12. package/.agents/skills/lua-engineering/SKILL.md +28 -0
  13. package/.agents/skills/parallel-worktree-supervisor/SKILL.md +23 -0
  14. package/.agents/skills/perl-engineering/SKILL.md +21 -0
  15. package/.agents/skills/php-engineering/SKILL.md +21 -0
  16. package/.agents/skills/powershell-engineering/SKILL.md +24 -0
  17. package/.agents/skills/python-engineering/SKILL.md +22 -0
  18. package/.agents/skills/release-readiness/SKILL.md +8 -0
  19. package/.agents/skills/repo-modernization/SKILL.md +23 -0
  20. package/.agents/skills/repo-onboarding/SKILL.md +23 -0
  21. package/.agents/skills/rust-engineering/SKILL.md +21 -0
  22. package/.agents/skills/security-scan/SKILL.md +8 -0
  23. package/.agents/skills/shell-engineering/SKILL.md +21 -0
  24. package/.agents/skills/speckit-analyze/SKILL.md +190 -0
  25. package/.agents/skills/speckit-checklist/SKILL.md +301 -0
  26. package/.agents/skills/speckit-clarify/SKILL.md +183 -0
  27. package/.agents/skills/speckit-constitution/SKILL.md +86 -0
  28. package/.agents/skills/speckit-implement/SKILL.md +204 -0
  29. package/.agents/skills/speckit-plan/SKILL.md +151 -0
  30. package/.agents/skills/speckit-specify/SKILL.md +304 -0
  31. package/.agents/skills/speckit-tasks/SKILL.md +197 -0
  32. package/.agents/skills/speckit-taskstoissues/SKILL.md +35 -0
  33. package/.agents/skills/swift-engineering/SKILL.md +21 -0
  34. package/.agents/skills/typescript-engineering/SKILL.md +28 -0
  35. package/.specify/README.md +3 -0
  36. package/.specify/extensions.yml +3 -0
  37. package/.specify/init-options.json +5 -0
  38. package/.specify/memory/constitution.md +5 -0
  39. package/.specify/scripts/powershell/check-prerequisites.ps1 +54 -0
  40. package/.specify/scripts/powershell/common.ps1 +263 -0
  41. package/.specify/scripts/powershell/create-new-feature.ps1 +23 -0
  42. package/.specify/scripts/powershell/setup-plan.ps1 +10 -0
  43. package/.specify/scripts/powershell/update-agent-context.ps1 +6 -0
  44. package/.specify/state/agent-context.md +1 -0
  45. package/.specify/state/flow-state.json +21 -0
  46. package/.specify/templates/agent-file-template.md +40 -0
  47. package/.specify/templates/checklist-template.md +5 -0
  48. package/.specify/templates/commands/plan.md +1 -0
  49. package/.specify/templates/commands/specify.md +1 -0
  50. package/.specify/templates/commands/tasks.md +1 -0
  51. package/.specify/templates/constitution-template.md +5 -0
  52. package/.specify/templates/plan-template.md +9 -0
  53. package/.specify/templates/spec-template.md +9 -0
  54. package/.specify/templates/tasks-template.md +5 -0
  55. package/AGENTS.md +75 -0
  56. package/CHANGELOG.md +15 -0
  57. package/CONTRIBUTING.md +38 -0
  58. package/LICENSE +674 -0
  59. package/README.md +386 -0
  60. package/RESEARCH-SOURCES.md +75 -0
  61. package/VALIDATION.md +32 -0
  62. package/agents/planner.md +49 -0
  63. package/commands/plan.md +41 -0
  64. package/commands/test.md +41 -0
  65. package/contexts/dev.md +25 -0
  66. package/dist/application/flow/load-flow-state.d.ts +17 -0
  67. package/dist/application/flow/load-flow-state.d.ts.map +1 -0
  68. package/dist/application/flow/load-flow-state.js +123 -0
  69. package/dist/application/flow/load-flow-state.js.map +1 -0
  70. package/dist/application/flow/save-flow-state.d.ts +3 -0
  71. package/dist/application/flow/save-flow-state.d.ts.map +1 -0
  72. package/dist/application/flow/save-flow-state.js +13 -0
  73. package/dist/application/flow/save-flow-state.js.map +1 -0
  74. package/dist/application/install/agent-manifest.d.ts +42 -0
  75. package/dist/application/install/agent-manifest.d.ts.map +1 -0
  76. package/dist/application/install/agent-manifest.js +144 -0
  77. package/dist/application/install/agent-manifest.js.map +1 -0
  78. package/dist/application/install/apply-install.d.ts +6 -0
  79. package/dist/application/install/apply-install.d.ts.map +1 -0
  80. package/dist/application/install/apply-install.js +83 -0
  81. package/dist/application/install/apply-install.js.map +1 -0
  82. package/dist/application/install/bootstrap-workspace.d.ts +33 -0
  83. package/dist/application/install/bootstrap-workspace.d.ts.map +1 -0
  84. package/dist/application/install/bootstrap-workspace.js +123 -0
  85. package/dist/application/install/bootstrap-workspace.js.map +1 -0
  86. package/dist/application/install/discover-workspace-targets.d.ts +9 -0
  87. package/dist/application/install/discover-workspace-targets.d.ts.map +1 -0
  88. package/dist/application/install/discover-workspace-targets.js +61 -0
  89. package/dist/application/install/discover-workspace-targets.js.map +1 -0
  90. package/dist/application/install/generate-guidance.d.ts +3 -0
  91. package/dist/application/install/generate-guidance.d.ts.map +1 -0
  92. package/dist/application/install/generate-guidance.js +25 -0
  93. package/dist/application/install/generate-guidance.js.map +1 -0
  94. package/dist/application/install/initialize-workspace.d.ts +16 -0
  95. package/dist/application/install/initialize-workspace.d.ts.map +1 -0
  96. package/dist/application/install/initialize-workspace.js +165 -0
  97. package/dist/application/install/initialize-workspace.js.map +1 -0
  98. package/dist/application/install/plan-install.d.ts +9 -0
  99. package/dist/application/install/plan-install.d.ts.map +1 -0
  100. package/dist/application/install/plan-install.js +123 -0
  101. package/dist/application/install/plan-install.js.map +1 -0
  102. package/dist/application/install/reconcile-state.d.ts +6 -0
  103. package/dist/application/install/reconcile-state.d.ts.map +1 -0
  104. package/dist/application/install/reconcile-state.js +39 -0
  105. package/dist/application/install/reconcile-state.js.map +1 -0
  106. package/dist/application/install/refresh-workspace-runtime.d.ts +9 -0
  107. package/dist/application/install/refresh-workspace-runtime.d.ts.map +1 -0
  108. package/dist/application/install/refresh-workspace-runtime.js +69 -0
  109. package/dist/application/install/refresh-workspace-runtime.js.map +1 -0
  110. package/dist/application/install/rewrite-installed-ai-layer.d.ts +3 -0
  111. package/dist/application/install/rewrite-installed-ai-layer.d.ts.map +1 -0
  112. package/dist/application/install/rewrite-installed-ai-layer.js +72 -0
  113. package/dist/application/install/rewrite-installed-ai-layer.js.map +1 -0
  114. package/dist/application/install/shared-runtime.d.ts +5 -0
  115. package/dist/application/install/shared-runtime.d.ts.map +1 -0
  116. package/dist/application/install/shared-runtime.js +388 -0
  117. package/dist/application/install/shared-runtime.js.map +1 -0
  118. package/dist/application/install/shell-integration.d.ts +40 -0
  119. package/dist/application/install/shell-integration.d.ts.map +1 -0
  120. package/dist/application/install/shell-integration.js +232 -0
  121. package/dist/application/install/shell-integration.js.map +1 -0
  122. package/dist/application/install/validate-environment.d.ts +2 -0
  123. package/dist/application/install/validate-environment.d.ts.map +1 -0
  124. package/dist/application/install/validate-environment.js +19 -0
  125. package/dist/application/install/validate-environment.js.map +1 -0
  126. package/dist/application/install/workspace-launcher.d.ts +7 -0
  127. package/dist/application/install/workspace-launcher.d.ts.map +1 -0
  128. package/dist/application/install/workspace-launcher.js +45 -0
  129. package/dist/application/install/workspace-launcher.js.map +1 -0
  130. package/dist/application/maintenance/audit-install.d.ts +17 -0
  131. package/dist/application/maintenance/audit-install.d.ts.map +1 -0
  132. package/dist/application/maintenance/audit-install.js +31 -0
  133. package/dist/application/maintenance/audit-install.js.map +1 -0
  134. package/dist/application/maintenance/diff-install.d.ts +7 -0
  135. package/dist/application/maintenance/diff-install.d.ts.map +1 -0
  136. package/dist/application/maintenance/diff-install.js +20 -0
  137. package/dist/application/maintenance/diff-install.js.map +1 -0
  138. package/dist/application/maintenance/doctor-workspace.d.ts +6 -0
  139. package/dist/application/maintenance/doctor-workspace.d.ts.map +1 -0
  140. package/dist/application/maintenance/doctor-workspace.js +12 -0
  141. package/dist/application/maintenance/doctor-workspace.js.map +1 -0
  142. package/dist/application/maintenance/prune-install.d.ts +5 -0
  143. package/dist/application/maintenance/prune-install.d.ts.map +1 -0
  144. package/dist/application/maintenance/prune-install.js +30 -0
  145. package/dist/application/maintenance/prune-install.js.map +1 -0
  146. package/dist/application/maintenance/sync-install.d.ts +6 -0
  147. package/dist/application/maintenance/sync-install.d.ts.map +1 -0
  148. package/dist/application/maintenance/sync-install.js +24 -0
  149. package/dist/application/maintenance/sync-install.js.map +1 -0
  150. package/dist/application/maintenance/upgrade-surface.d.ts +7 -0
  151. package/dist/application/maintenance/upgrade-surface.d.ts.map +1 -0
  152. package/dist/application/maintenance/upgrade-surface.js +18 -0
  153. package/dist/application/maintenance/upgrade-surface.js.map +1 -0
  154. package/dist/application/migration/scan-reference-install.d.ts +9 -0
  155. package/dist/application/migration/scan-reference-install.d.ts.map +1 -0
  156. package/dist/application/migration/scan-reference-install.js +17 -0
  157. package/dist/application/migration/scan-reference-install.js.map +1 -0
  158. package/dist/application/planning/resolve-bundles.d.ts +8 -0
  159. package/dist/application/planning/resolve-bundles.d.ts.map +1 -0
  160. package/dist/application/planning/resolve-bundles.js +40 -0
  161. package/dist/application/planning/resolve-bundles.js.map +1 -0
  162. package/dist/application/recommendations/recommend-bundles.d.ts +2 -0
  163. package/dist/application/recommendations/recommend-bundles.d.ts.map +1 -0
  164. package/dist/application/recommendations/recommend-bundles.js +89 -0
  165. package/dist/application/recommendations/recommend-bundles.js.map +1 -0
  166. package/dist/application/recommendations/recommend-from-intelligence.d.ts +3 -0
  167. package/dist/application/recommendations/recommend-from-intelligence.d.ts.map +1 -0
  168. package/dist/application/recommendations/recommend-from-intelligence.js +38 -0
  169. package/dist/application/recommendations/recommend-from-intelligence.js.map +1 -0
  170. package/dist/application/recommendations/recommend-templates.d.ts +2 -0
  171. package/dist/application/recommendations/recommend-templates.d.ts.map +1 -0
  172. package/dist/application/recommendations/recommend-templates.js +11 -0
  173. package/dist/application/recommendations/recommend-templates.js.map +1 -0
  174. package/dist/application/recursive/build-environment.d.ts +12 -0
  175. package/dist/application/recursive/build-environment.d.ts.map +1 -0
  176. package/dist/application/recursive/build-environment.js +91 -0
  177. package/dist/application/recursive/build-environment.js.map +1 -0
  178. package/dist/application/recursive/compact-session.d.ts +6 -0
  179. package/dist/application/recursive/compact-session.d.ts.map +1 -0
  180. package/dist/application/recursive/compact-session.js +10 -0
  181. package/dist/application/recursive/compact-session.js.map +1 -0
  182. package/dist/application/recursive/finalize-session.d.ts +6 -0
  183. package/dist/application/recursive/finalize-session.d.ts.map +1 -0
  184. package/dist/application/recursive/finalize-session.js +10 -0
  185. package/dist/application/recursive/finalize-session.js.map +1 -0
  186. package/dist/application/recursive/plan-task.d.ts +16 -0
  187. package/dist/application/recursive/plan-task.d.ts.map +1 -0
  188. package/dist/application/recursive/plan-task.js +115 -0
  189. package/dist/application/recursive/plan-task.js.map +1 -0
  190. package/dist/application/runtime/assess-architecture-significance.d.ts +13 -0
  191. package/dist/application/runtime/assess-architecture-significance.d.ts.map +1 -0
  192. package/dist/application/runtime/assess-architecture-significance.js +65 -0
  193. package/dist/application/runtime/assess-architecture-significance.js.map +1 -0
  194. package/dist/application/runtime/command-catalog.d.ts +17 -0
  195. package/dist/application/runtime/command-catalog.d.ts.map +1 -0
  196. package/dist/application/runtime/command-catalog.js +99 -0
  197. package/dist/application/runtime/command-catalog.js.map +1 -0
  198. package/dist/application/runtime/create-asr-record.d.ts +18 -0
  199. package/dist/application/runtime/create-asr-record.d.ts.map +1 -0
  200. package/dist/application/runtime/create-asr-record.js +105 -0
  201. package/dist/application/runtime/create-asr-record.js.map +1 -0
  202. package/dist/application/runtime/decision-runtime-store.d.ts +13 -0
  203. package/dist/application/runtime/decision-runtime-store.d.ts.map +1 -0
  204. package/dist/application/runtime/decision-runtime-store.js +60 -0
  205. package/dist/application/runtime/decision-runtime-store.js.map +1 -0
  206. package/dist/application/runtime/derive-impact-analysis.d.ts +5 -0
  207. package/dist/application/runtime/derive-impact-analysis.d.ts.map +1 -0
  208. package/dist/application/runtime/derive-impact-analysis.js +78 -0
  209. package/dist/application/runtime/derive-impact-analysis.js.map +1 -0
  210. package/dist/application/runtime/select-files-of-interest.d.ts +29 -0
  211. package/dist/application/runtime/select-files-of-interest.d.ts.map +1 -0
  212. package/dist/application/runtime/select-files-of-interest.js +162 -0
  213. package/dist/application/runtime/select-files-of-interest.js.map +1 -0
  214. package/dist/application/runtime/task-runtime-store.d.ts +37 -0
  215. package/dist/application/runtime/task-runtime-store.d.ts.map +1 -0
  216. package/dist/application/runtime/task-runtime-store.js +84 -0
  217. package/dist/application/runtime/task-runtime-store.js.map +1 -0
  218. package/dist/application/validation/validate-templates.d.ts +19 -0
  219. package/dist/application/validation/validate-templates.d.ts.map +1 -0
  220. package/dist/application/validation/validate-templates.js +142 -0
  221. package/dist/application/validation/validate-templates.js.map +1 -0
  222. package/dist/cli/commands/audit.d.ts +3 -0
  223. package/dist/cli/commands/audit.d.ts.map +1 -0
  224. package/dist/cli/commands/audit.js +37 -0
  225. package/dist/cli/commands/audit.js.map +1 -0
  226. package/dist/cli/commands/catalog.d.ts +3 -0
  227. package/dist/cli/commands/catalog.d.ts.map +1 -0
  228. package/dist/cli/commands/catalog.js +142 -0
  229. package/dist/cli/commands/catalog.js.map +1 -0
  230. package/dist/cli/commands/commands.d.ts +3 -0
  231. package/dist/cli/commands/commands.d.ts.map +1 -0
  232. package/dist/cli/commands/commands.js +32 -0
  233. package/dist/cli/commands/commands.js.map +1 -0
  234. package/dist/cli/commands/diff-install.d.ts +3 -0
  235. package/dist/cli/commands/diff-install.d.ts.map +1 -0
  236. package/dist/cli/commands/diff-install.js +31 -0
  237. package/dist/cli/commands/diff-install.js.map +1 -0
  238. package/dist/cli/commands/doctor.d.ts +3 -0
  239. package/dist/cli/commands/doctor.d.ts.map +1 -0
  240. package/dist/cli/commands/doctor.js +33 -0
  241. package/dist/cli/commands/doctor.js.map +1 -0
  242. package/dist/cli/commands/export.d.ts +3 -0
  243. package/dist/cli/commands/export.d.ts.map +1 -0
  244. package/dist/cli/commands/export.js +37 -0
  245. package/dist/cli/commands/export.js.map +1 -0
  246. package/dist/cli/commands/flow.d.ts +3 -0
  247. package/dist/cli/commands/flow.d.ts.map +1 -0
  248. package/dist/cli/commands/flow.js +27 -0
  249. package/dist/cli/commands/flow.js.map +1 -0
  250. package/dist/cli/commands/init.d.ts +3 -0
  251. package/dist/cli/commands/init.d.ts.map +1 -0
  252. package/dist/cli/commands/init.js +91 -0
  253. package/dist/cli/commands/init.js.map +1 -0
  254. package/dist/cli/commands/install.d.ts +3 -0
  255. package/dist/cli/commands/install.d.ts.map +1 -0
  256. package/dist/cli/commands/install.js +119 -0
  257. package/dist/cli/commands/install.js.map +1 -0
  258. package/dist/cli/commands/intelligence.d.ts +3 -0
  259. package/dist/cli/commands/intelligence.d.ts.map +1 -0
  260. package/dist/cli/commands/intelligence.js +63 -0
  261. package/dist/cli/commands/intelligence.js.map +1 -0
  262. package/dist/cli/commands/maintenance.d.ts +3 -0
  263. package/dist/cli/commands/maintenance.d.ts.map +1 -0
  264. package/dist/cli/commands/maintenance.js +81 -0
  265. package/dist/cli/commands/maintenance.js.map +1 -0
  266. package/dist/cli/commands/observability.d.ts +3 -0
  267. package/dist/cli/commands/observability.d.ts.map +1 -0
  268. package/dist/cli/commands/observability.js +33 -0
  269. package/dist/cli/commands/observability.js.map +1 -0
  270. package/dist/cli/commands/pack.d.ts +3 -0
  271. package/dist/cli/commands/pack.d.ts.map +1 -0
  272. package/dist/cli/commands/pack.js +25 -0
  273. package/dist/cli/commands/pack.js.map +1 -0
  274. package/dist/cli/commands/parallel.d.ts +3 -0
  275. package/dist/cli/commands/parallel.d.ts.map +1 -0
  276. package/dist/cli/commands/parallel.js +45 -0
  277. package/dist/cli/commands/parallel.js.map +1 -0
  278. package/dist/cli/commands/prune.d.ts +3 -0
  279. package/dist/cli/commands/prune.d.ts.map +1 -0
  280. package/dist/cli/commands/prune.js +25 -0
  281. package/dist/cli/commands/prune.js.map +1 -0
  282. package/dist/cli/commands/recommend.d.ts +3 -0
  283. package/dist/cli/commands/recommend.d.ts.map +1 -0
  284. package/dist/cli/commands/recommend.js +25 -0
  285. package/dist/cli/commands/recommend.js.map +1 -0
  286. package/dist/cli/commands/recursive.d.ts +3 -0
  287. package/dist/cli/commands/recursive.d.ts.map +1 -0
  288. package/dist/cli/commands/recursive.js +138 -0
  289. package/dist/cli/commands/recursive.js.map +1 -0
  290. package/dist/cli/commands/refresh.d.ts +3 -0
  291. package/dist/cli/commands/refresh.d.ts.map +1 -0
  292. package/dist/cli/commands/refresh.js +33 -0
  293. package/dist/cli/commands/refresh.js.map +1 -0
  294. package/dist/cli/commands/review.d.ts +3 -0
  295. package/dist/cli/commands/review.d.ts.map +1 -0
  296. package/dist/cli/commands/review.js +53 -0
  297. package/dist/cli/commands/review.js.map +1 -0
  298. package/dist/cli/commands/script-runner.d.ts +2 -0
  299. package/dist/cli/commands/script-runner.d.ts.map +1 -0
  300. package/dist/cli/commands/script-runner.js +21 -0
  301. package/dist/cli/commands/script-runner.js.map +1 -0
  302. package/dist/cli/commands/shell.d.ts +3 -0
  303. package/dist/cli/commands/shell.d.ts.map +1 -0
  304. package/dist/cli/commands/shell.js +91 -0
  305. package/dist/cli/commands/shell.js.map +1 -0
  306. package/dist/cli/commands/status.d.ts +3 -0
  307. package/dist/cli/commands/status.d.ts.map +1 -0
  308. package/dist/cli/commands/status.js +31 -0
  309. package/dist/cli/commands/status.js.map +1 -0
  310. package/dist/cli/commands/sync.d.ts +3 -0
  311. package/dist/cli/commands/sync.d.ts.map +1 -0
  312. package/dist/cli/commands/sync.js +25 -0
  313. package/dist/cli/commands/sync.js.map +1 -0
  314. package/dist/cli/commands/target.d.ts +3 -0
  315. package/dist/cli/commands/target.d.ts.map +1 -0
  316. package/dist/cli/commands/target.js +78 -0
  317. package/dist/cli/commands/target.js.map +1 -0
  318. package/dist/cli/commands/task.d.ts +3 -0
  319. package/dist/cli/commands/task.d.ts.map +1 -0
  320. package/dist/cli/commands/task.js +57 -0
  321. package/dist/cli/commands/task.js.map +1 -0
  322. package/dist/cli/commands/template.d.ts +3 -0
  323. package/dist/cli/commands/template.d.ts.map +1 -0
  324. package/dist/cli/commands/template.js +81 -0
  325. package/dist/cli/commands/template.js.map +1 -0
  326. package/dist/cli/commands/upgrade-surface.d.ts +3 -0
  327. package/dist/cli/commands/upgrade-surface.d.ts.map +1 -0
  328. package/dist/cli/commands/upgrade-surface.js +24 -0
  329. package/dist/cli/commands/upgrade-surface.js.map +1 -0
  330. package/dist/cli/index.d.ts +3 -0
  331. package/dist/cli/index.d.ts.map +1 -0
  332. package/dist/cli/index.js +86 -0
  333. package/dist/cli/index.js.map +1 -0
  334. package/dist/cli/interactive/default-recommendations.d.ts +9 -0
  335. package/dist/cli/interactive/default-recommendations.d.ts.map +1 -0
  336. package/dist/cli/interactive/default-recommendations.js +19 -0
  337. package/dist/cli/interactive/default-recommendations.js.map +1 -0
  338. package/dist/cli/interactive/entry-router.d.ts +5 -0
  339. package/dist/cli/interactive/entry-router.d.ts.map +1 -0
  340. package/dist/cli/interactive/entry-router.js +30 -0
  341. package/dist/cli/interactive/entry-router.js.map +1 -0
  342. package/dist/cli/interactive/invocation-context.d.ts +16 -0
  343. package/dist/cli/interactive/invocation-context.d.ts.map +1 -0
  344. package/dist/cli/interactive/invocation-context.js +33 -0
  345. package/dist/cli/interactive/invocation-context.js.map +1 -0
  346. package/dist/cli/interactive/onboarding-flow.d.ts +3 -0
  347. package/dist/cli/interactive/onboarding-flow.d.ts.map +1 -0
  348. package/dist/cli/interactive/onboarding-flow.js +81 -0
  349. package/dist/cli/interactive/onboarding-flow.js.map +1 -0
  350. package/dist/cli/interactive/project-hub.d.ts +3 -0
  351. package/dist/cli/interactive/project-hub.d.ts.map +1 -0
  352. package/dist/cli/interactive/project-hub.js +159 -0
  353. package/dist/cli/interactive/project-hub.js.map +1 -0
  354. package/dist/cli/interactive/prompt-io.d.ts +23 -0
  355. package/dist/cli/interactive/prompt-io.d.ts.map +1 -0
  356. package/dist/cli/interactive/prompt-io.js +144 -0
  357. package/dist/cli/interactive/prompt-io.js.map +1 -0
  358. package/dist/cli/interactive/prompts/folder-selection.d.ts +3 -0
  359. package/dist/cli/interactive/prompts/folder-selection.d.ts.map +1 -0
  360. package/dist/cli/interactive/prompts/folder-selection.js +25 -0
  361. package/dist/cli/interactive/prompts/folder-selection.js.map +1 -0
  362. package/dist/cli/interactive/prompts/module-selection.d.ts +4 -0
  363. package/dist/cli/interactive/prompts/module-selection.d.ts.map +1 -0
  364. package/dist/cli/interactive/prompts/module-selection.js +21 -0
  365. package/dist/cli/interactive/prompts/module-selection.js.map +1 -0
  366. package/dist/cli/interactive/prompts/setup-profile.d.ts +4 -0
  367. package/dist/cli/interactive/prompts/setup-profile.d.ts.map +1 -0
  368. package/dist/cli/interactive/prompts/setup-profile.js +20 -0
  369. package/dist/cli/interactive/prompts/setup-profile.js.map +1 -0
  370. package/dist/cli/interactive/prompts/target-selection.d.ts +3 -0
  371. package/dist/cli/interactive/prompts/target-selection.d.ts.map +1 -0
  372. package/dist/cli/interactive/prompts/target-selection.js +28 -0
  373. package/dist/cli/interactive/prompts/target-selection.js.map +1 -0
  374. package/dist/cli/interactive/recovery-notices.d.ts +3 -0
  375. package/dist/cli/interactive/recovery-notices.d.ts.map +1 -0
  376. package/dist/cli/interactive/recovery-notices.js +13 -0
  377. package/dist/cli/interactive/recovery-notices.js.map +1 -0
  378. package/dist/cli/interactive/renderers/choice-list.d.ts +2 -0
  379. package/dist/cli/interactive/renderers/choice-list.d.ts.map +1 -0
  380. package/dist/cli/interactive/renderers/choice-list.js +9 -0
  381. package/dist/cli/interactive/renderers/choice-list.js.map +1 -0
  382. package/dist/cli/interactive/renderers/completion-screen.d.ts +4 -0
  383. package/dist/cli/interactive/renderers/completion-screen.d.ts.map +1 -0
  384. package/dist/cli/interactive/renderers/completion-screen.js +16 -0
  385. package/dist/cli/interactive/renderers/completion-screen.js.map +1 -0
  386. package/dist/cli/interactive/renderers/hub-screen.d.ts +3 -0
  387. package/dist/cli/interactive/renderers/hub-screen.d.ts.map +1 -0
  388. package/dist/cli/interactive/renderers/hub-screen.js +12 -0
  389. package/dist/cli/interactive/renderers/hub-screen.js.map +1 -0
  390. package/dist/cli/interactive/renderers/progress.d.ts +3 -0
  391. package/dist/cli/interactive/renderers/progress.d.ts.map +1 -0
  392. package/dist/cli/interactive/renderers/progress.js +5 -0
  393. package/dist/cli/interactive/renderers/progress.js.map +1 -0
  394. package/dist/cli/interactive/renderers/screen-layout.d.ts +9 -0
  395. package/dist/cli/interactive/renderers/screen-layout.d.ts.map +1 -0
  396. package/dist/cli/interactive/renderers/screen-layout.js +27 -0
  397. package/dist/cli/interactive/renderers/screen-layout.js.map +1 -0
  398. package/dist/cli/interactive/renderers/step-frame.d.ts +3 -0
  399. package/dist/cli/interactive/renderers/step-frame.d.ts.map +1 -0
  400. package/dist/cli/interactive/renderers/step-frame.js +7 -0
  401. package/dist/cli/interactive/renderers/step-frame.js.map +1 -0
  402. package/dist/cli/interactive/renderers/text-style.d.ts +10 -0
  403. package/dist/cli/interactive/renderers/text-style.d.ts.map +1 -0
  404. package/dist/cli/interactive/renderers/text-style.js +52 -0
  405. package/dist/cli/interactive/renderers/text-style.js.map +1 -0
  406. package/dist/cli/interactive/renderers/welcome-screen.d.ts +3 -0
  407. package/dist/cli/interactive/renderers/welcome-screen.d.ts.map +1 -0
  408. package/dist/cli/interactive/renderers/welcome-screen.js +22 -0
  409. package/dist/cli/interactive/renderers/welcome-screen.js.map +1 -0
  410. package/dist/cli/interactive/review-plan.d.ts +19 -0
  411. package/dist/cli/interactive/review-plan.d.ts.map +1 -0
  412. package/dist/cli/interactive/review-plan.js +151 -0
  413. package/dist/cli/interactive/review-plan.js.map +1 -0
  414. package/dist/cli/interactive/review-summary.d.ts +4 -0
  415. package/dist/cli/interactive/review-summary.d.ts.map +1 -0
  416. package/dist/cli/interactive/review-summary.js +20 -0
  417. package/dist/cli/interactive/review-summary.js.map +1 -0
  418. package/dist/cli/interactive/session-state.d.ts +35 -0
  419. package/dist/cli/interactive/session-state.d.ts.map +1 -0
  420. package/dist/cli/interactive/session-state.js +11 -0
  421. package/dist/cli/interactive/session-state.js.map +1 -0
  422. package/dist/cli/interactive/setup-intent.d.ts +32 -0
  423. package/dist/cli/interactive/setup-intent.d.ts.map +1 -0
  424. package/dist/cli/interactive/setup-intent.js +54 -0
  425. package/dist/cli/interactive/setup-intent.js.map +1 -0
  426. package/dist/cli/interactive/terminal-capabilities.d.ts +20 -0
  427. package/dist/cli/interactive/terminal-capabilities.d.ts.map +1 -0
  428. package/dist/cli/interactive/terminal-capabilities.js +69 -0
  429. package/dist/cli/interactive/terminal-capabilities.js.map +1 -0
  430. package/dist/domain/capabilities/capability-record.d.ts +25 -0
  431. package/dist/domain/capabilities/capability-record.d.ts.map +1 -0
  432. package/dist/domain/capabilities/capability-record.js +2 -0
  433. package/dist/domain/capabilities/capability-record.js.map +1 -0
  434. package/dist/domain/capabilities/capability-taxonomy.d.ts +11 -0
  435. package/dist/domain/capabilities/capability-taxonomy.d.ts.map +1 -0
  436. package/dist/domain/capabilities/capability-taxonomy.js +2 -0
  437. package/dist/domain/capabilities/capability-taxonomy.js.map +1 -0
  438. package/dist/domain/intelligence/instruction-plan.d.ts +26 -0
  439. package/dist/domain/intelligence/instruction-plan.d.ts.map +1 -0
  440. package/dist/domain/intelligence/instruction-plan.js +2 -0
  441. package/dist/domain/intelligence/instruction-plan.js.map +1 -0
  442. package/dist/domain/intelligence/repo-intelligence.d.ts +1007 -0
  443. package/dist/domain/intelligence/repo-intelligence.d.ts.map +1 -0
  444. package/dist/domain/intelligence/repo-intelligence.js +102 -0
  445. package/dist/domain/intelligence/repo-intelligence.js.map +1 -0
  446. package/dist/domain/intelligence/repo-map.d.ts +30 -0
  447. package/dist/domain/intelligence/repo-map.d.ts.map +1 -0
  448. package/dist/domain/intelligence/repo-map.js +2 -0
  449. package/dist/domain/intelligence/repo-map.js.map +1 -0
  450. package/dist/domain/manifests/index.d.ts +154 -0
  451. package/dist/domain/manifests/index.d.ts.map +1 -0
  452. package/dist/domain/manifests/index.js +37 -0
  453. package/dist/domain/manifests/index.js.map +1 -0
  454. package/dist/domain/observability/benchmark-expectation.d.ts +11 -0
  455. package/dist/domain/observability/benchmark-expectation.d.ts.map +1 -0
  456. package/dist/domain/observability/benchmark-expectation.js +2 -0
  457. package/dist/domain/observability/benchmark-expectation.js.map +1 -0
  458. package/dist/domain/observability/event.d.ts +17 -0
  459. package/dist/domain/observability/event.d.ts.map +1 -0
  460. package/dist/domain/observability/event.js +2 -0
  461. package/dist/domain/observability/event.js.map +1 -0
  462. package/dist/domain/observability/summary.d.ts +10 -0
  463. package/dist/domain/observability/summary.d.ts.map +1 -0
  464. package/dist/domain/observability/summary.js +2 -0
  465. package/dist/domain/observability/summary.js.map +1 -0
  466. package/dist/domain/operations/install-plan.d.ts +85 -0
  467. package/dist/domain/operations/install-plan.d.ts.map +1 -0
  468. package/dist/domain/operations/install-plan.js +2 -0
  469. package/dist/domain/operations/install-plan.js.map +1 -0
  470. package/dist/domain/parallel/merge-readiness.d.ts +10 -0
  471. package/dist/domain/parallel/merge-readiness.d.ts.map +1 -0
  472. package/dist/domain/parallel/merge-readiness.js +2 -0
  473. package/dist/domain/parallel/merge-readiness.js.map +1 -0
  474. package/dist/domain/parallel/parallel-plan.d.ts +24 -0
  475. package/dist/domain/parallel/parallel-plan.d.ts.map +1 -0
  476. package/dist/domain/parallel/parallel-plan.js +2 -0
  477. package/dist/domain/parallel/parallel-plan.js.map +1 -0
  478. package/dist/domain/parallel/shard-state.d.ts +11 -0
  479. package/dist/domain/parallel/shard-state.d.ts.map +1 -0
  480. package/dist/domain/parallel/shard-state.js +2 -0
  481. package/dist/domain/parallel/shard-state.js.map +1 -0
  482. package/dist/domain/recursive/adr-candidate.d.ts +45 -0
  483. package/dist/domain/recursive/adr-candidate.d.ts.map +1 -0
  484. package/dist/domain/recursive/adr-candidate.js +20 -0
  485. package/dist/domain/recursive/adr-candidate.js.map +1 -0
  486. package/dist/domain/recursive/asr.d.ts +41 -0
  487. package/dist/domain/recursive/asr.d.ts.map +1 -0
  488. package/dist/domain/recursive/asr.js +19 -0
  489. package/dist/domain/recursive/asr.js.map +1 -0
  490. package/dist/domain/recursive/budget.d.ts +47 -0
  491. package/dist/domain/recursive/budget.d.ts.map +1 -0
  492. package/dist/domain/recursive/budget.js +41 -0
  493. package/dist/domain/recursive/budget.js.map +1 -0
  494. package/dist/domain/recursive/session-summary.d.ts +56 -0
  495. package/dist/domain/recursive/session-summary.d.ts.map +1 -0
  496. package/dist/domain/recursive/session-summary.js +21 -0
  497. package/dist/domain/recursive/session-summary.js.map +1 -0
  498. package/dist/domain/recursive/session.d.ts +181 -0
  499. package/dist/domain/recursive/session.d.ts.map +1 -0
  500. package/dist/domain/recursive/session.js +41 -0
  501. package/dist/domain/recursive/session.js.map +1 -0
  502. package/dist/domain/recursive/template-registry.d.ts +83 -0
  503. package/dist/domain/recursive/template-registry.d.ts.map +1 -0
  504. package/dist/domain/recursive/template-registry.js +28 -0
  505. package/dist/domain/recursive/template-registry.js.map +1 -0
  506. package/dist/domain/recursive/trace-event.d.ts +61 -0
  507. package/dist/domain/recursive/trace-event.d.ts.map +1 -0
  508. package/dist/domain/recursive/trace-event.js +36 -0
  509. package/dist/domain/recursive/trace-event.js.map +1 -0
  510. package/dist/domain/runtime/architecture-significance.d.ts +35 -0
  511. package/dist/domain/runtime/architecture-significance.d.ts.map +1 -0
  512. package/dist/domain/runtime/architecture-significance.js +20 -0
  513. package/dist/domain/runtime/architecture-significance.js.map +1 -0
  514. package/dist/domain/runtime/decision-coverage-summary.d.ts +29 -0
  515. package/dist/domain/runtime/decision-coverage-summary.d.ts.map +1 -0
  516. package/dist/domain/runtime/decision-coverage-summary.js +14 -0
  517. package/dist/domain/runtime/decision-coverage-summary.js.map +1 -0
  518. package/dist/domain/runtime/decision-record.d.ts +482 -0
  519. package/dist/domain/runtime/decision-record.d.ts.map +1 -0
  520. package/dist/domain/runtime/decision-record.js +78 -0
  521. package/dist/domain/runtime/decision-record.js.map +1 -0
  522. package/dist/domain/runtime/file-interest.d.ts +148 -0
  523. package/dist/domain/runtime/file-interest.d.ts.map +1 -0
  524. package/dist/domain/runtime/file-interest.js +42 -0
  525. package/dist/domain/runtime/file-interest.js.map +1 -0
  526. package/dist/domain/runtime/impact-analysis.d.ts +122 -0
  527. package/dist/domain/runtime/impact-analysis.d.ts.map +1 -0
  528. package/dist/domain/runtime/impact-analysis.js +24 -0
  529. package/dist/domain/runtime/impact-analysis.js.map +1 -0
  530. package/dist/domain/runtime/task-pack.d.ts +278 -0
  531. package/dist/domain/runtime/task-pack.d.ts.map +1 -0
  532. package/dist/domain/runtime/task-pack.js +61 -0
  533. package/dist/domain/runtime/task-pack.js.map +1 -0
  534. package/dist/domain/runtime/template-registry.d.ts +100 -0
  535. package/dist/domain/runtime/template-registry.d.ts.map +1 -0
  536. package/dist/domain/runtime/template-registry.js +35 -0
  537. package/dist/domain/runtime/template-registry.js.map +1 -0
  538. package/dist/domain/runtime/working-memory.d.ts +44 -0
  539. package/dist/domain/runtime/working-memory.d.ts.map +1 -0
  540. package/dist/domain/runtime/working-memory.js +19 -0
  541. package/dist/domain/runtime/working-memory.js.map +1 -0
  542. package/dist/domain/state/install-state.d.ts +28 -0
  543. package/dist/domain/state/install-state.d.ts.map +1 -0
  544. package/dist/domain/state/install-state.js +15 -0
  545. package/dist/domain/state/install-state.js.map +1 -0
  546. package/dist/domain/targets/adapter.d.ts +18 -0
  547. package/dist/domain/targets/adapter.d.ts.map +1 -0
  548. package/dist/domain/targets/adapter.js +16 -0
  549. package/dist/domain/targets/adapter.js.map +1 -0
  550. package/dist/infrastructure/diagnostics/recommendation-reporter.d.ts +3 -0
  551. package/dist/infrastructure/diagnostics/recommendation-reporter.d.ts.map +1 -0
  552. package/dist/infrastructure/diagnostics/recommendation-reporter.js +44 -0
  553. package/dist/infrastructure/diagnostics/recommendation-reporter.js.map +1 -0
  554. package/dist/infrastructure/diagnostics/reporter.d.ts +6 -0
  555. package/dist/infrastructure/diagnostics/reporter.d.ts.map +1 -0
  556. package/dist/infrastructure/diagnostics/reporter.js +35 -0
  557. package/dist/infrastructure/diagnostics/reporter.js.map +1 -0
  558. package/dist/infrastructure/filesystem/apply-operation.d.ts +3 -0
  559. package/dist/infrastructure/filesystem/apply-operation.d.ts.map +1 -0
  560. package/dist/infrastructure/filesystem/apply-operation.js +75 -0
  561. package/dist/infrastructure/filesystem/apply-operation.js.map +1 -0
  562. package/dist/infrastructure/filesystem/normalize-target-path.d.ts +2 -0
  563. package/dist/infrastructure/filesystem/normalize-target-path.d.ts.map +1 -0
  564. package/dist/infrastructure/filesystem/normalize-target-path.js +11 -0
  565. package/dist/infrastructure/filesystem/normalize-target-path.js.map +1 -0
  566. package/dist/infrastructure/observability/local-metrics-store.d.ts +18 -0
  567. package/dist/infrastructure/observability/local-metrics-store.d.ts.map +1 -0
  568. package/dist/infrastructure/observability/local-metrics-store.js +35 -0
  569. package/dist/infrastructure/observability/local-metrics-store.js.map +1 -0
  570. package/dist/infrastructure/recursive/session-store.d.ts +45 -0
  571. package/dist/infrastructure/recursive/session-store.d.ts.map +1 -0
  572. package/dist/infrastructure/recursive/session-store.js +62 -0
  573. package/dist/infrastructure/recursive/session-store.js.map +1 -0
  574. package/dist/infrastructure/recursive/template-loader.d.ts +3 -0
  575. package/dist/infrastructure/recursive/template-loader.d.ts.map +1 -0
  576. package/dist/infrastructure/recursive/template-loader.js +19 -0
  577. package/dist/infrastructure/recursive/template-loader.js.map +1 -0
  578. package/dist/infrastructure/recursive/trace-logger.d.ts +3 -0
  579. package/dist/infrastructure/recursive/trace-logger.d.ts.map +1 -0
  580. package/dist/infrastructure/recursive/trace-logger.js +8 -0
  581. package/dist/infrastructure/recursive/trace-logger.js.map +1 -0
  582. package/dist/shared/constants.d.ts +97 -0
  583. package/dist/shared/constants.d.ts.map +1 -0
  584. package/dist/shared/constants.js +111 -0
  585. package/dist/shared/constants.js.map +1 -0
  586. package/dist/shared/errors.d.ts +8 -0
  587. package/dist/shared/errors.d.ts.map +1 -0
  588. package/dist/shared/errors.js +14 -0
  589. package/dist/shared/errors.js.map +1 -0
  590. package/dist/shared/fs.d.ts +8 -0
  591. package/dist/shared/fs.d.ts.map +1 -0
  592. package/dist/shared/fs.js +35 -0
  593. package/dist/shared/fs.js.map +1 -0
  594. package/dist/shared/index.d.ts +5 -0
  595. package/dist/shared/index.d.ts.map +1 -0
  596. package/dist/shared/index.js +5 -0
  597. package/dist/shared/index.js.map +1 -0
  598. package/dist/shared/seeded-knowledge.d.ts +8 -0
  599. package/dist/shared/seeded-knowledge.d.ts.map +1 -0
  600. package/dist/shared/seeded-knowledge.js +49 -0
  601. package/dist/shared/seeded-knowledge.js.map +1 -0
  602. package/docs/agents.md +45 -0
  603. package/docs/authoring/engineering-assistant-port.md +108 -0
  604. package/docs/authoring/enhanced-skill-import.md +89 -0
  605. package/docs/authoring/skills.md +53 -0
  606. package/docs/benchmark-scenarios.md +29 -0
  607. package/docs/catalog/framework-packs.md +22 -0
  608. package/docs/catalog/frameworks/aspnet-core.md +18 -0
  609. package/docs/catalog/frameworks/django.md +18 -0
  610. package/docs/catalog/frameworks/express.md +18 -0
  611. package/docs/catalog/frameworks/fastapi.md +18 -0
  612. package/docs/catalog/frameworks/gin.md +18 -0
  613. package/docs/catalog/frameworks/ktor.md +18 -0
  614. package/docs/catalog/frameworks/laravel.md +14 -0
  615. package/docs/catalog/frameworks/nextjs.md +14 -0
  616. package/docs/catalog/frameworks/react.md +18 -0
  617. package/docs/catalog/frameworks/spring-boot.md +18 -0
  618. package/docs/catalog/frameworks/symfony.md +18 -0
  619. package/docs/catalog/frameworks/vite.md +18 -0
  620. package/docs/catalog/language-packs.md +39 -0
  621. package/docs/catalog/languages/cpp.md +25 -0
  622. package/docs/catalog/languages/dotnet.md +59 -0
  623. package/docs/catalog/languages/go.md +29 -0
  624. package/docs/catalog/languages/java.md +60 -0
  625. package/docs/catalog/languages/kotlin.md +29 -0
  626. package/docs/catalog/languages/lua.md +59 -0
  627. package/docs/catalog/languages/perl.md +25 -0
  628. package/docs/catalog/languages/php.md +30 -0
  629. package/docs/catalog/languages/powershell.md +59 -0
  630. package/docs/catalog/languages/python.md +30 -0
  631. package/docs/catalog/languages/rust.md +25 -0
  632. package/docs/catalog/languages/shell.md +25 -0
  633. package/docs/catalog/languages/swift.md +25 -0
  634. package/docs/catalog/languages/typescript.md +60 -0
  635. package/docs/commands.md +202 -0
  636. package/docs/content-architecture.md +3 -0
  637. package/docs/flow-orchestration/parallel-execution.md +7 -0
  638. package/docs/flow-orchestration.md +63 -0
  639. package/docs/generated-artifacts.md +129 -0
  640. package/docs/hooks/catalog.md +44 -0
  641. package/docs/install/targets.md +29 -0
  642. package/docs/installation.md +98 -0
  643. package/docs/languages.md +31 -0
  644. package/docs/maintenance-lifecycle.md +62 -0
  645. package/docs/manifests.md +16 -0
  646. package/docs/migration/reference-project.md +18 -0
  647. package/docs/observability/benchmark-authoring.md +6 -0
  648. package/docs/observability/eval-model.md +7 -0
  649. package/docs/observability/event-taxonomy.md +12 -0
  650. package/docs/observability.md +44 -0
  651. package/docs/pack-authoring.md +19 -0
  652. package/docs/parallel-worktrees.md +6 -0
  653. package/docs/profile-guide.md +63 -0
  654. package/docs/quality-gates.md +56 -0
  655. package/docs/quickstart.md +41 -0
  656. package/docs/release-process.md +30 -0
  657. package/docs/repo-cartography.md +12 -0
  658. package/docs/style-guides/agent-style-guide.md +21 -0
  659. package/docs/style-guides/command-style-guide.md +21 -0
  660. package/docs/style-guides/rule-style-guide.md +20 -0
  661. package/docs/target-support-matrix.md +73 -0
  662. package/docs/targets/capability-families.md +13 -0
  663. package/docs/targets/translation-vs-emulation.md +11 -0
  664. package/docs/targets.md +20 -0
  665. package/docs/templates/authoring.md +23 -0
  666. package/docs/troubleshooting.md +53 -0
  667. package/docs/versioning-and-migration.md +25 -0
  668. package/examples/README.md +12 -0
  669. package/examples/knowledge-bases/README.md +12 -0
  670. package/examples/production-readiness-demo/README.md +16 -0
  671. package/hooks/README.md +3 -0
  672. package/hooks/shared/PostChangeSummary.ps1 +1 -0
  673. package/hooks/shared/PreChangeQualityGate.ps1 +1 -0
  674. package/hooks/shared/post-change-summary.sh +3 -0
  675. package/hooks/shared/pre-change-quality-gate.sh +3 -0
  676. package/install.ps1 +28 -0
  677. package/install.sh +24 -0
  678. package/knowledge-bases/operations/observability-and-evals/README.md +7 -0
  679. package/knowledge-bases/seeded/README.md +33 -0
  680. package/knowledge-bases/seeded/dotnet/README.md +18 -0
  681. package/knowledge-bases/seeded/dotnet/docs/examples-guide.md +15 -0
  682. package/knowledge-bases/seeded/dotnet/docs/frameworks.md +11 -0
  683. package/knowledge-bases/seeded/dotnet/docs/overview.md +33 -0
  684. package/knowledge-bases/seeded/dotnet/docs/review-checklist.md +27 -0
  685. package/knowledge-bases/seeded/dotnet/examples/01-aspnet-core-crud-api.md +13 -0
  686. package/knowledge-bases/seeded/dotnet/examples/02-background-worker-with-queue-processing.md +13 -0
  687. package/knowledge-bases/seeded/dotnet/examples/03-shared-domain-library.md +13 -0
  688. package/knowledge-bases/seeded/dotnet/examples/04-cli-automation-tool.md +13 -0
  689. package/knowledge-bases/seeded/dotnet/knowledge-base.json +8 -0
  690. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/coding-style.md +72 -0
  691. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/hooks.md +25 -0
  692. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/patterns.md +50 -0
  693. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/security.md +58 -0
  694. package/knowledge-bases/seeded/dotnet/legacy-seed/csharp/testing.md +46 -0
  695. package/knowledge-bases/seeded/dotnet/rules/common/agents.md +50 -0
  696. package/knowledge-bases/seeded/dotnet/rules/common/coding-style.md +48 -0
  697. package/knowledge-bases/seeded/dotnet/rules/common/development-workflow.md +38 -0
  698. package/knowledge-bases/seeded/dotnet/rules/common/git-workflow.md +24 -0
  699. package/knowledge-bases/seeded/dotnet/rules/common/hooks.md +30 -0
  700. package/knowledge-bases/seeded/dotnet/rules/common/patterns.md +31 -0
  701. package/knowledge-bases/seeded/dotnet/rules/common/performance.md +55 -0
  702. package/knowledge-bases/seeded/dotnet/rules/common/security.md +29 -0
  703. package/knowledge-bases/seeded/dotnet/rules/common/testing.md +29 -0
  704. package/knowledge-bases/seeded/dotnet/rules/dotnet/coding-style.md +38 -0
  705. package/knowledge-bases/seeded/dotnet/rules/dotnet/hooks.md +24 -0
  706. package/knowledge-bases/seeded/dotnet/rules/dotnet/patterns.md +30 -0
  707. package/knowledge-bases/seeded/dotnet/rules/dotnet/security.md +28 -0
  708. package/knowledge-bases/seeded/dotnet/rules/dotnet/testing.md +31 -0
  709. package/knowledge-bases/seeded/java/README.md +18 -0
  710. package/knowledge-bases/seeded/java/docs/examples-guide.md +15 -0
  711. package/knowledge-bases/seeded/java/docs/frameworks.md +11 -0
  712. package/knowledge-bases/seeded/java/docs/overview.md +34 -0
  713. package/knowledge-bases/seeded/java/docs/review-checklist.md +27 -0
  714. package/knowledge-bases/seeded/java/examples/01-spring-boot-rest-api.md +13 -0
  715. package/knowledge-bases/seeded/java/examples/02-event-consumer-service.md +13 -0
  716. package/knowledge-bases/seeded/java/examples/03-gradle-multi-module-backend.md +13 -0
  717. package/knowledge-bases/seeded/java/examples/04-library-module-with-strong-domain-tests.md +13 -0
  718. package/knowledge-bases/seeded/java/knowledge-base.json +8 -0
  719. package/knowledge-bases/seeded/java/legacy-seed/java/coding-style.md +114 -0
  720. package/knowledge-bases/seeded/java/legacy-seed/java/hooks.md +18 -0
  721. package/knowledge-bases/seeded/java/legacy-seed/java/patterns.md +146 -0
  722. package/knowledge-bases/seeded/java/legacy-seed/java/security.md +100 -0
  723. package/knowledge-bases/seeded/java/legacy-seed/java/testing.md +131 -0
  724. package/knowledge-bases/seeded/java/rules/common/agents.md +50 -0
  725. package/knowledge-bases/seeded/java/rules/common/coding-style.md +48 -0
  726. package/knowledge-bases/seeded/java/rules/common/development-workflow.md +38 -0
  727. package/knowledge-bases/seeded/java/rules/common/git-workflow.md +24 -0
  728. package/knowledge-bases/seeded/java/rules/common/hooks.md +30 -0
  729. package/knowledge-bases/seeded/java/rules/common/patterns.md +31 -0
  730. package/knowledge-bases/seeded/java/rules/common/performance.md +55 -0
  731. package/knowledge-bases/seeded/java/rules/common/security.md +29 -0
  732. package/knowledge-bases/seeded/java/rules/common/testing.md +29 -0
  733. package/knowledge-bases/seeded/java/rules/java/coding-style.md +22 -0
  734. package/knowledge-bases/seeded/java/rules/java/hooks.md +23 -0
  735. package/knowledge-bases/seeded/java/rules/java/patterns.md +22 -0
  736. package/knowledge-bases/seeded/java/rules/java/security.md +21 -0
  737. package/knowledge-bases/seeded/java/rules/java/testing.md +23 -0
  738. package/knowledge-bases/seeded/lua/README.md +18 -0
  739. package/knowledge-bases/seeded/lua/docs/examples-guide.md +15 -0
  740. package/knowledge-bases/seeded/lua/docs/frameworks.md +11 -0
  741. package/knowledge-bases/seeded/lua/docs/overview.md +30 -0
  742. package/knowledge-bases/seeded/lua/docs/review-checklist.md +27 -0
  743. package/knowledge-bases/seeded/lua/examples/01-neovim-plugin.md +13 -0
  744. package/knowledge-bases/seeded/lua/examples/02-openresty-request-handler.md +13 -0
  745. package/knowledge-bases/seeded/lua/examples/03-l/303/266ve-gameplay-module.md +13 -0
  746. package/knowledge-bases/seeded/lua/examples/04-embedded-automation-script.md +13 -0
  747. package/knowledge-bases/seeded/lua/knowledge-base.json +8 -0
  748. package/knowledge-bases/seeded/lua/rules/common/agents.md +50 -0
  749. package/knowledge-bases/seeded/lua/rules/common/coding-style.md +48 -0
  750. package/knowledge-bases/seeded/lua/rules/common/development-workflow.md +38 -0
  751. package/knowledge-bases/seeded/lua/rules/common/git-workflow.md +24 -0
  752. package/knowledge-bases/seeded/lua/rules/common/hooks.md +30 -0
  753. package/knowledge-bases/seeded/lua/rules/common/patterns.md +31 -0
  754. package/knowledge-bases/seeded/lua/rules/common/performance.md +55 -0
  755. package/knowledge-bases/seeded/lua/rules/common/security.md +29 -0
  756. package/knowledge-bases/seeded/lua/rules/common/testing.md +29 -0
  757. package/knowledge-bases/seeded/lua/rules/lua/coding-style.md +27 -0
  758. package/knowledge-bases/seeded/lua/rules/lua/hooks.md +21 -0
  759. package/knowledge-bases/seeded/lua/rules/lua/patterns.md +23 -0
  760. package/knowledge-bases/seeded/lua/rules/lua/security.md +20 -0
  761. package/knowledge-bases/seeded/lua/rules/lua/testing.md +23 -0
  762. package/knowledge-bases/seeded/powershell/README.md +18 -0
  763. package/knowledge-bases/seeded/powershell/docs/examples-guide.md +15 -0
  764. package/knowledge-bases/seeded/powershell/docs/frameworks.md +11 -0
  765. package/knowledge-bases/seeded/powershell/docs/overview.md +30 -0
  766. package/knowledge-bases/seeded/powershell/docs/review-checklist.md +27 -0
  767. package/knowledge-bases/seeded/powershell/examples/01-script-module.md +13 -0
  768. package/knowledge-bases/seeded/powershell/examples/02-ci-admin-automation-script.md +13 -0
  769. package/knowledge-bases/seeded/powershell/examples/03-remote-fleet-maintenance-command.md +13 -0
  770. package/knowledge-bases/seeded/powershell/examples/04-developer-bootstrap-utility.md +13 -0
  771. package/knowledge-bases/seeded/powershell/knowledge-base.json +8 -0
  772. package/knowledge-bases/seeded/powershell/rules/common/agents.md +50 -0
  773. package/knowledge-bases/seeded/powershell/rules/common/coding-style.md +48 -0
  774. package/knowledge-bases/seeded/powershell/rules/common/development-workflow.md +38 -0
  775. package/knowledge-bases/seeded/powershell/rules/common/git-workflow.md +24 -0
  776. package/knowledge-bases/seeded/powershell/rules/common/hooks.md +30 -0
  777. package/knowledge-bases/seeded/powershell/rules/common/patterns.md +31 -0
  778. package/knowledge-bases/seeded/powershell/rules/common/performance.md +55 -0
  779. package/knowledge-bases/seeded/powershell/rules/common/security.md +29 -0
  780. package/knowledge-bases/seeded/powershell/rules/common/testing.md +29 -0
  781. package/knowledge-bases/seeded/powershell/rules/powershell/coding-style.md +25 -0
  782. package/knowledge-bases/seeded/powershell/rules/powershell/hooks.md +24 -0
  783. package/knowledge-bases/seeded/powershell/rules/powershell/patterns.md +23 -0
  784. package/knowledge-bases/seeded/powershell/rules/powershell/security.md +23 -0
  785. package/knowledge-bases/seeded/powershell/rules/powershell/testing.md +24 -0
  786. package/knowledge-bases/seeded/typescript/README.md +18 -0
  787. package/knowledge-bases/seeded/typescript/docs/examples-guide.md +15 -0
  788. package/knowledge-bases/seeded/typescript/docs/frameworks.md +11 -0
  789. package/knowledge-bases/seeded/typescript/docs/overview.md +34 -0
  790. package/knowledge-bases/seeded/typescript/docs/review-checklist.md +27 -0
  791. package/knowledge-bases/seeded/typescript/examples/01-node-api.md +13 -0
  792. package/knowledge-bases/seeded/typescript/examples/02-react-component-library.md +13 -0
  793. package/knowledge-bases/seeded/typescript/examples/03-nextjs-app.md +13 -0
  794. package/knowledge-bases/seeded/typescript/examples/04-monorepo-shared-types-and-validation.md +13 -0
  795. package/knowledge-bases/seeded/typescript/knowledge-base.json +8 -0
  796. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/coding-style.md +199 -0
  797. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/hooks.md +22 -0
  798. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/patterns.md +52 -0
  799. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/security.md +28 -0
  800. package/knowledge-bases/seeded/typescript/legacy-seed/typescript/testing.md +18 -0
  801. package/knowledge-bases/seeded/typescript/rules/common/agents.md +50 -0
  802. package/knowledge-bases/seeded/typescript/rules/common/coding-style.md +48 -0
  803. package/knowledge-bases/seeded/typescript/rules/common/development-workflow.md +38 -0
  804. package/knowledge-bases/seeded/typescript/rules/common/git-workflow.md +24 -0
  805. package/knowledge-bases/seeded/typescript/rules/common/hooks.md +30 -0
  806. package/knowledge-bases/seeded/typescript/rules/common/patterns.md +31 -0
  807. package/knowledge-bases/seeded/typescript/rules/common/performance.md +55 -0
  808. package/knowledge-bases/seeded/typescript/rules/common/security.md +29 -0
  809. package/knowledge-bases/seeded/typescript/rules/common/testing.md +29 -0
  810. package/knowledge-bases/seeded/typescript/rules/typescript/coding-style.md +30 -0
  811. package/knowledge-bases/seeded/typescript/rules/typescript/hooks.md +25 -0
  812. package/knowledge-bases/seeded/typescript/rules/typescript/patterns.md +23 -0
  813. package/knowledge-bases/seeded/typescript/rules/typescript/security.md +23 -0
  814. package/knowledge-bases/seeded/typescript/rules/typescript/testing.md +22 -0
  815. package/knowledge-bases/structured/README.md +3 -0
  816. package/knowledge-bases/structured/cpp/README.md +3 -0
  817. package/knowledge-bases/structured/cpp/docs/frameworks.md +3 -0
  818. package/knowledge-bases/structured/cpp/docs/overview.md +12 -0
  819. package/knowledge-bases/structured/cpp/docs/review-checklist.md +6 -0
  820. package/knowledge-bases/structured/cpp/examples/01-reference-scenario.md +3 -0
  821. package/knowledge-bases/structured/cpp/knowledge-base.json +13 -0
  822. package/knowledge-bases/structured/go/README.md +3 -0
  823. package/knowledge-bases/structured/go/docs/frameworks.md +3 -0
  824. package/knowledge-bases/structured/go/docs/overview.md +12 -0
  825. package/knowledge-bases/structured/go/docs/review-checklist.md +6 -0
  826. package/knowledge-bases/structured/go/examples/01-reference-scenario.md +3 -0
  827. package/knowledge-bases/structured/go/knowledge-base.json +13 -0
  828. package/knowledge-bases/structured/kotlin/README.md +3 -0
  829. package/knowledge-bases/structured/kotlin/docs/frameworks.md +3 -0
  830. package/knowledge-bases/structured/kotlin/docs/overview.md +12 -0
  831. package/knowledge-bases/structured/kotlin/docs/review-checklist.md +6 -0
  832. package/knowledge-bases/structured/kotlin/examples/01-reference-scenario.md +3 -0
  833. package/knowledge-bases/structured/kotlin/knowledge-base.json +13 -0
  834. package/knowledge-bases/structured/perl/README.md +3 -0
  835. package/knowledge-bases/structured/perl/docs/frameworks.md +3 -0
  836. package/knowledge-bases/structured/perl/docs/overview.md +12 -0
  837. package/knowledge-bases/structured/perl/docs/review-checklist.md +6 -0
  838. package/knowledge-bases/structured/perl/examples/01-reference-scenario.md +3 -0
  839. package/knowledge-bases/structured/perl/knowledge-base.json +13 -0
  840. package/knowledge-bases/structured/php/README.md +3 -0
  841. package/knowledge-bases/structured/php/docs/frameworks.md +3 -0
  842. package/knowledge-bases/structured/php/docs/overview.md +12 -0
  843. package/knowledge-bases/structured/php/docs/review-checklist.md +6 -0
  844. package/knowledge-bases/structured/php/examples/01-reference-scenario.md +3 -0
  845. package/knowledge-bases/structured/php/knowledge-base.json +13 -0
  846. package/knowledge-bases/structured/python/README.md +3 -0
  847. package/knowledge-bases/structured/python/docs/frameworks.md +3 -0
  848. package/knowledge-bases/structured/python/docs/overview.md +12 -0
  849. package/knowledge-bases/structured/python/docs/review-checklist.md +6 -0
  850. package/knowledge-bases/structured/python/examples/01-reference-scenario.md +3 -0
  851. package/knowledge-bases/structured/python/knowledge-base.json +13 -0
  852. package/knowledge-bases/structured/rust/README.md +3 -0
  853. package/knowledge-bases/structured/rust/docs/frameworks.md +3 -0
  854. package/knowledge-bases/structured/rust/docs/overview.md +12 -0
  855. package/knowledge-bases/structured/rust/docs/review-checklist.md +6 -0
  856. package/knowledge-bases/structured/rust/examples/01-reference-scenario.md +3 -0
  857. package/knowledge-bases/structured/rust/knowledge-base.json +13 -0
  858. package/knowledge-bases/structured/shell/README.md +3 -0
  859. package/knowledge-bases/structured/shell/docs/frameworks.md +3 -0
  860. package/knowledge-bases/structured/shell/docs/overview.md +12 -0
  861. package/knowledge-bases/structured/shell/docs/review-checklist.md +6 -0
  862. package/knowledge-bases/structured/shell/examples/01-reference-scenario.md +3 -0
  863. package/knowledge-bases/structured/shell/knowledge-base.json +13 -0
  864. package/knowledge-bases/structured/swift/README.md +3 -0
  865. package/knowledge-bases/structured/swift/docs/frameworks.md +3 -0
  866. package/knowledge-bases/structured/swift/docs/overview.md +12 -0
  867. package/knowledge-bases/structured/swift/docs/review-checklist.md +6 -0
  868. package/knowledge-bases/structured/swift/examples/01-reference-scenario.md +3 -0
  869. package/knowledge-bases/structured/swift/knowledge-base.json +13 -0
  870. package/manifests/bundles/core.json +384 -0
  871. package/manifests/bundles/frameworks.json +196 -0
  872. package/manifests/bundles/languages-seeded.json +136 -0
  873. package/manifests/bundles/languages-v1.json +317 -0
  874. package/manifests/catalog/capability-taxonomy.json +47 -0
  875. package/manifests/catalog/compatibility-matrix.json +4259 -0
  876. package/manifests/catalog/engineering-assistant-import-inventory.json +215 -0
  877. package/manifests/catalog/enhanced-skill-import-inventory.json +402 -0
  878. package/manifests/catalog/flow-artifacts.json +324 -0
  879. package/manifests/catalog/framework-assets.json +124 -0
  880. package/manifests/catalog/harness-capability-matrix.json +429 -0
  881. package/manifests/catalog/index.json +56 -0
  882. package/manifests/catalog/language-assets.json +616 -0
  883. package/manifests/catalog/package-surface.json +426 -0
  884. package/manifests/catalog/seeded-knowledge-files.json +1094 -0
  885. package/manifests/hooks/index.json +70 -0
  886. package/manifests/profiles/ai-runtime.json +24 -0
  887. package/manifests/profiles/core.json +24 -0
  888. package/manifests/profiles/developer.json +24 -0
  889. package/manifests/profiles/game-dev-native.json +24 -0
  890. package/manifests/profiles/legacy-modernization.json +24 -0
  891. package/manifests/profiles/rapid-prototyping.json +24 -0
  892. package/manifests/profiles/release-manager.json +24 -0
  893. package/manifests/profiles/research-first.json +24 -0
  894. package/manifests/profiles/reviewer.json +24 -0
  895. package/manifests/profiles/security.json +24 -0
  896. package/manifests/targets/core.json +125 -0
  897. package/mcp/README.md +3 -0
  898. package/mcp/servers/context7.codex.toml +3 -0
  899. package/mcp/servers/context7.md +3 -0
  900. package/mcp/servers/openai-developer-docs.codex.toml +3 -0
  901. package/mcp/servers/openai-developer-docs.md +3 -0
  902. package/mcp/servers/playwright.codex.toml +3 -0
  903. package/mcp/servers/playwright.md +3 -0
  904. package/mcp/servers/semgrep.md +3 -0
  905. package/package.json +126 -0
  906. package/profiles/README.md +3 -0
  907. package/profiles/claude-code.md +3 -0
  908. package/profiles/codex.md +3 -0
  909. package/profiles/core.md +3 -0
  910. package/profiles/developer.md +3 -0
  911. package/profiles/release-manager.md +3 -0
  912. package/rules/README.md +58 -0
  913. package/rules/common/README.md +37 -0
  914. package/rules/common/agents.md +50 -0
  915. package/rules/common/coding-style.md +48 -0
  916. package/rules/common/development-workflow.md +38 -0
  917. package/rules/common/git-workflow.md +24 -0
  918. package/rules/common/hooks.md +30 -0
  919. package/rules/common/patterns.md +31 -0
  920. package/rules/common/performance.md +55 -0
  921. package/rules/common/security.md +29 -0
  922. package/rules/common/testing.md +29 -0
  923. package/rules/cpp/README.md +19 -0
  924. package/rules/cpp/coding-style.md +3 -0
  925. package/rules/cpp/patterns.md +3 -0
  926. package/rules/cpp/security.md +3 -0
  927. package/rules/cpp/testing.md +3 -0
  928. package/rules/cpp/tooling.md +3 -0
  929. package/rules/dotnet/README.md +41 -0
  930. package/rules/dotnet/coding-style.md +38 -0
  931. package/rules/dotnet/hooks.md +24 -0
  932. package/rules/dotnet/patterns.md +30 -0
  933. package/rules/dotnet/security.md +28 -0
  934. package/rules/dotnet/testing.md +31 -0
  935. package/rules/golang/README.md +19 -0
  936. package/rules/golang/coding-style.md +3 -0
  937. package/rules/golang/patterns.md +3 -0
  938. package/rules/golang/security.md +3 -0
  939. package/rules/golang/testing.md +3 -0
  940. package/rules/golang/tooling.md +3 -0
  941. package/rules/java/README.md +41 -0
  942. package/rules/java/coding-style.md +22 -0
  943. package/rules/java/hooks.md +23 -0
  944. package/rules/java/patterns.md +22 -0
  945. package/rules/java/security.md +21 -0
  946. package/rules/java/testing.md +23 -0
  947. package/rules/kotlin/README.md +19 -0
  948. package/rules/kotlin/coding-style.md +3 -0
  949. package/rules/kotlin/patterns.md +3 -0
  950. package/rules/kotlin/security.md +3 -0
  951. package/rules/kotlin/testing.md +3 -0
  952. package/rules/kotlin/tooling.md +3 -0
  953. package/rules/lua/README.md +41 -0
  954. package/rules/lua/coding-style.md +27 -0
  955. package/rules/lua/hooks.md +21 -0
  956. package/rules/lua/patterns.md +23 -0
  957. package/rules/lua/security.md +20 -0
  958. package/rules/lua/testing.md +23 -0
  959. package/rules/perl/README.md +19 -0
  960. package/rules/perl/coding-style.md +3 -0
  961. package/rules/perl/patterns.md +3 -0
  962. package/rules/perl/security.md +3 -0
  963. package/rules/perl/testing.md +3 -0
  964. package/rules/perl/tooling.md +3 -0
  965. package/rules/php/README.md +19 -0
  966. package/rules/php/coding-style.md +3 -0
  967. package/rules/php/patterns.md +3 -0
  968. package/rules/php/security.md +3 -0
  969. package/rules/php/testing.md +3 -0
  970. package/rules/php/tooling.md +3 -0
  971. package/rules/powershell/README.md +41 -0
  972. package/rules/powershell/coding-style.md +25 -0
  973. package/rules/powershell/hooks.md +24 -0
  974. package/rules/powershell/patterns.md +23 -0
  975. package/rules/powershell/security.md +23 -0
  976. package/rules/powershell/testing.md +24 -0
  977. package/rules/python/README.md +19 -0
  978. package/rules/python/coding-style.md +3 -0
  979. package/rules/python/patterns.md +3 -0
  980. package/rules/python/security.md +3 -0
  981. package/rules/python/testing.md +3 -0
  982. package/rules/python/tooling.md +3 -0
  983. package/rules/rust/README.md +19 -0
  984. package/rules/rust/coding-style.md +3 -0
  985. package/rules/rust/patterns.md +3 -0
  986. package/rules/rust/security.md +3 -0
  987. package/rules/rust/testing.md +3 -0
  988. package/rules/rust/tooling.md +3 -0
  989. package/rules/shell/README.md +19 -0
  990. package/rules/shell/coding-style.md +3 -0
  991. package/rules/shell/patterns.md +3 -0
  992. package/rules/shell/security.md +3 -0
  993. package/rules/shell/testing.md +3 -0
  994. package/rules/shell/tooling.md +3 -0
  995. package/rules/swift/README.md +19 -0
  996. package/rules/swift/coding-style.md +3 -0
  997. package/rules/swift/patterns.md +3 -0
  998. package/rules/swift/security.md +3 -0
  999. package/rules/swift/testing.md +3 -0
  1000. package/rules/swift/tooling.md +3 -0
  1001. package/rules/typescript/README.md +41 -0
  1002. package/rules/typescript/coding-style.md +30 -0
  1003. package/rules/typescript/hooks.md +25 -0
  1004. package/rules/typescript/patterns.md +23 -0
  1005. package/rules/typescript/security.md +23 -0
  1006. package/rules/typescript/testing.md +22 -0
  1007. package/schemas/content/content-metadata.schema.json +100 -0
  1008. package/schemas/hooks/hook.schema.json +57 -0
  1009. package/schemas/manifests/catalog.schema.json +22 -0
  1010. package/schemas/manifests/harness-capability-matrix.schema.json +127 -0
  1011. package/schemas/manifests/package-surface.schema.json +63 -0
  1012. package/schemas/manifests/seeded-knowledge-files.schema.json +69 -0
  1013. package/schemas/runtime/architecture-significance.schema.json +45 -0
  1014. package/schemas/runtime/benchmark-expectation.schema.json +33 -0
  1015. package/schemas/runtime/decision-coverage-summary.schema.json +46 -0
  1016. package/schemas/runtime/decision-record.schema.json +266 -0
  1017. package/schemas/runtime/file-interest.schema.json +78 -0
  1018. package/schemas/runtime/flow-state.schema.json +39 -0
  1019. package/schemas/runtime/impact-analysis.schema.json +83 -0
  1020. package/schemas/runtime/instruction-plan.schema.json +63 -0
  1021. package/schemas/runtime/observability-event.schema.json +40 -0
  1022. package/schemas/runtime/observability-summary.schema.json +32 -0
  1023. package/schemas/runtime/recursive-adr-candidate.schema.json +57 -0
  1024. package/schemas/runtime/recursive-budget.schema.json +40 -0
  1025. package/schemas/runtime/recursive-session-summary.schema.json +49 -0
  1026. package/schemas/runtime/recursive-session.schema.json +65 -0
  1027. package/schemas/runtime/recursive-trace-event.schema.json +43 -0
  1028. package/schemas/runtime/repo-map.schema.json +65 -0
  1029. package/schemas/runtime/task-pack.schema.json +172 -0
  1030. package/schemas/runtime/working-memory.schema.json +52 -0
  1031. package/schemas/runtime/worktree-plan.schema.json +72 -0
  1032. package/schemas/runtime/worktree-state.schema.json +41 -0
  1033. package/schemas/templates/recursive-template-registry.schema.json +43 -0
  1034. package/schemas/templates/runtime-template-registry.schema.json +55 -0
  1035. package/schemas/templates/template-catalog.schema.json +38 -0
  1036. package/scripts/ci/capability-matrix-shared.mjs +263 -0
  1037. package/scripts/ci/generate-compatibility-matrix.mjs +189 -0
  1038. package/scripts/ci/generate-target-support-docs.mjs +27 -0
  1039. package/scripts/ci/release-smoke.mjs +121 -0
  1040. package/scripts/ci/smoke-runner.mjs +90 -0
  1041. package/scripts/ci/validate-capability-matrix.mjs +30 -0
  1042. package/scripts/ci/validate-content-metadata.mjs +188 -0
  1043. package/scripts/ci/validate-doc-command-alignment.mjs +146 -0
  1044. package/scripts/ci/validate-framework-coverage.mjs +52 -0
  1045. package/scripts/ci/validate-generated-sync.mjs +122 -0
  1046. package/scripts/ci/validate-manifest-runtime-consistency.mjs +134 -0
  1047. package/scripts/ci/validate-no-placeholders.mjs +86 -0
  1048. package/scripts/ci/validate-pack-dependencies.mjs +78 -0
  1049. package/scripts/ci/validate-packed-install-surface.mjs +77 -0
  1050. package/scripts/ci/validate-seeded-knowledge-coverage.mjs +89 -0
  1051. package/scripts/ci/validate-skill-depth.mjs +88 -0
  1052. package/scripts/codex/apply-home-config.mjs +39 -0
  1053. package/scripts/intelligence/cartograph-repo.mjs +15 -0
  1054. package/scripts/intelligence/classify-boundaries.mjs +15 -0
  1055. package/scripts/intelligence/detect-frameworks.mjs +16 -0
  1056. package/scripts/intelligence/scan-repo.mjs +16 -0
  1057. package/scripts/intelligence/score-recommendations.mjs +16 -0
  1058. package/scripts/intelligence/shared/cartography.mjs +129 -0
  1059. package/scripts/intelligence/shared.mjs +660 -0
  1060. package/scripts/intelligence/synthesize-instructions.mjs +90 -0
  1061. package/scripts/knowledge/import-pack.mjs +56 -0
  1062. package/scripts/knowledge/normalize-pack.mjs +49 -0
  1063. package/scripts/knowledge/report-coverage.mjs +82 -0
  1064. package/scripts/knowledge/report-drift.mjs +67 -0
  1065. package/scripts/runtime/check-merge-readiness.mjs +44 -0
  1066. package/scripts/runtime/check-parallel-status.mjs +39 -0
  1067. package/scripts/runtime/create-parallel-plan.mjs +61 -0
  1068. package/scripts/runtime/flow-status.mjs +114 -0
  1069. package/scripts/runtime/record-event.mjs +44 -0
  1070. package/scripts/runtime/recursive-plan.mjs +25 -0
  1071. package/scripts/runtime/render-observability-report.mjs +50 -0
  1072. package/scripts/runtime/report-effectiveness.mjs +35 -0
  1073. package/scripts/runtime/summarize-observability.mjs +57 -0
  1074. package/scripts/templates/README.md +40 -0
  1075. package/scripts/templates/config/required-sections.json +37 -0
  1076. package/scripts/templates/powershell/Check-TemplateFrontmatter.ps1 +54 -0
  1077. package/scripts/templates/powershell/Check-TemplateLinks.ps1 +22 -0
  1078. package/scripts/templates/powershell/Get-MissingTemplateSections.ps1 +21 -0
  1079. package/scripts/templates/powershell/New-TemplateIndex.ps1 +19 -0
  1080. package/scripts/templates/powershell/Test-WorkflowContracts.ps1 +26 -0
  1081. package/scripts/templates/shell/check-template-frontmatter.sh +39 -0
  1082. package/scripts/templates/shell/check-template-links.sh +25 -0
  1083. package/scripts/templates/shell/generate-template-index.sh +17 -0
  1084. package/scripts/templates/shell/list-missing-template-sections.sh +36 -0
  1085. package/scripts/templates/shell/verify-workflow-contracts.sh +21 -0
  1086. package/skills/README.md +94 -0
  1087. package/skills/api-contract-review/SKILL.md +56 -0
  1088. package/skills/api-contract-review/references/event-and-async-contracts.md +16 -0
  1089. package/skills/api-contract-review/references/examples.md +15 -0
  1090. package/skills/api-contract-review/references/http-contract-checklist.md +24 -0
  1091. package/skills/api-contract-review/references/protobuf-and-buf.md +12 -0
  1092. package/skills/api-contract-review/references/review-template.md +19 -0
  1093. package/skills/api-contract-review/references/schema-compatibility.md +20 -0
  1094. package/skills/api-contract-review/references/style-and-linting.md +15 -0
  1095. package/skills/architecture-decision-records/SKILL.md +53 -0
  1096. package/skills/architecture-decision-records/references/adr-anti-patterns.md +10 -0
  1097. package/skills/architecture-decision-records/references/adr-template.md +31 -0
  1098. package/skills/architecture-decision-records/references/decision-rubric.md +22 -0
  1099. package/skills/architecture-decision-records/references/examples.md +15 -0
  1100. package/skills/architecture-decision-records/references/madr-style-guide.md +17 -0
  1101. package/skills/cloud-architect/SKILL.md +61 -0
  1102. package/skills/cloud-architect/references/agent-patterns.md +23 -0
  1103. package/skills/cloud-architect/references/debugging-playbook.md +24 -0
  1104. package/skills/cloud-architect/references/distributed-systems.md +13 -0
  1105. package/skills/cloud-architect/references/examples.md +19 -0
  1106. package/skills/cloud-architect/references/output-templates.md +35 -0
  1107. package/skills/cloud-architect/references/platform-and-deployment.md +13 -0
  1108. package/skills/cloud-architect/references/reliability-security-cost.md +17 -0
  1109. package/skills/cloud-architect/references/repo-exploration.md +42 -0
  1110. package/skills/cpp-engineering/SKILL.md +43 -0
  1111. package/skills/db-migration-review/SKILL.md +56 -0
  1112. package/skills/db-migration-review/references/engine-specific-hotspots.md +21 -0
  1113. package/skills/db-migration-review/references/examples.md +16 -0
  1114. package/skills/db-migration-review/references/expand-contract.md +19 -0
  1115. package/skills/db-migration-review/references/review-template.md +25 -0
  1116. package/skills/db-migration-review/references/risk-taxonomy.md +30 -0
  1117. package/skills/db-migration-review/references/rollout-and-backfill.md +23 -0
  1118. package/skills/db-migration-review/references/tooling-signals.md +21 -0
  1119. package/skills/dependency-upgrade-safety/SKILL.md +36 -0
  1120. package/skills/documentation-lookup/SKILL.md +45 -0
  1121. package/skills/documentation-lookup/references/source-priority.md +6 -0
  1122. package/skills/dotnet-engineering/SKILL.md +76 -0
  1123. package/skills/dotnet-engineering/references/agent-patterns.md +30 -0
  1124. package/skills/dotnet-engineering/references/architecture-and-di.md +28 -0
  1125. package/skills/dotnet-engineering/references/aspnet-and-efcore.md +22 -0
  1126. package/skills/dotnet-engineering/references/cloud-native-and-aspire.md +21 -0
  1127. package/skills/dotnet-engineering/references/debugging-playbook.md +21 -0
  1128. package/skills/dotnet-engineering/references/examples.md +22 -0
  1129. package/skills/dotnet-engineering/references/output-templates.md +33 -0
  1130. package/skills/dotnet-engineering/references/repo-exploration.md +38 -0
  1131. package/skills/dotnet-engineering/references/testing-and-performance.md +25 -0
  1132. package/skills/engineering-assistant/SKILL.md +59 -0
  1133. package/skills/engineering-assistant/references/architecture.md +47 -0
  1134. package/skills/engineering-assistant/references/change-discipline.md +37 -0
  1135. package/skills/engineering-assistant/references/project-notes.md +36 -0
  1136. package/skills/engineering-assistant/references/skill-composition.md +33 -0
  1137. package/skills/engineering-assistant/references/solid-and-patterns.md +34 -0
  1138. package/skills/go-engineering/SKILL.md +43 -0
  1139. package/skills/incident-triage/SKILL.md +36 -0
  1140. package/skills/java-engineering/SKILL.md +48 -0
  1141. package/skills/java-engineering/references/agent-patterns.md +23 -0
  1142. package/skills/java-engineering/references/build-and-structure.md +14 -0
  1143. package/skills/java-engineering/references/debugging-playbook.md +24 -0
  1144. package/skills/java-engineering/references/examples.md +15 -0
  1145. package/skills/java-engineering/references/output-templates.md +35 -0
  1146. package/skills/java-engineering/references/repo-exploration.md +42 -0
  1147. package/skills/java-engineering/references/spring-patterns.md +12 -0
  1148. package/skills/java-engineering/references/testing-concurrency-performance.md +11 -0
  1149. package/skills/javascript-engineering/SKILL.md +66 -0
  1150. package/skills/javascript-engineering/references/agent-patterns.md +22 -0
  1151. package/skills/javascript-engineering/references/browser-and-bundler-patterns.md +14 -0
  1152. package/skills/javascript-engineering/references/debugging-playbook.md +17 -0
  1153. package/skills/javascript-engineering/references/ecosystem-guide.md +19 -0
  1154. package/skills/javascript-engineering/references/examples.md +15 -0
  1155. package/skills/javascript-engineering/references/node-service-patterns.md +15 -0
  1156. package/skills/javascript-engineering/references/output-templates.md +17 -0
  1157. package/skills/javascript-engineering/references/package-contracts.md +12 -0
  1158. package/skills/javascript-engineering/references/repo-exploration.md +24 -0
  1159. package/skills/javascript-engineering/references/testing-and-debugging.md +13 -0
  1160. package/skills/kotlin-engineering/SKILL.md +43 -0
  1161. package/skills/lua-engineering/SKILL.md +78 -0
  1162. package/skills/lua-engineering/references/agent-patterns.md +22 -0
  1163. package/skills/lua-engineering/references/debugging-and-testing.md +13 -0
  1164. package/skills/lua-engineering/references/debugging-playbook.md +17 -0
  1165. package/skills/lua-engineering/references/examples.md +15 -0
  1166. package/skills/lua-engineering/references/game-and-addon-patterns.md +15 -0
  1167. package/skills/lua-engineering/references/language-idioms.md +16 -0
  1168. package/skills/lua-engineering/references/neovim-and-editor-patterns.md +17 -0
  1169. package/skills/lua-engineering/references/openresty-patterns.md +15 -0
  1170. package/skills/lua-engineering/references/output-templates.md +17 -0
  1171. package/skills/lua-engineering/references/repo-exploration.md +25 -0
  1172. package/skills/lua-engineering/references/runtime-profiles.md +12 -0
  1173. package/skills/lua-engineering/references/tooling-and-quality.md +16 -0
  1174. package/skills/observability-and-eval/SKILL.md +6 -0
  1175. package/skills/observability-setup/SKILL.md +35 -0
  1176. package/skills/parallel-worktree-supervisor/SKILL.md +55 -0
  1177. package/skills/parallel-worktree-supervisor/references/examples.md +14 -0
  1178. package/skills/parallel-worktree-supervisor/references/merge-readiness.md +15 -0
  1179. package/skills/parallel-worktree-supervisor/references/output-template.md +16 -0
  1180. package/skills/parallel-worktree-supervisor/references/stacked-diffs-and-review.md +17 -0
  1181. package/skills/parallel-worktree-supervisor/references/task-sharding-rules.md +22 -0
  1182. package/skills/parallel-worktree-supervisor/references/worktree-operations.md +16 -0
  1183. package/skills/performance-profiling/SKILL.md +36 -0
  1184. package/skills/perl-engineering/SKILL.md +43 -0
  1185. package/skills/php-engineering/SKILL.md +43 -0
  1186. package/skills/powershell-engineering/SKILL.md +48 -0
  1187. package/skills/powershell-engineering/references/agent-patterns.md +23 -0
  1188. package/skills/powershell-engineering/references/debugging-playbook.md +24 -0
  1189. package/skills/powershell-engineering/references/examples.md +17 -0
  1190. package/skills/powershell-engineering/references/output-templates.md +35 -0
  1191. package/skills/powershell-engineering/references/remoting-and-ops.md +12 -0
  1192. package/skills/powershell-engineering/references/repo-exploration.md +42 -0
  1193. package/skills/powershell-engineering/references/scripting-and-modules.md +14 -0
  1194. package/skills/powershell-engineering/references/testing-and-ci.md +11 -0
  1195. package/skills/pr-triage-and-summary/SKILL.md +35 -0
  1196. package/skills/python-engineering/SKILL.md +56 -0
  1197. package/skills/python-engineering/references/agent-patterns.md +23 -0
  1198. package/skills/python-engineering/references/async-and-concurrency.md +19 -0
  1199. package/skills/python-engineering/references/debugging-playbook.md +24 -0
  1200. package/skills/python-engineering/references/ecosystem-guide.md +32 -0
  1201. package/skills/python-engineering/references/examples.md +19 -0
  1202. package/skills/python-engineering/references/output-templates.md +35 -0
  1203. package/skills/python-engineering/references/repo-exploration.md +42 -0
  1204. package/skills/python-engineering/references/testing-and-quality.md +16 -0
  1205. package/skills/release-readiness/SKILL.md +45 -0
  1206. package/skills/release-readiness/references/release-report-template.md +7 -0
  1207. package/skills/repo-cartographer/SKILL.md +10 -0
  1208. package/skills/repo-modernization/SKILL.md +56 -0
  1209. package/skills/repo-modernization/references/automation-candidates.md +19 -0
  1210. package/skills/repo-modernization/references/dependency-and-build-modernization.md +16 -0
  1211. package/skills/repo-modernization/references/examples.md +15 -0
  1212. package/skills/repo-modernization/references/modernization-layers.md +21 -0
  1213. package/skills/repo-modernization/references/roadmap-template.md +25 -0
  1214. package/skills/repo-modernization/references/safety-rails.md +15 -0
  1215. package/skills/repo-modernization/references/strangler-and-seams.md +18 -0
  1216. package/skills/repo-onboarding/SKILL.md +56 -0
  1217. package/skills/repo-onboarding/references/command-discovery.md +13 -0
  1218. package/skills/repo-onboarding/references/discovery-checklist.md +24 -0
  1219. package/skills/repo-onboarding/references/examples.md +13 -0
  1220. package/skills/repo-onboarding/references/monorepo-signals.md +17 -0
  1221. package/skills/repo-onboarding/references/output-template.md +26 -0
  1222. package/skills/repo-onboarding/references/ownership-and-health-signals.md +21 -0
  1223. package/skills/repo-onboarding/references/repo-archetypes.md +13 -0
  1224. package/skills/rust-engineering/SKILL.md +43 -0
  1225. package/skills/security-scan/SKILL.md +45 -0
  1226. package/skills/security-scan/references/review-checklist.md +7 -0
  1227. package/skills/shell-engineering/SKILL.md +43 -0
  1228. package/skills/speckit-analyze/SKILL.md +190 -0
  1229. package/skills/speckit-checklist/SKILL.md +301 -0
  1230. package/skills/speckit-clarify/SKILL.md +183 -0
  1231. package/skills/speckit-constitution/SKILL.md +86 -0
  1232. package/skills/speckit-implement/SKILL.md +204 -0
  1233. package/skills/speckit-plan/SKILL.md +151 -0
  1234. package/skills/speckit-specify/SKILL.md +304 -0
  1235. package/skills/speckit-tasks/SKILL.md +197 -0
  1236. package/skills/speckit-taskstoissues/SKILL.md +35 -0
  1237. package/skills/swift-engineering/SKILL.md +43 -0
  1238. package/skills/test-strategy-and-coverage/SKILL.md +35 -0
  1239. package/skills/typescript-engineering/SKILL.md +77 -0
  1240. package/skills/typescript-engineering/references/agent-patterns.md +23 -0
  1241. package/skills/typescript-engineering/references/debugging-playbook.md +21 -0
  1242. package/skills/typescript-engineering/references/examples.md +22 -0
  1243. package/skills/typescript-engineering/references/frontend-and-backend-patterns.md +19 -0
  1244. package/skills/typescript-engineering/references/output-templates.md +25 -0
  1245. package/skills/typescript-engineering/references/repo-exploration.md +25 -0
  1246. package/skills/typescript-engineering/references/runtime-validation-and-boundaries.md +20 -0
  1247. package/skills/typescript-engineering/references/tsconfig-and-build.md +25 -0
  1248. package/skills/typescript-engineering/references/type-system-patterns.md +20 -0
  1249. package/skills/typescript-engineering/references/workspace-and-monorepo.md +23 -0
  1250. package/targets/claude-code/adapter.json +56 -0
  1251. package/targets/claude-code/runtime/.claude/CLAUDE.md +3 -0
  1252. package/targets/claude-code/runtime/.claude/agents/documentation-lookup.md +3 -0
  1253. package/targets/claude-code/runtime/.claude/agents/release-readiness.md +3 -0
  1254. package/targets/claude-code/runtime/.claude/agents/repo-onboarding.md +3 -0
  1255. package/targets/claude-code/runtime/.claude/agents/security-scan.md +3 -0
  1256. package/targets/claude-code/runtime/.claude/hooks/post-tool-use.sh +4 -0
  1257. package/targets/claude-code/runtime/.claude/hooks/pre-tool-use.sh +4 -0
  1258. package/targets/claude-code/runtime/.claude/settings.json +26 -0
  1259. package/targets/codex/adapter.json +56 -0
  1260. package/targets/codex/runtime/.codex/README.md +3 -0
  1261. package/targets/codex/runtime/.codex/config.toml +15 -0
  1262. package/targets/cursor/adapter.json +56 -0
  1263. package/targets/opencode/adapter.json +56 -0
  1264. package/templates/instructions/cursor-rule-template.mdc +7 -0
  1265. package/templates/instructions/root-agents-template.md +88 -0
  1266. package/templates/instructions/scoped-agents-template.md +90 -0
  1267. package/templates/tasks/fix-bug.md +93 -0
  1268. package/templates/tasks/implement-feature.md +95 -0
  1269. package/templates/workflows/implement-cpp-change.md +175 -0
  1270. package/templates/workflows/implement-dotnet-change.md +175 -0
  1271. package/templates/workflows/implement-go-change.md +175 -0
  1272. package/templates/workflows/implement-java-change.md +175 -0
  1273. package/templates/workflows/implement-kotlin-change.md +175 -0
  1274. package/templates/workflows/implement-lua-change.md +175 -0
  1275. package/templates/workflows/implement-perl-change.md +175 -0
  1276. package/templates/workflows/implement-php-change.md +175 -0
  1277. package/templates/workflows/implement-powershell-change.md +175 -0
  1278. package/templates/workflows/implement-python-change.md +175 -0
  1279. package/templates/workflows/implement-rust-change.md +175 -0
  1280. package/templates/workflows/implement-shell-change.md +175 -0
  1281. package/templates/workflows/implement-swift-change.md +175 -0
  1282. package/templates/workflows/implement-typescript-change.md +176 -0
  1283. package/templates/workflows/parallel-implement-and-merge.md +191 -0
  1284. package/templates/workflows/research-plan-implement-validate.md +187 -0
  1285. package/templates/workflows/triage-reproduce-fix-verify.md +167 -0
@@ -0,0 +1,304 @@
1
+ ---
2
+ name: "speckit-specify"
3
+ description: "Create or update the feature specification from a natural language feature description."
4
+ compatibility: "Requires spec-kit project structure with .specify/ directory"
5
+ metadata:
6
+ author: "github-spec-kit"
7
+ source: "templates/commands/specify.md"
8
+ ---
9
+
10
+
11
+ ## User Input
12
+
13
+ ```text
14
+ $ARGUMENTS
15
+ ```
16
+
17
+ You **MUST** consider the user input before proceeding (if not empty).
18
+
19
+ ## Pre-Execution Checks
20
+
21
+ **Check for extension hooks (before specification)**:
22
+ - Check if `.specify/extensions.yml` exists in the project root.
23
+ - If it exists, read it and look for entries under the `hooks.before_specify` key
24
+ - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
25
+ - Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
26
+ - For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
27
+ - If the hook has no `condition` field, or it is null/empty, treat the hook as executable
28
+ - If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
29
+ - For each executable hook, output the following based on its `optional` flag:
30
+ - **Optional hook** (`optional: true`):
31
+ ```
32
+ ## Extension Hooks
33
+
34
+ **Optional Pre-Hook**: {extension}
35
+ Command: `/{command}`
36
+ Description: {description}
37
+
38
+ Prompt: {prompt}
39
+ To execute: `/{command}`
40
+ ```
41
+ - **Mandatory hook** (`optional: false`):
42
+ ```
43
+ ## Extension Hooks
44
+
45
+ **Automatic Pre-Hook**: {extension}
46
+ Executing: `/{command}`
47
+ EXECUTE_COMMAND: {command}
48
+
49
+ Wait for the result of the hook command before proceeding to the Outline.
50
+ ```
51
+ - If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
52
+
53
+ ## Outline
54
+
55
+ The text the user typed after `/speckit.specify` in the triggering message **is** the feature description. Assume you always have it available in this conversation even if `$ARGUMENTS` appears literally below. Do not ask the user to repeat it unless they provided an empty command.
56
+
57
+ Given that feature description, do this:
58
+
59
+ 1. **Generate a concise short name** (2-4 words) for the branch:
60
+ - Analyze the feature description and extract the most meaningful keywords
61
+ - Create a 2-4 word short name that captures the essence of the feature
62
+ - Use action-noun format when possible (e.g., "add-user-auth", "fix-payment-bug")
63
+ - Preserve technical terms and acronyms (OAuth2, API, JWT, etc.)
64
+ - Keep it concise but descriptive enough to understand the feature at a glance
65
+ - Examples:
66
+ - "I want to add user authentication" → "user-auth"
67
+ - "Implement OAuth2 integration for the API" → "oauth2-api-integration"
68
+ - "Create a dashboard for analytics" → "analytics-dashboard"
69
+ - "Fix payment processing timeout bug" → "fix-payment-timeout"
70
+
71
+ 2. **Create the feature branch** by running the script with `--short-name` (and `--json`). In sequential mode, do NOT pass `--number` — the script auto-detects the next available number. In timestamp mode, the script generates a `YYYYMMDD-HHMMSS` prefix automatically:
72
+
73
+ **Branch numbering mode**: Before running the script, check if `.specify/init-options.json` exists and read the `branch_numbering` value.
74
+ - If `"timestamp"`, add `--timestamp` (Bash) or `-Timestamp` (PowerShell) to the script invocation
75
+ - If `"sequential"` or absent, do not add any extra flag (default behavior)
76
+
77
+ - Bash example: `.specify/scripts/powershell/create-new-feature.ps1 "$ARGUMENTS" --json --short-name "user-auth" "Add user authentication"`
78
+ - Bash (timestamp): `.specify/scripts/powershell/create-new-feature.ps1 "$ARGUMENTS" --json --timestamp --short-name "user-auth" "Add user authentication"`
79
+ - PowerShell example: `.specify/scripts/powershell/create-new-feature.ps1 "$ARGUMENTS" -Json -ShortName "user-auth" "Add user authentication"`
80
+ - PowerShell (timestamp): `.specify/scripts/powershell/create-new-feature.ps1 "$ARGUMENTS" -Json -Timestamp -ShortName "user-auth" "Add user authentication"`
81
+
82
+ **IMPORTANT**:
83
+ - Do NOT pass `--number` — the script determines the correct next number automatically
84
+ - Always include the JSON flag (`--json` for Bash, `-Json` for PowerShell) so the output can be parsed reliably
85
+ - You must only ever run this script once per feature
86
+ - The JSON is provided in the terminal as output - always refer to it to get the actual content you're looking for
87
+ - The JSON output will contain BRANCH_NAME and SPEC_FILE paths
88
+ - For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot")
89
+
90
+ 3. Load `.specify/templates/spec-template.md` to understand required sections.
91
+
92
+ 4. Follow this execution flow:
93
+
94
+ 1. Parse user description from Input
95
+ If empty: ERROR "No feature description provided"
96
+ 2. Extract key concepts from description
97
+ Identify: actors, actions, data, constraints
98
+ 3. For unclear aspects:
99
+ - Make informed guesses based on context and industry standards
100
+ - Only mark with [NEEDS CLARIFICATION: specific question] if:
101
+ - The choice significantly impacts feature scope or user experience
102
+ - Multiple reasonable interpretations exist with different implications
103
+ - No reasonable default exists
104
+ - **LIMIT: Maximum 3 [NEEDS CLARIFICATION] markers total**
105
+ - Prioritize clarifications by impact: scope > security/privacy > user experience > technical details
106
+ 4. Fill User Scenarios & Testing section
107
+ If no clear user flow: ERROR "Cannot determine user scenarios"
108
+ 5. Generate Functional Requirements
109
+ Each requirement must be testable
110
+ Use reasonable defaults for unspecified details (document assumptions in Assumptions section)
111
+ 6. Define Success Criteria
112
+ Create measurable, technology-agnostic outcomes
113
+ Include both quantitative metrics (time, performance, volume) and qualitative measures (user satisfaction, task completion)
114
+ Each criterion must be verifiable without implementation details
115
+ 7. Identify Key Entities (if data involved)
116
+ 8. Return: SUCCESS (spec ready for planning)
117
+
118
+ 5. Write the specification to SPEC_FILE using the template structure, replacing placeholders with concrete details derived from the feature description (arguments) while preserving section order and headings.
119
+
120
+ 6. **Specification Quality Validation**: After writing the initial spec, validate it against quality criteria:
121
+
122
+ a. **Create Spec Quality Checklist**: Generate a checklist file at `FEATURE_DIR/checklists/requirements.md` using the checklist template structure with these validation items:
123
+
124
+ ```markdown
125
+ # Specification Quality Checklist: [FEATURE NAME]
126
+
127
+ **Purpose**: Validate specification completeness and quality before proceeding to planning
128
+ **Created**: [DATE]
129
+ **Feature**: [Link to spec.md]
130
+
131
+ ## Content Quality
132
+
133
+ - [ ] No implementation details (languages, frameworks, APIs)
134
+ - [ ] Focused on user value and business needs
135
+ - [ ] Written for non-technical stakeholders
136
+ - [ ] All mandatory sections completed
137
+
138
+ ## Requirement Completeness
139
+
140
+ - [ ] No [NEEDS CLARIFICATION] markers remain
141
+ - [ ] Requirements are testable and unambiguous
142
+ - [ ] Success criteria are measurable
143
+ - [ ] Success criteria are technology-agnostic (no implementation details)
144
+ - [ ] All acceptance scenarios are defined
145
+ - [ ] Edge cases are identified
146
+ - [ ] Scope is clearly bounded
147
+ - [ ] Dependencies and assumptions identified
148
+
149
+ ## Feature Readiness
150
+
151
+ - [ ] All functional requirements have clear acceptance criteria
152
+ - [ ] User scenarios cover primary flows
153
+ - [ ] Feature meets measurable outcomes defined in Success Criteria
154
+ - [ ] No implementation details leak into specification
155
+
156
+ ## Notes
157
+
158
+ - Items marked incomplete require spec updates before `/speckit.clarify` or `/speckit.plan`
159
+ ```
160
+
161
+ b. **Run Validation Check**: Review the spec against each checklist item:
162
+ - For each item, determine if it passes or fails
163
+ - Document specific issues found (quote relevant spec sections)
164
+
165
+ c. **Handle Validation Results**:
166
+
167
+ - **If all items pass**: Mark checklist complete and proceed to step 7
168
+
169
+ - **If items fail (excluding [NEEDS CLARIFICATION])**:
170
+ 1. List the failing items and specific issues
171
+ 2. Update the spec to address each issue
172
+ 3. Re-run validation until all items pass (max 3 iterations)
173
+ 4. If still failing after 3 iterations, document remaining issues in checklist notes and warn user
174
+
175
+ - **If [NEEDS CLARIFICATION] markers remain**:
176
+ 1. Extract all [NEEDS CLARIFICATION: ...] markers from the spec
177
+ 2. **LIMIT CHECK**: If more than 3 markers exist, keep only the 3 most critical (by scope/security/UX impact) and make informed guesses for the rest
178
+ 3. For each clarification needed (max 3), present options to user in this format:
179
+
180
+ ```markdown
181
+ ## Question [N]: [Topic]
182
+
183
+ **Context**: [Quote relevant spec section]
184
+
185
+ **What we need to know**: [Specific question from NEEDS CLARIFICATION marker]
186
+
187
+ **Suggested Answers**:
188
+
189
+ | Option | Answer | Implications |
190
+ |--------|--------|--------------|
191
+ | A | [First suggested answer] | [What this means for the feature] |
192
+ | B | [Second suggested answer] | [What this means for the feature] |
193
+ | C | [Third suggested answer] | [What this means for the feature] |
194
+ | Custom | Provide your own answer | [Explain how to provide custom input] |
195
+
196
+ **Your choice**: _[Wait for user response]_
197
+ ```
198
+
199
+ 4. **CRITICAL - Table Formatting**: Ensure markdown tables are properly formatted:
200
+ - Use consistent spacing with pipes aligned
201
+ - Each cell should have spaces around content: `| Content |` not `|Content|`
202
+ - Header separator must have at least 3 dashes: `|--------|`
203
+ - Test that the table renders correctly in markdown preview
204
+ 5. Number questions sequentially (Q1, Q2, Q3 - max 3 total)
205
+ 6. Present all questions together before waiting for responses
206
+ 7. Wait for user to respond with their choices for all questions (e.g., "Q1: A, Q2: Custom - [details], Q3: B")
207
+ 8. Update the spec by replacing each [NEEDS CLARIFICATION] marker with the user's selected or provided answer
208
+ 9. Re-run validation after all clarifications are resolved
209
+
210
+ d. **Update Checklist**: After each validation iteration, update the checklist file with current pass/fail status
211
+
212
+ 7. Report completion with branch name, spec file path, checklist results, and readiness for the next phase (`/speckit.clarify` or `/speckit.plan`).
213
+
214
+ 8. **Check for extension hooks**: After reporting completion, check if `.specify/extensions.yml` exists in the project root.
215
+ - If it exists, read it and look for entries under the `hooks.after_specify` key
216
+ - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
217
+ - Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
218
+ - For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
219
+ - If the hook has no `condition` field, or it is null/empty, treat the hook as executable
220
+ - If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
221
+ - For each executable hook, output the following based on its `optional` flag:
222
+ - **Optional hook** (`optional: true`):
223
+ ```
224
+ ## Extension Hooks
225
+
226
+ **Optional Hook**: {extension}
227
+ Command: `/{command}`
228
+ Description: {description}
229
+
230
+ Prompt: {prompt}
231
+ To execute: `/{command}`
232
+ ```
233
+ - **Mandatory hook** (`optional: false`):
234
+ ```
235
+ ## Extension Hooks
236
+
237
+ **Automatic Hook**: {extension}
238
+ Executing: `/{command}`
239
+ EXECUTE_COMMAND: {command}
240
+ ```
241
+ - If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
242
+
243
+ **NOTE:** The script creates and checks out the new branch and initializes the spec file before writing.
244
+
245
+ ## Quick Guidelines
246
+
247
+ - Focus on **WHAT** users need and **WHY**.
248
+ - Avoid HOW to implement (no tech stack, APIs, code structure).
249
+ - Written for business stakeholders, not developers.
250
+ - DO NOT create any checklists that are embedded in the spec. That will be a separate command.
251
+
252
+ ### Section Requirements
253
+
254
+ - **Mandatory sections**: Must be completed for every feature
255
+ - **Optional sections**: Include only when relevant to the feature
256
+ - When a section doesn't apply, remove it entirely (don't leave as "N/A")
257
+
258
+ ### For AI Generation
259
+
260
+ When creating this spec from a user prompt:
261
+
262
+ 1. **Make informed guesses**: Use context, industry standards, and common patterns to fill gaps
263
+ 2. **Document assumptions**: Record reasonable defaults in the Assumptions section
264
+ 3. **Limit clarifications**: Maximum 3 [NEEDS CLARIFICATION] markers - use only for critical decisions that:
265
+ - Significantly impact feature scope or user experience
266
+ - Have multiple reasonable interpretations with different implications
267
+ - Lack any reasonable default
268
+ 4. **Prioritize clarifications**: scope > security/privacy > user experience > technical details
269
+ 5. **Think like a tester**: Every vague requirement should fail the "testable and unambiguous" checklist item
270
+ 6. **Common areas needing clarification** (only if no reasonable default exists):
271
+ - Feature scope and boundaries (include/exclude specific use cases)
272
+ - User types and permissions (if multiple conflicting interpretations possible)
273
+ - Security/compliance requirements (when legally/financially significant)
274
+
275
+ **Examples of reasonable defaults** (don't ask about these):
276
+
277
+ - Data retention: Industry-standard practices for the domain
278
+ - Performance targets: Standard web/mobile app expectations unless specified
279
+ - Error handling: User-friendly messages with appropriate fallbacks
280
+ - Authentication method: Standard session-based or OAuth2 for web apps
281
+ - Integration patterns: Use project-appropriate patterns (REST/GraphQL for web services, function calls for libraries, CLI args for tools, etc.)
282
+
283
+ ### Success Criteria Guidelines
284
+
285
+ Success criteria must be:
286
+
287
+ 1. **Measurable**: Include specific metrics (time, percentage, count, rate)
288
+ 2. **Technology-agnostic**: No mention of frameworks, languages, databases, or tools
289
+ 3. **User-focused**: Describe outcomes from user/business perspective, not system internals
290
+ 4. **Verifiable**: Can be tested/validated without knowing implementation details
291
+
292
+ **Good examples**:
293
+
294
+ - "Users can complete checkout in under 3 minutes"
295
+ - "System supports 10,000 concurrent users"
296
+ - "95% of searches return results in under 1 second"
297
+ - "Task completion rate improves by 40%"
298
+
299
+ **Bad examples** (implementation-focused):
300
+
301
+ - "API response time is under 200ms" (too technical, use "Users see results instantly")
302
+ - "Database can handle 1000 TPS" (implementation detail, use user-facing metric)
303
+ - "React components render efficiently" (framework-specific)
304
+ - "Redis cache hit rate above 80%" (technology-specific)
@@ -0,0 +1,197 @@
1
+ ---
2
+ name: "speckit-tasks"
3
+ description: "Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts."
4
+ compatibility: "Requires spec-kit project structure with .specify/ directory"
5
+ metadata:
6
+ author: "github-spec-kit"
7
+ source: "templates/commands/tasks.md"
8
+ ---
9
+
10
+
11
+ ## User Input
12
+
13
+ ```text
14
+ $ARGUMENTS
15
+ ```
16
+
17
+ You **MUST** consider the user input before proceeding (if not empty).
18
+
19
+ ## Pre-Execution Checks
20
+
21
+ **Check for extension hooks (before tasks generation)**:
22
+ - Check if `.specify/extensions.yml` exists in the project root.
23
+ - If it exists, read it and look for entries under the `hooks.before_tasks` key
24
+ - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
25
+ - Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
26
+ - For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
27
+ - If the hook has no `condition` field, or it is null/empty, treat the hook as executable
28
+ - If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
29
+ - For each executable hook, output the following based on its `optional` flag:
30
+ - **Optional hook** (`optional: true`):
31
+ ```
32
+ ## Extension Hooks
33
+
34
+ **Optional Pre-Hook**: {extension}
35
+ Command: `/{command}`
36
+ Description: {description}
37
+
38
+ Prompt: {prompt}
39
+ To execute: `/{command}`
40
+ ```
41
+ - **Mandatory hook** (`optional: false`):
42
+ ```
43
+ ## Extension Hooks
44
+
45
+ **Automatic Pre-Hook**: {extension}
46
+ Executing: `/{command}`
47
+ EXECUTE_COMMAND: {command}
48
+
49
+ Wait for the result of the hook command before proceeding to the Outline.
50
+ ```
51
+ - If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
52
+
53
+ ## Outline
54
+
55
+ 1. **Setup**: Run `.specify/scripts/powershell/check-prerequisites.ps1 -Json` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
56
+
57
+ 2. **Load design documents**: Read from FEATURE_DIR:
58
+ - **Required**: plan.md (tech stack, libraries, structure), spec.md (user stories with priorities)
59
+ - **Optional**: data-model.md (entities), contracts/ (interface contracts), research.md (decisions), quickstart.md (test scenarios)
60
+ - Note: Not all projects have all documents. Generate tasks based on what's available.
61
+
62
+ 3. **Execute task generation workflow**:
63
+ - Load plan.md and extract tech stack, libraries, project structure
64
+ - Load spec.md and extract user stories with their priorities (P1, P2, P3, etc.)
65
+ - If data-model.md exists: Extract entities and map to user stories
66
+ - If contracts/ exists: Map interface contracts to user stories
67
+ - If research.md exists: Extract decisions for setup tasks
68
+ - Generate tasks organized by user story (see Task Generation Rules below)
69
+ - Generate dependency graph showing user story completion order
70
+ - Create parallel execution examples per user story
71
+ - Validate task completeness (each user story has all needed tasks, independently testable)
72
+
73
+ 4. **Generate tasks.md**: Use `.specify/templates/tasks-template.md` as structure, fill with:
74
+ - Correct feature name from plan.md
75
+ - Phase 1: Setup tasks (project initialization)
76
+ - Phase 2: Foundational tasks (blocking prerequisites for all user stories)
77
+ - Phase 3+: One phase per user story (in priority order from spec.md)
78
+ - Each phase includes: story goal, independent test criteria, tests (if requested), implementation tasks
79
+ - Final Phase: Polish & cross-cutting concerns
80
+ - All tasks must follow the strict checklist format (see Task Generation Rules below)
81
+ - Clear file paths for each task
82
+ - Dependencies section showing story completion order
83
+ - Parallel execution examples per story
84
+ - Implementation strategy section (MVP first, incremental delivery)
85
+
86
+ 5. **Report**: Output path to generated tasks.md and summary:
87
+ - Total task count
88
+ - Task count per user story
89
+ - Parallel opportunities identified
90
+ - Independent test criteria for each story
91
+ - Suggested MVP scope (typically just User Story 1)
92
+ - Format validation: Confirm ALL tasks follow the checklist format (checkbox, ID, labels, file paths)
93
+
94
+ 6. **Check for extension hooks**: After tasks.md is generated, check if `.specify/extensions.yml` exists in the project root.
95
+ - If it exists, read it and look for entries under the `hooks.after_tasks` key
96
+ - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
97
+ - Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
98
+ - For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
99
+ - If the hook has no `condition` field, or it is null/empty, treat the hook as executable
100
+ - If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
101
+ - For each executable hook, output the following based on its `optional` flag:
102
+ - **Optional hook** (`optional: true`):
103
+ ```
104
+ ## Extension Hooks
105
+
106
+ **Optional Hook**: {extension}
107
+ Command: `/{command}`
108
+ Description: {description}
109
+
110
+ Prompt: {prompt}
111
+ To execute: `/{command}`
112
+ ```
113
+ - **Mandatory hook** (`optional: false`):
114
+ ```
115
+ ## Extension Hooks
116
+
117
+ **Automatic Hook**: {extension}
118
+ Executing: `/{command}`
119
+ EXECUTE_COMMAND: {command}
120
+ ```
121
+ - If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
122
+
123
+ Context for task generation: $ARGUMENTS
124
+
125
+ The tasks.md should be immediately executable - each task must be specific enough that an LLM can complete it without additional context.
126
+
127
+ ## Task Generation Rules
128
+
129
+ **CRITICAL**: Tasks MUST be organized by user story to enable independent implementation and testing.
130
+
131
+ **Tests are OPTIONAL**: Only generate test tasks if explicitly requested in the feature specification or if user requests TDD approach.
132
+
133
+ ### Checklist Format (REQUIRED)
134
+
135
+ Every task MUST strictly follow this format:
136
+
137
+ ```text
138
+ - [ ] [TaskID] [P?] [Story?] Description with file path
139
+ ```
140
+
141
+ **Format Components**:
142
+
143
+ 1. **Checkbox**: ALWAYS start with `- [ ]` (markdown checkbox)
144
+ 2. **Task ID**: Sequential number (T001, T002, T003...) in execution order
145
+ 3. **[P] marker**: Include ONLY if task is parallelizable (different files, no dependencies on incomplete tasks)
146
+ 4. **[Story] label**: REQUIRED for user story phase tasks only
147
+ - Format: [US1], [US2], [US3], etc. (maps to user stories from spec.md)
148
+ - Setup phase: NO story label
149
+ - Foundational phase: NO story label
150
+ - User Story phases: MUST have story label
151
+ - Polish phase: NO story label
152
+ 5. **Description**: Clear action with exact file path
153
+
154
+ **Examples**:
155
+
156
+ - ✅ CORRECT: `- [ ] T001 Create project structure per implementation plan`
157
+ - ✅ CORRECT: `- [ ] T005 [P] Implement authentication middleware in src/middleware/auth.py`
158
+ - ✅ CORRECT: `- [ ] T012 [P] [US1] Create User model in src/models/user.py`
159
+ - ✅ CORRECT: `- [ ] T014 [US1] Implement UserService in src/services/user_service.py`
160
+ - ❌ WRONG: `- [ ] Create User model` (missing ID and Story label)
161
+ - ❌ WRONG: `T001 [US1] Create model` (missing checkbox)
162
+ - ❌ WRONG: `- [ ] [US1] Create User model` (missing Task ID)
163
+ - ❌ WRONG: `- [ ] T001 [US1] Create model` (missing file path)
164
+
165
+ ### Task Organization
166
+
167
+ 1. **From User Stories (spec.md)** - PRIMARY ORGANIZATION:
168
+ - Each user story (P1, P2, P3...) gets its own phase
169
+ - Map all related components to their story:
170
+ - Models needed for that story
171
+ - Services needed for that story
172
+ - Interfaces/UI needed for that story
173
+ - If tests requested: Tests specific to that story
174
+ - Mark story dependencies (most stories should be independent)
175
+
176
+ 2. **From Contracts**:
177
+ - Map each interface contract → to the user story it serves
178
+ - If tests requested: Each interface contract → contract test task [P] before implementation in that story's phase
179
+
180
+ 3. **From Data Model**:
181
+ - Map each entity to the user story(ies) that need it
182
+ - If entity serves multiple stories: Put in earliest story or Setup phase
183
+ - Relationships → service layer tasks in appropriate story phase
184
+
185
+ 4. **From Setup/Infrastructure**:
186
+ - Shared infrastructure → Setup phase (Phase 1)
187
+ - Foundational/blocking tasks → Foundational phase (Phase 2)
188
+ - Story-specific setup → within that story's phase
189
+
190
+ ### Phase Structure
191
+
192
+ - **Phase 1**: Setup (project initialization)
193
+ - **Phase 2**: Foundational (blocking prerequisites - MUST complete before user stories)
194
+ - **Phase 3+**: User Stories in priority order (P1, P2, P3...)
195
+ - Within each story: Tests (if requested) → Models → Services → Endpoints → Integration
196
+ - Each phase should be a complete, independently testable increment
197
+ - **Final Phase**: Polish & Cross-Cutting Concerns
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: "speckit-taskstoissues"
3
+ description: "Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts."
4
+ compatibility: "Requires spec-kit project structure with .specify/ directory"
5
+ metadata:
6
+ author: "github-spec-kit"
7
+ source: "templates/commands/taskstoissues.md"
8
+ ---
9
+
10
+
11
+ ## User Input
12
+
13
+ ```text
14
+ $ARGUMENTS
15
+ ```
16
+
17
+ You **MUST** consider the user input before proceeding (if not empty).
18
+
19
+ ## Outline
20
+
21
+ 1. Run `.specify/scripts/powershell/check-prerequisites.ps1 -Json -RequireTasks -IncludeTasks` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
22
+ 1. From the executed script, extract the path to **tasks**.
23
+ 1. Get the Git remote by running:
24
+
25
+ ```bash
26
+ git config --get remote.origin.url
27
+ ```
28
+
29
+ > [!CAUTION]
30
+ > ONLY PROCEED TO NEXT STEPS IF THE REMOTE IS A GITHUB URL
31
+
32
+ 1. For each task in the list, use the GitHub MCP server to create a new issue in the repository that is representative of the Git remote.
33
+
34
+ > [!CAUTION]
35
+ > UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: swift-engineering
3
+ description: swift engineering guidance for structured Harness Forge language packs.
4
+ ---
5
+
6
+ # Swift Engineering
7
+
8
+ Use this skill when the repository is primarily Swift or when the task touches `.swift` or `Package.swift`.
9
+
10
+ ## Activation
11
+
12
+ - Swift dominates the task or repository
13
+ - the work touches package modules, platform code, or concurrency-sensitive logic
14
+
15
+ ## Load Order
16
+
17
+ - `rules/common/`
18
+ - `rules/swift/`
19
+ - `knowledge-bases/structured/swift/docs/`
20
+ - `knowledge-bases/structured/swift/examples/`
21
+
22
+ ## Execution Contract
23
+
24
+ 1. inspect module boundaries, platform assumptions, and concurrency concerns
25
+ 2. select the common and Swift-specific rules for the change
26
+ 3. implement with explicit API, ownership, and build decisions
27
+ 4. verify with the repo package or Xcode-equivalent validation path and the checklist
28
+
29
+ ## Outputs
30
+
31
+ - touched-module summary
32
+ - implementation summary
33
+ - validation result or blocker note
34
+
35
+ ## Validation
36
+
37
+ - run the repo Swift validation path when available
38
+ - consult `knowledge-bases/structured/swift/docs/review-checklist.md`
39
+
40
+ ## Escalation
41
+
42
+ - escalate when platform behavior, Apple ecosystem constraints, or concurrency tradeoffs are unclear
43
+ - escalate when the task affects multiple targets or package boundaries
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: test-strategy-and-coverage
3
+ description: Define right-sized test layers and coverage priorities for a change.
4
+ ---
5
+
6
+ # Test Strategy And Coverage
7
+
8
+ ## Trigger Signals
9
+
10
+ - the task adds or changes behavior and the right test depth is unclear
11
+
12
+ ## Inspect First
13
+
14
+ - changed files, existing test layers, and validation commands
15
+
16
+ ## Workflow
17
+
18
+ 1. map the behavioral risk of the change
19
+ 2. choose the minimum test layers that cover that risk
20
+ 3. identify critical missing cases
21
+ 4. summarize the coverage strategy
22
+
23
+ ## Output Contract
24
+
25
+ - recommended test layers
26
+ - critical cases to cover
27
+ - explicit gaps or acceptable deferrals
28
+
29
+ ## Failure Modes
30
+
31
+ - no executable validation surface exists
32
+
33
+ ## Escalation
34
+
35
+ - escalate when a risky change has no trustworthy test path