claude-autopm 2.7.0 → 2.8.2

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 (281) hide show
  1. package/README.md +307 -56
  2. package/autopm/.claude/.env +158 -0
  3. package/autopm/.claude/settings.local.json +9 -0
  4. package/bin/autopm.js +11 -2
  5. package/bin/commands/epic.js +23 -3
  6. package/bin/commands/plugin.js +395 -0
  7. package/bin/commands/team.js +184 -10
  8. package/install/install.js +223 -4
  9. package/lib/cli/commands/issue.js +360 -20
  10. package/lib/plugins/PluginManager.js +1328 -0
  11. package/lib/plugins/PluginManager.old.js +400 -0
  12. package/lib/providers/AzureDevOpsProvider.js +575 -0
  13. package/lib/providers/GitHubProvider.js +475 -0
  14. package/lib/services/EpicService.js +1092 -3
  15. package/lib/services/IssueService.js +991 -0
  16. package/package.json +9 -1
  17. package/scripts/publish-plugins.sh +166 -0
  18. package/autopm/.claude/agents/cloud/README.md +0 -55
  19. package/autopm/.claude/agents/cloud/aws-cloud-architect.md +0 -521
  20. package/autopm/.claude/agents/cloud/azure-cloud-architect.md +0 -436
  21. package/autopm/.claude/agents/cloud/gcp-cloud-architect.md +0 -385
  22. package/autopm/.claude/agents/cloud/gcp-cloud-functions-engineer.md +0 -306
  23. package/autopm/.claude/agents/cloud/gemini-api-expert.md +0 -880
  24. package/autopm/.claude/agents/cloud/kubernetes-orchestrator.md +0 -566
  25. package/autopm/.claude/agents/cloud/openai-python-expert.md +0 -1087
  26. package/autopm/.claude/agents/cloud/terraform-infrastructure-expert.md +0 -454
  27. package/autopm/.claude/agents/core/agent-manager.md +0 -296
  28. package/autopm/.claude/agents/core/code-analyzer.md +0 -131
  29. package/autopm/.claude/agents/core/file-analyzer.md +0 -162
  30. package/autopm/.claude/agents/core/test-runner.md +0 -200
  31. package/autopm/.claude/agents/data/airflow-orchestration-expert.md +0 -52
  32. package/autopm/.claude/agents/data/kedro-pipeline-expert.md +0 -50
  33. package/autopm/.claude/agents/data/langgraph-workflow-expert.md +0 -520
  34. package/autopm/.claude/agents/databases/README.md +0 -50
  35. package/autopm/.claude/agents/databases/bigquery-expert.md +0 -392
  36. package/autopm/.claude/agents/databases/cosmosdb-expert.md +0 -368
  37. package/autopm/.claude/agents/databases/mongodb-expert.md +0 -398
  38. package/autopm/.claude/agents/databases/postgresql-expert.md +0 -321
  39. package/autopm/.claude/agents/databases/redis-expert.md +0 -52
  40. package/autopm/.claude/agents/devops/README.md +0 -52
  41. package/autopm/.claude/agents/devops/azure-devops-specialist.md +0 -308
  42. package/autopm/.claude/agents/devops/docker-containerization-expert.md +0 -298
  43. package/autopm/.claude/agents/devops/github-operations-specialist.md +0 -335
  44. package/autopm/.claude/agents/devops/mcp-context-manager.md +0 -319
  45. package/autopm/.claude/agents/devops/observability-engineer.md +0 -574
  46. package/autopm/.claude/agents/devops/ssh-operations-expert.md +0 -1093
  47. package/autopm/.claude/agents/devops/traefik-proxy-expert.md +0 -444
  48. package/autopm/.claude/agents/frameworks/README.md +0 -64
  49. package/autopm/.claude/agents/frameworks/e2e-test-engineer.md +0 -360
  50. package/autopm/.claude/agents/frameworks/nats-messaging-expert.md +0 -254
  51. package/autopm/.claude/agents/frameworks/react-frontend-engineer.md +0 -217
  52. package/autopm/.claude/agents/frameworks/react-ui-expert.md +0 -226
  53. package/autopm/.claude/agents/frameworks/tailwindcss-expert.md +0 -770
  54. package/autopm/.claude/agents/frameworks/ux-design-expert.md +0 -244
  55. package/autopm/.claude/agents/integration/message-queue-engineer.md +0 -794
  56. package/autopm/.claude/agents/languages/README.md +0 -50
  57. package/autopm/.claude/agents/languages/bash-scripting-expert.md +0 -541
  58. package/autopm/.claude/agents/languages/javascript-frontend-engineer.md +0 -197
  59. package/autopm/.claude/agents/languages/nodejs-backend-engineer.md +0 -226
  60. package/autopm/.claude/agents/languages/python-backend-engineer.md +0 -214
  61. package/autopm/.claude/agents/languages/python-backend-expert.md +0 -289
  62. package/autopm/.claude/agents/testing/frontend-testing-engineer.md +0 -395
  63. package/autopm/.claude/commands/ai/langgraph-workflow.md +0 -65
  64. package/autopm/.claude/commands/ai/openai-chat.md +0 -65
  65. package/autopm/.claude/commands/azure/COMMANDS.md +0 -107
  66. package/autopm/.claude/commands/azure/COMMAND_MAPPING.md +0 -252
  67. package/autopm/.claude/commands/azure/INTEGRATION_FIX.md +0 -103
  68. package/autopm/.claude/commands/azure/README.md +0 -246
  69. package/autopm/.claude/commands/azure/active-work.md +0 -198
  70. package/autopm/.claude/commands/azure/aliases.md +0 -143
  71. package/autopm/.claude/commands/azure/blocked-items.md +0 -287
  72. package/autopm/.claude/commands/azure/clean.md +0 -93
  73. package/autopm/.claude/commands/azure/docs-query.md +0 -48
  74. package/autopm/.claude/commands/azure/feature-decompose.md +0 -380
  75. package/autopm/.claude/commands/azure/feature-list.md +0 -61
  76. package/autopm/.claude/commands/azure/feature-new.md +0 -115
  77. package/autopm/.claude/commands/azure/feature-show.md +0 -205
  78. package/autopm/.claude/commands/azure/feature-start.md +0 -130
  79. package/autopm/.claude/commands/azure/fix-integration-example.md +0 -93
  80. package/autopm/.claude/commands/azure/help.md +0 -150
  81. package/autopm/.claude/commands/azure/import-us.md +0 -269
  82. package/autopm/.claude/commands/azure/init.md +0 -211
  83. package/autopm/.claude/commands/azure/next-task.md +0 -262
  84. package/autopm/.claude/commands/azure/search.md +0 -160
  85. package/autopm/.claude/commands/azure/sprint-status.md +0 -235
  86. package/autopm/.claude/commands/azure/standup.md +0 -260
  87. package/autopm/.claude/commands/azure/sync-all.md +0 -99
  88. package/autopm/.claude/commands/azure/task-analyze.md +0 -186
  89. package/autopm/.claude/commands/azure/task-close.md +0 -329
  90. package/autopm/.claude/commands/azure/task-edit.md +0 -145
  91. package/autopm/.claude/commands/azure/task-list.md +0 -263
  92. package/autopm/.claude/commands/azure/task-new.md +0 -84
  93. package/autopm/.claude/commands/azure/task-reopen.md +0 -79
  94. package/autopm/.claude/commands/azure/task-show.md +0 -126
  95. package/autopm/.claude/commands/azure/task-start.md +0 -301
  96. package/autopm/.claude/commands/azure/task-status.md +0 -65
  97. package/autopm/.claude/commands/azure/task-sync.md +0 -67
  98. package/autopm/.claude/commands/azure/us-edit.md +0 -164
  99. package/autopm/.claude/commands/azure/us-list.md +0 -202
  100. package/autopm/.claude/commands/azure/us-new.md +0 -265
  101. package/autopm/.claude/commands/azure/us-parse.md +0 -253
  102. package/autopm/.claude/commands/azure/us-show.md +0 -188
  103. package/autopm/.claude/commands/azure/us-status.md +0 -320
  104. package/autopm/.claude/commands/azure/validate.md +0 -86
  105. package/autopm/.claude/commands/azure/work-item-sync.md +0 -47
  106. package/autopm/.claude/commands/cloud/infra-deploy.md +0 -38
  107. package/autopm/.claude/commands/github/workflow-create.md +0 -42
  108. package/autopm/.claude/commands/infrastructure/ssh-security.md +0 -65
  109. package/autopm/.claude/commands/infrastructure/traefik-setup.md +0 -65
  110. package/autopm/.claude/commands/kubernetes/deploy.md +0 -37
  111. package/autopm/.claude/commands/playwright/test-scaffold.md +0 -38
  112. package/autopm/.claude/commands/pm/blocked.md +0 -28
  113. package/autopm/.claude/commands/pm/clean.md +0 -119
  114. package/autopm/.claude/commands/pm/context-create.md +0 -136
  115. package/autopm/.claude/commands/pm/context-prime.md +0 -170
  116. package/autopm/.claude/commands/pm/context-update.md +0 -292
  117. package/autopm/.claude/commands/pm/context.md +0 -28
  118. package/autopm/.claude/commands/pm/epic-close.md +0 -86
  119. package/autopm/.claude/commands/pm/epic-decompose.md +0 -370
  120. package/autopm/.claude/commands/pm/epic-edit.md +0 -83
  121. package/autopm/.claude/commands/pm/epic-list.md +0 -30
  122. package/autopm/.claude/commands/pm/epic-merge.md +0 -222
  123. package/autopm/.claude/commands/pm/epic-oneshot.md +0 -119
  124. package/autopm/.claude/commands/pm/epic-refresh.md +0 -119
  125. package/autopm/.claude/commands/pm/epic-show.md +0 -28
  126. package/autopm/.claude/commands/pm/epic-split.md +0 -120
  127. package/autopm/.claude/commands/pm/epic-start.md +0 -195
  128. package/autopm/.claude/commands/pm/epic-status.md +0 -28
  129. package/autopm/.claude/commands/pm/epic-sync-modular.md +0 -338
  130. package/autopm/.claude/commands/pm/epic-sync-original.md +0 -473
  131. package/autopm/.claude/commands/pm/epic-sync.md +0 -486
  132. package/autopm/.claude/commands/pm/help.md +0 -28
  133. package/autopm/.claude/commands/pm/import.md +0 -115
  134. package/autopm/.claude/commands/pm/in-progress.md +0 -28
  135. package/autopm/.claude/commands/pm/init.md +0 -28
  136. package/autopm/.claude/commands/pm/issue-analyze.md +0 -202
  137. package/autopm/.claude/commands/pm/issue-close.md +0 -119
  138. package/autopm/.claude/commands/pm/issue-edit.md +0 -93
  139. package/autopm/.claude/commands/pm/issue-reopen.md +0 -87
  140. package/autopm/.claude/commands/pm/issue-show.md +0 -41
  141. package/autopm/.claude/commands/pm/issue-start.md +0 -234
  142. package/autopm/.claude/commands/pm/issue-status.md +0 -95
  143. package/autopm/.claude/commands/pm/issue-sync.md +0 -411
  144. package/autopm/.claude/commands/pm/next.md +0 -28
  145. package/autopm/.claude/commands/pm/prd-edit.md +0 -82
  146. package/autopm/.claude/commands/pm/prd-list.md +0 -28
  147. package/autopm/.claude/commands/pm/prd-new.md +0 -55
  148. package/autopm/.claude/commands/pm/prd-parse.md +0 -42
  149. package/autopm/.claude/commands/pm/prd-status.md +0 -28
  150. package/autopm/.claude/commands/pm/search.md +0 -28
  151. package/autopm/.claude/commands/pm/standup.md +0 -28
  152. package/autopm/.claude/commands/pm/status.md +0 -28
  153. package/autopm/.claude/commands/pm/sync.md +0 -99
  154. package/autopm/.claude/commands/pm/test-reference-update.md +0 -151
  155. package/autopm/.claude/commands/pm/validate.md +0 -28
  156. package/autopm/.claude/commands/pm/what-next.md +0 -28
  157. package/autopm/.claude/commands/python/api-scaffold.md +0 -50
  158. package/autopm/.claude/commands/python/docs-query.md +0 -48
  159. package/autopm/.claude/commands/react/app-scaffold.md +0 -50
  160. package/autopm/.claude/commands/testing/prime.md +0 -314
  161. package/autopm/.claude/commands/testing/run.md +0 -125
  162. package/autopm/.claude/commands/ui/bootstrap-scaffold.md +0 -65
  163. package/autopm/.claude/commands/ui/tailwind-system.md +0 -64
  164. package/autopm/.claude/rules/ai-integration-patterns.md +0 -219
  165. package/autopm/.claude/rules/ci-cd-kubernetes-strategy.md +0 -25
  166. package/autopm/.claude/rules/database-management-strategy.md +0 -17
  167. package/autopm/.claude/rules/database-pipeline.md +0 -94
  168. package/autopm/.claude/rules/devops-troubleshooting-playbook.md +0 -450
  169. package/autopm/.claude/rules/docker-first-development.md +0 -404
  170. package/autopm/.claude/rules/infrastructure-pipeline.md +0 -128
  171. package/autopm/.claude/rules/performance-guidelines.md +0 -403
  172. package/autopm/.claude/rules/ui-development-standards.md +0 -281
  173. package/autopm/.claude/rules/ui-framework-rules.md +0 -151
  174. package/autopm/.claude/rules/ux-design-rules.md +0 -209
  175. package/autopm/.claude/rules/visual-testing.md +0 -223
  176. package/autopm/.claude/scripts/azure/README.md +0 -192
  177. package/autopm/.claude/scripts/azure/active-work.js +0 -524
  178. package/autopm/.claude/scripts/azure/active-work.sh +0 -20
  179. package/autopm/.claude/scripts/azure/blocked.js +0 -520
  180. package/autopm/.claude/scripts/azure/blocked.sh +0 -20
  181. package/autopm/.claude/scripts/azure/daily.js +0 -533
  182. package/autopm/.claude/scripts/azure/daily.sh +0 -20
  183. package/autopm/.claude/scripts/azure/dashboard.js +0 -970
  184. package/autopm/.claude/scripts/azure/dashboard.sh +0 -20
  185. package/autopm/.claude/scripts/azure/feature-list.js +0 -254
  186. package/autopm/.claude/scripts/azure/feature-list.sh +0 -20
  187. package/autopm/.claude/scripts/azure/feature-show.js +0 -7
  188. package/autopm/.claude/scripts/azure/feature-show.sh +0 -20
  189. package/autopm/.claude/scripts/azure/feature-status.js +0 -604
  190. package/autopm/.claude/scripts/azure/feature-status.sh +0 -20
  191. package/autopm/.claude/scripts/azure/help.js +0 -342
  192. package/autopm/.claude/scripts/azure/help.sh +0 -20
  193. package/autopm/.claude/scripts/azure/next-task.js +0 -508
  194. package/autopm/.claude/scripts/azure/next-task.sh +0 -20
  195. package/autopm/.claude/scripts/azure/search.js +0 -469
  196. package/autopm/.claude/scripts/azure/search.sh +0 -20
  197. package/autopm/.claude/scripts/azure/setup.js +0 -745
  198. package/autopm/.claude/scripts/azure/setup.sh +0 -20
  199. package/autopm/.claude/scripts/azure/sprint-report.js +0 -1012
  200. package/autopm/.claude/scripts/azure/sprint-report.sh +0 -20
  201. package/autopm/.claude/scripts/azure/sync.js +0 -563
  202. package/autopm/.claude/scripts/azure/sync.sh +0 -20
  203. package/autopm/.claude/scripts/azure/us-list.js +0 -210
  204. package/autopm/.claude/scripts/azure/us-list.sh +0 -20
  205. package/autopm/.claude/scripts/azure/us-status.js +0 -238
  206. package/autopm/.claude/scripts/azure/us-status.sh +0 -20
  207. package/autopm/.claude/scripts/azure/validate.js +0 -626
  208. package/autopm/.claude/scripts/azure/validate.sh +0 -20
  209. package/autopm/.claude/scripts/azure/wrapper-template.sh +0 -20
  210. package/autopm/.claude/scripts/github/dependency-tracker.js +0 -554
  211. package/autopm/.claude/scripts/github/dependency-validator.js +0 -545
  212. package/autopm/.claude/scripts/github/dependency-visualizer.js +0 -477
  213. package/autopm/.claude/scripts/pm/analytics.js +0 -425
  214. package/autopm/.claude/scripts/pm/blocked.js +0 -164
  215. package/autopm/.claude/scripts/pm/blocked.sh +0 -78
  216. package/autopm/.claude/scripts/pm/clean.js +0 -464
  217. package/autopm/.claude/scripts/pm/context-create.js +0 -216
  218. package/autopm/.claude/scripts/pm/context-prime.js +0 -335
  219. package/autopm/.claude/scripts/pm/context-update.js +0 -344
  220. package/autopm/.claude/scripts/pm/context.js +0 -338
  221. package/autopm/.claude/scripts/pm/epic-close.js +0 -347
  222. package/autopm/.claude/scripts/pm/epic-edit.js +0 -382
  223. package/autopm/.claude/scripts/pm/epic-list.js +0 -273
  224. package/autopm/.claude/scripts/pm/epic-list.sh +0 -109
  225. package/autopm/.claude/scripts/pm/epic-show.js +0 -291
  226. package/autopm/.claude/scripts/pm/epic-show.sh +0 -105
  227. package/autopm/.claude/scripts/pm/epic-split.js +0 -522
  228. package/autopm/.claude/scripts/pm/epic-start/epic-start.js +0 -183
  229. package/autopm/.claude/scripts/pm/epic-start/epic-start.sh +0 -94
  230. package/autopm/.claude/scripts/pm/epic-status.js +0 -291
  231. package/autopm/.claude/scripts/pm/epic-status.sh +0 -104
  232. package/autopm/.claude/scripts/pm/epic-sync/README.md +0 -208
  233. package/autopm/.claude/scripts/pm/epic-sync/create-epic-issue.sh +0 -77
  234. package/autopm/.claude/scripts/pm/epic-sync/create-task-issues.sh +0 -86
  235. package/autopm/.claude/scripts/pm/epic-sync/update-epic-file.sh +0 -79
  236. package/autopm/.claude/scripts/pm/epic-sync/update-references.sh +0 -89
  237. package/autopm/.claude/scripts/pm/epic-sync.sh +0 -137
  238. package/autopm/.claude/scripts/pm/help.js +0 -92
  239. package/autopm/.claude/scripts/pm/help.sh +0 -90
  240. package/autopm/.claude/scripts/pm/in-progress.js +0 -178
  241. package/autopm/.claude/scripts/pm/in-progress.sh +0 -93
  242. package/autopm/.claude/scripts/pm/init.js +0 -321
  243. package/autopm/.claude/scripts/pm/init.sh +0 -178
  244. package/autopm/.claude/scripts/pm/issue-close.js +0 -232
  245. package/autopm/.claude/scripts/pm/issue-edit.js +0 -310
  246. package/autopm/.claude/scripts/pm/issue-show.js +0 -272
  247. package/autopm/.claude/scripts/pm/issue-start.js +0 -181
  248. package/autopm/.claude/scripts/pm/issue-sync/format-comment.sh +0 -468
  249. package/autopm/.claude/scripts/pm/issue-sync/gather-updates.sh +0 -460
  250. package/autopm/.claude/scripts/pm/issue-sync/post-comment.sh +0 -330
  251. package/autopm/.claude/scripts/pm/issue-sync/preflight-validation.sh +0 -348
  252. package/autopm/.claude/scripts/pm/issue-sync/update-frontmatter.sh +0 -387
  253. package/autopm/.claude/scripts/pm/lib/README.md +0 -85
  254. package/autopm/.claude/scripts/pm/lib/epic-discovery.js +0 -119
  255. package/autopm/.claude/scripts/pm/lib/logger.js +0 -78
  256. package/autopm/.claude/scripts/pm/next.js +0 -189
  257. package/autopm/.claude/scripts/pm/next.sh +0 -72
  258. package/autopm/.claude/scripts/pm/optimize.js +0 -407
  259. package/autopm/.claude/scripts/pm/pr-create.js +0 -337
  260. package/autopm/.claude/scripts/pm/pr-list.js +0 -257
  261. package/autopm/.claude/scripts/pm/prd-list.js +0 -242
  262. package/autopm/.claude/scripts/pm/prd-list.sh +0 -103
  263. package/autopm/.claude/scripts/pm/prd-new.js +0 -684
  264. package/autopm/.claude/scripts/pm/prd-parse.js +0 -547
  265. package/autopm/.claude/scripts/pm/prd-status.js +0 -152
  266. package/autopm/.claude/scripts/pm/prd-status.sh +0 -63
  267. package/autopm/.claude/scripts/pm/release.js +0 -460
  268. package/autopm/.claude/scripts/pm/search.js +0 -192
  269. package/autopm/.claude/scripts/pm/search.sh +0 -89
  270. package/autopm/.claude/scripts/pm/standup.js +0 -362
  271. package/autopm/.claude/scripts/pm/standup.sh +0 -95
  272. package/autopm/.claude/scripts/pm/status.js +0 -148
  273. package/autopm/.claude/scripts/pm/status.sh +0 -59
  274. package/autopm/.claude/scripts/pm/sync-batch.js +0 -337
  275. package/autopm/.claude/scripts/pm/sync.js +0 -343
  276. package/autopm/.claude/scripts/pm/template-list.js +0 -141
  277. package/autopm/.claude/scripts/pm/template-new.js +0 -366
  278. package/autopm/.claude/scripts/pm/validate.js +0 -274
  279. package/autopm/.claude/scripts/pm/validate.sh +0 -106
  280. package/autopm/.claude/scripts/pm/what-next.js +0 -660
  281. package/bin/node/azure-feature-show.js +0 -7
@@ -1,314 +0,0 @@
1
- ---
2
- allowed-tools: Bash, Read, Write, LS
3
- ---
4
-
5
- # Prime Testing Environment
6
-
7
- This command prepares the testing environment by detecting the test framework, validating dependencies, and configuring the test-runner agent for optimal test execution.
8
-
9
- ## Preflight Checklist
10
-
11
- Before proceeding, complete these validation steps.
12
- Do not bother the user with preflight checks progress ("I'm not going to ..."). Just do them and move on.
13
-
14
- ### 1. Test Framework Detection
15
-
16
- **JavaScript/Node.js:**
17
- - Check package.json for test scripts: `grep -E '"test"|"spec"|"jest"|"mocha"' package.json 2>/dev/null`
18
- - Look for test config files: `ls -la jest.config.* mocha.opts .mocharc.* 2>/dev/null`
19
- - Check for test directories: `find . -type d \( -name "test" -o -name "tests" -o -name "__tests__" -o -name "spec" \) -maxdepth 3 2>/dev/null`
20
-
21
- **Python:**
22
- - Check for pytest: `find . -name "pytest.ini" -o -name "conftest.py" -o -name "setup.cfg" 2>/dev/null | head -5`
23
- - Check for unittest: `find . -path "*/test*.py" -o -path "*/test_*.py" 2>/dev/null | head -5`
24
- - Check requirements: `grep -E "pytest|unittest|nose" requirements.txt 2>/dev/null`
25
-
26
- **Rust:**
27
- - Check for Cargo tests: `grep -E '\[dev-dependencies\]' Cargo.toml 2>/dev/null`
28
- - Look for test modules: `find . -name "*.rs" -exec grep -l "#\[cfg(test)\]" {} \; 2>/dev/null | head -5`
29
-
30
- **Go:**
31
- - Check for test files: `find . -name "*_test.go" 2>/dev/null | head -5`
32
- - Check go.mod exists: `test -f go.mod && echo "Go module found"`
33
-
34
- **Other Languages:**
35
- - Ruby: Check for RSpec: `find . -name ".rspec" -o -name "spec_helper.rb" 2>/dev/null`
36
- - Java: Check for JUnit: `find . -name "pom.xml" -exec grep -l "junit" {} \; 2>/dev/null`
37
-
38
- ### 2. Test Environment Validation
39
-
40
- If no test framework detected:
41
- - Tell user: "⚠️ No test framework detected. Please specify your testing setup."
42
- - Ask: "What test command should I use? (e.g., npm test, pytest, cargo test)"
43
- - Store response for future use
44
-
45
- ### 3. Dependency Check
46
-
47
- **For detected framework:**
48
- - Node.js: Run `npm list --depth=0 2>/dev/null | grep -E "jest|mocha|chai|jasmine"`
49
- - Python: Run `pip list 2>/dev/null | grep -E "pytest|unittest|nose"`
50
- - Verify test dependencies are installed
51
-
52
- If dependencies missing:
53
- - Tell user: "❌ Test dependencies not installed"
54
- - Suggest: "Run: npm install (or pip install -r requirements.txt)"
55
-
56
- ## Required Documentation Access
57
-
58
- **MANDATORY:** Before testing workflows, query Context7 for best practices:
59
-
60
- **Documentation Queries:**
61
- - `mcp://context7/testing/strategy` - strategy best practices
62
- - `mcp://context7/testing/automation` - automation best practices
63
- - `mcp://context7/tdd/workflow` - workflow best practices
64
- - `mcp://context7/testing/best-practices` - best practices best practices
65
-
66
- **Why This is Required:**
67
- - Ensures adherence to current industry standards and best practices
68
- - Prevents outdated or incorrect implementation patterns
69
- - Provides access to latest framework/tool documentation
70
- - Reduces errors from stale knowledge or assumptions
71
-
72
-
73
- ## Instructions
74
-
75
- ### 1. Framework-Specific Configuration
76
-
77
- Based on detected framework, create test configuration:
78
-
79
- #### JavaScript/Node.js (Jest)
80
- ```yaml
81
- framework: jest
82
- test_command: npm test
83
- test_directory: __tests__
84
- config_file: jest.config.js
85
- options:
86
- - --verbose
87
- - --no-coverage
88
- - --runInBand
89
- environment:
90
- NODE_ENV: test
91
- ```
92
-
93
- #### JavaScript/Node.js (Mocha)
94
- ```yaml
95
- framework: mocha
96
- test_command: npm test
97
- test_directory: test
98
- config_file: .mocharc.js
99
- options:
100
- - --reporter spec
101
- - --recursive
102
- - --bail
103
- environment:
104
- NODE_ENV: test
105
- ```
106
-
107
- #### Python (Pytest)
108
- ```yaml
109
- framework: pytest
110
- test_command: pytest
111
- test_directory: tests
112
- config_file: pytest.ini
113
- options:
114
- - -v
115
- - --tb=short
116
- - --strict-markers
117
- environment:
118
- PYTHONPATH: .
119
- ```
120
-
121
- #### Rust
122
- ```yaml
123
- framework: cargo
124
- test_command: cargo test
125
- test_directory: tests
126
- config_file: Cargo.toml
127
- options:
128
- - --verbose
129
- - --nocapture
130
- environment: {}
131
- ```
132
-
133
- #### Go
134
- ```yaml
135
- framework: go
136
- test_command: go test
137
- test_directory: .
138
- config_file: go.mod
139
- options:
140
- - -v
141
- - ./...
142
- environment: {}
143
- ```
144
-
145
- ### 2. Test Discovery
146
-
147
- Scan for test files:
148
- - Count total test files found
149
- - Identify test naming patterns used
150
- - Note any test utilities or helpers
151
- - Check for test fixtures or data
152
-
153
- ```bash
154
- # Example for Node.js
155
- find . -path "*/node_modules" -prune -o -name "*.test.js" -o -name "*.spec.js" | wc -l
156
- ```
157
-
158
- ### 3. Create Test Runner Configuration
159
-
160
- Create `.claude/testing-config.md` with discovered information:
161
-
162
- ```markdown
163
- ---
164
- framework: {detected_framework}
165
- test_command: {detected_command}
166
- created: [Use REAL datetime from: date -u +"%Y-%m-%dT%H:%M:%SZ"]
167
- ---
168
-
169
- # Testing Configuration
170
-
171
- ## Framework
172
- - Type: {framework_name}
173
- - Version: {framework_version}
174
- - Config File: {config_file_path}
175
-
176
- ## Test Structure
177
- - Test Directory: {test_dir}
178
- - Test Files: {count} files found
179
- - Naming Pattern: {pattern}
180
-
181
- ## Commands
182
- - Run All Tests: `{full_test_command}`
183
- - Run Specific Test: `{specific_test_command}`
184
- - Run with Debugging: `{debug_command}`
185
-
186
- ## Environment
187
- - Required ENV vars: {list}
188
- - Test Database: {if applicable}
189
- - Test Servers: {if applicable}
190
-
191
- ## Test Runner Agent Configuration
192
- - Use verbose output for debugging
193
- - Run tests sequentially (no parallel)
194
- - Capture full stack traces
195
- - No mocking - use real implementations
196
- - Wait for each test to complete
197
- ```
198
-
199
- ### 4. Configure Test-Runner Agent
200
-
201
- Prepare agent context based on framework:
202
-
203
- ```markdown
204
- # Test-Runner Agent Configuration
205
-
206
- ## Project Testing Setup
207
- - Framework: {framework}
208
- - Test Location: {directories}
209
- - Total Tests: {count}
210
- - Last Run: Never
211
-
212
- ## Execution Rules
213
- 1. Always use the test-runner agent from `.claude/agents/test-runner.md`
214
- 2. Run with maximum verbosity for debugging
215
- 3. No mock services - use real implementations
216
- 4. Execute tests sequentially - no parallel execution
217
- 5. Capture complete output including stack traces
218
- 6. If test fails, analyze test structure before assuming code issue
219
- 7. Report detailed failure analysis with context
220
-
221
- ## Test Command Templates
222
- - Full Suite: `{full_command}`
223
- - Single File: `{single_file_command}`
224
- - Pattern Match: `{pattern_command}`
225
- - Watch Mode: `{watch_command}` (if available)
226
-
227
- ## Common Issues to Check
228
- - Environment variables properly set
229
- - Test database/services running
230
- - Dependencies installed
231
- - Proper file permissions
232
- - Clean test state between runs
233
- ```
234
-
235
- ### 5. Validation Steps
236
-
237
- After configuration:
238
- - Try running a simple test to validate setup
239
- - Check if test command works: `{test_command} --version` or equivalent
240
- - Verify test files are discoverable
241
- - Ensure no permission issues
242
-
243
- ### 6. Output Summary
244
-
245
- ```
246
- 🧪 Testing Environment Primed
247
-
248
- 🔍 Detection Results:
249
- ✅ Framework: {framework_name} {version}
250
- ✅ Test Files: {count} files in {directories}
251
- ✅ Config: {config_file}
252
- ✅ Dependencies: All installed
253
-
254
- 📋 Test Structure:
255
- - Pattern: {test_file_pattern}
256
- - Directories: {test_directories}
257
- - Utilities: {test_helpers}
258
-
259
- 🤖 Agent Configuration:
260
- ✅ Test-runner agent configured
261
- ✅ Verbose output enabled
262
- ✅ Sequential execution set
263
- ✅ Real services (no mocks)
264
-
265
- ⚡ Ready Commands:
266
- - Run all tests: /testing:run
267
- - Run specific: /testing:run {test_file}
268
- - Run pattern: /testing:run {pattern}
269
-
270
- 💡 Tips:
271
- - Always run tests with verbose output
272
- - Check test structure if tests fail
273
- - Use real services, not mocks
274
- - Let each test complete fully
275
- ```
276
-
277
- ### 7. Error Handling
278
-
279
- **Common Issues:**
280
-
281
- **No Framework Detected:**
282
- - Message: "⚠️ No test framework found"
283
- - Solution: "Please specify test command manually"
284
- - Store user's response for future use
285
-
286
- **Missing Dependencies:**
287
- - Message: "❌ Test framework not installed"
288
- - Solution: "Install dependencies first: npm install / pip install -r requirements.txt"
289
-
290
- **No Test Files:**
291
- - Message: "⚠️ No test files found"
292
- - Solution: "Create tests first or check test directory location"
293
-
294
- **Permission Issues:**
295
- - Message: "❌ Cannot access test files"
296
- - Solution: "Check file permissions"
297
-
298
- ### 8. Save Configuration
299
-
300
- If successful, save configuration for future sessions:
301
- - Store in `.claude/testing-config.md`
302
- - Include all discovered settings
303
- - Update on subsequent runs if changes detected
304
-
305
- ## Important Notes
306
-
307
- - **Always detect** rather than assume test framework
308
- - **Validate dependencies** before claiming ready
309
- - **Configure for debugging** - verbose output is critical
310
- - **No mocking** - use real services for accurate testing
311
- - **Sequential execution** - avoid parallel test issues
312
- - **Store configuration** for consistent future runs
313
-
314
- $ARGUMENTS
@@ -1,125 +0,0 @@
1
- ---
2
- allowed-tools: Bash, Read, Write, LS, Task
3
- ---
4
-
5
- # Run Tests
6
-
7
- Execute tests with the configured test-runner agent.
8
-
9
- ## Usage
10
- ```
11
- /testing:run [test_target]
12
- ```
13
-
14
- Where `test_target` can be:
15
- - Empty (run all tests)
16
- - Test file path
17
- - Test pattern
18
- - Test suite name
19
-
20
- ## Required Documentation Access
21
-
22
- **MANDATORY:** Before testing workflows, query Context7 for best practices:
23
-
24
- **Documentation Queries:**
25
- - `mcp://context7/testing/strategy` - strategy best practices
26
- - `mcp://context7/testing/automation` - automation best practices
27
- - `mcp://context7/tdd/workflow` - workflow best practices
28
- - `mcp://context7/testing/best-practices` - best practices best practices
29
-
30
- **Why This is Required:**
31
- - Ensures adherence to current industry standards and best practices
32
- - Prevents outdated or incorrect implementation patterns
33
- - Provides access to latest framework/tool documentation
34
- - Reduces errors from stale knowledge or assumptions
35
-
36
-
37
- ## Quick Check
38
-
39
- ```bash
40
- # Check if testing is configured
41
- test -f .claude/testing-config.md || echo "❌ Testing not configured. Run /testing:prime first"
42
- ```
43
-
44
- If test target provided, verify it exists:
45
- ```bash
46
- # For file targets
47
- test -f "$ARGUMENTS" || echo "⚠️ Test file not found: $ARGUMENTS"
48
- ```
49
-
50
- ## Instructions
51
-
52
- ### 1. Determine Test Command
53
-
54
- Based on testing-config.md and target:
55
- - No arguments → Run full test suite from config
56
- - File path → Run specific test file
57
- - Pattern → Run tests matching pattern
58
-
59
- ### 2. Execute Tests
60
-
61
- Use the test-runner agent from `.claude/agents/test-runner.md`:
62
-
63
- ```markdown
64
- Execute tests for: $ARGUMENTS (or "all" if empty)
65
-
66
- Requirements:
67
- - Run with verbose output for debugging
68
- - No mocks - use real services
69
- - Capture full output including stack traces
70
- - If test fails, check test structure before assuming code issue
71
- ```
72
-
73
- ### 3. Monitor Execution
74
-
75
- - Show test progress
76
- - Capture stdout and stderr
77
- - Note execution time
78
-
79
- ### 4. Report Results
80
-
81
- **Success:**
82
- ```
83
- ✅ All tests passed ({count} tests in {time}s)
84
- ```
85
-
86
- **Failure:**
87
- ```
88
- ❌ Test failures: {failed_count} of {total_count}
89
-
90
- {test_name} - {file}:{line}
91
- Error: {error_message}
92
- Likely: {test issue | code issue}
93
- Fix: {suggestion}
94
-
95
- Run with more detail: /testing:run {specific_test}
96
- ```
97
-
98
- **Mixed:**
99
- ```
100
- Tests complete: {passed} passed, {failed} failed, {skipped} skipped
101
-
102
- Failed:
103
- - {test_1}: {brief_reason}
104
- - {test_2}: {brief_reason}
105
- ```
106
-
107
- ### 5. Cleanup
108
-
109
- ```bash
110
- # Kill any hanging test processes
111
- pkill -f "jest|mocha|pytest" 2>/dev/null || true
112
- ```
113
-
114
- ## Error Handling
115
-
116
- - Test command fails → "❌ Test execution failed: {error}. Check test framework is installed."
117
- - Timeout → Kill process and report: "❌ Tests timed out after {time}s"
118
- - No tests found → "❌ No tests found matching: $ARGUMENTS"
119
-
120
- ## Important Notes
121
-
122
- - Always use test-runner agent for analysis
123
- - No mocking - real services only
124
- - Check test structure if failures occur
125
- - Keep output focused on failures
@@ -1,65 +0,0 @@
1
- ---
2
- name: bootstrap-scaffold
3
- type: epic-management
4
- category: ui
5
- ---
6
-
7
- claude# Bootstrap UI Scaffold Command
8
-
9
- Create a complete Bootstrap-based UI structure with responsive components and themes.
10
-
11
- ## Command
12
- ```
13
- /ui:bootstrap-scaffold
14
- ```
15
-
16
- ## Purpose
17
- Use the react-ui-expert agent (with framework=bootstrap) to create a complete Bootstrap application scaffold with modern components, responsive design, and customizable themes.
18
-
19
- ## Parameters
20
- - `theme`: Theme variant (light, dark, corporate, minimal)
21
- - `components`: Required components (navbar, cards, forms, modals)
22
- - `responsive`: Breakpoints to support (sm, md, lg, xl, xxl)
23
- - `features`: Additional features (dark-mode-toggle, form-validation, animations)
24
-
25
- ## Agent Usage
26
- ```
27
- Use the react-ui-expert agent with framework=bootstrap to create a complete Bootstrap application scaffold.
28
- ```
29
-
30
- ## Expected Outcome
31
- - Complete HTML structure with Bootstrap components
32
- - Custom SCSS configuration with theme variables
33
- - JavaScript for interactive components
34
- - Responsive design implementation
35
- - Form validation and accessibility features
36
- - Dark mode toggle functionality
37
-
38
- ## Example Usage
39
- ```
40
- ## Required Documentation Access
41
-
42
- **MANDATORY:** Before UI framework setup, query Context7 for best practices:
43
-
44
- **Documentation Queries:**
45
- - `mcp://context7/ui/bootstrap` - bootstrap best practices
46
- - `mcp://context7/ui/tailwind` - tailwind best practices
47
- - `mcp://context7/frontend/design-systems` - design systems best practices
48
- - `mcp://context7/css/frameworks` - frameworks best practices
49
-
50
- **Why This is Required:**
51
- - Ensures adherence to current industry standards and best practices
52
- - Prevents outdated or incorrect implementation patterns
53
- - Provides access to latest framework/tool documentation
54
- - Reduces errors from stale knowledge or assumptions
55
-
56
-
57
- Task: Create Bootstrap dashboard with sidebar navigation, responsive cards grid, and contact forms
58
- Agent: react-ui-expert
59
- Parameters: framework=bootstrap, theme=corporate, components=navbar,sidebar,cards,forms,modals, responsive=all, features=dark-mode,validation
60
- ```
61
-
62
- ## Related Agents
63
- - tailwindcss-expert: For utility-first alternative
64
- - react-frontend-engineer: For React + Bootstrap integration
65
- - react-ui-expert: Main agent for UI component architecture
@@ -1,64 +0,0 @@
1
- ---
2
- name: tailwindcss-design-system
3
- type: task-management
4
- category: ui
5
- ---
6
-
7
- # TailwindCSS Design System Command
8
-
9
- Create a custom design system using TailwindCSS with utility classes and component patterns.
10
-
11
- ## Command
12
- ```
13
- /ui:tailwind-system
14
- ```
15
-
16
- ## Purpose
17
- Use the tailwindcss-expert agent to create a complete TailwindCSS design system with custom utilities, components, and theme configuration.
18
-
19
- ## Parameters
20
- - `theme`: Color scheme (modern, minimal, vibrant, corporate)
21
- - `utilities`: Custom utilities to generate (spacing, gradients, animations)
22
- - `components`: Component patterns to create (buttons, cards, forms, layouts)
23
- - `plugins`: TailwindCSS plugins to include (@tailwindcss/forms, @tailwindcss/typography)
24
-
25
- ## Agent Usage
26
- ```
27
- Use the tailwindcss-expert agent to create a comprehensive TailwindCSS design system.
28
- ```
29
-
30
- ## Expected Outcome
31
- - Custom tailwind.config.js with design tokens
32
- - Component library with utility combinations
33
- - Custom plugin for project-specific utilities
34
- - Production-optimized build configuration
35
- - Dark mode implementation
36
- - Responsive design patterns
37
-
38
- ## Example Usage
39
- ```
40
- ## Required Documentation Access
41
-
42
- **MANDATORY:** Before UI framework setup, query Context7 for best practices:
43
-
44
- **Documentation Queries:**
45
- - `mcp://context7/ui/bootstrap` - bootstrap best practices
46
- - `mcp://context7/ui/tailwind` - tailwind best practices
47
- - `mcp://context7/frontend/design-systems` - design systems best practices
48
- - `mcp://context7/css/frameworks` - frameworks best practices
49
-
50
- **Why This is Required:**
51
- - Ensures adherence to current industry standards and best practices
52
- - Prevents outdated or incorrect implementation patterns
53
- - Provides access to latest framework/tool documentation
54
- - Reduces errors from stale knowledge or assumptions
55
-
56
-
57
- Task: Create TailwindCSS design system with custom color palette, typography scale, and component library
58
- Agent: tailwindcss-expert
59
- Parameters: theme=modern, utilities=custom-spacing,gradients,animations, components=buttons,cards,forms, plugins=forms,typography
60
- ```
61
-
62
- ## Related Agents
63
- - react-ui-expert: For component-based alternative
64
- - react-frontend-engineer: For React + Tailwind integration