@guanlin4924/devflow-pi 0.1.93 → 0.1.95

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 (369) hide show
  1. package/README.md +10 -10
  2. package/node_modules/@playwright/test/LICENSE +202 -0
  3. package/node_modules/@playwright/test/NOTICE +5 -0
  4. package/node_modules/@playwright/test/README.md +318 -0
  5. package/node_modules/@playwright/test/cli.js +19 -0
  6. package/node_modules/@playwright/test/index.d.ts +18 -0
  7. package/node_modules/@playwright/test/index.js +17 -0
  8. package/node_modules/@playwright/test/index.mjs +18 -0
  9. package/node_modules/@playwright/test/package.json +35 -0
  10. package/node_modules/@playwright/test/reporter.d.ts +17 -0
  11. package/node_modules/@playwright/test/reporter.js +17 -0
  12. package/node_modules/@playwright/test/reporter.mjs +17 -0
  13. package/node_modules/playwright/LICENSE +202 -0
  14. package/node_modules/playwright/NOTICE +5 -0
  15. package/node_modules/playwright/README.md +318 -0
  16. package/node_modules/playwright/ThirdPartyNotices.txt +14 -0
  17. package/node_modules/playwright/cli.js +19 -0
  18. package/node_modules/playwright/index.d.ts +17 -0
  19. package/node_modules/playwright/index.js +17 -0
  20. package/node_modules/playwright/index.mjs +18 -0
  21. package/node_modules/playwright/jsx-runtime.js +42 -0
  22. package/node_modules/playwright/jsx-runtime.mjs +21 -0
  23. package/node_modules/playwright/lib/agents/agentParser.js +89 -0
  24. package/node_modules/playwright/lib/agents/copilot-setup-steps.yml +34 -0
  25. package/node_modules/playwright/lib/agents/generateAgents.js +395 -0
  26. package/node_modules/playwright/lib/agents/playwright-test-coverage.prompt.md +31 -0
  27. package/node_modules/playwright/lib/agents/playwright-test-generate.prompt.md +8 -0
  28. package/node_modules/playwright/lib/agents/playwright-test-generator.agent.md +88 -0
  29. package/node_modules/playwright/lib/agents/playwright-test-heal.prompt.md +6 -0
  30. package/node_modules/playwright/lib/agents/playwright-test-healer.agent.md +56 -0
  31. package/node_modules/playwright/lib/agents/playwright-test-plan.prompt.md +9 -0
  32. package/node_modules/playwright/lib/agents/playwright-test-planner.agent.md +74 -0
  33. package/node_modules/playwright/lib/cli/reportActions.js +78 -0
  34. package/node_modules/playwright/lib/cli/testActions.js +214 -0
  35. package/node_modules/playwright/lib/common/index.js +2923 -0
  36. package/node_modules/playwright/lib/common/index.js.txt +34 -0
  37. package/node_modules/playwright/lib/errorContext.js +129 -0
  38. package/node_modules/playwright/lib/globals.js +58 -0
  39. package/node_modules/playwright/lib/index.js +815 -0
  40. package/node_modules/playwright/lib/isomorphic.js +260 -0
  41. package/node_modules/playwright/lib/isomorphic.js.txt +9 -0
  42. package/node_modules/playwright/lib/loader/loaderProcessEntry.js +34 -0
  43. package/node_modules/playwright/lib/loader/loaderProcessEntry.js.txt +9 -0
  44. package/node_modules/playwright/lib/matchers/expect.js +13490 -0
  45. package/node_modules/playwright/lib/matchers/expect.js.LICENSE +640 -0
  46. package/node_modules/playwright/lib/matchers/expect.js.txt +67 -0
  47. package/node_modules/playwright/lib/mcp/test/browserBackend.js +135 -0
  48. package/node_modules/playwright/lib/mcp/test/generatorTools.js +122 -0
  49. package/node_modules/playwright/lib/mcp/test/plannerTools.js +150 -0
  50. package/node_modules/playwright/lib/mcp/test/seed.js +82 -0
  51. package/node_modules/playwright/lib/mcp/test/streams.js +44 -0
  52. package/node_modules/playwright/lib/mcp/test/testBackend.js +99 -0
  53. package/node_modules/playwright/lib/mcp/test/testContext.js +306 -0
  54. package/node_modules/playwright/lib/mcp/test/testTool.js +30 -0
  55. package/node_modules/playwright/lib/mcp/test/testTools.js +98 -0
  56. package/node_modules/playwright/lib/package.js +47 -0
  57. package/node_modules/playwright/lib/program.js +241 -0
  58. package/node_modules/playwright/lib/runner/index.js +8527 -0
  59. package/node_modules/playwright/lib/runner/index.js.txt +61 -0
  60. package/node_modules/playwright/lib/transform/babelBundle.js +72274 -0
  61. package/node_modules/playwright/lib/transform/babelBundle.js.LICENSE +2384 -0
  62. package/node_modules/playwright/lib/transform/babelBundle.js.txt +325 -0
  63. package/node_modules/playwright/lib/transform/esmLoader.js +8054 -0
  64. package/node_modules/playwright/lib/transform/esmLoader.js.LICENSE +355 -0
  65. package/node_modules/playwright/lib/transform/esmLoader.js.txt +60 -0
  66. package/node_modules/playwright/lib/util.js +373 -0
  67. package/node_modules/playwright/lib/worker/workerProcessEntry.js +1861 -0
  68. package/node_modules/playwright/lib/worker/workerProcessEntry.js.txt +19 -0
  69. package/node_modules/playwright/package.json +55 -0
  70. package/node_modules/playwright/test.d.ts +18 -0
  71. package/node_modules/playwright/test.js +24 -0
  72. package/node_modules/playwright/test.mjs +35 -0
  73. package/node_modules/playwright/types/test.d.ts +11074 -0
  74. package/node_modules/playwright/types/testReporter.d.ts +950 -0
  75. package/node_modules/playwright-core/LICENSE +202 -0
  76. package/node_modules/playwright-core/NOTICE +5 -0
  77. package/node_modules/playwright-core/README.md +3 -0
  78. package/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
  79. package/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
  80. package/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
  81. package/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
  82. package/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
  83. package/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
  84. package/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
  85. package/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
  86. package/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
  87. package/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
  88. package/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
  89. package/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
  90. package/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
  91. package/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
  92. package/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
  93. package/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
  94. package/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
  95. package/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
  96. package/node_modules/playwright-core/browsers.json +52 -0
  97. package/node_modules/playwright-core/cli.js +21 -0
  98. package/node_modules/playwright-core/index.d.ts +17 -0
  99. package/node_modules/playwright-core/index.js +17 -0
  100. package/node_modules/playwright-core/index.mjs +28 -0
  101. package/node_modules/playwright-core/lib/bootstrap.js +88 -0
  102. package/node_modules/playwright-core/lib/coreBundle.js +75813 -0
  103. package/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
  104. package/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
  105. package/node_modules/playwright-core/lib/entry/mcp.js +10 -0
  106. package/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
  107. package/node_modules/playwright-core/lib/package.js +50 -0
  108. package/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  109. package/node_modules/playwright-core/lib/server/electron/loader.js +116 -0
  110. package/node_modules/playwright-core/lib/serverRegistry.js +1939 -0
  111. package/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +65 -0
  112. package/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
  113. package/node_modules/playwright-core/lib/tools/cli-client/cli.js +6 -0
  114. package/node_modules/playwright-core/lib/tools/cli-client/help.json +721 -0
  115. package/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
  116. package/node_modules/playwright-core/lib/tools/cli-client/output.js +351 -0
  117. package/node_modules/playwright-core/lib/tools/cli-client/program.js +418 -0
  118. package/node_modules/playwright-core/lib/tools/cli-client/registry.js +180 -0
  119. package/node_modules/playwright-core/lib/tools/cli-client/session.js +259 -0
  120. package/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
  121. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/SKILL.md +425 -0
  122. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/element-attributes.md +23 -0
  123. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/playwright-tests.md +39 -0
  124. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/request-mocking.md +87 -0
  125. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/running-code.md +241 -0
  126. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/session-management.md +225 -0
  127. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/storage-state.md +275 -0
  128. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/test-generation.md +433 -0
  129. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/tracing.md +139 -0
  130. package/node_modules/playwright-core/lib/tools/skills/playwright-cli/references/video-recording.md +143 -0
  131. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/SKILL.md +136 -0
  132. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
  133. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/migration.md +89 -0
  134. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/react.md +69 -0
  135. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/typing.md +173 -0
  136. package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/vue.md +77 -0
  137. package/node_modules/playwright-core/lib/tools/skills/playwright-trace/SKILL.md +174 -0
  138. package/node_modules/playwright-core/lib/tools/utils/extension.js +112 -0
  139. package/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
  140. package/node_modules/playwright-core/lib/utilsBundle.js +85357 -0
  141. package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +1890 -0
  142. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
  143. package/node_modules/playwright-core/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
  144. package/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
  145. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
  146. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
  147. package/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
  148. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
  149. package/node_modules/playwright-core/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
  150. package/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
  151. package/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
  152. package/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
  153. package/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
  154. package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -0
  155. package/node_modules/playwright-core/lib/vite/htmlReport/report.js +32 -0
  156. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
  157. package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-CVQWJZAA.js +32 -0
  158. package/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  159. package/node_modules/playwright-core/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
  160. package/node_modules/playwright-core/lib/vite/recorder/assets/index-hrlLqLtq.js +129 -0
  161. package/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
  162. package/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
  163. package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BbkfBe3n.js +32 -0
  164. package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js +182 -0
  165. package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
  166. package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-DywYcAf8.js +7 -0
  167. package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
  168. package/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  169. package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.Bqk9acqE.css +1 -0
  170. package/node_modules/playwright-core/lib/vite/traceViewer/index.B4cLoZK3.js +1 -0
  171. package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
  172. package/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
  173. package/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
  174. package/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
  175. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
  176. package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
  177. package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +4 -0
  178. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CU5KtEkS.js +5 -0
  179. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
  180. package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
  181. package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
  182. package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
  183. package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
  184. package/node_modules/playwright-core/lib/xdg-open +1267 -0
  185. package/node_modules/playwright-core/package.json +34 -0
  186. package/node_modules/playwright-core/types/protocol.d.ts +24645 -0
  187. package/node_modules/playwright-core/types/structs.d.ts +52 -0
  188. package/node_modules/playwright-core/types/types.d.ts +26632 -0
  189. package/package.json +12 -2
  190. package/plugins/devflow-core/extensions/devflow-core.ts +518 -40
  191. package/plugins/devflow-core/runtime/hooks/context_sync_gate.py +3 -3
  192. package/plugins/devflow-core/runtime/hooks/hook_common.py +334 -11
  193. package/plugins/devflow-core/runtime/hooks/index_gate.py +29 -16
  194. package/plugins/devflow-core/runtime/hooks/start.py +13 -13
  195. package/plugins/devflow-core/skills/wireframe-proposal/SKILL.md +2 -2
  196. package/plugins/devflow-core/skills/wireframe-validate/SKILL.md +4 -4
  197. package/plugins/devflow-core/skills/workflow-orchestrator/SKILL.md +19 -19
  198. package/plugins/devflow-core/skills/workflow-orchestrator/agents/openai.yaml +2 -2
  199. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/acceptance_test_runner.py +412 -76
  200. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/advance_state.rb +60 -9
  201. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/api_test_matrix.py +2 -2
  202. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/approval_pins.py +433 -0
  203. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/approval_store.py +137 -0
  204. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/architecture_assessment.rb +1 -1
  205. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/architecture_brief.rb +1 -1
  206. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/architecture_feasibility.rb +1 -1
  207. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_invalidation.rb +5 -5
  208. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_model_commit.rb +4 -4
  209. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_model_validate.py +1 -1
  210. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/business_source_resolver.rb +4 -4
  211. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/checker_adapter.rb +7 -7
  212. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/control_io.rb +51 -7
  213. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/cross_track_consistency_check.rb +1 -1
  214. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/dsl_coverage.py +87 -0
  215. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/dsl_v1.py +318 -0
  216. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/environment_profile.py +134 -0
  217. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/execution_contract.rb +7 -6
  218. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/execution_surface.py +138 -0
  219. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/gate_runtime.rb +3 -3
  220. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_state.rb +5 -5
  221. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_workflow.rb +5 -5
  222. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/inspect_state.rb +13 -13
  223. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/machine_evidence.rb +3 -3
  224. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/manage_lessons.rb +7 -7
  225. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/parallel_recover.rb +2 -2
  226. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/parallel_run.rb +3 -3
  227. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/phase_ownership.rb +6 -6
  228. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/playwright_adapter.py +515 -0
  229. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/repair_control_plane.rb +1 -1
  230. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/requirement_coverage.rb +1 -1
  231. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/requirement_graph.rb +3 -3
  232. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/review_preflight.py +3 -3
  233. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/review_run.py +18 -18
  234. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/runtime_context_collector.rb +3 -3
  235. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/session_rollover.rb +4 -4
  236. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/static_runtime_context_collector.rb +2 -2
  237. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/sync_artifacts.rb +5 -5
  238. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/tc_hash.py +132 -0
  239. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/tdd_evidence.py +3 -3
  240. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/test_command_policy.py +104 -10
  241. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/test_task_binding_check.py +3 -3
  242. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/update_triage_route.rb +3 -3
  243. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/validate_state.rb +19 -6
  244. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/wireframe_commit.rb +5 -5
  245. package/plugins/devflow-core/skills/workflow-orchestrator/scripts/wireframe_validate.py +1 -1
  246. package/plugins/devflow-core/skills/workflow-orchestrator/templates/acceptance-remediation.yaml +12 -12
  247. package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +201 -222
  248. package/plugins/devflow-core/skills/workflow-pipeline/SKILL.md +6 -4
  249. package/plugins/devflow-core/skills/workflow-pipeline/references/pipeline-flow.md +68 -140
  250. package/plugins/devflow-core/skills/workflow-project-context/SKILL.md +14 -14
  251. package/plugins/devflow-core/skills/workflow-project-context/assets/agents-md-template.md +7 -7
  252. package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-backend-spec-template.md +4 -4
  253. package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-frontend-spec-template.md +4 -4
  254. package/plugins/devflow-core/skills/workflow-project-context/assets/codebase-navigation-template.md +1 -1
  255. package/plugins/devflow-core/skills/workflow-project-context/assets/context-domain-index-template.md +4 -4
  256. package/plugins/devflow-core/skills/workflow-project-context/assets/context-spec-index-template.md +10 -10
  257. package/plugins/devflow-core/skills/workflow-project-context/assets/execution-contract-template.md +2 -2
  258. package/plugins/devflow-core/skills/workflow-project-context/assets/navigation-index-template.md +18 -18
  259. package/plugins/devflow-core/skills/workflow-project-context/assets/project-initialization-template.md +32 -32
  260. package/plugins/devflow-core/skills/workflow-project-context/assets/rules-index-template.md +30 -30
  261. package/plugins/devflow-core/skills/workflow-project-context/assets/state-template.md +7 -7
  262. package/plugins/devflow-core/skills/workflow-project-context/references/navigation-guide.md +37 -37
  263. package/plugins/devflow-core/skills/workflow-project-context/scripts/validate_initialization.py +16 -16
  264. package/plugins/devflow-core/skills/workflow-project-context/scripts/validate_initialization_database.py +1 -1
  265. package/plugins/devflow-design/skills/workflow-api-call-guide/SKILL.md +4 -4
  266. package/plugins/devflow-design/skills/workflow-api-contract/SKILL.md +8 -8
  267. package/plugins/devflow-design/skills/workflow-api-supplement/SKILL.md +5 -5
  268. package/plugins/devflow-design/skills/workflow-architecture-feasibility/SKILL.md +1 -1
  269. package/plugins/devflow-design/skills/workflow-backend-tech-spec/SKILL.md +39 -39
  270. package/plugins/devflow-design/skills/workflow-backend-tech-spec/assets/backend-spec-template.md +10 -10
  271. package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/affected-module-exploration.md +2 -2
  272. package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/code-explore-guide.md +1 -1
  273. package/plugins/devflow-design/skills/workflow-backend-tech-spec/references/project-rule-contract.md +20 -20
  274. package/plugins/devflow-design/skills/workflow-design-rule-pack/SKILL.md +8 -8
  275. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/index.md +3 -3
  276. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/accessibility.md +2 -2
  277. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/component-library.md +2 -2
  278. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/design-systems.md +1 -1
  279. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/responsive-grid.md +2 -2
  280. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/stack-guidelines.md +6 -6
  281. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/recommendations/ux-patterns.md +2 -2
  282. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tokens/project-tokens.md +1 -1
  283. package/plugins/devflow-design/skills/workflow-design-rule-pack/assets/design/tools/ui-ux-pro-max/SKILL.md +12 -12
  284. package/plugins/devflow-design/skills/workflow-design-rule-pack/scripts/install.py +2 -2
  285. package/plugins/devflow-design/skills/workflow-feature-breakdown/SKILL.md +30 -30
  286. package/plugins/devflow-design/skills/workflow-feature-breakdown/assets/output-template.md +2 -2
  287. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/SKILL.md +41 -41
  288. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/assets/frontend-spec-template.md +15 -15
  289. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/affected-module-exploration.md +2 -2
  290. package/plugins/devflow-design/skills/workflow-frontend-tech-spec/references/project-rule-contract.md +25 -25
  291. package/plugins/devflow-design/skills/workflow-integration-verify/SKILL.md +13 -13
  292. package/plugins/devflow-design/skills/workflow-ui-spec/SKILL.md +23 -23
  293. package/plugins/devflow-design/skills/workflow-ui-spec/assets/ui-spec-template.md +3 -3
  294. package/plugins/devflow-implementation/agents/implementation-worker.md +2 -2
  295. package/plugins/devflow-implementation/skills/workflow-bug-fix/SKILL.md +9 -9
  296. package/plugins/devflow-implementation/skills/workflow-bug-fix/references/lesson-format.md +2 -2
  297. package/plugins/devflow-implementation/skills/workflow-bug-fix/references/root-cause-ladder.md +1 -1
  298. package/plugins/devflow-implementation/skills/workflow-change-plan/SKILL.md +17 -17
  299. package/plugins/devflow-implementation/skills/workflow-change-plan/references/code-conventions.md +1 -1
  300. package/plugins/devflow-implementation/skills/workflow-change-plan/references/output-template.md +3 -3
  301. package/plugins/devflow-implementation/skills/workflow-change-plan/references/project-rule-contract.md +16 -16
  302. package/plugins/devflow-implementation/skills/workflow-execute-phase/SKILL.md +38 -38
  303. package/plugins/devflow-implementation/skills/workflow-execute-phase/references/execute-phase.md +4 -2
  304. package/plugins/devflow-intel/agents/project-scout.md +1 -1
  305. package/plugins/devflow-intel/extensions/devflow-intel.ts +20 -19
  306. package/plugins/devflow-intel/skills/code-index-query/SKILL.md +6 -6
  307. package/plugins/devflow-intel/skills/workflow-code-index/SKILL.md +12 -12
  308. package/plugins/devflow-intel/skills/workflow-code-index/references/discovery.md +2 -2
  309. package/plugins/devflow-intel/skills/workflow-code-index/references/query-guide.md +1 -1
  310. package/plugins/devflow-intel/skills/workflow-code-index/scripts/code_index.py +31 -12
  311. package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/discovery.py +2 -2
  312. package/plugins/devflow-intel/skills/workflow-code-index/scripts/core/scanner.py +4 -1
  313. package/plugins/devflow-intel/skills/workflow-code-index/scripts/validators/project_binding_check.py +4 -4
  314. package/plugins/devflow-intel/skills/workflow-context-sync/SKILL.md +14 -14
  315. package/plugins/devflow-intel/skills/workflow-context-sync/scripts/context_sync_cursor.py +2 -2
  316. package/plugins/devflow-intel/skills/workflow-update-navigation/SKILL.md +26 -26
  317. package/plugins/devflow-intel/skills/workflow-update-navigation/references/incremental-update-guide.md +2 -2
  318. package/plugins/devflow-quality/runtime/playwright/devflow-test-dsl-v1.schema.json +872 -0
  319. package/plugins/devflow-quality/runtime/playwright/playwright.config.mjs +46 -0
  320. package/plugins/devflow-quality/runtime/playwright/reporter.mjs +311 -0
  321. package/plugins/devflow-quality/runtime/playwright/runner.spec.mjs +1308 -0
  322. package/plugins/devflow-quality/runtime/playwright/runtime-manifest.json +11 -0
  323. package/plugins/devflow-quality/skills/code-review/SKILL.md +12 -12
  324. package/plugins/devflow-quality/skills/code-review/references/spec-checklist.md +1 -1
  325. package/plugins/devflow-quality/skills/workflow-acceptance-test-design/SKILL.md +11 -8
  326. package/plugins/devflow-quality/skills/workflow-gen-test-guide/SKILL.md +6 -6
  327. package/plugins/devflow-quality/skills/workflow-gen-test-guide/legacy/SKILL.md +14 -14
  328. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/SKILL.md +82 -69
  329. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/api-mainflow-rules.md +20 -15
  330. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/codebase-discovery.md +12 -10
  331. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/intermediate-format.md +115 -192
  332. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/mainflow-selection.md +27 -23
  333. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/project-dsl-contract.md +78 -153
  334. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/references/ui-mainflow-rules.md +36 -83
  335. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/compile_dsl.py +497 -556
  336. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/discover_codebases.py +2 -2
  337. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/export_legacy_testagent.py +647 -0
  338. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/normalize_case_payloads.py +10 -3
  339. package/plugins/devflow-quality/skills/workflow-generate-mainflow-cases/scripts/validate_case_payloads.py +165 -275
  340. package/plugins/devflow-quality/skills/workflow-human-acceptance/SKILL.md +61 -0
  341. package/plugins/devflow-quality/skills/workflow-release-closeout/SKILL.md +18 -18
  342. package/plugins/devflow-quality/skills/workflow-run-acceptance-tests/SKILL.md +20 -14
  343. package/plugins/devflow-requirements/skills/requirement-feasibility-review/SKILL.md +1 -1
  344. package/plugins/devflow-requirements/skills/workflow-demand-clarify/SKILL.md +10 -10
  345. package/plugins/devflow-requirements/skills/workflow-domain-modeling/SKILL.md +25 -25
  346. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/SKILL.md +49 -49
  347. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/assets/baseline-template.md +22 -22
  348. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/antipatterns.md +3 -3
  349. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/challenge-review-guide.md +3 -3
  350. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/project-context-guide.md +11 -11
  351. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/questioning.md +1 -1
  352. package/plugins/devflow-requirements/skills/workflow-requirement-baseline/references/requirement-review-checklist.md +4 -4
  353. package/plugins/devflow-requirements/skills/workflow-requirement-triage/SKILL.md +16 -16
  354. package/plugins/devflow-requirements/skills/workflow-wayfinder/SKILL.md +6 -6
  355. package/src/approval-store.ts +340 -0
  356. package/src/cli.ts +15 -0
  357. package/src/constants.ts +1 -1
  358. package/src/doctor.ts +259 -2
  359. package/src/initialization-store.ts +51 -3
  360. package/src/paths.ts +12 -1
  361. package/src/project-context.ts +60 -15
  362. package/src/project-documents.ts +61 -61
  363. package/src/project-initializer.ts +9 -8
  364. package/src/project-layout.ts +217 -0
  365. package/src/runtime.ts +3 -3
  366. package/templates/commands/start.md +4 -4
  367. package/templates/omp/AGENTS.md +1 -1
  368. package/templates/omp/hook-config.json +13 -7
  369. package/templates/omp/index-policy.json +8 -8
@@ -12,26 +12,26 @@ argument-hint: <功能名>
12
12
  user-invocable: true
13
13
  pattern: generator+tool-wrapper
14
14
  inputs:
15
- - .planning/features/{功能名}/api-contract.md
16
- - .planning/features/{功能名}/architecture-brief.md
17
- - .planning/features/{功能名}/architecture-brief.meta.json
18
- - .planning/requirements/baseline.md
19
- - .planning/features/{功能名}/功能点梳理.md (optional, Track B context when already available)
20
- - .planning/PROJECT.md
21
- - .planning/navigation/INDEX.md
22
- - .planning/rules/INDEX.md
23
- - .planning/execution-contract.md
24
- - .planning/toolchain.md
25
- - .planning/lessons/README.md
26
- - .context/spec/index.md
27
- - .context/spec/stacks/
28
- - .context/spec/backend/index.md
29
- - .context/spec/backend/
30
- - .context/workflow/
31
- - .context/lessons/README.md(如存在)
32
- - .planning/milestones/
15
+ - .devflow/planning/features/{功能名}/api-contract.md
16
+ - .devflow/planning/features/{功能名}/architecture-brief.md
17
+ - .devflow/planning/features/{功能名}/architecture-brief.meta.json
18
+ - .devflow/planning/requirements/baseline.md
19
+ - .devflow/planning/features/{功能名}/功能点梳理.md (optional, Track B context when already available)
20
+ - .devflow/planning/PROJECT.md
21
+ - .devflow/planning/navigation/INDEX.md
22
+ - .devflow/planning/rules/INDEX.md
23
+ - .devflow/planning/execution-contract.md
24
+ - .devflow/planning/toolchain.md
25
+ - .devflow/planning/lessons/README.md
26
+ - .devflow/context/spec/index.md
27
+ - .devflow/context/spec/stacks/
28
+ - .devflow/context/spec/backend/index.md
29
+ - .devflow/context/spec/backend/
30
+ - .devflow/context/workflow/
31
+ - .devflow/context/lessons/README.md(如存在)
32
+ - .devflow/planning/milestones/
33
33
  - references/affected-module-exploration.md
34
- output: .planning/features/{功能名}/后端技术方案.md
34
+ output: .devflow/planning/features/{功能名}/后端技术方案.md
35
35
  allowed-tools:
36
36
  - Read
37
37
  - Write
@@ -46,7 +46,7 @@ allowed-tools:
46
46
 
47
47
  ## 需求追溯硬约束
48
48
 
49
- 读取 `.planning/requirements/{feature}/traceability.json`。每个设计章节必须列 `覆盖 REQ: REQ-*`;定时任务、批处理、导入和通知至少拆为“编排(扫描/触发/锁/重试)”与“业务算法(判定/计算/写入)”两个可独立验证的小节。不得把遍历全部活跃组织、发送通知、文件解析等编排事实藏在算法描述中。
49
+ 读取 `.devflow/planning/requirements/{feature}/traceability.json`。每个设计章节必须列 `覆盖 REQ: REQ-*`;定时任务、批处理、导入和通知至少拆为“编排(扫描/触发/锁/重试)”与“业务算法(判定/计算/写入)”两个可独立验证的小节。不得把遍历全部活跃组织、发送通知、文件解析等编排事实藏在算法描述中。
50
50
 
51
51
  当架构简报包含 `analytics_query`、`analytics_projection`、`METRIC-*` 或 `RM-*` 时,后端方案额外必须分别写明:业务事实源;指标粒度/纳入排除/时区与修正;读模型或直接聚合路径;索引/扫描范围;新鲜度;watermark/迟到数据;重建与对账。不得把统计 SQL 混进事务命令,或以“后续补统计”跳过这些字段。
52
52
 
@@ -67,17 +67,17 @@ allowed-tools:
67
67
 
68
68
  ### 第一阶段:理解需求
69
69
 
70
- 1. 读取 `.planning/requirements/baseline.md` 理解需求
71
- 2. 读取 `.planning/PROJECT.md` 了解项目上下文
72
- 3. 如果 baseline.md 不存在,询问用户需求或在 `.planning/milestones/` 中查找相关历史
73
- 4. 读取 `references/project-rule-contract.md`,按 Spec Read Contract 发现并加载目标项目的后端规则包:`.planning/rules/INDEX.md` → `.context/spec/index.md` → 命中的 stack spec → 命中的 backend codebase spec → navigation → code-index(如存在且需要关系事实)→ 源码
70
+ 1. 读取 `.devflow/planning/requirements/baseline.md` 理解需求
71
+ 2. 读取 `.devflow/planning/PROJECT.md` 了解项目上下文
72
+ 3. 如果 baseline.md 不存在,询问用户需求或在 `.devflow/planning/milestones/` 中查找相关历史
73
+ 4. 读取 `references/project-rule-contract.md`,按 Spec Read Contract 发现并加载目标项目的后端规则包:`.devflow/planning/rules/INDEX.md` → `.devflow/context/spec/index.md` → 命中的 stack spec → 命中的 backend codebase spec → navigation → code-index(如存在且需要关系事实)→ 源码
74
74
  5. 读取 `references/code-explore-guide.md`,按项目导航和规则包做通用后端探索
75
75
  6. 读取 baseline 的 `反向审视与用户拍板`、`待确认事项`、`下游输入契约`:
76
76
  - 已确认的冲突/复用/替代方案决策必须进入技术方案
77
77
  - 影响 scope、语义、归属、兼容性或实现成本的未确认项,不得被当成已确认需求
78
78
  - 若未确认项阻塞后端方案,询问用户;`--auto` 或无法询问时写入待确认事项和风险
79
- 7. 读取 `.planning/features/{功能名}/api-contract.md`。在双轨模式下,后端方案必须以 API 契约和需求基线作为权威输入,不得等待 Track B 的 `功能点梳理.md` 才开始。
80
- 8. 读取 `.planning/features/{功能名}/architecture-brief.md` 和 `.meta.json`,在文档开头记录消费的 `brief_revision`、`graph_revision` 和 `static_context_snapshot_revision`。`comparison_status=confirmed` 的选择可作为实现依据;其他状态只能作为风险或待确认前提,不得把 recommendation 写成已决定实现。若 `assessment_level=full` 但未 confirmed,停止并回到架构评估。
79
+ 7. 读取 `.devflow/planning/features/{功能名}/api-contract.md`。在双轨模式下,后端方案必须以 API 契约和需求基线作为权威输入,不得等待 Track B 的 `功能点梳理.md` 才开始。
80
+ 8. 读取 `.devflow/planning/features/{功能名}/architecture-brief.md` 和 `.meta.json`,在文档开头记录消费的 `brief_revision`、`graph_revision` 和 `static_context_snapshot_revision`。`comparison_status=confirmed` 的选择可作为实现依据;其他状态只能作为风险或待确认前提,不得把 recommendation 写成已决定实现。若 `assessment_level=full` 但未 confirmed,停止并回到架构评估。
81
81
  9. 若 `功能点梳理.md` 已存在,可作为测试可读上下文补充读取;若不存在,不阻塞 Track A。
82
82
  10. 若 baseline、api-contract 或 `功能点梳理.md` 包含 `SL-*` 切片计划,读取 `skill://workflow-pipeline/references/slice-safety-guide.md`,只为当前执行切片生成后端方案。后置切片只可作为依赖上下文或后续范围,不得生成库表、接口、任务或运行时设计。
83
83
 
@@ -86,9 +86,9 @@ allowed-tools:
86
86
  在设计前,探索相关实现:
87
87
 
88
88
  1. **读取 PROJECT.md 的 Project Layout 章节**,确定后端代码所在目录
89
- 2. 按 `references/project-rule-contract.md` 的顺序读取项目规则包,优先使用 `.planning/rules/INDEX.md` 和 `.context/spec/index.md` 匹配 stack/codebase spec,兼容 `.context/spec/`、`.context/workflow/`、`.context/lessons/` 和根目录 `AGENTS.md` / `CLAUDE.md`
90
- 3. 读取 `.planning/navigation/INDEX.md` → 筛选后端/服务类型代码库 → 加载对应 `{name}.md` 导航文件,按目标项目实际结构识别领域/模型、服务、持久化、接口、任务、集成、配置和迁移入口
91
- 4. 若 `.planning/code-index/` 存在,用 Symbol Index 和 Relation Graph 查询相关入口、调用链、读写资源、测试和外部集成候选;读取 `evidence_path:evidence_line` 后再写现状结论
89
+ 2. 按 `references/project-rule-contract.md` 的顺序读取项目规则包,优先使用 `.devflow/planning/rules/INDEX.md` 和 `.devflow/context/spec/index.md` 匹配 stack/codebase spec,兼容 `.devflow/context/spec/`、`.devflow/context/workflow/`、`.devflow/context/lessons/` 和根目录 `AGENTS.md` / `CLAUDE.md`
90
+ 3. 读取 `.devflow/planning/navigation/INDEX.md` → 筛选后端/服务类型代码库 → 加载对应 `{name}.md` 导航文件,按目标项目实际结构识别领域/模型、服务、持久化、接口、任务、集成、配置和迁移入口
91
+ 4. 若 `.devflow/planning/code-index/` 存在,用 Symbol Index 和 Relation Graph 查询相关入口、调用链、读写资源、测试和外部集成候选;读取 `evidence_path:evidence_line` 后再写现状结论
92
92
  5. **现有功能复用检查**:编写任何新逻辑前,必须先在项目中搜索是否已有相同或相似功能的实现。优先使用 code-index 查询 symbols/relations;缺失或过期时再按导航和 `rg` 兜底。搜索范围包括:
93
93
  - `pkg/` 目录(已有外部集成封装,如支付、红包、短信、二维码等)
94
94
  - Service 层(已有业务能力)
@@ -160,12 +160,12 @@ allowed-tools:
160
160
 
161
161
  ### 第三阶段:生成文档
162
162
 
163
- 1. 创建 `.planning/features/{功能名}/` 目录
163
+ 1. 创建 `.devflow/planning/features/{功能名}/` 目录
164
164
  2. 读取 `assets/backend-spec-template.md` 模板
165
165
  3. 按模板结构填充内容,并写入 `需求基线衔接`、`后端规范影响`、`能力抽象建议` 章节
166
- 4. 文件名格式:`.planning/features/{功能名}/后端技术方案.md`
166
+ 4. 文件名格式:`.devflow/planning/features/{功能名}/后端技术方案.md`
167
167
 
168
- If an older baseline still points to root `features/{功能名}/`, treat that as a legacy read path. New backend tech-spec output stays under `.planning/features/{功能名}/`.
168
+ If an older baseline still points to root `features/{功能名}/`, treat that as a legacy read path. New backend tech-spec output stays under `.devflow/planning/features/{功能名}/`.
169
169
 
170
170
  ### 第三阶段.5 — ADR 创建(按需)
171
171
 
@@ -201,7 +201,7 @@ If an older baseline still points to root `features/{功能名}/`, treat that as
201
201
  - 兼容性:无影响
202
202
  ```
203
203
 
204
- **ADR 存放路径**:`.planning/architecture/adr/{序号}-{主题}.md`
204
+ **ADR 存放路径**:`.devflow/planning/architecture/adr/{序号}-{主题}.md`
205
205
 
206
206
  **不满足条件时不要创建 ADR。** 常规决策(字段名选择、参数顺序等)直接写在方案里即可。
207
207
 
@@ -213,9 +213,9 @@ If an older baseline still points to root `features/{功能名}/`, treat that as
213
213
 
214
214
  ### 第五阶段:结构化元数据
215
215
 
216
- 完成后写入 `.planning/features/{功能名}/后端技术方案.meta.json`。必须从 `architecture-brief.meta.json` 原样复制:`brief_revision → architecture_brief_revision`、`graph_revision → architecture_graph_revision`、`static_context_snapshot_revision → architecture_static_context_snapshot_revision`、`comparison_status → architecture_comparison_status`。不得凭记忆填写或改写这些值。
216
+ 完成后写入 `.devflow/planning/features/{功能名}/后端技术方案.meta.json`。必须从 `architecture-brief.meta.json` 原样复制:`brief_revision → architecture_brief_revision`、`graph_revision → architecture_graph_revision`、`static_context_snapshot_revision → architecture_static_context_snapshot_revision`、`comparison_status → architecture_comparison_status`。不得凭记忆填写或改写这些值。
217
217
 
218
- 完成后写入 `.planning/features/{功能名}/后端技术方案.meta.json`,字段定义见 `feature-development.yaml` 中 `steps[backend-tech-spec].meta_output.fields`:`api_count`, `table_count`, `migration_count`。
218
+ 完成后写入 `.devflow/planning/features/{功能名}/后端技术方案.meta.json`,字段定义见 `feature-development.yaml` 中 `steps[backend-tech-spec].meta_output.fields`:`api_count`, `table_count`, `migration_count`。
219
219
 
220
220
  ## 注意事项
221
221
 
@@ -227,8 +227,8 @@ If an older baseline still points to root `features/{功能名}/`, treat that as
227
227
  6. **必须描述现有功能** — 新功能如果影响现有功能,必须先描述现有功能的流程、字段、逻辑
228
228
  7. **统计类功能要详细** — 对于涉及统计表的变更,必须说明:现有字段及含义、现有统计 SQL/逻辑、Job 调度频率、新增字段及统计逻辑
229
229
  8. **只关注后端逻辑** — 流程图只描述后端服务的处理流程,不要包含前端行为
230
- 9. **必须体现项目规则包** — 若目标项目存在 `.planning/rules/` 或 `.context/spec/`,后端方案必须列出适用规范、相关经验教训、工具链要求、测试策略和审查门禁
231
- 10. **历史口径使用 `.planning`** — 与历史相关的判断优先来自 `.planning/milestones/`、`.planning/requirements/`、`.planning/lessons/` 和阶段 `CONTEXT.md`;`features/` 或 `.context/lessons/` 只作为目标项目存在时的兼容来源
230
+ 9. **必须体现项目规则包** — 若目标项目存在 `.devflow/planning/rules/` 或 `.devflow/context/spec/`,后端方案必须列出适用规范、相关经验教训、工具链要求、测试策略和审查门禁
231
+ 10. **历史口径使用 `.devflow/planning`** — 与历史相关的判断优先来自 `.devflow/planning/milestones/`、`.devflow/planning/requirements/`、`.devflow/planning/lessons/` 和阶段 `CONTEXT.md`;`features/` 或 `.devflow/context/lessons/` 只作为目标项目存在时的兼容来源
232
232
  11. **现有功能复用优先** — 编写任何新逻辑前,必须先在项目内搜索已有实现,避免重复造轮子。重点检查:`pkg/` 外部集成封装、Service 层业务能力、Repository 层数据访问模式、公共工具方法。发现已有封装时直接复用,严禁绕过直接写裸调用
233
233
  12. **遵循最佳实践标杆** — 新功能的设计(分层、命名、错误处理、参数封装、测试模式)必须与项目内已有标杆功能保持一致,不得引入与项目验证过的成熟模式相悖的新模式。若需偏离,必须在方案中说明理由
234
234
  13. **能力抽象** — 新功能中具有独立复用价值的部分(外部集成、通用业务能力),必须抽象为 `pkg/` 级模块,定义清晰的 Client 接口和参数/结果结构体,形成可被后续功能消费的项目能力资产
@@ -241,7 +241,7 @@ If an older baseline still points to root `features/{功能名}/`, treat that as
241
241
  - [ ] 涉及调用上游 API 的,是否已向用户索要接口文档并确认对接方案?(不可猜测 API 契约,包括 URL、认证、请求/响应结构、错误码)
242
242
  - [ ] 涉及的每个能力点(外部集成、业务逻辑、数据访问、工具方法),是否已在项目内完成复用搜索?**若已有封装却被绕过直接重写,方案不合格。**
243
243
  - [ ] `references/affected-module-exploration.md` 的探索产出检查是否全部通过?(现状流程图、字段/方法表格、集成点列表、复用/扩展/新增决策)**若不通过,必须先补充代码探索,不得继续写文档。**
244
- - [ ] 若 `.planning/code-index/` 存在,复用/影响范围/调用链/读写资源判断是否已查询 code-index 并回读源码 evidence?若未使用,是否说明缺失或过期原因?
244
+ - [ ] 若 `.devflow/planning/code-index/` 存在,复用/影响范围/调用链/读写资源判断是否已查询 code-index 并回读源码 evidence?若未使用,是否说明缺失或过期原因?
245
245
  - [ ] 是否已找到项目内最佳实践标杆,并确认新功能的分层结构、命名、错误处理、参数封装模式与标杆一致?(若偏离,理由是否已写明?)
246
246
  - [ ] 新功能中具有独立复用价值的部分,是否已识别并抽象为 `pkg/` 级能力模块?接口定义、参数/结果结构体是否清晰?
247
247
  - [ ] 方案影响的现有功能是否已描述其**现状流程/字段/逻辑**?(先描述现状,再分析影响)
@@ -262,7 +262,7 @@ If an older baseline still points to root `features/{功能名}/`, treat that as
262
262
 
263
263
  - [ ] 方案包含:功能要点、影响范围、库表设计(DDL+ER)、流程设计、风险点
264
264
  - [ ] 不含前端组件、前端路由(那属于前端技术方案)
265
- - [ ] 若存在 `.planning/rules/` 或 `.context/spec/`,适用规范+经验教训+工具链+测试策略已列出
265
+ - [ ] 若存在 `.devflow/planning/rules/` 或 `.devflow/context/spec/`,适用规范+经验教训+工具链+测试策略已列出
266
266
  - [ ] 审查结论已写入方案末尾
267
267
 
268
268
  **审查结论不通过时不得报告 "Step 3c 完成"。**
@@ -38,9 +38,9 @@
38
38
 
39
39
  | 来源 | 结论 | 对本方案的影响 |
40
40
  |------|------|----------------|
41
- | `.planning/milestones/...` | {{结论}} | {{影响}} |
42
- | `.planning/requirements/...` | {{结论}} | {{影响}} |
43
- | `.planning/lessons/...` | {{结论}} | {{影响}} |
41
+ | `.devflow/planning/milestones/...` | {{结论}} | {{影响}} |
42
+ | `.devflow/planning/requirements/...` | {{结论}} | {{影响}} |
43
+ | `.devflow/planning/lessons/...` | {{结论}} | {{影响}} |
44
44
 
45
45
  ## 四、现有功能说明
46
46
 
@@ -163,13 +163,13 @@ erDiagram
163
163
 
164
164
  | 规则来源 | 是否存在 | 影响说明 |
165
165
  |----------|----------|----------|
166
- | `.planning/rules/INDEX.md` | {{是/否}} | {{说明}} |
167
- | `.planning/execution-contract.md` | {{是/否}} | {{说明}} |
168
- | `.planning/toolchain.md` | {{是/否}} | {{说明}} |
169
- | `.planning/lessons/README.md` | {{是/否}} | {{说明}} |
170
- | `.context/spec/backend/index.md` | {{是/否}} | {{说明}} |
171
- | `.context/workflow/` | {{是/否}} | {{说明}} |
172
- | `.context/lessons/README.md` | {{是/否}} | {{说明}} |
166
+ | `.devflow/planning/rules/INDEX.md` | {{是/否}} | {{说明}} |
167
+ | `.devflow/planning/execution-contract.md` | {{是/否}} | {{说明}} |
168
+ | `.devflow/planning/toolchain.md` | {{是/否}} | {{说明}} |
169
+ | `.devflow/planning/lessons/README.md` | {{是/否}} | {{说明}} |
170
+ | `.devflow/context/spec/backend/index.md` | {{是/否}} | {{说明}} |
171
+ | `.devflow/context/workflow/` | {{是/否}} | {{说明}} |
172
+ | `.devflow/context/lessons/README.md` | {{是/否}} | {{说明}} |
173
173
  | `AGENTS.md` / `CLAUDE.md` | {{是/否}} | {{说明}} |
174
174
 
175
175
  ### 9.2 适用规范
@@ -14,7 +14,7 @@
14
14
 
15
15
  ### 步骤1:定位关键文件
16
16
 
17
- 优先使用 `.planning/code-index/` 定位候选 symbol、entrypoint、calls、reads/writes 和 tested_by 关系;然后回读 `evidence_path:evidence_line` 附近源码。code-index 不存在或过期时,再按下表的目录约定和 `rg` 兜底。
17
+ 优先使用 `.devflow/planning/code-index/` 定位候选 symbol、entrypoint、calls、reads/writes 和 tested_by 关系;然后回读 `evidence_path:evidence_line` 附近源码。code-index 不存在或过期时,再按下表的目录约定和 `rg` 兜底。
18
18
 
19
19
  | 层级 | 定位方式 | 最少读取 |
20
20
  |------|----------|----------|
@@ -54,6 +54,6 @@
54
54
  - [ ] 是否有现有字段/方法/枚举的结构化表格(不是从 PRD 复制)?
55
55
  - [ ] 是否明确了每个模块是"复用"、"扩展"还是"新增"?
56
56
  - [ ] 是否实际读取了代码文件(不是仅靠文件名推断)?
57
- - [ ] 若 `.planning/code-index/` 存在,是否记录了用于定位的 symbol/relation evidence?
57
+ - [ ] 若 `.devflow/planning/code-index/` 存在,是否记录了用于定位的 symbol/relation evidence?
58
58
 
59
59
  **此检查不通过,不得进入 Phase 3(生成文档)。**
@@ -4,7 +4,7 @@ Use this guide to explore the target backend without assuming outbound-call's Go
4
4
 
5
5
  ## Exploration Order
6
6
 
7
- 1. Read `.planning/navigation/INDEX.md` → filter backend/service-type codebases → load their `{name}.md` navigation files to identify root, framework, entry points, layers, persistence, jobs, integrations, config, and commands.
7
+ 1. Read `.devflow/planning/navigation/INDEX.md` → filter backend/service-type codebases → load their `{name}.md` navigation files to identify root, framework, entry points, layers, persistence, jobs, integrations, config, and commands.
8
8
  2. Read the project rule package via `references/project-rule-contract.md`.
9
9
  3. Start from baseline `FP-*`, `BR-*`, `BC-*`, and confirmed `CR-*` decisions.
10
10
  4. Search only the relevant modules first; expand outward only when the call chain or data flow requires it.
@@ -6,30 +6,30 @@ Use this contract when generating backend technical plans. A project rule packag
6
6
 
7
7
  Look for rule sources in the target project, in this order:
8
8
 
9
- 1. `.planning/rules/INDEX.md`
10
- 2. `.planning/execution-contract.md`
11
- 3. `.planning/toolchain.md`
12
- 4. `.planning/lessons/README.md`
13
- 5. `.planning/milestones/`
14
- 6. `.planning/requirements/`
15
- 7. `.context/spec/index.md`
16
- 8. matching `.context/spec/stacks/{stack_key}.md`
17
- 9. matching `.context/spec/backend/{codebase}.md`
18
- 10. `.context/spec/backend/index.md`
19
- 11. `.context/spec/backend/`
20
- 12. `.planning/code-index/` when source-level relation facts are needed
21
- 13. `.context/workflow/tdd.md`
22
- 14. `.context/workflow/verification.md`
23
- 15. `.context/workflow/checklist.md`
24
- 16. `.context/lessons/README.md`
9
+ 1. `.devflow/planning/rules/INDEX.md`
10
+ 2. `.devflow/planning/execution-contract.md`
11
+ 3. `.devflow/planning/toolchain.md`
12
+ 4. `.devflow/planning/lessons/README.md`
13
+ 5. `.devflow/planning/milestones/`
14
+ 6. `.devflow/planning/requirements/`
15
+ 7. `.devflow/context/spec/index.md`
16
+ 8. matching `.devflow/context/spec/stacks/{stack_key}.md`
17
+ 9. matching `.devflow/context/spec/backend/{codebase}.md`
18
+ 10. `.devflow/context/spec/backend/index.md`
19
+ 11. `.devflow/context/spec/backend/`
20
+ 12. `.devflow/planning/code-index/` when source-level relation facts are needed
21
+ 13. `.devflow/context/workflow/tdd.md`
22
+ 14. `.devflow/context/workflow/verification.md`
23
+ 15. `.devflow/context/workflow/checklist.md`
24
+ 16. `.devflow/context/lessons/README.md`
25
25
  17. root `AGENTS.md`, `CLAUDE.md`, or equivalent project instruction files
26
26
 
27
27
  If none exist, explicitly write `未发现项目规则包` and continue with code exploration and conservative assumptions.
28
28
 
29
29
  History rule:
30
30
 
31
- - Use `.planning/milestones/`, `.planning/requirements/`, `.planning/lessons/`, and phase `CONTEXT.md` files as the primary history model.
32
- - Treat `.context/lessons/` and `features/` as compatible legacy/project-rule evidence only when present in the target project.
31
+ - Use `.devflow/planning/milestones/`, `.devflow/planning/requirements/`, `.devflow/planning/lessons/`, and phase `CONTEXT.md` files as the primary history model.
32
+ - Treat `.devflow/context/lessons/` and `features/` as compatible legacy/project-rule evidence only when present in the target project.
33
33
  - Do not require outbound-call style history files.
34
34
 
35
35
  ## What To Extract
@@ -37,8 +37,8 @@ History rule:
37
37
  Extract only backend-relevant rules:
38
38
 
39
39
  - Technology stack and framework.
40
- - Matching stack spec and codebase spec from `.context/spec/index.md` when available.
41
- - Code-index symbols/relations for affected entrypoints, callers, callees, data/resource reads and writes, tests, and external integrations when `.planning/code-index/` exists.
40
+ - Matching stack spec and codebase spec from `.devflow/context/spec/index.md` when available.
41
+ - Code-index symbols/relations for affected entrypoints, callers, callees, data/resource reads and writes, tests, and external integrations when `.devflow/planning/code-index/` exists.
42
42
  - Layer model and dependency direction.
43
43
  - Naming, function signature, validation, error handling, logging, transaction, pagination, permission, and data access rules.
44
44
  - Required code generation, mock generation, dependency injection, migration, or build commands.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: workflow-design-rule-pack
3
- description: Use when workflow-ui-spec or workflow-frontend-tech-spec needs a reusable UI/UX design rule package, ui-ux-pro-max recommendations, or project installation of .context/spec/design across repositories.
3
+ description: Use when workflow-ui-spec or workflow-frontend-tech-spec needs a reusable UI/UX design rule package, ui-ux-pro-max recommendations, or project installation of .devflow/context/spec/design across repositories.
4
4
  ---
5
5
 
6
6
  # Workflow Design Rule Pack
@@ -11,12 +11,12 @@ This skill provides the reusable source for the project design rule package cons
11
11
 
12
12
  Use this skill when:
13
13
 
14
- - A project lacks `.context/spec/design/index.md`.
14
+ - A project lacks `.devflow/context/spec/design/index.md`.
15
15
  - UI workflow steps need the shared UI/UX recommendation pack.
16
16
  - `ui-ux-pro-max` should be available in a project without copying it by hand.
17
17
  - The same design rules need to be reused across repositories.
18
18
 
19
- `workflow-project-context` is the default lifecycle owner for frontend projects: it invokes this installer after the code index is ready, records the result in the initialization manifest, and owns `.context/spec/design/index.md`. Call this skill directly only to repair or deliberately refresh the shared recommendation assets.
19
+ `workflow-project-context` is the default lifecycle owner for frontend projects: it invokes this installer after the code index is ready, records the result in the initialization manifest, and owns `.devflow/context/spec/design/index.md`. Call this skill directly only to repair or deliberately refresh the shared recommendation assets.
20
20
 
21
21
  Do not use this skill as a replacement for `workflow-ui-spec` or `workflow-frontend-tech-spec`. It only installs and documents shared references; workflow skills still decide how to apply them.
22
22
 
@@ -30,7 +30,7 @@ devflow_design_rule(args=[])
30
30
 
31
31
  Default behavior:
32
32
 
33
- - Copies `assets/design/` into `.context/spec/design/`.
33
+ - Copies `assets/design/` into `.devflow/context/spec/design/`.
34
34
  - Creates missing directories.
35
35
  - Does not overwrite existing project files.
36
36
  - Keeps project-specific confirmed tokens in the target project.
@@ -64,7 +64,7 @@ for path in \
64
64
  recommendations/accessibility.md \
65
65
  recommendations/component-library.md \
66
66
  tools/ui-ux-pro-max/SKILL.md; do
67
- test -s ".context/spec/design/$path"
67
+ test -s ".devflow/context/spec/design/$path"
68
68
  done
69
69
  ```
70
70
 
@@ -75,7 +75,7 @@ Pass only when every expected file exists and is non-empty. A missing file, a ze
75
75
  ## Source of Truth
76
76
 
77
77
  - Skill source: `skill://workflow-design-rule-pack/assets/design/`
78
- - Project installed copy: `.context/spec/design/`
78
+ - Project installed copy: `.devflow/context/spec/design/`
79
79
 
80
80
  Workflow skills must read the installed project copy. The project copy is the place where local overrides and confirmed project tokens live.
81
81
 
@@ -85,7 +85,7 @@ Design conclusion priority remains:
85
85
 
86
86
  1. User decisions, design artifacts, confirmed requirement baseline
87
87
  2. Existing code, component library, current project tokens
88
- 3. `.context/spec/design/tokens/project-tokens.md`
89
- 4. `.context/spec/design/recommendations/` and `ui-ux-pro-max` query results
88
+ 3. `.devflow/context/spec/design/tokens/project-tokens.md`
89
+ 4. `.devflow/context/spec/design/recommendations/` and `ui-ux-pro-max` query results
90
90
 
91
91
  Recommendation sources are never authoritative project facts unless the user or project rules explicitly confirm them.
@@ -32,9 +32,9 @@
32
32
  工具位置:
33
33
 
34
34
  ```bash
35
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --design-system -p "<Project Name>"
36
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --domain ux
37
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --stack react
35
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --design-system -p "<Project Name>"
36
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --domain ux
37
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --stack react
38
38
  ```
39
39
 
40
40
  常用域:
@@ -26,6 +26,6 @@
26
26
  ## 查询辅助
27
27
 
28
28
  ```bash
29
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "accessibility aria focus keyboard form labels color contrast" --domain ux
30
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "aria focus keyboard semantic form" --domain web
29
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "accessibility aria focus keyboard form labels color contrast" --domain ux
30
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "aria focus keyboard semantic form" --domain web
31
31
  ```
@@ -26,6 +26,6 @@
26
26
  需要补充组件模式时,可查:
27
27
 
28
28
  ```bash
29
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "form button modal table accessibility" --domain ux
30
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "button form table" --stack shadcn
29
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "form button modal table accessibility" --domain ux
30
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "button form table" --stack shadcn
31
31
  ```
@@ -13,7 +13,7 @@
13
13
  优先用动态工具生成完整建议:
14
14
 
15
15
  ```bash
16
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<product type> <industry> <style keywords>" --design-system -p "<Feature or Project Name>" --format markdown
16
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<product type> <industry> <style keywords>" --design-system -p "<Feature or Project Name>" --format markdown
17
17
  ```
18
18
 
19
19
  输出只能进入 UI-SPEC 的“推荐方案(待拍板)”或“待确认事项”,不能直接进入“设计稿事实”。
@@ -24,6 +24,6 @@
24
24
  ## 查询辅助
25
25
 
26
26
  ```bash
27
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "responsive layout mobile horizontal scroll touch target" --domain ux
28
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "responsive layout" --stack html-tailwind
27
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "responsive layout mobile horizontal scroll touch target" --domain ux
28
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "responsive layout" --stack html-tailwind
29
29
  ```
@@ -1,17 +1,17 @@
1
1
  # Stack Guidelines Recommendations
2
2
 
3
- 本文件提供技术栈实现参考。项目 `.context/spec/stacks/`、前端代码约定和 workflow 内置 stack slots 优先。
3
+ 本文件提供技术栈实现参考。项目 `.devflow/context/spec/stacks/`、前端代码约定和 workflow 内置 stack slots 优先。
4
4
 
5
5
  ## 使用方式
6
6
 
7
7
  按项目实际栈调用动态工具补充:
8
8
 
9
9
  ```bash
10
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "layout form table accessibility performance" --stack react
11
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "image routing cache hydration" --stack nextjs
12
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "composition api form table state" --stack vue
13
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "responsive utility accessibility" --stack html-tailwind
14
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "components theme form" --stack shadcn
10
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "layout form table accessibility performance" --stack react
11
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "image routing cache hydration" --stack nextjs
12
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "composition api form table state" --stack vue
13
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "responsive utility accessibility" --stack html-tailwind
14
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "components theme form" --stack shadcn
15
15
  ```
16
16
 
17
17
  ## 前端技术方案使用边界
@@ -35,6 +35,6 @@
35
35
  ## 查询辅助
36
36
 
37
37
  ```bash
38
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "loading error feedback duplicate submit animation" --domain ux
39
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "form validation feedback" --domain web
38
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "loading error feedback duplicate submit animation" --domain ux
39
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "form validation feedback" --domain web
40
40
  ```
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## 状态
6
6
 
7
- 当前项目尚未沉淀全局设计 token。workflow-ui-spec 生成某个功能的 token 时,应先写入对应功能的 `.planning/features/{功能名}/UI-SPEC.md`。
7
+ 当前项目尚未沉淀全局设计 token。workflow-ui-spec 生成某个功能的 token 时,应先写入对应功能的 `.devflow/planning/features/{功能名}/UI-SPEC.md`。
8
8
 
9
9
  ## 允许写入本文件的条件
10
10
 
@@ -135,7 +135,7 @@ Extract key information from user request:
135
135
  **Always start with `--design-system`** to get comprehensive recommendations with reasoning:
136
136
 
137
137
  ```bash
138
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
138
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
139
139
  ```
140
140
 
141
141
  This command:
@@ -146,7 +146,7 @@ This command:
146
146
 
147
147
  **Example:**
148
148
  ```bash
149
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
149
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
150
150
  ```
151
151
 
152
152
  ### Step 2b: Persist Design System (Master + Overrides Pattern)
@@ -154,7 +154,7 @@ python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "beauty spa w
154
154
  To save the design system for hierarchical retrieval across sessions, add `--persist`:
155
155
 
156
156
  ```bash
157
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
157
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
158
158
  ```
159
159
 
160
160
  This creates:
@@ -163,7 +163,7 @@ This creates:
163
163
 
164
164
  **With page-specific override:**
165
165
  ```bash
166
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
166
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
167
167
  ```
168
168
 
169
169
  This also creates:
@@ -179,7 +179,7 @@ This also creates:
179
179
  After getting the design system, use domain searches to get additional details:
180
180
 
181
181
  ```bash
182
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
182
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
183
183
  ```
184
184
 
185
185
  **When to use detailed searches:**
@@ -197,7 +197,7 @@ python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<keyword>" -
197
197
  Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
198
198
 
199
199
  ```bash
200
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
200
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
201
201
  ```
202
202
 
203
203
  Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
@@ -251,7 +251,7 @@ Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`
251
251
  ### Step 2: Generate Design System (REQUIRED)
252
252
 
253
253
  ```bash
254
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
254
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
255
255
  ```
256
256
 
257
257
  **Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
@@ -260,16 +260,16 @@ python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "beauty spa w
260
260
 
261
261
  ```bash
262
262
  # Get UX guidelines for animation and accessibility
263
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
263
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
264
264
 
265
265
  # Get alternative typography options if needed
266
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
266
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
267
267
  ```
268
268
 
269
269
  ### Step 4: Stack Guidelines
270
270
 
271
271
  ```bash
272
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
272
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
273
273
  ```
274
274
 
275
275
  **Then:** Synthesize design system + detailed searches and implement the design.
@@ -282,10 +282,10 @@ The `--design-system` flag supports two output formats:
282
282
 
283
283
  ```bash
284
284
  # ASCII box (default) - best for terminal display
285
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
285
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
286
286
 
287
287
  # Markdown - best for documentation
288
- python3 .context/spec/design/tools/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
288
+ python3 .devflow/context/spec/design/tools/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
289
289
  ```
290
290
 
291
291
  ---
@@ -34,7 +34,7 @@ def copy_tree(src: Path, dst: Path, overwrite: bool, include_index: bool) -> tup
34
34
 
35
35
 
36
36
  def main() -> int:
37
- parser = argparse.ArgumentParser(description="Install .context/spec/design rule pack")
37
+ parser = argparse.ArgumentParser(description="Install .devflow/context/spec/design rule pack")
38
38
  parser.add_argument("--target", default=".", help="Target repository root, default current directory")
39
39
  parser.add_argument("--overwrite", action="store_true", help="Overwrite existing target files")
40
40
  parser.add_argument(
@@ -47,7 +47,7 @@ def main() -> int:
47
47
  skill_root = Path(__file__).resolve().parents[1]
48
48
  source = skill_root / "assets" / "design"
49
49
  target_root = Path(args.target).resolve()
50
- target = target_root / ".context" / "spec" / "design"
50
+ target = target_root / ".devflow/context" / "spec" / "design"
51
51
 
52
52
  if not source.exists():
53
53
  raise SystemExit(f"Source design rule pack not found: {source}")