devflow-kit 0.9.0 → 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 (414) hide show
  1. package/CHANGELOG.md +197 -29
  2. package/LICENSE +1 -1
  3. package/README.md +185 -309
  4. package/dist/cli.js +7 -1
  5. package/dist/commands/ambient.d.ts +18 -0
  6. package/dist/commands/ambient.js +136 -0
  7. package/dist/commands/init.d.ts +23 -0
  8. package/dist/commands/init.js +393 -571
  9. package/dist/commands/list.d.ts +3 -0
  10. package/dist/commands/list.js +20 -0
  11. package/dist/commands/memory.d.ts +22 -0
  12. package/dist/commands/memory.js +175 -0
  13. package/dist/commands/uninstall.d.ts +10 -0
  14. package/dist/commands/uninstall.js +418 -78
  15. package/dist/plugins.d.ts +46 -0
  16. package/dist/plugins.js +169 -0
  17. package/dist/utils/cli.d.ts +5 -0
  18. package/dist/utils/cli.js +14 -0
  19. package/dist/utils/installer.d.ts +41 -0
  20. package/dist/utils/installer.js +177 -0
  21. package/dist/utils/paths.d.ts +10 -0
  22. package/dist/utils/paths.js +23 -3
  23. package/dist/utils/post-install.d.ts +80 -0
  24. package/dist/utils/post-install.js +508 -0
  25. package/dist/utils/safe-delete-install.d.ts +29 -0
  26. package/dist/utils/safe-delete-install.js +191 -0
  27. package/dist/utils/safe-delete.d.ts +12 -0
  28. package/dist/utils/safe-delete.js +83 -0
  29. package/package.json +18 -8
  30. package/plugins/devflow-ambient/.claude-plugin/plugin.json +7 -0
  31. package/plugins/devflow-ambient/README.md +49 -0
  32. package/plugins/devflow-ambient/commands/ambient.md +110 -0
  33. package/plugins/devflow-ambient/skills/ambient-router/SKILL.md +89 -0
  34. package/plugins/devflow-ambient/skills/ambient-router/references/skill-catalog.md +64 -0
  35. package/plugins/devflow-audit-claude/.claude-plugin/plugin.json +7 -0
  36. package/plugins/devflow-audit-claude/README.md +46 -0
  37. package/plugins/devflow-audit-claude/agents/claude-md-auditor.md +134 -0
  38. package/plugins/devflow-audit-claude/commands/audit-claude.md +85 -0
  39. package/plugins/devflow-code-review/.claude-plugin/plugin.json +31 -0
  40. package/plugins/devflow-code-review/README.md +73 -0
  41. package/plugins/devflow-code-review/agents/git.md +272 -0
  42. package/plugins/devflow-code-review/agents/reviewer.md +119 -0
  43. package/plugins/devflow-code-review/agents/synthesizer.md +204 -0
  44. package/plugins/devflow-code-review/commands/code-review-teams.md +262 -0
  45. package/plugins/devflow-code-review/commands/code-review.md +141 -0
  46. package/plugins/devflow-code-review/skills/accessibility/SKILL.md +229 -0
  47. package/plugins/devflow-code-review/skills/accessibility/references/detection.md +171 -0
  48. package/plugins/devflow-code-review/skills/accessibility/references/patterns.md +670 -0
  49. package/plugins/devflow-code-review/skills/accessibility/references/violations.md +419 -0
  50. package/plugins/devflow-code-review/skills/agent-teams/SKILL.md +124 -0
  51. package/plugins/devflow-code-review/skills/agent-teams/references/cleanup.md +104 -0
  52. package/plugins/devflow-code-review/skills/agent-teams/references/communication.md +122 -0
  53. package/plugins/devflow-code-review/skills/agent-teams/references/team-patterns.md +217 -0
  54. package/plugins/devflow-code-review/skills/architecture-patterns/SKILL.md +153 -0
  55. package/plugins/devflow-code-review/skills/architecture-patterns/references/detection.md +337 -0
  56. package/plugins/devflow-code-review/skills/architecture-patterns/references/patterns.md +873 -0
  57. package/plugins/devflow-code-review/skills/architecture-patterns/references/violations.md +575 -0
  58. package/plugins/devflow-code-review/skills/complexity-patterns/SKILL.md +143 -0
  59. package/plugins/devflow-code-review/skills/complexity-patterns/references/detection.md +264 -0
  60. package/plugins/devflow-code-review/skills/complexity-patterns/references/patterns.md +487 -0
  61. package/plugins/devflow-code-review/skills/complexity-patterns/references/violations.md +361 -0
  62. package/plugins/devflow-code-review/skills/consistency-patterns/SKILL.md +140 -0
  63. package/plugins/devflow-code-review/skills/consistency-patterns/references/detection.md +207 -0
  64. package/plugins/devflow-code-review/skills/consistency-patterns/references/patterns.md +202 -0
  65. package/plugins/devflow-code-review/skills/consistency-patterns/references/violations.md +213 -0
  66. package/plugins/devflow-code-review/skills/database-patterns/SKILL.md +134 -0
  67. package/plugins/devflow-code-review/skills/database-patterns/references/detection.md +208 -0
  68. package/plugins/devflow-code-review/skills/database-patterns/references/patterns.md +394 -0
  69. package/plugins/devflow-code-review/skills/database-patterns/references/violations.md +332 -0
  70. package/plugins/devflow-code-review/skills/dependencies-patterns/SKILL.md +141 -0
  71. package/plugins/devflow-code-review/skills/dependencies-patterns/references/detection.md +181 -0
  72. package/plugins/devflow-code-review/skills/dependencies-patterns/references/patterns.md +225 -0
  73. package/plugins/devflow-code-review/skills/dependencies-patterns/references/violations.md +247 -0
  74. package/plugins/devflow-code-review/skills/documentation-patterns/SKILL.md +125 -0
  75. package/plugins/devflow-code-review/skills/documentation-patterns/references/detection.md +190 -0
  76. package/plugins/devflow-code-review/skills/documentation-patterns/references/patterns.md +189 -0
  77. package/plugins/devflow-code-review/skills/documentation-patterns/references/violations.md +163 -0
  78. package/plugins/devflow-code-review/skills/frontend-design/SKILL.md +254 -0
  79. package/plugins/devflow-code-review/skills/frontend-design/references/detection.md +184 -0
  80. package/plugins/devflow-code-review/skills/frontend-design/references/patterns.md +511 -0
  81. package/plugins/devflow-code-review/skills/frontend-design/references/violations.md +453 -0
  82. package/plugins/devflow-code-review/skills/performance-patterns/SKILL.md +154 -0
  83. package/plugins/devflow-code-review/skills/performance-patterns/references/detection.md +351 -0
  84. package/plugins/devflow-code-review/skills/performance-patterns/references/patterns.md +503 -0
  85. package/plugins/devflow-code-review/skills/performance-patterns/references/violations.md +354 -0
  86. package/plugins/devflow-code-review/skills/react/SKILL.md +276 -0
  87. package/plugins/devflow-code-review/skills/react/references/patterns.md +1331 -0
  88. package/plugins/devflow-code-review/skills/react/references/violations.md +565 -0
  89. package/plugins/devflow-code-review/skills/regression-patterns/SKILL.md +146 -0
  90. package/plugins/devflow-code-review/skills/regression-patterns/references/detection.md +237 -0
  91. package/plugins/devflow-code-review/skills/regression-patterns/references/patterns.md +226 -0
  92. package/plugins/devflow-code-review/skills/regression-patterns/references/violations.md +225 -0
  93. package/plugins/devflow-code-review/skills/review-methodology/SKILL.md +119 -0
  94. package/plugins/devflow-code-review/skills/review-methodology/references/patterns.md +186 -0
  95. package/plugins/devflow-code-review/skills/review-methodology/references/report-template.md +142 -0
  96. package/plugins/devflow-code-review/skills/review-methodology/references/violations.md +125 -0
  97. package/plugins/devflow-code-review/skills/security-patterns/SKILL.md +156 -0
  98. package/plugins/devflow-code-review/skills/security-patterns/references/detection.md +287 -0
  99. package/plugins/devflow-code-review/skills/security-patterns/references/patterns.md +507 -0
  100. package/plugins/devflow-code-review/skills/security-patterns/references/violations.md +237 -0
  101. package/plugins/devflow-code-review/skills/test-patterns/SKILL.md +183 -0
  102. package/plugins/devflow-code-review/skills/test-patterns/references/detection.md +149 -0
  103. package/plugins/devflow-code-review/skills/test-patterns/references/patterns.md +220 -0
  104. package/plugins/devflow-code-review/skills/test-patterns/references/report-template.md +108 -0
  105. package/plugins/devflow-code-review/skills/test-patterns/references/violations.md +221 -0
  106. package/plugins/devflow-core-skills/.claude-plugin/plugin.json +28 -0
  107. package/plugins/devflow-core-skills/README.md +50 -0
  108. package/plugins/devflow-core-skills/skills/accessibility/SKILL.md +229 -0
  109. package/plugins/devflow-core-skills/skills/accessibility/references/detection.md +171 -0
  110. package/plugins/devflow-core-skills/skills/accessibility/references/patterns.md +670 -0
  111. package/plugins/devflow-core-skills/skills/accessibility/references/violations.md +419 -0
  112. package/plugins/devflow-core-skills/skills/core-patterns/SKILL.md +162 -0
  113. package/plugins/devflow-core-skills/skills/core-patterns/references/checklist.md +276 -0
  114. package/plugins/devflow-core-skills/skills/core-patterns/references/code-smell-violations.md +144 -0
  115. package/plugins/devflow-core-skills/skills/core-patterns/references/detection.md +303 -0
  116. package/plugins/devflow-core-skills/skills/core-patterns/references/patterns.md +576 -0
  117. package/plugins/devflow-core-skills/skills/core-patterns/references/violations.md +369 -0
  118. package/plugins/devflow-core-skills/skills/docs-framework/SKILL.md +138 -0
  119. package/plugins/devflow-core-skills/skills/docs-framework/references/patterns.md +346 -0
  120. package/plugins/devflow-core-skills/skills/docs-framework/references/violations.md +221 -0
  121. package/plugins/devflow-core-skills/skills/frontend-design/SKILL.md +254 -0
  122. package/plugins/devflow-core-skills/skills/frontend-design/references/detection.md +184 -0
  123. package/plugins/devflow-core-skills/skills/frontend-design/references/patterns.md +511 -0
  124. package/plugins/devflow-core-skills/skills/frontend-design/references/violations.md +453 -0
  125. package/plugins/devflow-core-skills/skills/git-safety/SKILL.md +122 -0
  126. package/plugins/devflow-core-skills/skills/git-safety/references/detection.md +290 -0
  127. package/plugins/devflow-core-skills/skills/git-safety/references/patterns.md +289 -0
  128. package/plugins/devflow-core-skills/skills/git-safety/references/violations.md +18 -0
  129. package/plugins/devflow-core-skills/skills/git-workflow/SKILL.md +158 -0
  130. package/plugins/devflow-core-skills/skills/git-workflow/references/commit-patterns.md +115 -0
  131. package/plugins/devflow-core-skills/skills/git-workflow/references/commit-violations.md +77 -0
  132. package/plugins/devflow-core-skills/skills/git-workflow/references/pr-patterns.md +127 -0
  133. package/plugins/devflow-core-skills/skills/git-workflow/references/pr-violations.md +96 -0
  134. package/plugins/devflow-core-skills/skills/github-patterns/SKILL.md +153 -0
  135. package/plugins/devflow-core-skills/skills/github-patterns/references/patterns.md +572 -0
  136. package/plugins/devflow-core-skills/skills/github-patterns/references/violations.md +298 -0
  137. package/plugins/devflow-core-skills/skills/input-validation/SKILL.md +148 -0
  138. package/plugins/devflow-core-skills/skills/input-validation/references/detection.md +283 -0
  139. package/plugins/devflow-core-skills/skills/input-validation/references/patterns.md +361 -0
  140. package/plugins/devflow-core-skills/skills/input-validation/references/violations.md +224 -0
  141. package/plugins/devflow-core-skills/skills/react/SKILL.md +276 -0
  142. package/plugins/devflow-core-skills/skills/react/references/patterns.md +1331 -0
  143. package/plugins/devflow-core-skills/skills/react/references/violations.md +565 -0
  144. package/plugins/devflow-core-skills/skills/test-driven-development/SKILL.md +139 -0
  145. package/plugins/devflow-core-skills/skills/test-driven-development/references/rationalization-prevention.md +111 -0
  146. package/plugins/devflow-core-skills/skills/test-patterns/SKILL.md +183 -0
  147. package/plugins/devflow-core-skills/skills/test-patterns/references/detection.md +149 -0
  148. package/plugins/devflow-core-skills/skills/test-patterns/references/patterns.md +220 -0
  149. package/plugins/devflow-core-skills/skills/test-patterns/references/report-template.md +108 -0
  150. package/plugins/devflow-core-skills/skills/test-patterns/references/violations.md +221 -0
  151. package/plugins/devflow-core-skills/skills/typescript/SKILL.md +176 -0
  152. package/plugins/devflow-core-skills/skills/typescript/references/patterns.md +1105 -0
  153. package/plugins/devflow-core-skills/skills/typescript/references/violations.md +433 -0
  154. package/plugins/devflow-debug/.claude-plugin/plugin.json +18 -0
  155. package/plugins/devflow-debug/README.md +65 -0
  156. package/plugins/devflow-debug/agents/git.md +272 -0
  157. package/plugins/devflow-debug/commands/debug-teams.md +231 -0
  158. package/plugins/devflow-debug/commands/debug.md +160 -0
  159. package/plugins/devflow-debug/skills/agent-teams/SKILL.md +124 -0
  160. package/plugins/devflow-debug/skills/agent-teams/references/cleanup.md +104 -0
  161. package/plugins/devflow-debug/skills/agent-teams/references/communication.md +122 -0
  162. package/plugins/devflow-debug/skills/agent-teams/references/team-patterns.md +217 -0
  163. package/plugins/devflow-debug/skills/git-safety/SKILL.md +122 -0
  164. package/plugins/devflow-debug/skills/git-safety/references/detection.md +290 -0
  165. package/plugins/devflow-debug/skills/git-safety/references/patterns.md +289 -0
  166. package/plugins/devflow-debug/skills/git-safety/references/violations.md +18 -0
  167. package/plugins/devflow-implement/.claude-plugin/plugin.json +21 -0
  168. package/plugins/devflow-implement/README.md +71 -0
  169. package/plugins/devflow-implement/agents/coder.md +122 -0
  170. package/plugins/devflow-implement/agents/git.md +272 -0
  171. package/plugins/devflow-implement/agents/scrutinizer.md +80 -0
  172. package/plugins/devflow-implement/agents/shepherd.md +94 -0
  173. package/plugins/devflow-implement/agents/simplifier.md +62 -0
  174. package/plugins/devflow-implement/agents/skimmer.md +88 -0
  175. package/plugins/devflow-implement/agents/synthesizer.md +204 -0
  176. package/plugins/devflow-implement/agents/validator.md +86 -0
  177. package/plugins/devflow-implement/commands/implement-teams.md +608 -0
  178. package/plugins/devflow-implement/commands/implement.md +426 -0
  179. package/plugins/devflow-implement/skills/accessibility/SKILL.md +229 -0
  180. package/plugins/devflow-implement/skills/accessibility/references/detection.md +171 -0
  181. package/plugins/devflow-implement/skills/accessibility/references/patterns.md +670 -0
  182. package/plugins/devflow-implement/skills/accessibility/references/violations.md +419 -0
  183. package/plugins/devflow-implement/skills/agent-teams/SKILL.md +124 -0
  184. package/plugins/devflow-implement/skills/agent-teams/references/cleanup.md +104 -0
  185. package/plugins/devflow-implement/skills/agent-teams/references/communication.md +122 -0
  186. package/plugins/devflow-implement/skills/agent-teams/references/team-patterns.md +217 -0
  187. package/plugins/devflow-implement/skills/frontend-design/SKILL.md +254 -0
  188. package/plugins/devflow-implement/skills/frontend-design/references/detection.md +184 -0
  189. package/plugins/devflow-implement/skills/frontend-design/references/patterns.md +511 -0
  190. package/plugins/devflow-implement/skills/frontend-design/references/violations.md +453 -0
  191. package/plugins/devflow-implement/skills/implementation-patterns/SKILL.md +162 -0
  192. package/plugins/devflow-implement/skills/implementation-patterns/references/patterns.md +1063 -0
  193. package/plugins/devflow-implement/skills/implementation-patterns/references/violations.md +483 -0
  194. package/plugins/devflow-implement/skills/self-review/SKILL.md +149 -0
  195. package/plugins/devflow-implement/skills/self-review/references/patterns.md +405 -0
  196. package/plugins/devflow-implement/skills/self-review/references/report-template.md +253 -0
  197. package/plugins/devflow-implement/skills/self-review/references/violations.md +308 -0
  198. package/plugins/devflow-resolve/.claude-plugin/plugin.json +19 -0
  199. package/plugins/devflow-resolve/README.md +65 -0
  200. package/plugins/devflow-resolve/agents/git.md +272 -0
  201. package/plugins/devflow-resolve/agents/resolver.md +131 -0
  202. package/plugins/devflow-resolve/agents/simplifier.md +62 -0
  203. package/plugins/devflow-resolve/commands/resolve-teams.md +298 -0
  204. package/plugins/devflow-resolve/commands/resolve.md +237 -0
  205. package/plugins/devflow-resolve/skills/agent-teams/SKILL.md +124 -0
  206. package/plugins/devflow-resolve/skills/agent-teams/references/cleanup.md +104 -0
  207. package/plugins/devflow-resolve/skills/agent-teams/references/communication.md +122 -0
  208. package/plugins/devflow-resolve/skills/agent-teams/references/team-patterns.md +217 -0
  209. package/plugins/devflow-resolve/skills/implementation-patterns/SKILL.md +162 -0
  210. package/plugins/devflow-resolve/skills/implementation-patterns/references/patterns.md +1063 -0
  211. package/plugins/devflow-resolve/skills/implementation-patterns/references/violations.md +483 -0
  212. package/plugins/devflow-resolve/skills/security-patterns/SKILL.md +156 -0
  213. package/plugins/devflow-resolve/skills/security-patterns/references/detection.md +287 -0
  214. package/plugins/devflow-resolve/skills/security-patterns/references/patterns.md +507 -0
  215. package/plugins/devflow-resolve/skills/security-patterns/references/violations.md +237 -0
  216. package/plugins/devflow-self-review/.claude-plugin/plugin.json +7 -0
  217. package/plugins/devflow-self-review/README.md +38 -0
  218. package/plugins/devflow-self-review/agents/scrutinizer.md +80 -0
  219. package/plugins/devflow-self-review/agents/simplifier.md +62 -0
  220. package/plugins/devflow-self-review/agents/validator.md +86 -0
  221. package/plugins/devflow-self-review/commands/self-review.md +126 -0
  222. package/plugins/devflow-self-review/skills/core-patterns/SKILL.md +162 -0
  223. package/plugins/devflow-self-review/skills/core-patterns/references/checklist.md +276 -0
  224. package/plugins/devflow-self-review/skills/core-patterns/references/code-smell-violations.md +144 -0
  225. package/plugins/devflow-self-review/skills/core-patterns/references/detection.md +303 -0
  226. package/plugins/devflow-self-review/skills/core-patterns/references/patterns.md +576 -0
  227. package/plugins/devflow-self-review/skills/core-patterns/references/violations.md +369 -0
  228. package/plugins/devflow-self-review/skills/self-review/SKILL.md +149 -0
  229. package/plugins/devflow-self-review/skills/self-review/references/patterns.md +405 -0
  230. package/plugins/devflow-self-review/skills/self-review/references/report-template.md +253 -0
  231. package/plugins/devflow-self-review/skills/self-review/references/violations.md +308 -0
  232. package/plugins/devflow-specify/.claude-plugin/plugin.json +15 -0
  233. package/plugins/devflow-specify/README.md +46 -0
  234. package/plugins/devflow-specify/agents/skimmer.md +88 -0
  235. package/plugins/devflow-specify/agents/synthesizer.md +204 -0
  236. package/plugins/devflow-specify/commands/specify-teams.md +314 -0
  237. package/plugins/devflow-specify/commands/specify.md +179 -0
  238. package/plugins/devflow-specify/skills/agent-teams/SKILL.md +124 -0
  239. package/plugins/devflow-specify/skills/agent-teams/references/cleanup.md +104 -0
  240. package/plugins/devflow-specify/skills/agent-teams/references/communication.md +122 -0
  241. package/plugins/devflow-specify/skills/agent-teams/references/team-patterns.md +217 -0
  242. package/scripts/hooks/ambient-prompt.sh +48 -0
  243. package/scripts/hooks/background-memory-update.sh +208 -0
  244. package/scripts/hooks/ensure-memory-gitignore.sh +17 -0
  245. package/scripts/hooks/pre-compact-memory.sh +87 -0
  246. package/scripts/hooks/session-start-memory.sh +126 -0
  247. package/scripts/hooks/stop-update-memory.sh +85 -0
  248. package/shared/agents/coder.md +122 -0
  249. package/shared/agents/git.md +272 -0
  250. package/shared/agents/resolver.md +131 -0
  251. package/shared/agents/reviewer.md +119 -0
  252. package/shared/agents/scrutinizer.md +80 -0
  253. package/shared/agents/shepherd.md +94 -0
  254. package/shared/agents/simplifier.md +62 -0
  255. package/shared/agents/skimmer.md +88 -0
  256. package/shared/agents/synthesizer.md +204 -0
  257. package/shared/agents/validator.md +86 -0
  258. package/shared/skills/accessibility/SKILL.md +229 -0
  259. package/shared/skills/accessibility/references/detection.md +171 -0
  260. package/shared/skills/accessibility/references/patterns.md +670 -0
  261. package/shared/skills/accessibility/references/violations.md +419 -0
  262. package/shared/skills/agent-teams/SKILL.md +124 -0
  263. package/shared/skills/agent-teams/references/cleanup.md +104 -0
  264. package/shared/skills/agent-teams/references/communication.md +122 -0
  265. package/shared/skills/agent-teams/references/team-patterns.md +217 -0
  266. package/shared/skills/ambient-router/SKILL.md +89 -0
  267. package/shared/skills/ambient-router/references/skill-catalog.md +64 -0
  268. package/shared/skills/architecture-patterns/SKILL.md +153 -0
  269. package/shared/skills/architecture-patterns/references/detection.md +337 -0
  270. package/shared/skills/architecture-patterns/references/patterns.md +873 -0
  271. package/shared/skills/architecture-patterns/references/violations.md +575 -0
  272. package/shared/skills/complexity-patterns/SKILL.md +143 -0
  273. package/shared/skills/complexity-patterns/references/detection.md +264 -0
  274. package/shared/skills/complexity-patterns/references/patterns.md +487 -0
  275. package/shared/skills/complexity-patterns/references/violations.md +361 -0
  276. package/shared/skills/consistency-patterns/SKILL.md +140 -0
  277. package/shared/skills/consistency-patterns/references/detection.md +207 -0
  278. package/shared/skills/consistency-patterns/references/patterns.md +202 -0
  279. package/shared/skills/consistency-patterns/references/violations.md +213 -0
  280. package/shared/skills/core-patterns/SKILL.md +162 -0
  281. package/shared/skills/core-patterns/references/checklist.md +276 -0
  282. package/shared/skills/core-patterns/references/code-smell-violations.md +144 -0
  283. package/shared/skills/core-patterns/references/detection.md +303 -0
  284. package/shared/skills/core-patterns/references/patterns.md +576 -0
  285. package/shared/skills/core-patterns/references/violations.md +369 -0
  286. package/shared/skills/database-patterns/SKILL.md +134 -0
  287. package/shared/skills/database-patterns/references/detection.md +208 -0
  288. package/shared/skills/database-patterns/references/patterns.md +394 -0
  289. package/shared/skills/database-patterns/references/violations.md +332 -0
  290. package/shared/skills/dependencies-patterns/SKILL.md +141 -0
  291. package/shared/skills/dependencies-patterns/references/detection.md +181 -0
  292. package/shared/skills/dependencies-patterns/references/patterns.md +225 -0
  293. package/shared/skills/dependencies-patterns/references/violations.md +247 -0
  294. package/shared/skills/docs-framework/SKILL.md +138 -0
  295. package/shared/skills/docs-framework/references/patterns.md +346 -0
  296. package/shared/skills/docs-framework/references/violations.md +221 -0
  297. package/shared/skills/documentation-patterns/SKILL.md +125 -0
  298. package/shared/skills/documentation-patterns/references/detection.md +190 -0
  299. package/shared/skills/documentation-patterns/references/patterns.md +189 -0
  300. package/shared/skills/documentation-patterns/references/violations.md +163 -0
  301. package/shared/skills/frontend-design/SKILL.md +254 -0
  302. package/shared/skills/frontend-design/references/detection.md +184 -0
  303. package/shared/skills/frontend-design/references/patterns.md +511 -0
  304. package/shared/skills/frontend-design/references/violations.md +453 -0
  305. package/shared/skills/git-safety/SKILL.md +122 -0
  306. package/shared/skills/git-safety/references/detection.md +290 -0
  307. package/shared/skills/git-safety/references/patterns.md +289 -0
  308. package/shared/skills/git-safety/references/violations.md +18 -0
  309. package/shared/skills/git-workflow/SKILL.md +158 -0
  310. package/shared/skills/git-workflow/references/commit-patterns.md +115 -0
  311. package/shared/skills/git-workflow/references/commit-violations.md +77 -0
  312. package/shared/skills/git-workflow/references/pr-patterns.md +127 -0
  313. package/shared/skills/git-workflow/references/pr-violations.md +96 -0
  314. package/shared/skills/github-patterns/SKILL.md +153 -0
  315. package/shared/skills/github-patterns/references/patterns.md +572 -0
  316. package/shared/skills/github-patterns/references/violations.md +298 -0
  317. package/shared/skills/implementation-patterns/SKILL.md +162 -0
  318. package/shared/skills/implementation-patterns/references/patterns.md +1063 -0
  319. package/shared/skills/implementation-patterns/references/violations.md +483 -0
  320. package/shared/skills/input-validation/SKILL.md +148 -0
  321. package/shared/skills/input-validation/references/detection.md +283 -0
  322. package/shared/skills/input-validation/references/patterns.md +361 -0
  323. package/shared/skills/input-validation/references/violations.md +224 -0
  324. package/shared/skills/performance-patterns/SKILL.md +154 -0
  325. package/shared/skills/performance-patterns/references/detection.md +351 -0
  326. package/shared/skills/performance-patterns/references/patterns.md +503 -0
  327. package/shared/skills/performance-patterns/references/violations.md +354 -0
  328. package/shared/skills/react/SKILL.md +276 -0
  329. package/shared/skills/react/references/patterns.md +1331 -0
  330. package/shared/skills/react/references/violations.md +565 -0
  331. package/shared/skills/regression-patterns/SKILL.md +146 -0
  332. package/shared/skills/regression-patterns/references/detection.md +237 -0
  333. package/shared/skills/regression-patterns/references/patterns.md +226 -0
  334. package/shared/skills/regression-patterns/references/violations.md +225 -0
  335. package/shared/skills/review-methodology/SKILL.md +119 -0
  336. package/shared/skills/review-methodology/references/patterns.md +186 -0
  337. package/shared/skills/review-methodology/references/report-template.md +142 -0
  338. package/shared/skills/review-methodology/references/violations.md +125 -0
  339. package/shared/skills/security-patterns/SKILL.md +156 -0
  340. package/shared/skills/security-patterns/references/detection.md +287 -0
  341. package/shared/skills/security-patterns/references/patterns.md +507 -0
  342. package/shared/skills/security-patterns/references/violations.md +237 -0
  343. package/shared/skills/self-review/SKILL.md +149 -0
  344. package/shared/skills/self-review/references/patterns.md +405 -0
  345. package/shared/skills/self-review/references/report-template.md +253 -0
  346. package/shared/skills/self-review/references/violations.md +308 -0
  347. package/shared/skills/test-driven-development/SKILL.md +139 -0
  348. package/shared/skills/test-driven-development/references/rationalization-prevention.md +111 -0
  349. package/shared/skills/test-patterns/SKILL.md +183 -0
  350. package/shared/skills/test-patterns/references/detection.md +149 -0
  351. package/shared/skills/test-patterns/references/patterns.md +220 -0
  352. package/shared/skills/test-patterns/references/report-template.md +108 -0
  353. package/shared/skills/test-patterns/references/violations.md +221 -0
  354. package/shared/skills/typescript/SKILL.md +176 -0
  355. package/shared/skills/typescript/references/patterns.md +1105 -0
  356. package/shared/skills/typescript/references/violations.md +433 -0
  357. package/src/templates/claudeignore.template +188 -0
  358. package/src/templates/managed-settings.json +160 -0
  359. package/src/templates/settings.json +59 -0
  360. package/dist/cli.d.ts.map +0 -1
  361. package/dist/cli.js.map +0 -1
  362. package/dist/commands/init.d.ts.map +0 -1
  363. package/dist/commands/init.js.map +0 -1
  364. package/dist/commands/uninstall.d.ts.map +0 -1
  365. package/dist/commands/uninstall.js.map +0 -1
  366. package/dist/utils/git.d.ts.map +0 -1
  367. package/dist/utils/git.js.map +0 -1
  368. package/dist/utils/paths.d.ts.map +0 -1
  369. package/dist/utils/paths.js.map +0 -1
  370. package/src/claude/CLAUDE.md +0 -400
  371. package/src/claude/agents/devflow/audit-architecture.md +0 -132
  372. package/src/claude/agents/devflow/audit-complexity.md +0 -132
  373. package/src/claude/agents/devflow/audit-database.md +0 -132
  374. package/src/claude/agents/devflow/audit-dependencies.md +0 -132
  375. package/src/claude/agents/devflow/audit-documentation.md +0 -132
  376. package/src/claude/agents/devflow/audit-performance.md +0 -256
  377. package/src/claude/agents/devflow/audit-security.md +0 -259
  378. package/src/claude/agents/devflow/audit-tests.md +0 -132
  379. package/src/claude/agents/devflow/audit-typescript.md +0 -132
  380. package/src/claude/agents/devflow/brainstorm.md +0 -279
  381. package/src/claude/agents/devflow/catch-up.md +0 -345
  382. package/src/claude/agents/devflow/code-review.md +0 -307
  383. package/src/claude/agents/devflow/commit.md +0 -380
  384. package/src/claude/agents/devflow/debug.md +0 -476
  385. package/src/claude/agents/devflow/design.md +0 -491
  386. package/src/claude/agents/devflow/get-issue.md +0 -286
  387. package/src/claude/agents/devflow/pr-comments.md +0 -285
  388. package/src/claude/agents/devflow/project-state.md +0 -419
  389. package/src/claude/agents/devflow/pull-request.md +0 -493
  390. package/src/claude/agents/devflow/release.md +0 -1137
  391. package/src/claude/agents/devflow/tech-debt.md +0 -338
  392. package/src/claude/commands/devflow/brainstorm.md +0 -68
  393. package/src/claude/commands/devflow/breakdown.md +0 -125
  394. package/src/claude/commands/devflow/catch-up.md +0 -29
  395. package/src/claude/commands/devflow/code-review.md +0 -237
  396. package/src/claude/commands/devflow/commit.md +0 -17
  397. package/src/claude/commands/devflow/debug.md +0 -56
  398. package/src/claude/commands/devflow/design.md +0 -82
  399. package/src/claude/commands/devflow/devlog.md +0 -408
  400. package/src/claude/commands/devflow/get-issue.md +0 -16
  401. package/src/claude/commands/devflow/implement.md +0 -100
  402. package/src/claude/commands/devflow/plan.md +0 -223
  403. package/src/claude/commands/devflow/pull-request.md +0 -20
  404. package/src/claude/commands/devflow/release.md +0 -251
  405. package/src/claude/commands/devflow/resolve-comments.md +0 -583
  406. package/src/claude/scripts/statusline.sh +0 -47
  407. package/src/claude/settings.json +0 -6
  408. package/src/claude/skills/devflow/code-smell/SKILL.md +0 -428
  409. package/src/claude/skills/devflow/debug/SKILL.md +0 -119
  410. package/src/claude/skills/devflow/error-handling/SKILL.md +0 -597
  411. package/src/claude/skills/devflow/input-validation/SKILL.md +0 -514
  412. package/src/claude/skills/devflow/pattern-check/SKILL.md +0 -238
  413. package/src/claude/skills/devflow/research/SKILL.md +0 -138
  414. package/src/claude/skills/devflow/test-design/SKILL.md +0 -384
@@ -1,223 +0,0 @@
1
- ---
2
- allowed-tools: AskUserQuestion, TodoWrite, Bash
3
- description: Triage issues from discussion - implement now, defer to GitHub issue, or skip
4
- ---
5
-
6
- ## Your task
7
-
8
- Triage issues and decisions from the current conversation. For each item, help user understand it and decide: implement now, defer to GitHub issue, or skip entirely. Convert "now" decisions into actionable todos.
9
-
10
- **Goal**: Deliberate decision-making on each issue, not batch selection.
11
-
12
- ---
13
-
14
- ## Step 1: Extract Issues from Conversation
15
-
16
- Scan the conversation for:
17
- - **Technical issues** found in code review
18
- - **Design decisions** that need to be made
19
- - **Bugs or vulnerabilities** discovered
20
- - **Refactoring opportunities** discussed
21
- - **Missing features** or incomplete implementations
22
- - **Technical debt** identified
23
- - **Questions or uncertainties** raised
24
-
25
- For each item, note:
26
- - What is it?
27
- - Why does it matter?
28
- - Severity/impact (Critical, High, Medium, Low)
29
-
30
- Group similar or trivial items together for batch triage.
31
-
32
- ---
33
-
34
- ## Step 2: Triage Each Issue
35
-
36
- Present issues one at a time (or in small batches for similar items):
37
-
38
- ```markdown
39
- ## Issue ${n}/${total}: ${short_title}
40
-
41
- **What**: ${clear_explanation}
42
-
43
- **Why it matters**: ${impact_and_consequences}
44
-
45
- **Severity**: ${Critical|High|Medium|Low}
46
- ```
47
-
48
- Then ask using `AskUserQuestion`:
49
-
50
- ```
51
- header: "Issue ${n}"
52
- question: "What do you want to do with: ${short_title}?"
53
- multiSelect: false
54
- options: [
55
- {
56
- label: "Implement now",
57
- description: "Add to current implementation tasks"
58
- },
59
- {
60
- label: "Create GitHub issue",
61
- description: "Defer to later - will create and lock issue"
62
- },
63
- {
64
- label: "Skip entirely",
65
- description: "Not relevant or not worth tracking"
66
- }
67
- ]
68
- ```
69
-
70
- **Batch similar issues** when appropriate:
71
- ```
72
- header: "Simple fixes"
73
- question: "These 3 similar issues (typos, formatting, minor cleanup) - handle them together?"
74
- options: [
75
- { label: "Implement all now", description: "Add all to current tasks" },
76
- { label: "Create single GitHub issue", description: "Group into one deferred issue" },
77
- { label: "Skip all", description: "Not worth the effort" }
78
- ]
79
- ```
80
-
81
- **Handle emerging clarifications**: If user's response raises new questions or reveals misunderstandings, address them immediately before continuing triage.
82
-
83
- ---
84
-
85
- ## Step 3: Create GitHub Issues for Deferred Items
86
-
87
- For each "Create GitHub issue" decision, use `Bash` to create the issue:
88
-
89
- ```bash
90
- gh issue create \
91
- --title "${issue_title}" \
92
- --body "$(cat <<'EOF'
93
- ## Context
94
-
95
- ${why_this_was_identified}
96
-
97
- ## Issue Details
98
-
99
- ${clear_description_of_the_issue}
100
-
101
- ## Suggested Approach
102
-
103
- ${potential_solution_if_discussed}
104
-
105
- ## Severity
106
-
107
- ${Critical|High|Medium|Low}
108
-
109
- ---
110
-
111
- *Created during triage session. Review before implementation.*
112
- EOF
113
- )" \
114
- --label "${appropriate_labels}"
115
- ```
116
-
117
- Then lock the issue (no reason required):
118
-
119
- ```bash
120
- gh issue lock ${issue_number}
121
- ```
122
-
123
- Track created issues for final summary.
124
-
125
- ---
126
-
127
- ## Step 4: Convert "Now" Items to Actionable Todos
128
-
129
- For all items marked "Implement now":
130
-
131
- 1. **Break down** into specific, actionable tasks
132
- 2. **Order** by dependencies and priority
133
- 3. **Estimate** complexity (simple: 15min, medium: 30min, complex: 1hr+)
134
-
135
- Good task breakdown:
136
- - ✅ "Fix SQL injection in `src/db/users.ts:45` - use parameterized queries"
137
- - ✅ "Add input validation for email field in registration endpoint"
138
- - ✅ "Refactor `UserService` to use Result types instead of throwing"
139
-
140
- Bad task breakdown:
141
- - ❌ "Fix security issues" (too vague)
142
- - ❌ "Improve error handling" (not specific)
143
-
144
- ---
145
-
146
- ## Step 5: Save Todos with TodoWrite
147
-
148
- Use `TodoWrite` to save actionable tasks:
149
-
150
- ```json
151
- [
152
- {
153
- "content": "${specific_task_description}",
154
- "status": "pending",
155
- "activeForm": "${task_in_progress_form}"
156
- }
157
- ]
158
- ```
159
-
160
- Each task should be:
161
- - Completable in 15-60 minutes
162
- - Clear success criteria
163
- - Include file paths when relevant
164
- - Ordered by dependencies
165
-
166
- ---
167
-
168
- ## Step 6: Final Summary
169
-
170
- ```markdown
171
- ## TRIAGE COMPLETE
172
-
173
- ### Implementing Now (${count} items → ${task_count} tasks)
174
-
175
- ${For each "now" item:}
176
- - **${issue_title}**
177
- - ${brief_description}
178
- - Tasks: ${list_of_specific_todos}
179
-
180
- ### Deferred to GitHub Issues (${count} items)
181
-
182
- ${For each deferred item:}
183
- - **${issue_title}** → Issue #${number}
184
- - ${brief_description}
185
- - Severity: ${severity}
186
- - [View issue](${issue_url})
187
-
188
- ### Skipped (${count} items)
189
-
190
- ${For each skipped item:}
191
- - ${issue_title} - ${reason_user_gave_or_inferred}
192
-
193
- ---
194
-
195
- **Next Steps**:
196
- - ${task_count} tasks saved to todo list
197
- - ${issue_count} GitHub issues created and locked
198
- - Run `/implement` to start working through tasks
199
- ```
200
-
201
- ---
202
-
203
- ## Behavior Rules
204
-
205
- ### ALWAYS:
206
- - Explain each issue clearly before asking for decision
207
- - Create actual GitHub issues via `gh` CLI
208
- - Lock created issues immediately
209
- - Break "now" items into specific, actionable todos
210
- - Track all decisions for final summary
211
- - Address clarifications that arise during triage
212
-
213
- ### NEVER:
214
- - Present all issues as a batch selection list
215
- - Skip the understanding phase
216
- - Create vague or unactionable todos
217
- - Forget to lock GitHub issues
218
- - Ignore user questions that arise during triage
219
-
220
- ### Handle Edge Cases:
221
- - **No issues found**: "I didn't identify any issues to triage from this conversation. Did I miss something?"
222
- - **gh CLI not available**: Warn user, offer to output issue text for manual creation
223
- - **User wants to reconsider**: Allow changing previous decisions before final save
@@ -1,20 +0,0 @@
1
- ---
2
- allowed-tools: Task
3
- description: Create pull request with comprehensive analysis and smart description generation
4
- ---
5
-
6
- ## Your task
7
-
8
- Launch the `pull-request` sub-agent to create a PR from the current branch.
9
-
10
- Pass `$ARGUMENTS` to the sub-agent (may contain base branch and/or `--draft` flag).
11
-
12
- The agent will:
13
- 1. Detect current branch and base branch (auto-detect if not specified)
14
- 2. Run pre-flight checks (commits exist, no existing PR, branch pushed)
15
- 3. Analyze commits and code changes
16
- 4. Generate PR title and comprehensive description
17
- 5. Create the PR using `gh pr create`
18
- 6. Return the PR URL
19
-
20
- Trust the agent's judgment. It handles all validation and creation.
@@ -1,251 +0,0 @@
1
- ---
2
- description: Automated release workflow with version management and publishing
3
- allowed-tools: Task, Bash, Read, Write, Edit, Grep, Glob
4
- ---
5
-
6
- ## Your Task
7
-
8
- Orchestrate a complete release workflow using the release sub-agent. This command guides you through creating a professional release with version management, changelog generation, building, testing, and publishing.
9
-
10
- **Workflow**: User input → Release agent automation → User confirmations at critical steps
11
-
12
- ### Step 1: Determine Release Type
13
-
14
- First, ask the user what type of release they want to create:
15
-
16
- ```bash
17
- echo "🚀 DEVFLOW RELEASE AUTOMATION"
18
- echo ""
19
- echo "This will guide you through creating a new release."
20
- echo ""
21
- ```
22
-
23
- Present options to the user:
24
-
25
- ```
26
- What type of release do you want to create?
27
-
28
- 1. **patch** - Bug fixes and maintenance (0.1.2 → 0.1.3)
29
- 2. **minor** - New features, backwards compatible (0.1.2 → 0.2.0)
30
- 3. **major** - Breaking changes (0.1.2 → 1.0.0)
31
- 4. **custom** - Specify exact version (e.g., 2.0.0-beta.1)
32
- 5. **analyze** - Analyze changes and get recommendation first
33
-
34
- Please specify the release type (patch/minor/major/custom/analyze):
35
- ```
36
-
37
- ### Step 2: Launch Release Agent
38
-
39
- Once the user provides input, launch the release sub-agent with the appropriate prompt:
40
-
41
- **If user chose "analyze"**:
42
- ```
43
- Invoke the release sub-agent with this prompt:
44
-
45
- "Analyze the current repository state and recent commits. Execute through Step 3 (Determine New Version) and provide a recommendation for the version bump type. Show:
46
- - Current version
47
- - Commits since last release
48
- - Breaking changes, features, and fixes detected
49
- - Recommended version bump with reasoning
50
-
51
- Stop and wait for user decision before proceeding with the release."
52
- ```
53
-
54
- **If user chose "patch", "minor", or "major"**:
55
- ```
56
- Invoke the release sub-agent with this prompt:
57
-
58
- "Create a {bump_type} release. Follow the complete release workflow:
59
- 1. Detect project type and configuration
60
- 2. Verify clean working directory
61
- 3. Analyze recent changes since last release
62
- 4. Calculate new version as {bump_type} bump
63
- 5. Generate changelog entry from commits
64
- 6. Update version files
65
- 7. Build project (if applicable)
66
- 8. Run tests (if applicable)
67
-
68
- STOP before Step 8 (Commit Version Bump) and show me:
69
- - Current version → New version
70
- - Generated changelog entry
71
- - Files that will be modified
72
- - Build/test results
73
-
74
- Wait for my confirmation before proceeding with commit, push, publish, and tagging."
75
- ```
76
-
77
- **If user chose "custom"**:
78
- ```
79
- Ask user: "Please specify the exact version number (e.g., 2.0.0-beta.1):"
80
-
81
- Then invoke the release sub-agent with this prompt:
82
-
83
- "Create a release with custom version {specified_version}. Follow the complete release workflow:
84
- 1. Detect project type and configuration
85
- 2. Verify clean working directory
86
- 3. Analyze recent changes since last release
87
- 4. Use the specified version: {specified_version}
88
- 5. Generate changelog entry from commits
89
- 6. Update version files
90
- 7. Build project (if applicable)
91
- 8. Run tests (if applicable)
92
-
93
- STOP before Step 8 (Commit Version Bump) and show me:
94
- - Current version → New version
95
- - Generated changelog entry
96
- - Files that will be modified
97
- - Build/test results
98
-
99
- Wait for my confirmation before proceeding with commit, push, publish, and tagging."
100
- ```
101
-
102
- ### Step 3: Review and Confirm
103
-
104
- After the release agent completes the preparation phase and stops, present the summary to the user:
105
-
106
- ```
107
- 📋 RELEASE READY FOR REVIEW
108
-
109
- Current Version: {current_version}
110
- New Version: {new_version}
111
- Project Type: {project_type}
112
-
113
- 📝 Changelog Entry:
114
- {generated_changelog}
115
-
116
- 📄 Files to be Modified:
117
- - {version_file}
118
- - {changelog_file}
119
-
120
- ✅ Build Status: {build_result}
121
- ✅ Test Status: {test_result}
122
-
123
- ---
124
-
125
- The release agent will now:
126
- 1. Commit version bump
127
- 2. Push to remote
128
- 3. Publish package (if applicable)
129
- 4. Create git tag
130
- 5. Create GitHub/GitLab release (if available)
131
-
132
- ⚠️ WARNING: Steps 3-5 are PERMANENT and PUBLIC
133
-
134
- Do you want to proceed with the release? (yes/no):
135
- ```
136
-
137
- ### Step 4: Complete Release (After Confirmation)
138
-
139
- If user confirms, continue with the release agent:
140
-
141
- ```
142
- Invoke the release sub-agent again with this prompt:
143
-
144
- "Continue the release process from Step 8 (Commit Version Bump):
145
- 8. Commit version bump
146
- 9. Push to remote
147
- 10. Publish package (if applicable) - STOP and ask for confirmation before publishing
148
- 11. Create git tag
149
- 12. Create GitHub/GitLab release
150
- 13. Provide final summary
151
-
152
- Execute these steps sequentially. Before Step 10 (publishing to package registry), STOP and explicitly ask for confirmation as this is permanent and public."
153
- ```
154
-
155
- ### Step 5: Publish Confirmation
156
-
157
- When the agent reaches the publish step, ask for explicit confirmation:
158
-
159
- ```
160
- ⚠️ FINAL CONFIRMATION REQUIRED
161
-
162
- The package is ready to be published to the public registry.
163
-
164
- Project: {project_name}
165
- Version: {new_version}
166
- Registry: {registry_name}
167
- Command: {publish_command}
168
-
169
- This action is PERMANENT and IRREVERSIBLE.
170
-
171
- Do you want to publish to the public registry? (yes/no):
172
- ```
173
-
174
- ### Step 6: Final Summary
175
-
176
- After the release is complete, the agent will provide a final summary. Display it to the user and provide next steps:
177
-
178
- ```
179
- The release agent will show:
180
- - Release summary with all completed steps
181
- - Links to package registry
182
- - Links to GitHub/GitLab release
183
- - Links to tag and commits
184
- - Verification steps for the user
185
-
186
- Next steps for you:
187
- 1. Verify package appears in registry
188
- 2. Test installation in fresh environment
189
- 3. Announce release to users/team
190
- 4. Update documentation if needed
191
- ```
192
-
193
- ## Error Handling
194
-
195
- If the release agent encounters an error at any step:
196
-
197
- 1. **Before commit**: Changes can be rolled back easily
198
- ```bash
199
- git checkout {version_files}
200
- ```
201
-
202
- 2. **After commit, before push**: Can amend or reset
203
- ```bash
204
- git reset --hard HEAD~1
205
- ```
206
-
207
- 3. **After push, before publish**: Can remove tag and revert
208
- ```bash
209
- git tag -d {tag}
210
- git push origin :{tag}
211
- git revert HEAD
212
- ```
213
-
214
- 4. **After publish**: Cannot unpublish in most registries
215
- - npm: Can only deprecate, not unpublish after 24h
216
- - Document issue and create patch release
217
-
218
- Always provide clear recovery instructions if something fails.
219
-
220
- ## Safety Features
221
-
222
- - ✅ Verify clean working directory before starting
223
- - ✅ Show preview of all changes before committing
224
- - ✅ Require explicit confirmation before publishing
225
- - ✅ Provide rollback instructions at each step
226
- - ✅ Stop and ask before any permanent/public action
227
- - ✅ Generate proper semantic versioning
228
- - ✅ Run build and tests before releasing
229
-
230
- ## Quick Reference
231
-
232
- ```bash
233
- # Standard releases
234
- /release # Interactive - asks for release type
235
-
236
- # With specific type (if supported in future)
237
- /release patch
238
- /release minor
239
- /release major
240
-
241
- # Analyze first
242
- /release analyze # Show recommendations without releasing
243
- ```
244
-
245
- ## Notes
246
-
247
- - The release sub-agent handles all the technical details
248
- - This command provides the user interaction layer
249
- - Critical steps require explicit user confirmation
250
- - All actions are logged and can be audited
251
- - Works with any programming language/ecosystem