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,202 +0,0 @@
1
- ---
2
- allowed-tools: Task, Bash, Read, Write, WebFetch, Glob, Grep
3
- ---
4
-
5
- # Azure DevOps User Story List
6
-
7
- List and filter User Stories from Azure DevOps project.
8
-
9
- **Usage**: `/azure:us-list [--status=<state>] [--assigned-to=<user>] [--sprint=<iteration>]`
10
-
11
- **Examples**:
12
- - `/azure:us-list` - List all User Stories
13
- - `/azure:us-list --status=Active` - List active User Stories
14
- - `/azure:us-list --sprint="Sprint 1"` - List stories in specific sprint
15
- - `/azure:us-list --assigned-to=me` - List my User Stories
16
-
17
- ## Required Environment Variables
18
-
19
- Ensure `.claude/.env` contains:
20
-
21
- ```bash
22
- AZURE_DEVOPS_PAT=<your-pat-token>
23
- AZURE_DEVOPS_ORG=<your-organization>
24
- AZURE_DEVOPS_PROJECT=<your-project>
25
- ```
26
-
27
- ## Required Documentation Access
28
-
29
- **MANDATORY:** Before Azure DevOps integration and agile workflows, query Context7 for best practices:
30
-
31
- **Documentation Queries:**
32
- - `mcp://context7/azure-devops/boards` - boards best practices
33
- - `mcp://context7/agile/user-stories` - user stories best practices
34
- - `mcp://context7/project-management/work-items` - work items best practices
35
- - `mcp://context7/agile/sprint-planning` - sprint planning best practices
36
-
37
- **Why This is Required:**
38
- - Ensures adherence to current industry standards and best practices
39
- - Prevents outdated or incorrect implementation patterns
40
- - Provides access to latest framework/tool documentation
41
- - Reduces errors from stale knowledge or assumptions
42
-
43
-
44
- ## Instructions
45
-
46
- ### 1. Parse Arguments
47
-
48
- Extract filters from arguments:
49
- - `--status`: Filter by state (New, Active, Resolved, Closed)
50
- - `--assigned-to`: Filter by assignee (email or "me")
51
- - `--sprint`: Filter by iteration path
52
- - `--area`: Filter by area path
53
- - `--limit`: Maximum number of results (default: 20)
54
-
55
- ### 2. Query User Stories
56
-
57
- Use azure-devops-specialist agent to execute WIQL query:
58
-
59
- ```sql
60
- SELECT [System.Id],
61
- [System.Title],
62
- [System.State],
63
- [System.AssignedTo],
64
- [Microsoft.VSTS.Common.Priority],
65
- [Microsoft.VSTS.Scheduling.StoryPoints],
66
- [System.IterationPath]
67
- FROM workitems
68
- WHERE [System.WorkItemType] = 'User Story'
69
- AND [System.TeamProject] = @project
70
- [AND additional filters based on arguments]
71
- ORDER BY [Microsoft.VSTS.Common.Priority] ASC, [System.Id] DESC
72
- ```
73
-
74
- ### 3. Display Format
75
-
76
- Present results in a clean table format:
77
-
78
- ```
79
- 📋 User Stories in Speacher
80
-
81
- | ID | Title | Status | Points | Assigned To | Sprint | Priority |
82
- |-----|--------------------------------|--------|--------|------------------|-----------|----------|
83
- | 34 | Implement user password reset | New | 8 | Unassigned | Backlog | 2 |
84
- | 33 | Create user profile page | Active | 5 | john@example.com | Sprint 1 | 1 |
85
- | 32 | Add OAuth integration | Active | 13 | jane@example.com | Sprint 1 | 1 |
86
- | 31 | Implement search functionality | New | 8 | Unassigned | Sprint 2 | 3 |
87
-
88
- 📊 Summary:
89
- - Total: 4 User Stories
90
- - Total Points: 34
91
- - Active: 2 | New: 2 | Resolved: 0 | Closed: 0
92
-
93
- Filters applied: None
94
-
95
- 💡 Tips:
96
- - View details: /azure:us-show <id>
97
- - Edit story: /azure:us-edit <id>
98
- - Parse into tasks: /azure:us-parse <id>
99
- - Start work: /azure:us-start <id>
100
- ```
101
-
102
- ### 4. Status Indicators
103
-
104
- Use visual indicators for status:
105
- - 🆕 New
106
- - 🔄 Active/In Progress
107
- - ✅ Resolved
108
- - 🔒 Closed
109
- - 🚫 Removed
110
-
111
- ### 5. Sprint Overview Mode
112
-
113
- If `--sprint` is specified, show sprint-specific metrics:
114
-
115
- ```
116
- 🏃 Sprint 1 User Stories
117
-
118
- Progress: ████████░░░░░░░░ 45% (9/20 points)
119
-
120
- | ID | Title | Points | Status | Assigned | Tasks |
121
- |-----|--------------------------|--------|--------|-----------|--------|
122
- | 33 | Create user profile page | 5 | 🔄 | John | 3/5 |
123
- | 32 | Add OAuth integration | 13 | 🔄 | Jane | 2/8 |
124
- | 30 | Fix login bug | 2 | ✅ | Mike | 5/5 |
125
-
126
- Sprint Health:
127
- - On Track: 2 stories
128
- - At Risk: 1 story (OAuth integration - only 25% tasks complete)
129
- - Completed: 1 story
130
-
131
- Velocity: 2 points completed, 18 remaining
132
- Sprint ends in: 5 days
133
- ```
134
-
135
- ### 6. My Work Mode
136
-
137
- If `--assigned-to=me` show personalized view:
138
-
139
- ```
140
- 👤 My User Stories
141
-
142
- Active Work:
143
- | ID | Title | Points | Sprint | Tasks | Next Task |
144
- |-----|--------------------------|--------|----------|-------|---------------------|
145
- | 33 | Create user profile page | 5 | Sprint 1 | 3/5 | Implement UI (4h) |
146
-
147
- Backlog:
148
- | ID | Title | Points | Priority | Sprint |
149
- |-----|----------------------|--------|----------|----------|
150
- | 35 | Add notifications | 8 | 2 | Sprint 2 |
151
- | 36 | Implement dashboard | 5 | 3 | Backlog |
152
-
153
- 📊 Your Stats:
154
- - Active: 1 story (5 points)
155
- - Backlog: 2 stories (13 points)
156
- - Completed this sprint: 0
157
- - Average velocity: 8 points/sprint
158
- ```
159
-
160
- ### 7. Export Options
161
-
162
- Add export capability:
163
-
164
- ```
165
- Export options:
166
- - Save as CSV: Add --export=csv
167
- - Save as JSON: Add --export=json
168
- - Save as Markdown: Add --export=md
169
-
170
- Results saved to: .claude/azure/exports/us-list-[timestamp].[format]
171
- ```
172
-
173
- ## Advanced Filters
174
-
175
- Support complex queries:
176
-
177
- ```bash
178
- # Stories with high priority and no assignee
179
- /azure:us-list --priority=1 --assigned-to=unassigned
180
-
181
- # Stories with specific tags
182
- /azure:us-list --tags="backend,api"
183
-
184
- # Stories modified in last 7 days
185
- /azure:us-list --modified-since=7d
186
-
187
- # Stories with story points >= 8
188
- /azure:us-list --points=">=8"
189
- ```
190
-
191
- ## Error Handling
192
-
193
- - **No results**: Show helpful message with suggestion to adjust filters
194
- - **Connection error**: Verify credentials and network
195
- - **Invalid filter**: Show valid filter options
196
-
197
- ## Local Cache
198
-
199
- Cache results locally for quick access:
200
- - Cache file: `.claude/azure/cache/us-list.json`
201
- - Cache duration: 5 minutes
202
- - Force refresh: Add `--refresh` flag
@@ -1,265 +0,0 @@
1
- ---
2
- allowed-tools: Task, Bash, Read, Write, Edit, WebFetch, Glob, Grep
3
- ---
4
-
5
- # Azure DevOps User Story New
6
-
7
- Create a new User Story in Azure DevOps with comprehensive planning and task breakdown.
8
-
9
- **Usage**: `/azure:us-new <story-name>`
10
-
11
- **Example**: `/azure:us-new user-authentication`
12
-
13
- ## Required Environment Variables
14
-
15
- Ensure `.claude/.env` contains:
16
-
17
- ```bash
18
- AZURE_DEVOPS_PAT=<your-pat-token>
19
- AZURE_DEVOPS_ORG=<your-organization>
20
- AZURE_DEVOPS_PROJECT=<your-project>
21
- ```
22
-
23
- ## Preflight Checklist
24
-
25
- ### Input Validation
26
-
27
- 1. **Validate story name format:**
28
- - Must contain only lowercase letters, numbers, and hyphens
29
- - Must start with a letter
30
- - No spaces or special characters allowed
31
- - If invalid, tell user: "❌ Story name must be kebab-case (lowercase letters, numbers, hyphens only). Examples: user-auth, payment-v2, notification-system"
32
-
33
- 2. **Check Azure DevOps connectivity:**
34
- - Verify PAT token is valid
35
- - Verify organization and project exist
36
- - If connection fails, provide specific error message
37
-
38
- 3. **Check for duplicates:**
39
- - Search for existing User Stories with similar titles
40
- - If found, ask: "⚠️ Similar User Story found: [title]. Continue anyway? (yes/no)"
41
-
42
- ## Required Documentation Access
43
-
44
- **MANDATORY:** Before creating user stories, query Context7 for best practices:
45
-
46
- **Documentation Queries:**
47
- - `mcp://context7/agile/user-stories` - user stories best practices
48
- - `mcp://context7/agile/invest-criteria` - invest criteria best practices
49
- - `mcp://context7/azure-devops/user-stories` - user stories best practices
50
- - `mcp://context7/requirements/writing` - writing best practices
51
-
52
- **Why This is Required:**
53
- - Ensures adherence to current industry standards and best practices
54
- - Prevents outdated or incorrect implementation patterns
55
- - Provides access to latest framework/tool documentation
56
- - Reduces errors from stale knowledge or assumptions
57
-
58
-
59
- ## Instructions
60
-
61
- **CRITICAL**: This command MUST use the azure-devops-specialist agent for all Azure DevOps operations.
62
-
63
- ### Command Execution Pattern
64
-
65
- ```bash
66
- # Use the Task tool to invoke the azure-devops-specialist agent
67
- Task(subagent_type="azure-devops-specialist",
68
- description="Create Azure DevOps User Story",
69
- prompt="Create a comprehensive User Story in Azure DevOps for: **$ARGUMENTS**
70
-
71
- Follow the complete workflow:
72
- 1. Requirements gathering and discovery
73
- 2. User Story structure creation
74
- 3. Task breakdown and planning
75
- 4. Azure DevOps API integration
76
- 5. Local documentation and confirmation")
77
- ```
78
-
79
- ### Agent Instructions
80
-
81
- You are acting as the azure-devops-specialist agent to create a comprehensive User Story in Azure DevOps for: **$ARGUMENTS**
82
-
83
- #### 1. Discovery & Requirements Gathering
84
-
85
- Engage in a structured conversation to gather:
86
-
87
- - **User perspective**: Who is the user? What do they need?
88
- - **Business value**: Why is this important?
89
- - **Acceptance criteria**: How will we know it's done?
90
- - **Technical considerations**: Any constraints or dependencies?
91
- - **Scope boundaries**: What's included and excluded?
92
-
93
- ### 2. User Story Structure
94
-
95
- Create the User Story with these components:
96
-
97
- #### Title Format
98
-
99
- `As a [user type], I want [functionality] so that [benefit]`
100
-
101
- #### Description Structure
102
-
103
- ```markdown
104
- ## Story Overview
105
- [Brief context and background]
106
-
107
- ## User Story
108
- As a [specific user role]
109
- I want [specific functionality]
110
- So that [specific business value]
111
-
112
- ## Acceptance Criteria
113
- - [ ] Given [context], when [action], then [expected result]
114
- - [ ] Given [context], when [action], then [expected result]
115
- - [ ] [Additional criteria as needed]
116
-
117
- ## Technical Notes
118
- - [Architecture considerations]
119
- - [Integration points]
120
- - [Performance requirements]
121
-
122
- ## Dependencies
123
- - [List any blocking dependencies]
124
- - [Required services or APIs]
125
-
126
- ## Out of Scope
127
- - [What we're explicitly NOT doing in this story]
128
-
129
- ## Definition of Done
130
- - [ ] Code complete and reviewed
131
- - [ ] Unit tests written and passing
132
- - [ ] Integration tests passing
133
- - [ ] Documentation updated
134
- - [ ] Deployed to staging environment
135
- - [ ] Product Owner acceptance
136
- ```
137
-
138
- ### 3. Task Breakdown
139
-
140
- Automatically create child Tasks for the User Story:
141
-
142
- #### Standard Task Template
143
-
144
- Each User Story should have these tasks at minimum:
145
-
146
- 1. **Technical Design** - Create technical design document
147
- 2. **Implementation** - Core functionality development
148
- 3. **Unit Tests** - Write and pass unit tests
149
- 4. **Integration Tests** - Write and pass integration tests
150
- 5. **Documentation** - Update relevant documentation
151
- 6. **Code Review** - Peer review and feedback incorporation
152
- 7. **Testing** - Manual testing and bug fixes
153
- 8. **Deployment** - Deploy to staging/production
154
-
155
- #### Additional Tasks Based on Story Type
156
-
157
- - **Frontend Stories**: UI/UX design, responsive testing, accessibility
158
- - **Backend Stories**: API design, database schema, performance testing
159
- - **Infrastructure Stories**: Security review, monitoring setup, scaling tests
160
-
161
- #### 4. Azure DevOps Integration
162
-
163
- Execute the Azure DevOps API operations:
164
-
165
- 1. **Create User Story Work Item:**
166
-
167
- ```bash
168
- # Example API call structure
169
- POST https://dev.azure.com/{org}/{project}/_apis/wit/workitems/$User Story?api-version=7.0
170
-
171
- [
172
- {
173
- "op": "add",
174
- "path": "/fields/System.Title",
175
- "value": "[Story Title]"
176
- },
177
- {
178
- "op": "add",
179
- "path": "/fields/System.Description",
180
- "value": "[Full Description with Markdown]"
181
- },
182
- {
183
- "op": "add",
184
- "path": "/fields/Microsoft.VSTS.Common.AcceptanceCriteria",
185
- "value": "[Acceptance Criteria]"
186
- },
187
- {
188
- "op": "add",
189
- "path": "/fields/System.Tags",
190
- "value": "[Relevant Tags]"
191
- }
192
- ]
193
- ```
194
-
195
- 2. **Create Child Tasks:**
196
- - Each task linked as child to the User Story
197
- - Estimated hours for each task
198
- - Proper assignment if team members are known
199
-
200
- 3. **Set Metadata:**
201
- - Area Path: Based on project structure
202
- - Iteration Path: Current or next sprint
203
- - Priority: Based on discussion
204
- - Story Points: Estimated complexity
205
-
206
- ### 5. Local Documentation
207
-
208
- Save a local copy to: `.claude/azure/user-stories/$ARGUMENTS.md` with:
209
-
210
- ```markdown
211
- ---
212
- azure_id: [Work Item ID from Azure DevOps]
213
- name: $ARGUMENTS
214
- type: user-story
215
- status: new
216
- created: [Current ISO date/time]
217
- story_points: [Estimated points]
218
- sprint: [Target sprint]
219
- ---
220
-
221
- # User Story: $ARGUMENTS
222
-
223
- ## Azure DevOps Details
224
- - **Work Item ID**: [ID]
225
- - **URL**: https://dev.azure.com/{org}/{project}/_workitems/edit/[ID]
226
- - **Status**: New
227
- - **Assigned To**: [Assignee if known]
228
-
229
- [Rest of the User Story content...]
230
-
231
- ## Tasks
232
- 1. [Task Title] - ID: [Azure Task ID] - [Estimated Hours]h
233
- 2. [Task Title] - ID: [Azure Task ID] - [Estimated Hours]h
234
- [...]
235
- ```
236
-
237
- ### 6. Success Confirmation
238
-
239
- After creation:
240
-
241
- 1. Provide Azure DevOps Work Item URL
242
- 2. Show summary of User Story and Tasks created
243
- 3. Display total estimated hours
244
- 4. Suggest next steps:
245
- - "✅ User Story created with [N] tasks"
246
- - "📋 View in Azure DevOps: [URL]"
247
- - "🚀 Ready to start? Run: /azure:us-start $ARGUMENTS"
248
-
249
- ## Error Handling
250
-
251
- - If Azure DevOps API fails: Retry with exponential backoff
252
- - If authentication fails: Guide user to refresh PAT token
253
- - If project not found: List available projects
254
- - Always save local backup before API calls
255
-
256
- ## Quality Gates
257
-
258
- Before creating in Azure DevOps, verify:
259
-
260
- - [ ] Story follows "As a... I want... So that..." format
261
- - [ ] At least 3 acceptance criteria defined
262
- - [ ] All standard tasks included
263
- - [ ] Story points estimated
264
- - [ ] Dependencies identified
265
- - [ ] Definition of Done included
@@ -1,253 +0,0 @@
1
- ---
2
- allowed-tools: Task, Bash, Read, Write, Edit, WebFetch, Glob, Grep
3
- ---
4
-
5
- # Azure DevOps User Story Parse
6
-
7
- Parse a User Story into Tasks with automatic creation in Azure DevOps.
8
-
9
- **Usage**: `/azure:us-parse <user-story-id>`
10
-
11
- **Example**: `/azure:us-parse 34`
12
-
13
- ## Required Environment Variables
14
-
15
- Ensure `.claude/.env` contains:
16
-
17
- ```bash
18
- AZURE_DEVOPS_PAT=<your-pat-token>
19
- AZURE_DEVOPS_ORG=<your-organization>
20
- AZURE_DEVOPS_PROJECT=<your-project>
21
- ```
22
-
23
- ## Preflight Checklist
24
-
25
- ### Input Validation
26
-
27
- 1. **Validate User Story ID:**
28
- - Must be a valid number
29
- - If invalid, tell user: "❌ Invalid User Story ID. Please provide a numeric ID."
30
-
31
- 2. **Verify User Story exists:**
32
- - Fetch User Story from Azure DevOps
33
- - If not found, tell user: "❌ User Story #$ARGUMENTS not found in Azure DevOps"
34
- - If found, display title and current status
35
-
36
- 3. **Check for existing Tasks:**
37
- - Query for child Tasks of this User Story
38
- - If Tasks exist, ask: "⚠️ User Story already has [N] tasks. Create additional tasks? (yes/no)"
39
-
40
- ## Required Documentation Access
41
-
42
- **MANDATORY:** Before Azure DevOps integration and agile workflows, query Context7 for best practices:
43
-
44
- **Documentation Queries:**
45
- - `mcp://context7/azure-devops/boards` - boards best practices
46
- - `mcp://context7/agile/user-stories` - user stories best practices
47
- - `mcp://context7/project-management/work-items` - work items best practices
48
- - `mcp://context7/agile/sprint-planning` - sprint planning 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
- ## Instructions
58
-
59
- ### 1. Fetch User Story Details
60
-
61
- Use azure-devops-specialist agent to:
62
- - Get User Story title, description, and acceptance criteria
63
- - Analyze the content to identify required tasks
64
- - Check story points for complexity assessment
65
-
66
- ### 2. Analyze and Generate Tasks
67
-
68
- Based on User Story analysis, generate tasks:
69
-
70
- #### Standard Task Set
71
-
72
- Every User Story should have these core tasks:
73
-
74
- 1. **Technical Design** (2-4h)
75
- - Create technical approach document
76
- - Define interfaces and data models
77
- - Review with team
78
-
79
- 2. **Implementation** (8-16h based on complexity)
80
- - Core functionality development
81
- - Unit tests creation
82
- - Self-review
83
-
84
- 3. **Integration Testing** (4-8h)
85
- - Integration test development
86
- - End-to-end testing
87
- - Bug fixes
88
-
89
- 4. **Documentation** (2-4h)
90
- - Code documentation
91
- - API documentation if applicable
92
- - Update README/wiki
93
-
94
- 5. **Code Review** (2h)
95
- - Peer review
96
- - Address feedback
97
- - Final approval
98
-
99
- 6. **Deployment Preparation** (2h)
100
- - Configuration updates
101
- - Migration scripts if needed
102
- - Deployment checklist
103
-
104
- #### Context-Specific Tasks
105
-
106
- Analyze the User Story to add specific tasks:
107
-
108
- **For "password reset" example:**
109
- - Design email template (2h)
110
- - Implement token generation (4h)
111
- - Create reset UI components (6h)
112
- - Add security logging (2h)
113
- - Configure email service (2h)
114
-
115
- **For API stories:**
116
- - Define OpenAPI spec (2h)
117
- - Create API endpoints (8h)
118
- - Add rate limiting (2h)
119
- - Generate client SDK (2h)
120
-
121
- **For UI stories:**
122
- - Create mockups/wireframes (4h)
123
- - Implement components (8h)
124
- - Add responsive design (4h)
125
- - Accessibility testing (2h)
126
-
127
- ### 3. Task Creation Process
128
-
129
- Use azure-devops-specialist agent to create each task:
130
-
131
- ```json
132
- {
133
- "op": "add",
134
- "path": "/fields/System.Title",
135
- "value": "[Task Title]"
136
- },
137
- {
138
- "op": "add",
139
- "path": "/fields/System.Description",
140
- "value": "[Task Description]"
141
- },
142
- {
143
- "op": "add",
144
- "path": "/fields/Microsoft.VSTS.Scheduling.RemainingWork",
145
- "value": [Hours]
146
- },
147
- {
148
- "op": "add",
149
- "path": "/relations/-",
150
- "value": {
151
- "rel": "System.LinkTypes.Hierarchy-Reverse",
152
- "url": "https://dev.azure.com/{org}/{project}/_apis/wit/workItems/{parent_id}"
153
- }
154
- }
155
- ```
156
-
157
- ### 4. Task Organization
158
-
159
- Group tasks by phase:
160
- - **Analysis & Design**: Technical design, mockups, API specs
161
- - **Development**: Implementation, unit tests
162
- - **Testing**: Integration tests, user testing
163
- - **Finalization**: Documentation, review, deployment
164
-
165
- ### 5. Output Format
166
-
167
- After parsing and creating tasks:
168
-
169
- ```
170
- ✅ User Story #$ARGUMENTS parsed successfully!
171
-
172
- 📋 User Story: [Title]
173
- Story Points: [N]
174
-
175
- 📝 Created Tasks:
176
-
177
- Analysis & Design:
178
- ✓ Task #101: Technical Design (4h)
179
- ✓ Task #102: Create mockups (2h)
180
-
181
- Development:
182
- ✓ Task #103: Implementation (12h)
183
- ✓ Task #104: Unit tests (4h)
184
-
185
- Testing:
186
- ✓ Task #105: Integration testing (6h)
187
- ✓ Task #106: User acceptance testing (2h)
188
-
189
- Finalization:
190
- ✓ Task #107: Documentation (3h)
191
- ✓ Task #108: Code review (2h)
192
- ✓ Task #109: Deployment prep (2h)
193
-
194
- 📊 Summary:
195
- - Total Tasks: 9
196
- - Total Hours: 37h
197
- - Ready for sprint planning
198
-
199
- 🔗 View in Azure DevOps:
200
- https://dev.azure.com/{org}/{project}/_workitems/edit/{story_id}
201
-
202
- 🚀 Next steps:
203
- - Assign tasks to team members: /azure:task-assign
204
- - Start work on first task: /azure:task-start [task-id]
205
- - View task board: /azure:task-list {story_id}
206
- ```
207
-
208
- ### 6. Smart Parsing Features
209
-
210
- #### Acceptance Criteria Analysis
211
- - Each acceptance criterion → potential task
212
- - Group related criteria into single tasks
213
- - Identify testing tasks from criteria
214
-
215
- #### Complexity-Based Hours
216
- - Simple story (1-3 points): 20-30h total
217
- - Medium story (5-8 points): 30-50h total
218
- - Complex story (13+ points): 50-80h total
219
-
220
- #### Dependency Detection
221
- - Identify tasks that block others
222
- - Set predecessor/successor relationships
223
- - Flag external dependencies
224
-
225
- ## Error Handling
226
-
227
- - **API failures**: Retry with exponential backoff
228
- - **Partial success**: Report created tasks, list failures
229
- - **Invalid story**: Provide guidance on story structure
230
-
231
- ## Local Tracking
232
-
233
- Save parsing results to `.claude/azure/parsed/{story_id}.md`:
234
-
235
- ```markdown
236
- # Parsed: User Story #[ID]
237
-
238
- Date: [ISO timestamp]
239
- Title: [Story Title]
240
-
241
- ## Created Tasks
242
- | ID | Title | Hours | Status |
243
- |----|-------|-------|--------|
244
- | 101 | Technical Design | 4h | New |
245
- | 102 | Implementation | 12h | New |
246
- ...
247
-
248
- ## Parsing Rules Applied
249
- - Standard task set: Yes
250
- - API-specific tasks: No
251
- - UI-specific tasks: Yes
252
- - Total hours: 37h
253
- ```