claude-code-workflow 7.2.20 → 7.2.22

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 (43) hide show
  1. package/.claude/commands/workflow/analyze-with-file.md +25 -12
  2. package/.codex/skills/analyze-with-file/SKILL.md +235 -497
  3. package/.codex/skills/brainstorm-with-file/SKILL.md +661 -751
  4. package/.codex/skills/csv-wave-pipeline/SKILL.md +192 -198
  5. package/.codex/skills/team-arch-opt/SKILL.md +24 -0
  6. package/.codex/skills/team-arch-opt/roles/coordinator/role.md +22 -0
  7. package/.codex/skills/team-brainstorm/SKILL.md +24 -0
  8. package/.codex/skills/team-brainstorm/roles/coordinator/role.md +20 -0
  9. package/.codex/skills/team-coordinate/SKILL.md +24 -0
  10. package/.codex/skills/team-coordinate/roles/coordinator/role.md +40 -12
  11. package/.codex/skills/team-frontend/SKILL.md +24 -0
  12. package/.codex/skills/team-frontend/roles/coordinator/role.md +20 -0
  13. package/.codex/skills/team-frontend-debug/SKILL.md +24 -0
  14. package/.codex/skills/team-frontend-debug/roles/coordinator/role.md +21 -0
  15. package/.codex/skills/team-issue/SKILL.md +24 -0
  16. package/.codex/skills/team-issue/roles/coordinator/role.md +19 -0
  17. package/.codex/skills/team-iterdev/SKILL.md +24 -0
  18. package/.codex/skills/team-iterdev/roles/coordinator/role.md +20 -0
  19. package/.codex/skills/team-lifecycle-v4/SKILL.md +24 -0
  20. package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +28 -2
  21. package/.codex/skills/team-perf-opt/SKILL.md +24 -0
  22. package/.codex/skills/team-perf-opt/roles/coordinator/role.md +20 -0
  23. package/.codex/skills/team-planex/SKILL.md +24 -0
  24. package/.codex/skills/team-planex/roles/coordinator/role.md +19 -0
  25. package/.codex/skills/team-quality-assurance/SKILL.md +24 -0
  26. package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +21 -0
  27. package/.codex/skills/team-review/SKILL.md +24 -0
  28. package/.codex/skills/team-review/roles/coordinator/role.md +21 -0
  29. package/.codex/skills/team-roadmap-dev/SKILL.md +24 -0
  30. package/.codex/skills/team-roadmap-dev/roles/coordinator/role.md +19 -0
  31. package/.codex/skills/team-tech-debt/SKILL.md +24 -0
  32. package/.codex/skills/team-tech-debt/roles/coordinator/role.md +19 -0
  33. package/.codex/skills/team-testing/SKILL.md +24 -0
  34. package/.codex/skills/team-testing/roles/coordinator/role.md +21 -0
  35. package/.codex/skills/team-uidesign/SKILL.md +24 -0
  36. package/.codex/skills/team-uidesign/roles/coordinator/role.md +20 -0
  37. package/.codex/skills/team-ultra-analyze/SKILL.md +24 -0
  38. package/.codex/skills/team-ultra-analyze/roles/coordinator/role.md +20 -0
  39. package/.codex/skills/team-ux-improve/SKILL.md +24 -0
  40. package/.codex/skills/team-ux-improve/roles/coordinator/role.md +20 -0
  41. package/package.json +1 -1
  42. package/.codex/skills/collaborative-plan-with-file/SKILL.md +0 -830
  43. package/.codex/skills/unified-execute-with-file/SKILL.md +0 -797
@@ -230,23 +230,37 @@ Do NOT write files.
230
230
  }
231
231
  ```
232
232
 
233
- **Phase B — Perspective Deep-Dive** (parallel, only for multi-perspective, max 4):
233
+ **Phase B — Perspective Deep-Dive** (PARALLEL, only for multi-perspective, max 4):
234
234
  Each perspective agent receives shared Layer 1 results, performs only Layer 2-3 on its relevant subset.
235
235
  Skip if single-perspective (single mode proceeds directly to Step 2 CLI analysis with Layer 1 results).
236
236
 
237
+ **CRITICAL — Parallel Execution**: Launch ALL perspective Agent() calls in the SAME response block so Claude Code executes them concurrently. Do NOT use a loop that waits for each agent before starting the next.
238
+
237
239
  ```javascript
238
240
  // Per-perspective Layer 2-3 — receives shared discovery, avoids re-scanning
239
241
  // Only runs in multi-perspective mode
242
+ // PARALLEL: All Agent() calls MUST appear in ONE response — Claude Code runs them concurrently
240
243
  const sharedDiscovery = readJSON(`${sessionFolder}/exploration-codebase.json`)
241
- const perspectiveFiles = sharedDiscovery.relevant_files
242
- .filter(f => f.dimensions.includes(perspective.dimension))
243
244
 
244
- selectedPerspectives.forEach(perspective => {
245
- Agent({
246
- subagent_type: "cli-explore-agent",
247
- run_in_background: false,
248
- description: `Deep-dive: ${perspective.name}`,
249
- prompt: `
245
+ // Prepare per-perspective file lists
246
+ const perspectiveFileLists = Object.fromEntries(
247
+ selectedPerspectives.map(p => [
248
+ p.name,
249
+ sharedDiscovery.relevant_files.filter(f => f.dimensions.includes(p.dimension))
250
+ ])
251
+ )
252
+
253
+ // Launch ALL agents in a SINGLE response block (not sequentially):
254
+ // Agent({ ..perspective1.. }) ← call 1
255
+ // Agent({ ..perspective2.. }) ← call 2 (same response)
256
+ // Agent({ ..perspective3.. }) ← call 3 (same response)
257
+
258
+ // Each agent call follows this template:
259
+ Agent({
260
+ subagent_type: "cli-explore-agent",
261
+ run_in_background: false,
262
+ description: `Deep-dive: ${perspective.name}`,
263
+ prompt: `
250
264
  ## Analysis Context
251
265
  Topic: ${topic_or_question}
252
266
  Perspective: ${perspective.name} - ${perspective.focus}
@@ -254,7 +268,7 @@ Session: ${sessionFolder}
254
268
 
255
269
  ## SHARED DISCOVERY (Layer 1 already completed — DO NOT re-scan)
256
270
  Relevant files for this perspective:
257
- ${perspectiveFiles.map(f => `- ${f.path}: ${f.annotation}`).join('\n')}
271
+ ${perspectiveFileLists[perspective.name].map(f => `- ${f.path}: ${f.annotation}`).join('\n')}
258
272
  Patterns found: ${sharedDiscovery.patterns.join(', ')}
259
273
 
260
274
  ## Layer 2 — Structure Tracing (Depth)
@@ -270,7 +284,6 @@ Patterns found: ${sharedDiscovery.patterns.join(', ')}
270
284
  Write to: ${sessionFolder}/explorations/${perspective.name}.json
271
285
  Schema: {perspective, relevant_files, key_findings, code_anchors: [{file, lines, snippet, significance}], call_chains: [{entry, chain, files}], questions_for_user, _metadata}
272
286
  `
273
- })
274
287
  })
275
288
  ```
276
289
 
@@ -731,7 +744,7 @@ ${implScope.map((item, i) => `${i+1}. **${item.objective}** [${item.priority}]
731
744
  | **Business** | Codex | Value, ROI, stakeholder impact | Business implications |
732
745
  | **Domain Expert** | Gemini | Domain patterns, best practices, standards | Industry knowledge |
733
746
 
734
- User multi-selects up to 4 in Phase 1, default: single comprehensive view.
747
+ User multi-selects up to 4 in Phase 1. Default: if dimensions >= 2, pre-select Technical + Architectural; if dimensions == 1, single comprehensive view.
735
748
 
736
749
  ### Dimension-Direction Mapping
737
750