red64-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 (354) hide show
  1. package/README.md +454 -0
  2. package/dist/cli/parseArgs.d.ts +16 -0
  3. package/dist/cli/parseArgs.d.ts.map +1 -0
  4. package/dist/cli/parseArgs.js +172 -0
  5. package/dist/cli/parseArgs.js.map +1 -0
  6. package/dist/cli/validateFlags.d.ts +22 -0
  7. package/dist/cli/validateFlags.d.ts.map +1 -0
  8. package/dist/cli/validateFlags.js +24 -0
  9. package/dist/cli/validateFlags.js.map +1 -0
  10. package/dist/cli.d.ts +7 -0
  11. package/dist/cli.d.ts.map +1 -0
  12. package/dist/cli.js +90 -0
  13. package/dist/cli.js.map +1 -0
  14. package/dist/components/App.d.ts +20 -0
  15. package/dist/components/App.d.ts.map +1 -0
  16. package/dist/components/App.js +35 -0
  17. package/dist/components/App.js.map +1 -0
  18. package/dist/components/CommandRouter.d.ts +21 -0
  19. package/dist/components/CommandRouter.d.ts.map +1 -0
  20. package/dist/components/CommandRouter.js +30 -0
  21. package/dist/components/CommandRouter.js.map +1 -0
  22. package/dist/components/GlobalConfig.d.ts +26 -0
  23. package/dist/components/GlobalConfig.d.ts.map +1 -0
  24. package/dist/components/GlobalConfig.js +30 -0
  25. package/dist/components/GlobalConfig.js.map +1 -0
  26. package/dist/components/index.d.ts +9 -0
  27. package/dist/components/index.d.ts.map +1 -0
  28. package/dist/components/index.js +9 -0
  29. package/dist/components/index.js.map +1 -0
  30. package/dist/components/init/CompleteStep.d.ts +11 -0
  31. package/dist/components/init/CompleteStep.d.ts.map +1 -0
  32. package/dist/components/init/CompleteStep.js +15 -0
  33. package/dist/components/init/CompleteStep.js.map +1 -0
  34. package/dist/components/init/ErrorStep.d.ts +14 -0
  35. package/dist/components/init/ErrorStep.d.ts.map +1 -0
  36. package/dist/components/init/ErrorStep.js +36 -0
  37. package/dist/components/init/ErrorStep.js.map +1 -0
  38. package/dist/components/init/FetchStep.d.ts +15 -0
  39. package/dist/components/init/FetchStep.d.ts.map +1 -0
  40. package/dist/components/init/FetchStep.js +33 -0
  41. package/dist/components/init/FetchStep.js.map +1 -0
  42. package/dist/components/init/SetupStep.d.ts +14 -0
  43. package/dist/components/init/SetupStep.d.ts.map +1 -0
  44. package/dist/components/init/SetupStep.js +78 -0
  45. package/dist/components/init/SetupStep.js.map +1 -0
  46. package/dist/components/init/SteeringStep.d.ts +12 -0
  47. package/dist/components/init/SteeringStep.d.ts.map +1 -0
  48. package/dist/components/init/SteeringStep.js +43 -0
  49. package/dist/components/init/SteeringStep.js.map +1 -0
  50. package/dist/components/init/WelcomeStep.d.ts +12 -0
  51. package/dist/components/init/WelcomeStep.d.ts.map +1 -0
  52. package/dist/components/init/WelcomeStep.js +52 -0
  53. package/dist/components/init/WelcomeStep.js.map +1 -0
  54. package/dist/components/init/index.d.ts +11 -0
  55. package/dist/components/init/index.d.ts.map +1 -0
  56. package/dist/components/init/index.js +10 -0
  57. package/dist/components/init/index.js.map +1 -0
  58. package/dist/components/init/types.d.ts +98 -0
  59. package/dist/components/init/types.d.ts.map +1 -0
  60. package/dist/components/init/types.js +6 -0
  61. package/dist/components/init/types.js.map +1 -0
  62. package/dist/components/screens/AbortScreen.d.ts +14 -0
  63. package/dist/components/screens/AbortScreen.d.ts.map +1 -0
  64. package/dist/components/screens/AbortScreen.js +181 -0
  65. package/dist/components/screens/AbortScreen.js.map +1 -0
  66. package/dist/components/screens/ApprovalScreen.d.ts +24 -0
  67. package/dist/components/screens/ApprovalScreen.d.ts.map +1 -0
  68. package/dist/components/screens/ApprovalScreen.js +82 -0
  69. package/dist/components/screens/ApprovalScreen.js.map +1 -0
  70. package/dist/components/screens/HelpScreen.d.ts +20 -0
  71. package/dist/components/screens/HelpScreen.d.ts.map +1 -0
  72. package/dist/components/screens/HelpScreen.js +70 -0
  73. package/dist/components/screens/HelpScreen.js.map +1 -0
  74. package/dist/components/screens/InitScreen.d.ts +15 -0
  75. package/dist/components/screens/InitScreen.d.ts.map +1 -0
  76. package/dist/components/screens/InitScreen.js +420 -0
  77. package/dist/components/screens/InitScreen.js.map +1 -0
  78. package/dist/components/screens/ListScreen.d.ts +14 -0
  79. package/dist/components/screens/ListScreen.d.ts.map +1 -0
  80. package/dist/components/screens/ListScreen.js +57 -0
  81. package/dist/components/screens/ListScreen.js.map +1 -0
  82. package/dist/components/screens/ProgressScreen.d.ts +26 -0
  83. package/dist/components/screens/ProgressScreen.d.ts.map +1 -0
  84. package/dist/components/screens/ProgressScreen.js +64 -0
  85. package/dist/components/screens/ProgressScreen.js.map +1 -0
  86. package/dist/components/screens/ResumeScreen.d.ts +14 -0
  87. package/dist/components/screens/ResumeScreen.d.ts.map +1 -0
  88. package/dist/components/screens/ResumeScreen.js +108 -0
  89. package/dist/components/screens/ResumeScreen.js.map +1 -0
  90. package/dist/components/screens/ScreenProps.d.ts +12 -0
  91. package/dist/components/screens/ScreenProps.d.ts.map +1 -0
  92. package/dist/components/screens/ScreenProps.js +5 -0
  93. package/dist/components/screens/ScreenProps.js.map +1 -0
  94. package/dist/components/screens/StartScreen.d.ts +26 -0
  95. package/dist/components/screens/StartScreen.d.ts.map +1 -0
  96. package/dist/components/screens/StartScreen.js +1021 -0
  97. package/dist/components/screens/StartScreen.js.map +1 -0
  98. package/dist/components/screens/StatusScreen.d.ts +14 -0
  99. package/dist/components/screens/StatusScreen.d.ts.map +1 -0
  100. package/dist/components/screens/StatusScreen.js +115 -0
  101. package/dist/components/screens/StatusScreen.js.map +1 -0
  102. package/dist/components/screens/index.d.ts +15 -0
  103. package/dist/components/screens/index.d.ts.map +1 -0
  104. package/dist/components/screens/index.js +12 -0
  105. package/dist/components/screens/index.js.map +1 -0
  106. package/dist/components/ui/ErrorBoundary.d.ts +34 -0
  107. package/dist/components/ui/ErrorBoundary.d.ts.map +1 -0
  108. package/dist/components/ui/ErrorBoundary.js +37 -0
  109. package/dist/components/ui/ErrorBoundary.js.map +1 -0
  110. package/dist/components/ui/ErrorDisplay.d.ts +20 -0
  111. package/dist/components/ui/ErrorDisplay.d.ts.map +1 -0
  112. package/dist/components/ui/ErrorDisplay.js +12 -0
  113. package/dist/components/ui/ErrorDisplay.js.map +1 -0
  114. package/dist/components/ui/ErrorRecoveryPrompt.d.ts +30 -0
  115. package/dist/components/ui/ErrorRecoveryPrompt.d.ts.map +1 -0
  116. package/dist/components/ui/ErrorRecoveryPrompt.js +66 -0
  117. package/dist/components/ui/ErrorRecoveryPrompt.js.map +1 -0
  118. package/dist/components/ui/FeatureSidebar.d.ts +27 -0
  119. package/dist/components/ui/FeatureSidebar.d.ts.map +1 -0
  120. package/dist/components/ui/FeatureSidebar.js +166 -0
  121. package/dist/components/ui/FeatureSidebar.js.map +1 -0
  122. package/dist/components/ui/FlowTable.d.ts +21 -0
  123. package/dist/components/ui/FlowTable.d.ts.map +1 -0
  124. package/dist/components/ui/FlowTable.js +105 -0
  125. package/dist/components/ui/FlowTable.js.map +1 -0
  126. package/dist/components/ui/Header.d.ts +20 -0
  127. package/dist/components/ui/Header.d.ts.map +1 -0
  128. package/dist/components/ui/Header.js +11 -0
  129. package/dist/components/ui/Header.js.map +1 -0
  130. package/dist/components/ui/OutputRegion.d.ts +20 -0
  131. package/dist/components/ui/OutputRegion.d.ts.map +1 -0
  132. package/dist/components/ui/OutputRegion.js +14 -0
  133. package/dist/components/ui/OutputRegion.js.map +1 -0
  134. package/dist/components/ui/PhaseProgressView.d.ts +23 -0
  135. package/dist/components/ui/PhaseProgressView.d.ts.map +1 -0
  136. package/dist/components/ui/PhaseProgressView.js +117 -0
  137. package/dist/components/ui/PhaseProgressView.js.map +1 -0
  138. package/dist/components/ui/ProgressBar.d.ts +20 -0
  139. package/dist/components/ui/ProgressBar.d.ts.map +1 -0
  140. package/dist/components/ui/ProgressBar.js +12 -0
  141. package/dist/components/ui/ProgressBar.js.map +1 -0
  142. package/dist/components/ui/SelectMenu.d.ts +27 -0
  143. package/dist/components/ui/SelectMenu.d.ts.map +1 -0
  144. package/dist/components/ui/SelectMenu.js +21 -0
  145. package/dist/components/ui/SelectMenu.js.map +1 -0
  146. package/dist/components/ui/Spinner.d.ts +18 -0
  147. package/dist/components/ui/Spinner.d.ts.map +1 -0
  148. package/dist/components/ui/Spinner.js +10 -0
  149. package/dist/components/ui/Spinner.js.map +1 -0
  150. package/dist/components/ui/StatusLine.d.ts +21 -0
  151. package/dist/components/ui/StatusLine.d.ts.map +1 -0
  152. package/dist/components/ui/StatusLine.js +30 -0
  153. package/dist/components/ui/StatusLine.js.map +1 -0
  154. package/dist/components/ui/index.d.ts +16 -0
  155. package/dist/components/ui/index.d.ts.map +1 -0
  156. package/dist/components/ui/index.js +16 -0
  157. package/dist/components/ui/index.js.map +1 -0
  158. package/dist/services/AgentInvoker.d.ts +20 -0
  159. package/dist/services/AgentInvoker.d.ts.map +1 -0
  160. package/dist/services/AgentInvoker.js +282 -0
  161. package/dist/services/AgentInvoker.js.map +1 -0
  162. package/dist/services/BranchService.d.ts +28 -0
  163. package/dist/services/BranchService.d.ts.map +1 -0
  164. package/dist/services/BranchService.js +114 -0
  165. package/dist/services/BranchService.js.map +1 -0
  166. package/dist/services/CacheService.d.ts +57 -0
  167. package/dist/services/CacheService.d.ts.map +1 -0
  168. package/dist/services/CacheService.js +208 -0
  169. package/dist/services/CacheService.js.map +1 -0
  170. package/dist/services/ClaudeErrorDetector.d.ts +45 -0
  171. package/dist/services/ClaudeErrorDetector.d.ts.map +1 -0
  172. package/dist/services/ClaudeErrorDetector.js +207 -0
  173. package/dist/services/ClaudeErrorDetector.js.map +1 -0
  174. package/dist/services/ClaudeHealthCheck.d.ts +37 -0
  175. package/dist/services/ClaudeHealthCheck.d.ts.map +1 -0
  176. package/dist/services/ClaudeHealthCheck.js +197 -0
  177. package/dist/services/ClaudeHealthCheck.js.map +1 -0
  178. package/dist/services/CommitService.d.ts +36 -0
  179. package/dist/services/CommitService.d.ts.map +1 -0
  180. package/dist/services/CommitService.js +159 -0
  181. package/dist/services/CommitService.js.map +1 -0
  182. package/dist/services/ConfigService.d.ts +49 -0
  183. package/dist/services/ConfigService.d.ts.map +1 -0
  184. package/dist/services/ConfigService.js +57 -0
  185. package/dist/services/ConfigService.js.map +1 -0
  186. package/dist/services/DockerRunner.d.ts +45 -0
  187. package/dist/services/DockerRunner.d.ts.map +1 -0
  188. package/dist/services/DockerRunner.js +170 -0
  189. package/dist/services/DockerRunner.js.map +1 -0
  190. package/dist/services/ExtendedFlowStateMachine.d.ts +31 -0
  191. package/dist/services/ExtendedFlowStateMachine.d.ts.map +1 -0
  192. package/dist/services/ExtendedFlowStateMachine.js +302 -0
  193. package/dist/services/ExtendedFlowStateMachine.js.map +1 -0
  194. package/dist/services/FeatureValidator.d.ts +26 -0
  195. package/dist/services/FeatureValidator.d.ts.map +1 -0
  196. package/dist/services/FeatureValidator.js +48 -0
  197. package/dist/services/FeatureValidator.js.map +1 -0
  198. package/dist/services/FlowStateMachine.d.ts +26 -0
  199. package/dist/services/FlowStateMachine.d.ts.map +1 -0
  200. package/dist/services/FlowStateMachine.js +177 -0
  201. package/dist/services/FlowStateMachine.js.map +1 -0
  202. package/dist/services/GitHubService.d.ts +72 -0
  203. package/dist/services/GitHubService.d.ts.map +1 -0
  204. package/dist/services/GitHubService.js +150 -0
  205. package/dist/services/GitHubService.js.map +1 -0
  206. package/dist/services/GitStatusChecker.d.ts +29 -0
  207. package/dist/services/GitStatusChecker.d.ts.map +1 -0
  208. package/dist/services/GitStatusChecker.js +127 -0
  209. package/dist/services/GitStatusChecker.js.map +1 -0
  210. package/dist/services/PRCreatorService.d.ts +59 -0
  211. package/dist/services/PRCreatorService.d.ts.map +1 -0
  212. package/dist/services/PRCreatorService.js +212 -0
  213. package/dist/services/PRCreatorService.js.map +1 -0
  214. package/dist/services/PRStatusFetcher.d.ts +39 -0
  215. package/dist/services/PRStatusFetcher.d.ts.map +1 -0
  216. package/dist/services/PRStatusFetcher.js +144 -0
  217. package/dist/services/PRStatusFetcher.js.map +1 -0
  218. package/dist/services/PhaseExecutor.d.ts +29 -0
  219. package/dist/services/PhaseExecutor.d.ts.map +1 -0
  220. package/dist/services/PhaseExecutor.js +125 -0
  221. package/dist/services/PhaseExecutor.js.map +1 -0
  222. package/dist/services/SpecInitService.d.ts +33 -0
  223. package/dist/services/SpecInitService.d.ts.map +1 -0
  224. package/dist/services/SpecInitService.js +168 -0
  225. package/dist/services/SpecInitService.js.map +1 -0
  226. package/dist/services/StateStore.d.ts +24 -0
  227. package/dist/services/StateStore.d.ts.map +1 -0
  228. package/dist/services/StateStore.js +171 -0
  229. package/dist/services/StateStore.js.map +1 -0
  230. package/dist/services/TaskParser.d.ts +44 -0
  231. package/dist/services/TaskParser.d.ts.map +1 -0
  232. package/dist/services/TaskParser.js +167 -0
  233. package/dist/services/TaskParser.js.map +1 -0
  234. package/dist/services/TaskRunner.d.ts +52 -0
  235. package/dist/services/TaskRunner.d.ts.map +1 -0
  236. package/dist/services/TaskRunner.js +135 -0
  237. package/dist/services/TaskRunner.js.map +1 -0
  238. package/dist/services/TemplateService.d.ts +73 -0
  239. package/dist/services/TemplateService.d.ts.map +1 -0
  240. package/dist/services/TemplateService.js +263 -0
  241. package/dist/services/TemplateService.js.map +1 -0
  242. package/dist/services/WorktreeService.d.ts +51 -0
  243. package/dist/services/WorktreeService.d.ts.map +1 -0
  244. package/dist/services/WorktreeService.js +204 -0
  245. package/dist/services/WorktreeService.js.map +1 -0
  246. package/dist/services/index.d.ts +25 -0
  247. package/dist/services/index.d.ts.map +1 -0
  248. package/dist/services/index.js +25 -0
  249. package/dist/services/index.js.map +1 -0
  250. package/dist/types/extended-flow.d.ts +167 -0
  251. package/dist/types/extended-flow.d.ts.map +1 -0
  252. package/dist/types/extended-flow.js +103 -0
  253. package/dist/types/extended-flow.js.map +1 -0
  254. package/dist/types/index.d.ts +210 -0
  255. package/dist/types/index.d.ts.map +1 -0
  256. package/dist/types/index.js +28 -0
  257. package/dist/types/index.js.map +1 -0
  258. package/dist/utils/git.d.ts +41 -0
  259. package/dist/utils/git.d.ts.map +1 -0
  260. package/dist/utils/git.js +68 -0
  261. package/dist/utils/git.js.map +1 -0
  262. package/dist/utils/index.d.ts +6 -0
  263. package/dist/utils/index.d.ts.map +1 -0
  264. package/dist/utils/index.js +6 -0
  265. package/dist/utils/index.js.map +1 -0
  266. package/dist/utils/paths.d.ts +30 -0
  267. package/dist/utils/paths.d.ts.map +1 -0
  268. package/dist/utils/paths.js +43 -0
  269. package/dist/utils/paths.js.map +1 -0
  270. package/framework/.red64/settings/rules/design-discovery-full.md +93 -0
  271. package/framework/.red64/settings/rules/design-discovery-light.md +49 -0
  272. package/framework/.red64/settings/rules/design-principles.md +182 -0
  273. package/framework/.red64/settings/rules/design-review.md +110 -0
  274. package/framework/.red64/settings/rules/ears-format.md +49 -0
  275. package/framework/.red64/settings/rules/gap-analysis.md +144 -0
  276. package/framework/.red64/settings/rules/steering-principles.md +90 -0
  277. package/framework/.red64/settings/rules/tasks-generation.md +131 -0
  278. package/framework/.red64/settings/rules/tasks-parallel-analysis.md +34 -0
  279. package/framework/.red64/settings/templates/flow-state.json +48 -0
  280. package/framework/.red64/settings/templates/specs/design.md +276 -0
  281. package/framework/.red64/settings/templates/specs/init.json +24 -0
  282. package/framework/.red64/settings/templates/specs/requirements-init.md +9 -0
  283. package/framework/.red64/settings/templates/specs/requirements.md +26 -0
  284. package/framework/.red64/settings/templates/specs/research.md +61 -0
  285. package/framework/.red64/settings/templates/specs/tasks.md +21 -0
  286. package/framework/.red64/settings/templates/steering/product.md +18 -0
  287. package/framework/.red64/settings/templates/steering/structure.md +41 -0
  288. package/framework/.red64/settings/templates/steering/tech.md +45 -0
  289. package/framework/.red64/settings/templates/steering-custom/api-standards.md +69 -0
  290. package/framework/.red64/settings/templates/steering-custom/authentication.md +67 -0
  291. package/framework/.red64/settings/templates/steering-custom/database.md +46 -0
  292. package/framework/.red64/settings/templates/steering-custom/deployment.md +54 -0
  293. package/framework/.red64/settings/templates/steering-custom/error-handling.md +59 -0
  294. package/framework/.red64/settings/templates/steering-custom/security.md +55 -0
  295. package/framework/.red64/settings/templates/steering-custom/testing.md +47 -0
  296. package/framework/agents/claude/.claude/agents/red64/spec-design.md +174 -0
  297. package/framework/agents/claude/.claude/agents/red64/spec-impl.md +120 -0
  298. package/framework/agents/claude/.claude/agents/red64/spec-requirements.md +102 -0
  299. package/framework/agents/claude/.claude/agents/red64/spec-tasks.md +141 -0
  300. package/framework/agents/claude/.claude/agents/red64/steering-custom.md +147 -0
  301. package/framework/agents/claude/.claude/agents/red64/steering.md +163 -0
  302. package/framework/agents/claude/.claude/agents/red64/validate-design.md +98 -0
  303. package/framework/agents/claude/.claude/agents/red64/validate-gap.md +99 -0
  304. package/framework/agents/claude/.claude/agents/red64/validate-impl.md +146 -0
  305. package/framework/agents/claude/.claude/commands/red64/spec-design.md +64 -0
  306. package/framework/agents/claude/.claude/commands/red64/spec-impl.md +68 -0
  307. package/framework/agents/claude/.claude/commands/red64/spec-init.md +65 -0
  308. package/framework/agents/claude/.claude/commands/red64/spec-quick.md +360 -0
  309. package/framework/agents/claude/.claude/commands/red64/spec-requirements.md +62 -0
  310. package/framework/agents/claude/.claude/commands/red64/spec-status.md +87 -0
  311. package/framework/agents/claude/.claude/commands/red64/spec-tasks.md +75 -0
  312. package/framework/agents/claude/.claude/commands/red64/steering-custom.md +59 -0
  313. package/framework/agents/claude/.claude/commands/red64/steering.md +62 -0
  314. package/framework/agents/claude/.claude/commands/red64/validate-design.md +59 -0
  315. package/framework/agents/claude/.claude/commands/red64/validate-gap.md +53 -0
  316. package/framework/agents/claude/.claude/commands/red64/validate-impl.md +68 -0
  317. package/framework/agents/claude/docs/CLAUDE.md +45 -0
  318. package/framework/agents/codex/.codex/agents/red64/spec-design.md +174 -0
  319. package/framework/agents/codex/.codex/agents/red64/spec-impl.md +120 -0
  320. package/framework/agents/codex/.codex/agents/red64/spec-requirements.md +102 -0
  321. package/framework/agents/codex/.codex/agents/red64/spec-tasks.md +141 -0
  322. package/framework/agents/codex/.codex/agents/red64/steering-custom.md +147 -0
  323. package/framework/agents/codex/.codex/agents/red64/steering.md +163 -0
  324. package/framework/agents/codex/.codex/agents/red64/validate-design.md +98 -0
  325. package/framework/agents/codex/.codex/agents/red64/validate-gap.md +99 -0
  326. package/framework/agents/codex/.codex/agents/red64/validate-impl.md +146 -0
  327. package/framework/agents/codex/.codex/commands/red64/spec-design.md +64 -0
  328. package/framework/agents/codex/.codex/commands/red64/spec-impl.md +68 -0
  329. package/framework/agents/codex/.codex/commands/red64/spec-init.md +65 -0
  330. package/framework/agents/codex/.codex/commands/red64/spec-quick.md +360 -0
  331. package/framework/agents/codex/.codex/commands/red64/spec-requirements.md +62 -0
  332. package/framework/agents/codex/.codex/commands/red64/spec-status.md +87 -0
  333. package/framework/agents/codex/.codex/commands/red64/spec-tasks.md +75 -0
  334. package/framework/agents/codex/.codex/commands/red64/steering-custom.md +59 -0
  335. package/framework/agents/codex/.codex/commands/red64/steering.md +62 -0
  336. package/framework/agents/codex/.codex/commands/red64/validate-design.md +59 -0
  337. package/framework/agents/codex/.codex/commands/red64/validate-gap.md +53 -0
  338. package/framework/agents/codex/.codex/commands/red64/validate-impl.md +68 -0
  339. package/framework/agents/codex/docs/AGENTS.md +68 -0
  340. package/framework/agents/gemini/commands.toml +607 -0
  341. package/framework/agents/gemini/docs/GEMINI.md +45 -0
  342. package/framework/stacks/generic/product.md +27 -0
  343. package/framework/stacks/generic/structure.md +46 -0
  344. package/framework/stacks/generic/tech.md +47 -0
  345. package/framework/stacks/node/product.md +27 -0
  346. package/framework/stacks/node/structure.md +82 -0
  347. package/framework/stacks/node/tech.md +63 -0
  348. package/framework/stacks/python/product.md +27 -0
  349. package/framework/stacks/python/structure.md +78 -0
  350. package/framework/stacks/python/tech.md +64 -0
  351. package/framework/stacks/react/product.md +27 -0
  352. package/framework/stacks/react/structure.md +76 -0
  353. package/framework/stacks/react/tech.md +65 -0
  354. package/package.json +47 -0
@@ -0,0 +1,607 @@
1
+ # Red64 Spec-Driven Development Commands for Gemini CLI
2
+ # These commands match the Claude Code implementation with adaptations for Gemini
3
+
4
+ [spec-init]
5
+ description = "Initialize a new specification with detailed project description"
6
+ prompt = """
7
+ # Spec Initialization
8
+
9
+ <background_information>
10
+ - **Mission**: Initialize the first phase of spec-driven development by creating directory structure and metadata for a new specification
11
+ - **Success Criteria**:
12
+ - Generate appropriate feature name from project description
13
+ - Create unique spec structure without conflicts
14
+ - Provide clear path to next phase (requirements generation)
15
+ </background_information>
16
+
17
+ <instructions>
18
+ ## Core Task
19
+ Generate a unique feature name from the project description ($ARGUMENTS) and initialize the specification structure.
20
+
21
+ ## Execution Steps
22
+ 1. **Check Uniqueness**: Verify `.red64/specs/` for naming conflicts (append number suffix if needed)
23
+ 2. **Create Directory**: `.red64/specs/[feature-name]/`
24
+ 3. **Initialize Files Using Templates**:
25
+ - Read `.red64/settings/templates/specs/init.json`
26
+ - Read `.red64/settings/templates/specs/requirements-init.md`
27
+ - Replace placeholders:
28
+ - `{{FEATURE_NAME}}` → generated feature name
29
+ - `{{TIMESTAMP}}` → current ISO 8601 timestamp
30
+ - `{{PROJECT_DESCRIPTION}}` → $ARGUMENTS
31
+ - Write `spec.json` and `requirements.md` to spec directory
32
+
33
+ ## Important Constraints
34
+ - DO NOT generate requirements/design/tasks at this stage
35
+ - Follow stage-by-stage development principles
36
+ - Maintain strict phase separation
37
+ - Only initialization is performed in this phase
38
+ </instructions>
39
+
40
+ ## Tool Guidance
41
+ - Use file listing to check existing spec directories for name uniqueness
42
+ - Read templates: `init.json` and `requirements-init.md`
43
+ - Write spec.json and requirements.md after placeholder replacement
44
+ - Perform validation before any file write operation
45
+
46
+ ## Output Description
47
+ Provide output in the language specified in `spec.json` with the following structure:
48
+
49
+ 1. **Generated Feature Name**: `feature-name` format with 1-2 sentence rationale
50
+ 2. **Project Summary**: Brief summary (1 sentence)
51
+ 3. **Created Files**: Bullet list with full paths
52
+ 4. **Next Step**: Command showing `spec-requirements <feature-name>`
53
+ 5. **Notes**: Explain why only initialization was performed (2-3 sentences on phase separation)
54
+
55
+ **Format Requirements**:
56
+ - Use Markdown headings (##, ###)
57
+ - Wrap commands in code blocks
58
+ - Keep total output concise (under 250 words)
59
+ - Use clear, professional language per `spec.json.language`
60
+
61
+ ## Safety & Fallback
62
+ - **Ambiguous Feature Name**: If feature name generation is unclear, propose 2-3 options and ask user to select
63
+ - **Template Missing**: If template files don't exist in `.red64/settings/templates/specs/`, report error with specific missing file path and suggest checking repository setup
64
+ - **Directory Conflict**: If feature name already exists, append numeric suffix (e.g., `feature-name-2`) and notify user of automatic conflict resolution
65
+ - **Write Failure**: Report error with specific path and suggest checking permissions or disk space
66
+ """
67
+
68
+ [spec-requirements]
69
+ description = "Generate comprehensive requirements for a specification"
70
+ prompt = """
71
+ # Requirements Generation
72
+
73
+ ## Parse Arguments
74
+ - Feature name: `$1`
75
+
76
+ ## Validate
77
+ Check that spec has been initialized:
78
+ - Verify `.red64/specs/$1/` exists
79
+ - Verify `.red64/specs/$1/spec.json` exists
80
+
81
+ If validation fails, inform user to run `spec-init` first.
82
+
83
+ ## Core Task
84
+ Generate EARS-format requirements for feature **$1**.
85
+
86
+ ## File Patterns to Read
87
+ - `.red64/specs/$1/spec.json`
88
+ - `.red64/specs/$1/requirements.md`
89
+ - `.red64/steering/*.md`
90
+ - `.red64/settings/rules/ears-format.md`
91
+ - `.red64/settings/templates/specs/requirements.md`
92
+
93
+ ## EARS Format Categories
94
+ - **Ubiquitous**: "The [system] shall [action]"
95
+ - **Event-Driven**: "When [trigger], the [system] shall [action]"
96
+ - **State-Driven**: "While [state], the [system] shall [action]"
97
+ - **Optional**: "Where [feature] is supported, the [system] shall [action]"
98
+ - **Unwanted**: "If [condition], then the [system] shall [action]"
99
+
100
+ ## Display Result
101
+
102
+ Show summary to user, then provide next step guidance:
103
+
104
+ ### Next Phase: Design Generation
105
+
106
+ **If Requirements Approved**:
107
+ - Review generated requirements at `.red64/specs/$1/requirements.md`
108
+ - **Optional Gap Analysis** (for existing codebases):
109
+ - Run `validate-gap $1` to analyze implementation gap with current code
110
+ - Identifies existing components, integration points, and implementation strategy
111
+ - Recommended for brownfield projects; skip for greenfield
112
+ - Then `spec-design $1` to proceed to design phase
113
+
114
+ **If Modifications Needed**:
115
+ - Provide feedback and re-run `spec-requirements $1`
116
+
117
+ **Note**: Approval is mandatory before proceeding to design phase.
118
+ """
119
+
120
+ [spec-design]
121
+ description = "Create comprehensive technical design for a specification"
122
+ prompt = """
123
+ # Technical Design Generator
124
+
125
+ ## Parse Arguments
126
+ - Feature name: `$1`
127
+ - Auto-approve flag: `$2` (optional, "-y")
128
+
129
+ ## Validate
130
+ Check that requirements have been completed:
131
+ - Verify `.red64/specs/$1/` exists
132
+ - Verify `.red64/specs/$1/requirements.md` exists
133
+
134
+ If validation fails, inform user to complete requirements phase first.
135
+
136
+ ## Core Task
137
+ Generate technical design for feature **$1** and update research log.
138
+
139
+ ## File Patterns to Read
140
+ - `.red64/specs/$1/*.{json,md}`
141
+ - `.red64/steering/*.md`
142
+ - `.red64/settings/rules/design-*.md`
143
+ - `.red64/settings/templates/specs/design.md`
144
+ - `.red64/settings/templates/specs/research.md`
145
+
146
+ ## Execution
147
+ - Discovery: auto-detect based on requirements
148
+ - Mode: generate or merge based on design.md existence
149
+ - Language: respect spec.json language for design.md/research.md outputs
150
+
151
+ ## Display Result
152
+
153
+ Show summary to user, then provide next step guidance:
154
+
155
+ ### Next Phase: Task Generation
156
+
157
+ **If Design Approved**:
158
+ - Review generated design at `.red64/specs/$1/design.md`
159
+ - **Optional**: Run `validate-design $1` for interactive quality review
160
+ - Then `spec-tasks $1` to generate implementation tasks
161
+
162
+ **If Modifications Needed**:
163
+ - Provide feedback and re-run `spec-design $1`
164
+ - Existing design used as reference (merge mode)
165
+
166
+ **Note**: Design approval is mandatory before proceeding to task generation.
167
+ """
168
+
169
+ [spec-tasks]
170
+ description = "Generate implementation tasks for a specification"
171
+ prompt = """
172
+ # Implementation Tasks Generator
173
+
174
+ ## Parse Arguments
175
+ - Feature name: `$1`
176
+ - Auto-approve flag: `$2` (optional, "-y")
177
+ - Sequential mode flag: `$3` (optional, "--sequential")
178
+
179
+ ## Validate
180
+ Check that design has been completed:
181
+ - Verify `.red64/specs/$1/` exists
182
+ - Verify `.red64/specs/$1/design.md` exists
183
+
184
+ If validation fails, inform user to complete design phase first.
185
+
186
+ ## Core Task
187
+ Generate implementation tasks for feature **$1**.
188
+
189
+ ## File Patterns to Read
190
+ - `.red64/specs/$1/*.{json,md}`
191
+ - `.red64/steering/*.md`
192
+ - `.red64/settings/rules/tasks-generation.md`
193
+ - `.red64/settings/rules/tasks-parallel-analysis.md` (include only when sequential mode is false)
194
+ - `.red64/settings/templates/specs/tasks.md`
195
+
196
+ ## Execution
197
+ - Mode: generate or merge based on tasks.md existence
198
+ - Instruction highlights:
199
+ - Map all requirements to tasks and list requirement IDs only (comma-separated) without extra narration
200
+ - Promote single actionable sub-tasks to major tasks and keep container summaries concise
201
+ - Apply `(P)` markers only when parallel criteria met (omit in sequential mode)
202
+ - Mark optional acceptance-criteria-focused test coverage subtasks with `- [ ]*` only when deferrable post-MVP
203
+
204
+ ## Display Result
205
+
206
+ Show summary to user, then provide next step guidance:
207
+
208
+ ### Next Phase: Implementation
209
+
210
+ **Before Starting Implementation**:
211
+ - **IMPORTANT**: Clear conversation history and free up context before running `spec-impl`
212
+ - This applies when starting first task OR switching between tasks
213
+ - Fresh context ensures clean state and proper task focus
214
+
215
+ **If Tasks Approved**:
216
+ - Execute specific task: `spec-impl $1 1.1` (recommended: clear context between each task)
217
+ - Execute multiple tasks: `spec-impl $1 1.1,1.2` (use cautiously, clear context between tasks)
218
+ - Without arguments: `spec-impl $1` (executes all pending tasks - NOT recommended due to context bloat)
219
+
220
+ **If Modifications Needed**:
221
+ - Provide feedback and re-run `spec-tasks $1`
222
+ - Existing tasks used as reference (merge mode)
223
+
224
+ **Note**: The implementation phase will guide you through executing tasks with appropriate context and validation.
225
+ """
226
+
227
+ [spec-impl]
228
+ description = "Execute spec tasks using TDD methodology"
229
+ prompt = """
230
+ # Implementation Task Executor
231
+
232
+ ## Parse Arguments
233
+ - Feature name: `$1`
234
+ - Task numbers: `$2` (optional)
235
+ - Format: "1.1" (single task) or "1,2,3" (multiple tasks)
236
+ - If not provided: Execute all pending tasks
237
+
238
+ ## Validate
239
+ Check that tasks have been generated:
240
+ - Verify `.red64/specs/$1/` exists
241
+ - Verify `.red64/specs/$1/tasks.md` exists
242
+
243
+ If validation fails, inform user to complete tasks generation first.
244
+
245
+ ## Task Selection Logic
246
+
247
+ **Parse task numbers from `$2`**:
248
+ - If `$2` provided: Parse task numbers (e.g., "1.1", "1,2,3")
249
+ - Otherwise: Read `.red64/specs/$1/tasks.md` and find all unchecked tasks (`- [ ]`)
250
+
251
+ ## Core Task
252
+ Execute TDD implementation for feature **$1**.
253
+
254
+ ## File Patterns to Read
255
+ - `.red64/specs/$1/*.{json,md}`
256
+ - `.red64/steering/*.md`
257
+
258
+ ## TDD Mode
259
+ - strict (test-first)
260
+ - RED: Write failing tests
261
+ - GREEN: Write minimal code to pass
262
+ - REFACTOR: Improve code quality
263
+ - VERIFY: Run full test suite
264
+
265
+ ## Display Result
266
+
267
+ Show summary to user, then provide next step guidance:
268
+
269
+ ### Task Execution
270
+
271
+ **Execute specific task(s)**:
272
+ - `spec-impl $1 1.1` - Single task
273
+ - `spec-impl $1 1,2,3` - Multiple tasks
274
+
275
+ **Execute all pending**:
276
+ - `spec-impl $1` - All unchecked tasks
277
+
278
+ **Before Starting Implementation**:
279
+ - **IMPORTANT**: Clear conversation history and free up context before running `spec-impl`
280
+ - This applies when starting first task OR switching between tasks
281
+ - Fresh context ensures clean state and proper task focus
282
+ """
283
+
284
+ [spec-status]
285
+ description = "Show specification status and progress"
286
+ prompt = """
287
+ # Specification Status
288
+
289
+ <background_information>
290
+ - **Mission**: Display comprehensive status and progress for a specification
291
+ - **Success Criteria**:
292
+ - Show current phase and completion status
293
+ - Identify next actions and blockers
294
+ - Provide clear visibility into progress
295
+ </background_information>
296
+
297
+ <instructions>
298
+ ## Core Task
299
+ Generate status report for feature **$1** showing progress across all phases.
300
+
301
+ ## Execution Steps
302
+
303
+ ### Step 1: Load Spec Context
304
+ - Read `.red64/specs/$1/spec.json` for metadata and phase status
305
+ - Read existing files: `requirements.md`, `design.md`, `tasks.md` (if they exist)
306
+ - Check `.red64/specs/$1/` directory for available files
307
+
308
+ ### Step 2: Analyze Status
309
+
310
+ **Parse each phase**:
311
+ - **Requirements**: Count requirements and acceptance criteria
312
+ - **Design**: Check for architecture, components, diagrams
313
+ - **Tasks**: Count completed vs total tasks (parse `- [x]` vs `- [ ]`)
314
+ - **Approvals**: Check approval status in spec.json
315
+
316
+ ### Step 3: Generate Report
317
+
318
+ Create report in the language specified in spec.json covering:
319
+ 1. **Current Phase & Progress**: Where the spec is in the workflow
320
+ 2. **Completion Status**: Percentage complete for each phase
321
+ 3. **Task Breakdown**: If tasks exist, show completed/remaining counts
322
+ 4. **Next Actions**: What needs to be done next
323
+ 5. **Blockers**: Any issues preventing progress
324
+
325
+ ## Critical Constraints
326
+ - Use language from spec.json
327
+ - Calculate accurate completion percentages
328
+ - Identify specific next action commands
329
+ </instructions>
330
+
331
+ ## Output Description
332
+
333
+ Provide status report in the language specified in spec.json:
334
+
335
+ **Report Structure**:
336
+ 1. **Feature Overview**: Name, phase, last updated
337
+ 2. **Phase Status**: Requirements, Design, Tasks with completion %
338
+ 3. **Task Progress**: If tasks exist, show X/Y completed
339
+ 4. **Next Action**: Specific command to run next
340
+ 5. **Issues**: Any blockers or missing elements
341
+
342
+ **Format**: Clear, scannable format with status indicators for status
343
+
344
+ ## Safety & Fallback
345
+
346
+ ### Error Scenarios
347
+
348
+ **Spec Not Found**:
349
+ - **Message**: "No spec found for `$1`. Check available specs in `.red64/specs/`"
350
+ - **Action**: List available spec directories
351
+
352
+ **Incomplete Spec**:
353
+ - **Warning**: Identify which files are missing
354
+ - **Suggested Action**: Point to next phase command
355
+ """
356
+
357
+ [steering]
358
+ description = "Manage .red64/steering/ as persistent project knowledge"
359
+ prompt = """
360
+ # Red64 Steering Management
361
+
362
+ ## Mode Detection
363
+
364
+ **Perform detection before proceeding**:
365
+
366
+ Check `.red64/steering/` status:
367
+ - **Bootstrap Mode**: Empty OR missing core files (product.md, tech.md, structure.md)
368
+ - **Sync Mode**: All core files exist
369
+
370
+ ## Core Task
371
+ Manage steering files for project.
372
+
373
+ ## File Patterns to Read
374
+ - `.red64/steering/*.md` (if sync mode)
375
+ - `.red64/settings/templates/steering/*.md`
376
+ - `.red64/settings/rules/steering-principles.md`
377
+
378
+ ## Execution
379
+ - JIT Strategy: Fetch codebase files when needed, not upfront
380
+
381
+ ## Display Result
382
+
383
+ Show summary to user:
384
+
385
+ ### Bootstrap:
386
+ - Generated steering files: product.md, tech.md, structure.md
387
+ - Review and approve as Source of Truth
388
+
389
+ ### Sync:
390
+ - Updated steering files
391
+ - Code drift warnings
392
+ - Recommendations for custom steering
393
+
394
+ ## Notes
395
+
396
+ - All `.red64/steering/*.md` loaded as project memory
397
+ - Templates and principles are external for customization
398
+ - Focus on patterns, not catalogs
399
+ - "Golden Rule": New code following patterns shouldn't require steering updates
400
+ - Avoid documenting agent-specific tooling directories (e.g. `.cursor/`, `.gemini/`, `.claude/`)
401
+ - `.red64/settings/` content should NOT be documented in steering files (settings are metadata, not project knowledge)
402
+ - Light references to `.red64/specs/` and `.red64/steering/` are acceptable; avoid other `.red64/` directories
403
+ """
404
+
405
+ [steering-custom]
406
+ description = "Create custom steering documents for specialized project contexts"
407
+ prompt = """
408
+ # Red64 Custom Steering Creation
409
+
410
+ ## Interactive Workflow
411
+
412
+ This command starts an interactive process:
413
+ 1. Ask user for domain/topic
414
+ 2. Check for available templates
415
+ 3. Analyze codebase for relevant patterns
416
+ 4. Generate custom steering file
417
+
418
+ ## Core Task
419
+ Create custom steering file for project.
420
+
421
+ ## File Patterns to Read
422
+ - `.red64/settings/templates/steering-custom/*.md`
423
+ - `.red64/settings/rules/steering-principles.md`
424
+
425
+ ## Execution
426
+ - Interactive Mode: Ask user for domain/topic
427
+ - JIT Strategy: Analyze codebase for relevant patterns as needed
428
+
429
+ ## Display Result
430
+
431
+ Show summary to user:
432
+ - Custom steering file created
433
+ - Template used (if any)
434
+ - Codebase patterns analyzed
435
+ - Content overview
436
+
437
+ ## Available Templates
438
+
439
+ Available templates in `.red64/settings/templates/steering-custom/`:
440
+ - api-standards.md, testing.md, security.md, database.md
441
+ - error-handling.md, authentication.md, deployment.md
442
+
443
+ ## Notes
444
+
445
+ - Interact with user to understand needs
446
+ - Templates are starting points, customized for project
447
+ - All steering files loaded as project memory
448
+ - Avoid documenting agent-specific tooling directories (e.g. `.cursor/`, `.gemini/`, `.claude/`)
449
+ - `.red64/settings/` content should NOT be documented (it's metadata, not project knowledge)
450
+ - Light references to `.red64/specs/` and `.red64/steering/` are acceptable; avoid other `.red64/` directories
451
+ """
452
+
453
+ [validate-gap]
454
+ description = "Analyze implementation gap between requirements and existing codebase"
455
+ prompt = """
456
+ # Implementation Gap Validation
457
+
458
+ ## Parse Arguments
459
+ - Feature name: `$1`
460
+
461
+ ## Validate
462
+ Check that requirements have been completed:
463
+ - Verify `.red64/specs/$1/` exists
464
+ - Verify `.red64/specs/$1/requirements.md` exists
465
+
466
+ If validation fails, inform user to complete requirements phase first.
467
+
468
+ ## Core Task
469
+ Analyze implementation gap for feature **$1**.
470
+
471
+ ## File Patterns to Read
472
+ - `.red64/specs/$1/spec.json`
473
+ - `.red64/specs/$1/requirements.md`
474
+ - `.red64/steering/*.md`
475
+ - `.red64/settings/rules/gap-analysis.md`
476
+
477
+ ## Display Result
478
+
479
+ Show summary to user, then provide next step guidance:
480
+
481
+ ### Next Phase: Design Generation
482
+
483
+ **If Gap Analysis Complete**:
484
+ - Review gap analysis insights
485
+ - Run `spec-design $1` to create technical design document
486
+
487
+ **Note**: Gap analysis is optional but recommended for brownfield projects to inform design decisions.
488
+ """
489
+
490
+ [validate-design]
491
+ description = "Interactive technical design quality review and validation"
492
+ prompt = """
493
+ # Technical Design Validation
494
+
495
+ ## Parse Arguments
496
+ - Feature name: `$1`
497
+
498
+ ## Validate
499
+ Check that design has been completed:
500
+ - Verify `.red64/specs/$1/` exists
501
+ - Verify `.red64/specs/$1/design.md` exists
502
+
503
+ If validation fails, inform user to complete design phase first.
504
+
505
+ ## Core Task
506
+ Perform interactive design review for feature **$1**.
507
+
508
+ ## File Patterns to Read
509
+ - `.red64/specs/$1/spec.json`
510
+ - `.red64/specs/$1/requirements.md`
511
+ - `.red64/specs/$1/design.md`
512
+ - `.red64/steering/*.md`
513
+ - `.red64/settings/rules/design-review.md`
514
+
515
+ ## Display Result
516
+
517
+ Show summary to user, then provide next step guidance:
518
+
519
+ ### Next Phase: Task Generation
520
+
521
+ **If Design Passes Validation (GO Decision)**:
522
+ - Review feedback and apply changes if needed
523
+ - Run `spec-tasks $1` to generate implementation tasks
524
+
525
+ **If Design Needs Revision (NO-GO Decision)**:
526
+ - Address critical issues identified
527
+ - Re-run `spec-design $1` with improvements
528
+ - Re-validate with `validate-design $1`
529
+
530
+ **Note**: Design validation is recommended but optional. Quality review helps catch issues early.
531
+ """
532
+
533
+ [validate-impl]
534
+ description = "Validate implementation against requirements, design, and tasks"
535
+ prompt = """
536
+ # Implementation Validation
537
+
538
+ ## Parse Arguments
539
+ - Feature name: `$1` (optional)
540
+ - Task numbers: `$2` (optional)
541
+
542
+ ## Auto-Detection Logic
543
+
544
+ **If no arguments** (`$1` empty):
545
+ - Parse conversation history for `spec-impl <feature> [tasks]` patterns
546
+ - OR scan `.red64/specs/*/tasks.md` for `[x]` checkboxes
547
+ - Pass detected features and tasks
548
+
549
+ **If feature only** (`$1` present, `$2` empty):
550
+ - Read `.red64/specs/$1/tasks.md` and find all `[x]` checkboxes
551
+ - Pass feature and detected tasks
552
+
553
+ **If both provided** (`$1` and `$2` present):
554
+ - Pass directly without detection
555
+
556
+ ## Core Task
557
+ Validate implementation for feature **$1**.
558
+
559
+ ## File Patterns to Read
560
+ - `.red64/specs/{feature}/*.{json,md}`
561
+ - `.red64/steering/*.md`
562
+
563
+ ## Display Result
564
+
565
+ Show summary to user, then provide next step guidance:
566
+
567
+ ### Next Steps Guidance
568
+
569
+ **If GO Decision**:
570
+ - Implementation validated and ready
571
+ - Proceed to deployment or next feature
572
+
573
+ **If NO-GO Decision**:
574
+ - Address critical issues listed
575
+ - Re-run `spec-impl <feature> [tasks]` for fixes
576
+ - Re-validate with `validate-impl [feature] [tasks]`
577
+
578
+ **Note**: Validation is recommended after implementation to ensure spec alignment and quality.
579
+ """
580
+
581
+ [spec-quick]
582
+ description = "Quick spec generation with interactive or automatic mode"
583
+ prompt = """
584
+ # Quick Spec Generation
585
+
586
+ ## Core Task
587
+ Generate a complete specification quickly with minimal interaction.
588
+
589
+ ## Modes
590
+ - **Interactive**: Ask for confirmation at each phase
591
+ - **Automatic**: Run all phases with auto-approval
592
+
593
+ ## Workflow
594
+ 1. Initialize spec (spec-init)
595
+ 2. Generate requirements (spec-requirements)
596
+ 3. Create design (spec-design)
597
+ 4. Generate tasks (spec-tasks)
598
+
599
+ ## Usage
600
+ - `spec-quick "description"` - Interactive mode
601
+ - `spec-quick "description" -y` - Automatic mode (auto-approve all phases)
602
+
603
+ ## Notes
604
+ - Use for rapid prototyping or well-understood features
605
+ - For complex features, prefer the step-by-step workflow
606
+ - Review outputs even in automatic mode
607
+ """
@@ -0,0 +1,45 @@
1
+ # Red64 Spec-Driven Development
2
+
3
+ This project uses Red64 for AI-assisted spec-driven development with Gemini.
4
+
5
+ ## Project Context
6
+
7
+ ### Paths
8
+ - Steering: `.red64/steering/`
9
+ - Specs: `.red64/specs/`
10
+
11
+ ### Steering vs Specification
12
+
13
+ **Steering** (`.red64/steering/`) - Guide AI with project-wide rules and context
14
+ **Specs** (`.red64/specs/`) - Formalize development process for individual features
15
+
16
+ ### Active Specifications
17
+ - Check `.red64/specs/` for active specifications
18
+ - Use `spec-status [feature-name]` to check progress
19
+
20
+ ## Development Guidelines
21
+ - Think in English, generate responses in English. All Markdown content written to project files (e.g., requirements.md, design.md, tasks.md, research.md, validation reports) MUST be written in the target language configured for this specification (see spec.json.language).
22
+
23
+ ## Minimal Workflow
24
+ - Phase 0 (optional): `steering`, `steering-custom`
25
+ - Phase 1 (Specification):
26
+ - `spec-init "description"`
27
+ - `spec-requirements {feature}`
28
+ - `validate-gap {feature}` (optional: for existing codebase)
29
+ - `spec-design {feature}`
30
+ - `validate-design {feature}` (optional: design review)
31
+ - `spec-tasks {feature}`
32
+ - Phase 2 (Implementation): `spec-impl {feature} [tasks]`
33
+ - `validate-impl {feature}` (optional: after implementation)
34
+ - Progress check: `spec-status {feature}` (use anytime)
35
+
36
+ ## Development Rules
37
+ - 3-phase approval workflow: Requirements → Design → Tasks → Implementation
38
+ - Human review required each phase
39
+ - Keep steering current and verify alignment with `spec-status`
40
+ - Follow the user's instructions precisely, and within that scope act autonomously
41
+
42
+ ## Steering Configuration
43
+ - Load entire `.red64/steering/` as project memory
44
+ - Default files: `product.md`, `tech.md`, `structure.md`
45
+ - Custom files are supported (managed via `steering-custom`)
@@ -0,0 +1,27 @@
1
+ # Product Overview
2
+
3
+ ## Project: {{projectName}}
4
+
5
+ {{description}}
6
+
7
+ ## Core Capabilities
8
+
9
+ [3-5 key capabilities, not exhaustive features]
10
+
11
+ - [Capability 1]
12
+ - [Capability 2]
13
+ - [Capability 3]
14
+
15
+ ## Target Use Cases
16
+
17
+ [Primary scenarios this product addresses]
18
+
19
+ 1. [Use case 1]
20
+ 2. [Use case 2]
21
+
22
+ ## Value Proposition
23
+
24
+ [What makes this product unique or valuable]
25
+
26
+ ---
27
+ _Focus on patterns and purpose, not exhaustive feature lists_