ai-engineering-init 1.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 (313) hide show
  1. package/.claude/agents/code-reviewer.md +139 -0
  2. package/.claude/agents/project-manager.md +159 -0
  3. package/.claude/audio/completed.wav +0 -0
  4. package/.claude/commands/add-todo.md +255 -0
  5. package/.claude/commands/check.md +210 -0
  6. package/.claude/commands/crud.md +454 -0
  7. package/.claude/commands/dev.md +503 -0
  8. package/.claude/commands/init-docs.md +681 -0
  9. package/.claude/commands/next.md +251 -0
  10. package/.claude/commands/progress.md +242 -0
  11. package/.claude/commands/start.md +199 -0
  12. package/.claude/commands/sync.md +307 -0
  13. package/.claude/commands/update-status.md +428 -0
  14. package/.claude/docs/Mixin/344/275/277/347/224/250/346/214/207/345/215/227.md +299 -0
  15. package/.claude/docs/README.md +167 -0
  16. package/.claude/docs//345/211/215/347/253/257/345/274/200/345/217/221/346/214/207/345/215/227.md +599 -0
  17. package/.claude/docs//345/220/216/347/253/257/345/274/200/345/217/221/346/214/207/345/215/227.md +726 -0
  18. package/.claude/docs//345/267/245/344/275/234/346/265/201/345/274/200/345/217/221/346/214/207/345/215/227.md +714 -0
  19. package/.claude/docs//345/267/245/345/205/267/347/261/273/344/275/277/347/224/250/346/214/207/345/215/227.md +463 -0
  20. package/.claude/docs//346/225/260/346/215/256/345/272/223/350/256/276/350/256/241/350/247/204/350/214/203.md +390 -0
  21. package/.claude/docs//346/226/260/345/212/237/350/203/275/345/274/200/345/217/221/346/265/201/347/250/213/350/247/204/350/214/203.md +688 -0
  22. package/.claude/docs//346/226/260/351/241/271/347/233/256/345/274/200/345/217/221/346/265/201/347/250/213.md +365 -0
  23. package/.claude/docs//346/241/206/346/236/266/350/257/264/346/230/216.md +393 -0
  24. package/.claude/docs//350/267/257/347/224/261/351/205/215/347/275/256/346/214/207/345/215/227.md +246 -0
  25. package/.claude/framework-config.json +73 -0
  26. package/.claude/hooks/pre-tool-use.js +117 -0
  27. package/.claude/hooks/skill-forced-eval.js +167 -0
  28. package/.claude/hooks/stop.js +58 -0
  29. package/.claude/settings.json +41 -0
  30. package/.claude/skills/add-skill/SKILL.md +352 -0
  31. package/.claude/skills/api-development/SKILL.md +560 -0
  32. package/.claude/skills/architecture-design/SKILL.md +756 -0
  33. package/.claude/skills/backend-annotations/SKILL.md +674 -0
  34. package/.claude/skills/banana-image/CHANGELOG.md +37 -0
  35. package/.claude/skills/banana-image/README.md +146 -0
  36. package/.claude/skills/banana-image/SKILL.md +164 -0
  37. package/.claude/skills/banana-image/assets/logo.png +0 -0
  38. package/.claude/skills/banana-image/references/advanced-usage.md +189 -0
  39. package/.claude/skills/banana-image/scripts/apply_template.py +125 -0
  40. package/.claude/skills/banana-image/scripts/banana_image_exec.ts +412 -0
  41. package/.claude/skills/banana-image/scripts/batch_prep.py +82 -0
  42. package/.claude/skills/banana-image/scripts/package-lock.json +1437 -0
  43. package/.claude/skills/banana-image/scripts/package.json +18 -0
  44. package/.claude/skills/banana-image/scripts/requirements.txt +10 -0
  45. package/.claude/skills/banana-image/templates/poster.json +22 -0
  46. package/.claude/skills/banana-image/templates/product.json +17 -0
  47. package/.claude/skills/banana-image/templates/social.json +22 -0
  48. package/.claude/skills/banana-image/templates/thumbnail.json +17 -0
  49. package/.claude/skills/brainstorm/SKILL.md +648 -0
  50. package/.claude/skills/bug-detective/SKILL.md +1206 -0
  51. package/.claude/skills/code-patterns/SKILL.md +590 -0
  52. package/.claude/skills/collaborating-with-codex/SKILL.md +174 -0
  53. package/.claude/skills/collaborating-with-codex/scripts/codex_bridge.py +275 -0
  54. package/.claude/skills/collaborating-with-gemini/SKILL.md +194 -0
  55. package/.claude/skills/collaborating-with-gemini/scripts/gemini_bridge.py +275 -0
  56. package/.claude/skills/crud-development/SKILL.md +649 -0
  57. package/.claude/skills/data-permission/SKILL.md +599 -0
  58. package/.claude/skills/database-ops/SKILL.md +407 -0
  59. package/.claude/skills/error-handler/SKILL.md +371 -0
  60. package/.claude/skills/file-oss-management/SKILL.md +863 -0
  61. package/.claude/skills/git-workflow/SKILL.md +375 -0
  62. package/.claude/skills/json-serialization/SKILL.md +357 -0
  63. package/.claude/skills/leniu-api-development/SKILL.md +803 -0
  64. package/.claude/skills/leniu-architecture-design/SKILL.md +598 -0
  65. package/.claude/skills/leniu-backend-annotations/SKILL.md +664 -0
  66. package/.claude/skills/leniu-code-patterns/SKILL.md +365 -0
  67. package/.claude/skills/leniu-crud-development/SKILL.md +1110 -0
  68. package/.claude/skills/leniu-data-permission/SKILL.md +256 -0
  69. package/.claude/skills/leniu-database-ops/SKILL.md +426 -0
  70. package/.claude/skills/leniu-error-handler/SKILL.md +462 -0
  71. package/.claude/skills/leniu-java-amount-handling/SKILL.md +461 -0
  72. package/.claude/skills/leniu-java-code-style/SKILL.md +510 -0
  73. package/.claude/skills/leniu-java-concurrent/SKILL.md +400 -0
  74. package/.claude/skills/leniu-java-entity/SKILL.md +751 -0
  75. package/.claude/skills/leniu-java-export/SKILL.md +560 -0
  76. package/.claude/skills/leniu-java-logging/SKILL.md +832 -0
  77. package/.claude/skills/leniu-java-mq/SKILL.md +338 -0
  78. package/.claude/skills/leniu-java-mybatis/SKILL.md +640 -0
  79. package/.claude/skills/leniu-java-report-query-param/SKILL.md +291 -0
  80. package/.claude/skills/leniu-java-task/SKILL.md +367 -0
  81. package/.claude/skills/leniu-java-total-line/SKILL.md +195 -0
  82. package/.claude/skills/leniu-marketing-price-rule-customizer/SKILL.md +301 -0
  83. package/.claude/skills/leniu-marketing-recharge-rule-customizer/SKILL.md +285 -0
  84. package/.claude/skills/leniu-mealtime/SKILL.md +215 -0
  85. package/.claude/skills/leniu-redis-cache/SKILL.md +316 -0
  86. package/.claude/skills/leniu-security-guard/SKILL.md +520 -0
  87. package/.claude/skills/leniu-utils-toolkit/SKILL.md +380 -0
  88. package/.claude/skills/openspec-apply-change/SKILL.md +156 -0
  89. package/.claude/skills/openspec-archive-change/SKILL.md +114 -0
  90. package/.claude/skills/openspec-bulk-archive-change/SKILL.md +246 -0
  91. package/.claude/skills/openspec-continue-change/SKILL.md +118 -0
  92. package/.claude/skills/openspec-explore/SKILL.md +290 -0
  93. package/.claude/skills/openspec-ff-change/SKILL.md +101 -0
  94. package/.claude/skills/openspec-new-change/SKILL.md +74 -0
  95. package/.claude/skills/openspec-onboard/SKILL.md +529 -0
  96. package/.claude/skills/openspec-sync-specs/SKILL.md +138 -0
  97. package/.claude/skills/openspec-verify-change/SKILL.md +168 -0
  98. package/.claude/skills/performance-doctor/SKILL.md +627 -0
  99. package/.claude/skills/project-navigator/SKILL.md +305 -0
  100. package/.claude/skills/redis-cache/SKILL.md +839 -0
  101. package/.claude/skills/scheduled-jobs/SKILL.md +633 -0
  102. package/.claude/skills/security-guard/SKILL.md +748 -0
  103. package/.claude/skills/sms-mail/SKILL.md +766 -0
  104. package/.claude/skills/social-login/SKILL.md +668 -0
  105. package/.claude/skills/store-pc/SKILL.md +366 -0
  106. package/.claude/skills/task-tracker/SKILL.md +307 -0
  107. package/.claude/skills/tech-decision/SKILL.md +393 -0
  108. package/.claude/skills/tenant-management/SKILL.md +603 -0
  109. package/.claude/skills/test-development/SKILL.md +755 -0
  110. package/.claude/skills/ui-pc/SKILL.md +438 -0
  111. package/.claude/skills/utils-toolkit/SKILL.md +615 -0
  112. package/.claude/skills/websocket-sse/SKILL.md +716 -0
  113. package/.claude/skills/workflow-engine/SKILL.md +676 -0
  114. package/.claude/templates//345/276/205/345/212/236/346/270/205/345/215/225/346/250/241/346/235/277.md +56 -0
  115. package/.claude/templates//351/234/200/346/261/202/346/226/207/346/241/243/346/250/241/346/235/277.md +85 -0
  116. package/.claude/templates//351/241/271/347/233/256/347/212/266/346/200/201/346/250/241/346/235/277.md +43 -0
  117. package/.codex/skills/add-skill/SKILL.md +352 -0
  118. package/.codex/skills/add-todo/SKILL.md +269 -0
  119. package/.codex/skills/api-development/SKILL.md +693 -0
  120. package/.codex/skills/architecture-design/SKILL.md +628 -0
  121. package/.codex/skills/backend-annotations/SKILL.md +664 -0
  122. package/.codex/skills/banana-image/CHANGELOG.md +37 -0
  123. package/.codex/skills/banana-image/README.md +146 -0
  124. package/.codex/skills/banana-image/SKILL.md +164 -0
  125. package/.codex/skills/banana-image/assets/logo.png +0 -0
  126. package/.codex/skills/banana-image/references/advanced-usage.md +189 -0
  127. package/.codex/skills/banana-image/scripts/apply_template.py +125 -0
  128. package/.codex/skills/banana-image/scripts/banana_image_exec.ts +412 -0
  129. package/.codex/skills/banana-image/scripts/batch_prep.py +82 -0
  130. package/.codex/skills/banana-image/scripts/package-lock.json +1437 -0
  131. package/.codex/skills/banana-image/scripts/package.json +18 -0
  132. package/.codex/skills/banana-image/scripts/requirements.txt +10 -0
  133. package/.codex/skills/banana-image/templates/poster.json +22 -0
  134. package/.codex/skills/banana-image/templates/product.json +17 -0
  135. package/.codex/skills/banana-image/templates/social.json +22 -0
  136. package/.codex/skills/banana-image/templates/thumbnail.json +17 -0
  137. package/.codex/skills/brainstorm/SKILL.md +648 -0
  138. package/.codex/skills/bug-detective/SKILL.md +1206 -0
  139. package/.codex/skills/check/SKILL.md +367 -0
  140. package/.codex/skills/code-patterns/SKILL.md +442 -0
  141. package/.codex/skills/collaborating-with-codex/SKILL.md +174 -0
  142. package/.codex/skills/collaborating-with-codex/scripts/codex_bridge.py +275 -0
  143. package/.codex/skills/collaborating-with-gemini/SKILL.md +194 -0
  144. package/.codex/skills/collaborating-with-gemini/scripts/gemini_bridge.py +275 -0
  145. package/.codex/skills/crud/SKILL.md +265 -0
  146. package/.codex/skills/crud-development/SKILL.md +637 -0
  147. package/.codex/skills/data-permission/SKILL.md +591 -0
  148. package/.codex/skills/database-ops/SKILL.md +553 -0
  149. package/.codex/skills/dev/SKILL.md +187 -0
  150. package/.codex/skills/error-handler/SKILL.md +361 -0
  151. package/.codex/skills/file-oss-management/SKILL.md +863 -0
  152. package/.codex/skills/git-workflow/SKILL.md +375 -0
  153. package/.codex/skills/init-docs/SKILL.md +194 -0
  154. package/.codex/skills/json-serialization/SKILL.md +357 -0
  155. package/.codex/skills/leniu-api-development/SKILL.md +803 -0
  156. package/.codex/skills/leniu-architecture-design/SKILL.md +594 -0
  157. package/.codex/skills/leniu-backend-annotations/SKILL.md +662 -0
  158. package/.codex/skills/leniu-code-patterns/SKILL.md +365 -0
  159. package/.codex/skills/leniu-crud-development/SKILL.md +1110 -0
  160. package/.codex/skills/leniu-data-permission/SKILL.md +256 -0
  161. package/.codex/skills/leniu-database-ops/SKILL.md +426 -0
  162. package/.codex/skills/leniu-error-handler/SKILL.md +462 -0
  163. package/.codex/skills/leniu-java-amount-handling/SKILL.md +461 -0
  164. package/.codex/skills/leniu-java-code-style/SKILL.md +510 -0
  165. package/.codex/skills/leniu-java-concurrent/SKILL.md +400 -0
  166. package/.codex/skills/leniu-java-entity/SKILL.md +751 -0
  167. package/.codex/skills/leniu-java-export/SKILL.md +560 -0
  168. package/.codex/skills/leniu-java-logging/SKILL.md +832 -0
  169. package/.codex/skills/leniu-java-mq/SKILL.md +338 -0
  170. package/.codex/skills/leniu-java-mybatis/SKILL.md +640 -0
  171. package/.codex/skills/leniu-java-report-query-param/SKILL.md +291 -0
  172. package/.codex/skills/leniu-java-task/SKILL.md +367 -0
  173. package/.codex/skills/leniu-java-total-line/SKILL.md +195 -0
  174. package/.codex/skills/leniu-marketing-price-rule-customizer/SKILL.md +301 -0
  175. package/.codex/skills/leniu-marketing-recharge-rule-customizer/SKILL.md +285 -0
  176. package/.codex/skills/leniu-mealtime/SKILL.md +215 -0
  177. package/.codex/skills/leniu-redis-cache/SKILL.md +316 -0
  178. package/.codex/skills/leniu-security-guard/SKILL.md +520 -0
  179. package/.codex/skills/leniu-utils-toolkit/SKILL.md +378 -0
  180. package/.codex/skills/next/SKILL.md +137 -0
  181. package/.codex/skills/openspec-apply-change/SKILL.md +156 -0
  182. package/.codex/skills/openspec-archive-change/SKILL.md +114 -0
  183. package/.codex/skills/openspec-bulk-archive-change/SKILL.md +246 -0
  184. package/.codex/skills/openspec-continue-change/SKILL.md +118 -0
  185. package/.codex/skills/openspec-explore/SKILL.md +290 -0
  186. package/.codex/skills/openspec-ff-change/SKILL.md +101 -0
  187. package/.codex/skills/openspec-new-change/SKILL.md +74 -0
  188. package/.codex/skills/openspec-onboard/SKILL.md +529 -0
  189. package/.codex/skills/openspec-sync-specs/SKILL.md +138 -0
  190. package/.codex/skills/openspec-verify-change/SKILL.md +168 -0
  191. package/.codex/skills/performance-doctor/SKILL.md +627 -0
  192. package/.codex/skills/progress/SKILL.md +193 -0
  193. package/.codex/skills/project-navigator/SKILL.md +286 -0
  194. package/.codex/skills/redis-cache/SKILL.md +829 -0
  195. package/.codex/skills/scheduled-jobs/SKILL.md +633 -0
  196. package/.codex/skills/security-guard/SKILL.md +739 -0
  197. package/.codex/skills/sms-mail/SKILL.md +766 -0
  198. package/.codex/skills/social-login/SKILL.md +668 -0
  199. package/.codex/skills/start/SKILL.md +154 -0
  200. package/.codex/skills/store-pc/SKILL.md +491 -0
  201. package/.codex/skills/sync/SKILL.md +149 -0
  202. package/.codex/skills/task-tracker/SKILL.md +307 -0
  203. package/.codex/skills/tech-decision/SKILL.md +393 -0
  204. package/.codex/skills/tenant-management/SKILL.md +603 -0
  205. package/.codex/skills/test-development/SKILL.md +755 -0
  206. package/.codex/skills/ui-pc/SKILL.md +475 -0
  207. package/.codex/skills/update-status/SKILL.md +159 -0
  208. package/.codex/skills/utils-toolkit/SKILL.md +593 -0
  209. package/.codex/skills/websocket-sse/SKILL.md +716 -0
  210. package/.codex/skills/workflow-engine/SKILL.md +676 -0
  211. package/.cursor/agents/code-reviewer.md +139 -0
  212. package/.cursor/agents/project-manager.md +159 -0
  213. package/.cursor/commands/opsx-apply.md +152 -0
  214. package/.cursor/commands/opsx-archive.md +157 -0
  215. package/.cursor/commands/opsx-bulk-archive.md +242 -0
  216. package/.cursor/commands/opsx-continue.md +114 -0
  217. package/.cursor/commands/opsx-explore.md +174 -0
  218. package/.cursor/commands/opsx-ff.md +94 -0
  219. package/.cursor/commands/opsx-new.md +69 -0
  220. package/.cursor/commands/opsx-onboard.md +525 -0
  221. package/.cursor/commands/opsx-sync.md +134 -0
  222. package/.cursor/commands/opsx-verify.md +164 -0
  223. package/.cursor/mcp.json +22 -0
  224. package/.cursor/skills/add-skill/SKILL.md +352 -0
  225. package/.cursor/skills/api-development/SKILL.md +560 -0
  226. package/.cursor/skills/architecture-design/SKILL.md +756 -0
  227. package/.cursor/skills/backend-annotations/SKILL.md +674 -0
  228. package/.cursor/skills/banana-image/CHANGELOG.md +37 -0
  229. package/.cursor/skills/banana-image/README.md +146 -0
  230. package/.cursor/skills/banana-image/SKILL.md +164 -0
  231. package/.cursor/skills/banana-image/assets/logo.png +0 -0
  232. package/.cursor/skills/banana-image/references/advanced-usage.md +189 -0
  233. package/.cursor/skills/banana-image/scripts/apply_template.py +125 -0
  234. package/.cursor/skills/banana-image/scripts/banana_image_exec.ts +412 -0
  235. package/.cursor/skills/banana-image/scripts/batch_prep.py +82 -0
  236. package/.cursor/skills/banana-image/scripts/package-lock.json +1437 -0
  237. package/.cursor/skills/banana-image/scripts/package.json +18 -0
  238. package/.cursor/skills/banana-image/scripts/requirements.txt +10 -0
  239. package/.cursor/skills/banana-image/templates/poster.json +22 -0
  240. package/.cursor/skills/banana-image/templates/product.json +17 -0
  241. package/.cursor/skills/banana-image/templates/social.json +22 -0
  242. package/.cursor/skills/banana-image/templates/thumbnail.json +17 -0
  243. package/.cursor/skills/brainstorm/SKILL.md +648 -0
  244. package/.cursor/skills/bug-detective/SKILL.md +1206 -0
  245. package/.cursor/skills/code-patterns/SKILL.md +590 -0
  246. package/.cursor/skills/collaborating-with-codex/SKILL.md +174 -0
  247. package/.cursor/skills/collaborating-with-codex/scripts/codex_bridge.py +275 -0
  248. package/.cursor/skills/collaborating-with-gemini/SKILL.md +194 -0
  249. package/.cursor/skills/collaborating-with-gemini/scripts/gemini_bridge.py +275 -0
  250. package/.cursor/skills/crud-development/SKILL.md +649 -0
  251. package/.cursor/skills/data-permission/SKILL.md +599 -0
  252. package/.cursor/skills/database-ops/SKILL.md +407 -0
  253. package/.cursor/skills/error-handler/SKILL.md +371 -0
  254. package/.cursor/skills/file-oss-management/SKILL.md +863 -0
  255. package/.cursor/skills/git-workflow/SKILL.md +375 -0
  256. package/.cursor/skills/json-serialization/SKILL.md +357 -0
  257. package/.cursor/skills/leniu-api-development/SKILL.md +803 -0
  258. package/.cursor/skills/leniu-architecture-design/SKILL.md +598 -0
  259. package/.cursor/skills/leniu-backend-annotations/SKILL.md +664 -0
  260. package/.cursor/skills/leniu-code-patterns/SKILL.md +365 -0
  261. package/.cursor/skills/leniu-crud-development/SKILL.md +1110 -0
  262. package/.cursor/skills/leniu-data-permission/SKILL.md +256 -0
  263. package/.cursor/skills/leniu-database-ops/SKILL.md +426 -0
  264. package/.cursor/skills/leniu-error-handler/SKILL.md +462 -0
  265. package/.cursor/skills/leniu-java-amount-handling/SKILL.md +461 -0
  266. package/.cursor/skills/leniu-java-code-style/SKILL.md +510 -0
  267. package/.cursor/skills/leniu-java-concurrent/SKILL.md +400 -0
  268. package/.cursor/skills/leniu-java-entity/SKILL.md +751 -0
  269. package/.cursor/skills/leniu-java-export/SKILL.md +560 -0
  270. package/.cursor/skills/leniu-java-logging/SKILL.md +832 -0
  271. package/.cursor/skills/leniu-java-mq/SKILL.md +338 -0
  272. package/.cursor/skills/leniu-java-mybatis/SKILL.md +640 -0
  273. package/.cursor/skills/leniu-java-report-query-param/SKILL.md +291 -0
  274. package/.cursor/skills/leniu-java-task/SKILL.md +367 -0
  275. package/.cursor/skills/leniu-java-total-line/SKILL.md +195 -0
  276. package/.cursor/skills/leniu-marketing-price-rule-customizer/SKILL.md +301 -0
  277. package/.cursor/skills/leniu-marketing-recharge-rule-customizer/SKILL.md +285 -0
  278. package/.cursor/skills/leniu-mealtime/SKILL.md +215 -0
  279. package/.cursor/skills/leniu-redis-cache/SKILL.md +316 -0
  280. package/.cursor/skills/leniu-security-guard/SKILL.md +520 -0
  281. package/.cursor/skills/leniu-utils-toolkit/SKILL.md +380 -0
  282. package/.cursor/skills/openspec-apply-change/SKILL.md +156 -0
  283. package/.cursor/skills/openspec-archive-change/SKILL.md +114 -0
  284. package/.cursor/skills/openspec-bulk-archive-change/SKILL.md +246 -0
  285. package/.cursor/skills/openspec-continue-change/SKILL.md +118 -0
  286. package/.cursor/skills/openspec-explore/SKILL.md +290 -0
  287. package/.cursor/skills/openspec-ff-change/SKILL.md +101 -0
  288. package/.cursor/skills/openspec-new-change/SKILL.md +74 -0
  289. package/.cursor/skills/openspec-onboard/SKILL.md +529 -0
  290. package/.cursor/skills/openspec-sync-specs/SKILL.md +138 -0
  291. package/.cursor/skills/openspec-verify-change/SKILL.md +168 -0
  292. package/.cursor/skills/performance-doctor/SKILL.md +627 -0
  293. package/.cursor/skills/project-navigator/SKILL.md +305 -0
  294. package/.cursor/skills/redis-cache/SKILL.md +839 -0
  295. package/.cursor/skills/scheduled-jobs/SKILL.md +633 -0
  296. package/.cursor/skills/security-guard/SKILL.md +748 -0
  297. package/.cursor/skills/sms-mail/SKILL.md +766 -0
  298. package/.cursor/skills/social-login/SKILL.md +668 -0
  299. package/.cursor/skills/store-pc/SKILL.md +366 -0
  300. package/.cursor/skills/task-tracker/SKILL.md +307 -0
  301. package/.cursor/skills/tech-decision/SKILL.md +393 -0
  302. package/.cursor/skills/tenant-management/SKILL.md +603 -0
  303. package/.cursor/skills/test-development/SKILL.md +755 -0
  304. package/.cursor/skills/ui-pc/SKILL.md +438 -0
  305. package/.cursor/skills/utils-toolkit/SKILL.md +615 -0
  306. package/.cursor/skills/websocket-sse/SKILL.md +716 -0
  307. package/.cursor/skills/workflow-engine/SKILL.md +676 -0
  308. package/AGENTS.md +669 -0
  309. package/CLAUDE.md +205 -0
  310. package/README.md +205 -0
  311. package/bin/index.js +179 -0
  312. package/init.sh +178 -0
  313. package/package.json +27 -0
@@ -0,0 +1,251 @@
1
+ # /next - 下一步建议
2
+
3
+ 作为项目开发顾问,根据当前项目状态,为您建议下一步应该做什么。
4
+
5
+ ## 执行流程
6
+
7
+ ### 第一步:快速扫描项目状态
8
+
9
+ ```bash
10
+ # 查看最近 Git 提交记录
11
+ git log -5 --oneline
12
+
13
+ # 扫描所有业务模块中的 TODO/FIXME
14
+ Grep pattern: "TODO:|FIXME:" path: sys-canteen/,sys-kitchen/,sys-drp/,sys-common/ glob: "*.java" output_mode: content -B 2
15
+
16
+ # 检查代码规范问题
17
+ Grep pattern: "package org\.dromara\.|package com\.ruoyi\." path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
18
+ Grep pattern: "MapstructUtils|ServiceException" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
19
+ ```
20
+
21
+ ### 第二步:分析开发阶段
22
+
23
+ 根据代码完整性和功能数量判断:
24
+
25
+ | 阶段 | 特征 | 功能完成率 |
26
+ |------|------|----------|
27
+ | 🟢 初期 | 基础框架搭建,功能模块较少 | < 30% |
28
+ | 🟡 中期 | 核心功能开发中,模块逐步完善 | 30-70% |
29
+ | 🔴 后期 | 功能基本完成,处于优化阶段 | > 70% |
30
+
31
+ ### 第三步:分类问题和建议
32
+
33
+ - **紧急问题**:安全漏洞、严重 Bug、编译错误
34
+ - **重要问题**:功能缺陷、设计问题、规范问题
35
+ - **优化建议**:性能优化、代码重构、文档完善
36
+
37
+ ---
38
+
39
+ ## 输出格式
40
+
41
+ ```markdown
42
+ # 下一步建议
43
+
44
+ **分析时间**:YYYY-MM-DD HH:mm
45
+ **分析范围**:全量后端代码
46
+
47
+ ---
48
+
49
+ ## 当前状态
50
+
51
+ ### Git 提交分析
52
+ - **最近一次提交**:[commit message] ([commit hash])
53
+ - **最近在做**:[根据提交记录推断]
54
+ - **提交频率**:[活跃/不活跃]
55
+
56
+ ### 代码状态
57
+ - **开发阶段**:🟡 中期(核心功能开发中)
58
+ - **代码质量**:良好(包名符合 net.xnzn.core.*)
59
+ - **规范问题**:3 个接口缺少 @RequiresAuthentication 注解
60
+
61
+ ### 代码待办统计
62
+ - **TODO 项**:X 个
63
+ - **FIXME 项**:X 个
64
+ - **编译/运行错误**:无
65
+
66
+ ---
67
+
68
+ ## 建议优先级
69
+
70
+ ### 🔴 高优先级(必须立即处理)
71
+
72
+ 1. **修复 FIXME 问题**
73
+ - 位置:sys-canteen/.../service/impl/XxxService.java:156
74
+ - 问题:业务逻辑存在已知错误
75
+ - 原因:影响核心业务正确性
76
+ - 影响:可能导致数据异常
77
+ - **快速修复**:`/check` 找出所有 FIXME 并逐一解决
78
+
79
+ 2. **补充缺失的权限注解**
80
+ - 位置:sys-canteen 模块 3 个接口
81
+ - 问题:缺少 @RequiresAuthentication 或 @RequiresGuest 注解
82
+ - 原因:权限控制不完整
83
+ - 影响:系统存在未授权访问风险
84
+ - **快速修复**:`/check canteen` 查出所有问题接口
85
+
86
+ 3. **完善代码规范**
87
+ - 问题:部分接口 POST 请求未使用 LeRequest<T> 封装
88
+ - 原因:请求封装规范不一致
89
+ - 影响:后续维护成本高
90
+ - **快速修复**:`/check` 全量检查
91
+
92
+ ### 🟡 中优先级(近期应该做)
93
+
94
+ 1. **补充缺失功能模块**
95
+ - 建议模块:[根据扫描结果列出未完成的业务模块]
96
+ - 完成率:目前 X%,建议提升到 80%
97
+ - **快速开发**:`/crud [表名]` 快速生成 CRUD 代码
98
+
99
+ 2. **优化 Service 查询层**
100
+ - 建议模块:[根据扫描结果列出查询不完善的模块]
101
+ - 问题:buildWrapper 查询条件需要完善
102
+ - 价值:提升查询效率,支持更复杂的搜索
103
+ - **参考代码**:`sys-canteen/.../order/common/service/impl/OrderInfoService.java`
104
+
105
+ 3. **补充接口文档注释**
106
+ - 建议范围:所有 Controller 接口
107
+ - 目标:添加 @Api、@ApiOperation Swagger 文档注解、JavaDoc 方法注释
108
+ - 价值:便于接口文档自动生成
109
+
110
+ ### 🟢 低优先级(可以考虑)
111
+
112
+ 1. **性能优化**
113
+ - 建议项:添加查询缓存、分页优化
114
+ - 触发条件:数据量大时
115
+
116
+ 2. **代码重构**
117
+ - 建议项:提取通用工具类、统一错误处理
118
+
119
+ 3. **单元测试**
120
+ - 建议项:为核心 Service 添加单元测试
121
+ - 触发条件:功能稳定后
122
+
123
+ ---
124
+
125
+ ## 具体行动建议
126
+
127
+ ### 如果您想继续开发新功能:
128
+
129
+ **推荐 1:完善业务模块**
130
+ - 建议实现:[根据扫描结果列出未完成的功能]
131
+ - 所属模块:[sys-canteen / sys-kitchen / sys-drp / sys-common]
132
+ - **快速开始**:
133
+ ```bash
134
+ /crud [表名] # 快速生成 CRUD 代码
135
+ /check [模块名] # 检查并修复规范问题
136
+ ```
137
+
138
+ **推荐 2:开发新的业务功能**
139
+ - 建议实现:[根据项目进展推荐下一个业务功能]
140
+ - **快速开始**:
141
+ ```bash
142
+ /dev 功能名称 # 使用向导开发新功能(含表设计)
143
+ ```
144
+
145
+ ### 如果您想优化代码质量:
146
+
147
+ **推荐 1:规范检查和修复**
148
+ - 建议优化:修复所有代码规范问题
149
+ - **快速检查**:
150
+ ```bash
151
+ /check # 全量检查
152
+ /check canteen # 按模块检查
153
+ ```
154
+
155
+ **推荐 2:Service 层优化**
156
+ - 建议优化:完善 buildWrapper 实现,支持更复杂的查询
157
+ - **参考代码**:`sys-canteen/.../order/common/service/impl/OrderInfoService.java`
158
+
159
+ **推荐 3:注释和文档**
160
+ - 建议优化:添加 JavaDoc 注释
161
+ - 位置:所有 Controller 接口和关键 Service 方法
162
+
163
+ ### 如果您想修复现存问题:
164
+
165
+ **按严重程度排序的问题列表**:
166
+
167
+ #### 🔴 严重问题(立即修复)
168
+ - **FIXME 问题**:[根据扫描结果列出 FIXME 位置和内容]
169
+ - **权限注解缺失**:[根据扫描结果列出缺少 @RequiresAuthentication 的接口]
170
+ - **命令**:`/check [模块名]`
171
+
172
+ #### 🟡 重要问题(本周修复)
173
+ - **LeRequest 封装缺失**:[根据扫描结果列出未使用 LeRequest<T> 的 POST 接口]
174
+ - **del_flag 值错误**:[扫描是否有 delFlag=0 的设置]
175
+ - **命令**:`/check [模块名]`
176
+
177
+ #### 🟢 建议问题(择机修复)
178
+ - **缺少接口文档**:所有 Controller
179
+ - **缺少业务注释**:部分 Service 方法
180
+ - **命令**:逐一完善
181
+
182
+ ---
183
+
184
+ ## 开发建议
185
+
186
+ ### 开发流程建议
187
+
188
+ 1. **明确需求**:使用 `/start` 快速了解项目结构
189
+ 2. **检查规范**:使用 `/check` 检查代码质量
190
+ 3. **分析进度**:使用 `/progress` 了解完成情况
191
+ 4. **开始开发**:使用 `/dev` 或 `/crud` 快速生成代码
192
+ 5. **添加待办**:使用 `/add-todo` 跟踪任务
193
+ 6. **获取建议**:使用 `/next` 确定下一步方向
194
+
195
+ ### 最佳实践
196
+
197
+ | 实践 | 说明 |
198
+ |------|------|
199
+ | 四层职责清晰 | Controller 路由 → Business 编排 → Service 单表 → Mapper ORM |
200
+ | 查询构建 | 在 Service 层用 LambdaQueryWrapper 构建,禁止在 Controller 层 |
201
+ | 对象转换 | 使用 BeanUtil.copyProperties(),禁止 MapstructUtils |
202
+ | 权限管理 | 所有接口必须有 @RequiresAuthentication 或 @RequiresGuest |
203
+ | 请求封装 | POST 请求体统一使用 LeRequest<T>,通过 request.getContent() 获取参数 |
204
+ | 注释完整 | 关键方法必须有 JavaDoc 注释 |
205
+ | 定期检查 | 每周至少一次运行 `/check` 和 `/progress` |
206
+
207
+ ### 技术选型建议
208
+
209
+ | 场景 | 推荐方案 | 理由 |
210
+ |------|--------|------|
211
+ | 快速生成 CRUD | `/crud` 命令 | 已有表结构时最快 |
212
+ | 从零开发功能 | `/dev` 命令 | 包含数据库设计和代码生成 |
213
+ | 代码规范检查 | `/check` 命令 | 及时发现问题 |
214
+ | 项目进度追踪 | `/progress` 命令 | 定期了解完成情况 |
215
+
216
+ ---
217
+
218
+ ## 需要确认的问题
219
+
220
+ ### 如果不确定下一步方向,请回答:
221
+
222
+ - [ ] **您更希望继续开发功能,还是优化现有代码?**
223
+ - 选项 A:继续开发新功能(推荐 `/crud` 或 `/dev` 命令)
224
+ - 选项 B:优化现有代码(推荐 `/check` 和 `/progress` 命令)
225
+
226
+ - [ ] **是否需要为新开发的功能添加到待办列表中?**
227
+ - 可使用 `/add-todo` 快速添加
228
+
229
+ ---
230
+
231
+ ## 相关命令
232
+
233
+ | 命令 | 用途 | 何时使用 |
234
+ |------|------|---------|
235
+ | `/start` | 快速了解项目 | 初次接触项目 |
236
+ | `/check` | 代码规范检查 | 开发完成后、定期检查 |
237
+ | `/progress` | 查看项目进度 | 了解完成情况 |
238
+ | `/next` | 获取建议 | 不知道下一步做什么 |
239
+ | `/dev` | 开发新功能 | 从零开始开发 |
240
+ | `/crud` | 快速生成代码 | 表已存在时 |
241
+ | `/add-todo` | 添加待办任务 | 跟踪任务 |
242
+
243
+ ---
244
+
245
+ ## 说明
246
+
247
+ - 本建议基于对当前项目代码的分析生成
248
+ - 建议具体且可执行,不空泛
249
+ - 会考虑开发的连贯性和代码质量
250
+ - 如发现紧急问题会明确标注
251
+ - 如不确定用户意图会主动询问
@@ -0,0 +1,242 @@
1
+ # /progress - 项目进度梳理
2
+
3
+ 作为项目进度分析助手,帮您快速分析后端开发进度、识别完成度和待办事项。
4
+
5
+ ## 执行流程
6
+
7
+ ### 第一步:扫描业务模块(强制执行)
8
+
9
+ ```bash
10
+ # 查找核心业务模块的 Controller
11
+ Glob pattern: "sys-canteen/src/main/java/**/controller/*Controller.java"
12
+ Glob pattern: "sys-kitchen/src/main/java/**/controller/*Controller.java"
13
+ Glob pattern: "sys-drp/src/main/java/**/controller/*Controller.java"
14
+ Glob pattern: "sys-common/src/main/java/**/controller/*Controller.java"
15
+
16
+ # 基础设施模块(不统计进度):
17
+ # - core-base(公共配置、工具类)
18
+ # - core-aggregator(聚合器)
19
+ # - sys-open(开放接口模块)
20
+ # - sys-logistics(物流模块)
21
+ ```
22
+
23
+ 自动检测的核心业务模块:
24
+ - `sys-canteen`:食堂业务(订单、菜品、用户)
25
+ - `sys-kitchen`:后场厨房(备餐、出餐、排班)
26
+ - `sys-drp`:供应链(采购、库存、配送)
27
+ - `sys-common`:公共业务(支付、通知、对接)
28
+
29
+ ### 第二步:分析代码完整性
30
+
31
+ 对每个功能检查 **8 个必需的文件**(leniu 四层架构):
32
+
33
+ | 类型 | 文件 | 完整文件路径 | 必须 | 说明 |
34
+ |------|------|------------|------|------|
35
+ | Entity | `XxxInfo.java` | `common/model/XxxInfo.java` | ✅ | 数据模型 |
36
+ | DTO | `XxxInfoDTO.java` | `web/dto/XxxInfoDTO.java` | ✅ | 请求参数 |
37
+ | VO | `XxxInfoVO.java` | `web/vo/XxxInfoVO.java` | ✅ | 返回对象 |
38
+ | Mapper | `XxxInfoMapper.java` | `common/mapper/XxxInfoMapper.java` | ✅ | Mapper 接口 |
39
+ | MapperXML | `XxxInfoMapper.xml` | `common/mapper/XxxInfoMapper.xml` | ✅ | SQL 映射(同目录) |
40
+ | Service | `XxxInfoService.java` | `common/service/impl/XxxInfoService.java` | ✅ | 单表 CRUD |
41
+ | Business | `XxxWebBusiness.java` | `web/business/impl/XxxWebBusiness.java` | ✅ | 业务编排 |
42
+ | Controller | `XxxWebController.java` | `web/controller/XxxWebController.java` | ✅ | 接口层 |
43
+
44
+ ### 第三步:扫描代码待办(TODO/FIXME)
45
+
46
+ ```bash
47
+ # 扫描需要处理的代码注释
48
+ Grep pattern: "TODO:|FIXME:" path: sys-canteen/,sys-kitchen/,sys-drp/,sys-common/ glob: "*.java" output_mode: content -B 1
49
+ ```
50
+
51
+ ### 第四步:代码质量分析
52
+
53
+ ```bash
54
+ # 检查代码规范性
55
+ Grep pattern: "package org\.dromara\." path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
56
+ Grep pattern: "MapstructUtils|ServiceException" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
57
+ Grep pattern: "createBy|createTime|updateBy|updateTime" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
58
+ Grep pattern: "delFlag.*=.*0\b" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
59
+ ```
60
+
61
+ ---
62
+
63
+ ## 输出格式
64
+
65
+ ```markdown
66
+ # 项目进度报告
67
+
68
+ **生成时间**:YYYY-MM-DD HH:mm
69
+ **检查范围**:全量后端代码
70
+
71
+ ---
72
+
73
+ ## 项目概况
74
+
75
+ - **项目名称**:leniu-tengyun-core 云食堂
76
+ - **技术栈**:Spring Boot 3.x + pigx-framework + MyBatis-Plus + JDK 21
77
+ - **架构**:四层架构(Controller → Business → Service → Mapper)
78
+ - **双库**:系统库(全局配置)+ 商户库(租户业务数据)
79
+ - **当前阶段**:[开发中/测试中/已上线]
80
+
81
+ ---
82
+
83
+ ## 后端模块进度汇总
84
+
85
+ | 模块 | 功能数 | 完成数 | 完成率 | 状态 |
86
+ |------|--------|--------|--------|------|
87
+ | sys-canteen(食堂业务) | X | X | XX% | [状态] |
88
+ | sys-kitchen(后场厨房) | X | X | XX% | [状态] |
89
+ | sys-drp(供应链) | X | X | XX% | [状态] |
90
+ | sys-common(公共业务) | X | X | XX% | [状态] |
91
+ | **合计** | **X** | **X** | **XX%** | [状态] |
92
+
93
+ ---
94
+
95
+ ## 功能详情分析
96
+
97
+ ### [模块名] 模块 (XX% 完成)
98
+
99
+ | 功能 | Entity | DTO | VO | Mapper | XML | Service | Business | Controller | 完成度 | 备注 |
100
+ |------|--------|-----|----|--------|-----|---------|----------|------------|--------|------|
101
+ | [功能名] | ✅/❌ | ✅/❌ | ✅/❌ | ✅/❌ | ✅/❌ | ✅/❌ | ✅/❌ | ✅/❌ | XX% | [备注] |
102
+
103
+ **说明**:
104
+ - ✅ 已完成
105
+ - ⚠️ 部分完成/需改进
106
+ - ❌ 待完成
107
+
108
+ ---
109
+
110
+ ## 代码质量分析
111
+
112
+ | 指标 | 评分 | 说明 |
113
+ |------|------|------|
114
+ | 包名规范 | 良好 ✅ | 所有包名符合 net.xnzn.core.* |
115
+ | 审计字段 | 良好 ✅ | 使用 crby/crtime/upby/uptime |
116
+ | del_flag 语义 | 良好 ✅ | 正确使用 2=正常,1=删除 |
117
+ | 权限注解完整度 | 待补充 ⚠️ | 部分接口缺少 @RequiresAuthentication |
118
+ | 对象转换规范 | 良好 ✅ | 正确使用 BeanUtil.copyProperties() |
119
+ | 请求封装规范 | 待补充 ⚠️ | 部分 POST 接口未使用 LeRequest<T> |
120
+ | 事务注解完整 | 良好 ✅ | 写操作均有 @Transactional |
121
+
122
+ ---
123
+
124
+ ## 代码待办事项
125
+
126
+ ### TODO 项 (X 个)
127
+
128
+ | 文件 | 行号 | 类型 | 内容 | 优先级 |
129
+ |------|------|------|------|--------|
130
+ | `[文件名].java` | [行号] | TODO | [描述] | [优先级] |
131
+
132
+ ### FIXME 项 (X 个)
133
+
134
+ | 文件 | 行号 | 类型 | 内容 | 优先级 |
135
+ |------|------|------|------|--------|
136
+ | `[文件名].java` | [行号] | FIXME | [描述] | [优先级] |
137
+
138
+ ---
139
+
140
+ ## 改进建议
141
+
142
+ ### 高优先级(需立即处理)
143
+
144
+ 1. **补充缺失的 Business 层**
145
+ - [模块名] 缺少 [功能名]WebBusiness 编排层
146
+ - 影响:复杂业务逻辑无处放置
147
+ - 建议:使用 `/crud [功能名]` 快速生成
148
+
149
+ 2. **完善权限注解**
150
+ - 发现 X 个接口缺少 @RequiresAuthentication/@RequiresGuest
151
+ - 影响:权限控制不严格
152
+ - 建议:使用 `/check` 进行完整检查
153
+
154
+ 3. **修复 FIXME 问题**
155
+ - [FIXME 描述]
156
+ - 影响:[影响范围]
157
+ - 优先级:🔴 高
158
+
159
+ ### 中优先级(逐步完善)
160
+
161
+ 1. **补充接口注释**
162
+ - [模块名] 缺少业务逻辑注释
163
+ - 建议:为关键方法添加 JavaDoc
164
+
165
+ 2. **优化查询性能**
166
+ - [Service 文件名] 大数据量查询需优化
167
+ - 建议:添加分页、完善 buildWrapper 查询条件
168
+
169
+ 3. **完善 Mapper XML**
170
+ - [模块名] 部分复杂查询需要补充 XML SQL
171
+ - 建议:XML 文件与 Mapper.java 放在同一目录
172
+
173
+ ---
174
+
175
+ ## 检查通过项
176
+
177
+ - [x] 包名规范(net.xnzn.core.*)
178
+ - [x] 对象转换(BeanUtil.copyProperties())
179
+ - [x] 审计字段(crby/crtime/upby/uptime)
180
+ - [x] 逻辑删除(del_flag: 2=正常,1=删除)
181
+ - [x] Mapper 继承(BaseMapper<Entity>)
182
+ - [x] 无 tenant_id 字段(双库物理隔离)
183
+
184
+ ---
185
+
186
+ ## 完成度判定标准
187
+
188
+ | 完成率 | 状态 | 说明 | 推荐行动 |
189
+ |--------|------|------|---------|
190
+ | 100% | ✅ 已完成 | 全部 8 个文件均已完成 | 可进行代码审查 |
191
+ | 75-99% | 🟢 基本完成 | 缺少 1-2 个文件 | 补充缺失文件 |
192
+ | 50-74% | 🟡 进行中 | 缺少 2-4 个文件 | 加快开发进度 |
193
+ | 1-49% | 🔴 早期阶段 | 仅有少量文件 | 继续开发 |
194
+ | 0% | ⚫ 待开发 | 无相关文件 | 使用 `/dev` 开始开发 |
195
+
196
+ ---
197
+
198
+ ## 快速操作
199
+
200
+ 根据上面的分析结果,您可以使用以下命令快速完成开发:
201
+
202
+ ```bash
203
+ # 1. 快速生成缺失功能
204
+ /crud [功能名]
205
+
206
+ # 2. 检查并修复代码规范
207
+ /check [模块名]
208
+
209
+ # 3. 继续开发新功能(含表设计)
210
+ /dev 新功能名称
211
+
212
+ # 4. 快速添加待办任务
213
+ /add-todo [任务描述],[优先级]
214
+ ```
215
+
216
+ ---
217
+
218
+ ## 说明
219
+
220
+ - 本报告统计核心业务模块(sys-canteen、sys-kitchen、sys-drp、sys-common)
221
+ - 基础设施模块(core-base、core-aggregator、sys-open、sys-logistics)不统计进度
222
+ - 完成率基于 8 个必需文件的存在情况判定(leniu 四层架构)
223
+ - 代码待办基于 TODO/FIXME 注释统计
224
+ - 建议定期运行此命令以追踪项目进度
225
+ ```
226
+
227
+ ---
228
+
229
+ ## 使用示例
230
+
231
+ ```
232
+ 用户:/progress
233
+ 用户:/progress canteen (仅检查 sys-canteen 模块)
234
+ 用户:/progress kitchen (仅检查 sys-kitchen 模块)
235
+
236
+ Claude:
237
+ 🔍 正在扫描项目结构...
238
+ 📊 分析代码完整性...
239
+ 🔍 扫描代码待办事项...
240
+
241
+ [输出完整的进度报告]
242
+ ```
@@ -0,0 +1,199 @@
1
+ # /start - 项目快速了解
2
+
3
+ 新成员快速了解 leniu-tengyun-core(云食堂)项目的必看命令。
4
+
5
+ ---
6
+
7
+ ## 适用场景
8
+
9
+ | 场景 | 说明 |
10
+ |------|------|
11
+ | **初次接触** | 新成员第一次接触项目 |
12
+ | **项目交接** | 接手他人的项目 |
13
+ | **重新梳理** | 距上次熟悉项目已久,需快速回顾 |
14
+ | **窗口切换** | 在新的 Claude 会话中快速了解项目 |
15
+
16
+ ---
17
+
18
+ ## 执行流程
19
+
20
+ ### 第一步:扫描项目结构
21
+
22
+ ```bash
23
+ # 扫描业务模块 Controller
24
+ Glob pattern: "sys-canteen/src/main/java/net/xnzn/core/**/controller/*Controller.java"
25
+ Glob pattern: "sys-kitchen/src/main/java/net/xnzn/core/**/controller/*Controller.java"
26
+ Glob pattern: "sys-drp/src/main/java/net/xnzn/core/**/controller/*Controller.java"
27
+
28
+ # 查看最近 3 条 Git 提交
29
+ git log -3 --oneline
30
+ ```
31
+
32
+ ### 第二步:识别 leniu 模块结构
33
+
34
+ **核心业务模块(统计进度)**:
35
+
36
+ | 模块 | 说明 | 包名 |
37
+ |------|------|------|
38
+ | `sys-canteen` | 食堂业务(订单、菜品、用户)| `net.xnzn.core.canteen` |
39
+ | `sys-kitchen` | 后场厨房(备餐、出餐、排班)| `net.xnzn.core.kitchen` |
40
+ | `sys-drp` | 供应链(采购、库存、配送)| `net.xnzn.core.drp` |
41
+ | `sys-common` | 公共业务(支付、通知、对接)| `net.xnzn.core.common` |
42
+
43
+ **基础设施模块(不统计进度)**:
44
+ - `core-base` - 公共配置、工具类
45
+ - `core-aggregator` - 聚合器
46
+ - `sys-open` - 开放接口模块
47
+ - `sys-logistics` - 物流模块
48
+
49
+ ### 第三步:判断项目开发阶段
50
+
51
+ ```
52
+ Controller 数量 = 0 → 全新项目
53
+ Controller 数量 1-20 → 初期开发
54
+ Controller 数量 21+ → 成熟项目
55
+ ```
56
+
57
+ ### 第四步:检查文档状态
58
+
59
+ ```bash
60
+ Glob pattern: "docs/*.md"
61
+ ```
62
+
63
+ ---
64
+
65
+ ## 输出格式
66
+
67
+ ### 情况一:全新项目
68
+
69
+ ```markdown
70
+ # 欢迎使用 leniu-tengyun-core(云食堂)
71
+
72
+ **技术栈**:Spring Boot 3.x + pigx-framework + MyBatis-Plus + JDK 21
73
+ **架构**:四层架构(Controller → Business → Service → Mapper)
74
+ **双库**:系统库(全局配置)+ 商户库(租户业务数据)
75
+
76
+ ## 框架现状
77
+
78
+ ### 核心特性
79
+ - 双库物理隔离(无 tenant_id 字段,通过请求头 MERCHANT-ID 路由)
80
+ - JDK 21 + jakarta.validation.*
81
+ - PageHelper 分页 + LeRequest<T> 请求封装
82
+ - LeException 业务异常 + I18n 国际化
83
+
84
+ ## 快速开始
85
+
86
+ 1. 了解规范:查看 CLAUDE.md
87
+ 2. 初始化文档:/init-docs
88
+ 3. 开始开发:/dev 或 /crud
89
+ ```
90
+
91
+ ### 情况二:开发中项目
92
+
93
+ ```markdown
94
+ # 欢迎回到 leniu-tengyun-core
95
+
96
+ **项目阶段**:开发中
97
+ **技术栈**:Spring Boot 3.x + JDK 21 + pigx-framework
98
+
99
+ ## 模块进度
100
+
101
+ | 模块 | Controller 数 | 说明 |
102
+ |------|--------------|------|
103
+ | sys-canteen | X | 食堂业务 |
104
+ | sys-kitchen | X | 后场厨房 |
105
+ | sys-drp | X | 供应链 |
106
+
107
+ ## 最近提交
108
+
109
+ [显示最近 3 条 git commit]
110
+
111
+ ## 代码质量速查
112
+
113
+ | 检查项 | 状态 |
114
+ |--------|------|
115
+ | 包名 (net.xnzn.core.*) | ✅/⚠️ |
116
+ | 审计字段 (crby/crtime) | ✅/⚠️ |
117
+ | 认证注解 (@RequiresAuthentication) | ✅/⚠️ |
118
+
119
+ ## 建议操作
120
+
121
+ ```bash
122
+ /progress # 查看详细进度
123
+ /check # 检查代码规范
124
+ /next # 获取下一步建议
125
+ ```
126
+ ```
127
+
128
+ ### 第五步:文档建议
129
+
130
+ 若 `docs/` 目录不存在:
131
+
132
+ ```markdown
133
+ ## 建议
134
+
135
+ 检测到业务代码,但尚未初始化项目文档。
136
+
137
+ 执行 /init-docs 初始化:
138
+ - 项目状态.md - 进度追踪
139
+ - 需求文档.md - 业务需求
140
+ - 待办清单.md - 任务清单
141
+ ```
142
+
143
+ ---
144
+
145
+ ## 新成员入门清单
146
+
147
+ - [ ] 阅读 `CLAUDE.md` 了解 leniu 开发规范
148
+ - [ ] 运行 `/start` 了解项目现状
149
+ - [ ] 运行 `/progress` 查看详细进度
150
+ - [ ] 了解双库架构(系统库 vs 商户库)
151
+ - [ ] 了解四层架构(Controller → Business → Service → Mapper)
152
+ - [ ] 根据 `/next` 建议选择任务
153
+
154
+ ---
155
+
156
+ ## 核心命令速览
157
+
158
+ ```bash
159
+ /start # 项目概览(当前命令)
160
+ /progress # 详细进度
161
+ /check # 代码规范检查
162
+ /dev # 开发新功能(含表设计)
163
+ /crud # 快速生成 CRUD(表已存在)
164
+ /next # 获取建议
165
+ /sync # 全量同步
166
+ /init-docs # 初始化文档
167
+ /add-todo # 添加待办
168
+ ```
169
+
170
+ ---
171
+
172
+ ## 常见问题
173
+
174
+ ### Q: leniu 架构和 RuoYi-Vue-Plus 有什么区别?
175
+
176
+ | 对比 | RuoYi-Vue-Plus | leniu-tengyun-core |
177
+ |------|----------------|-------------------|
178
+ | 包名 | `org.dromara.*` | `net.xnzn.core.*` |
179
+ | 租户 | 单库 `tenant_id` 字段 | 双库物理隔离 |
180
+ | 审计字段 | createBy/createTime | crby/crtime |
181
+ | del_flag | 0=正常 | 2=正常 |
182
+ | 请求封装 | BO | LeRequest<T> |
183
+ | 权限注解 | @SaCheckPermission | @RequiresAuthentication |
184
+ | 异常 | ServiceException | LeException |
185
+ | 多了一层 | 三层 | 四层(多 Business 层)|
186
+
187
+ ### Q: 怎么开发新功能?
188
+
189
+ ```bash
190
+ /dev # 含表结构设计的完整开发向导
191
+ /crud # 表已存在时快速生成代码
192
+ ```
193
+
194
+ ### Q: 怎么追踪进度?
195
+
196
+ ```bash
197
+ /progress # 查看完成情况
198
+ /sync # 生成完整报告
199
+ ```