@vesviet/agent-skills 5.6.0 → 5.6.1

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 (113) hide show
  1. package/INDEX.md +1 -1
  2. package/README.md +1 -1
  3. package/VERSION +1 -1
  4. package/adapters/antigravity/a2a-config.template.yaml +1 -1
  5. package/adapters/antigravity/role-skill-index.json +1 -1
  6. package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
  7. package/adapters/cursor/README.md +185 -185
  8. package/bin/agent-skills.mjs +17 -14
  9. package/core/contracts/schemas/api-contract-spec.json +191 -191
  10. package/core/contracts/schemas/feature-ticket.json +1293 -1293
  11. package/core/contracts/schemas/pull-request-spec.json +338 -338
  12. package/core/contracts/schemas/references/detailed/01-solution-and-governance.md +19 -19
  13. package/core/contracts/schemas/references/detailed/02-engineering-delivery.md +93 -93
  14. package/core/contracts/schemas/references/detailed/04-finance-accounting-and-compliance.md +54 -54
  15. package/core/contracts/schemas/references/detailed/05-design-and-content.md +92 -92
  16. package/core/contracts/schemas/references/detailed/06-seo-and-publishing.md +48 -48
  17. package/core/contracts/schemas/references/detailed/07-a2a-protocol.md +85 -85
  18. package/core/contracts/schemas/test-report.json +530 -530
  19. package/core/roles/references/business-analyst-responsibilities.md +207 -207
  20. package/core/roles/references/frontend-developer-responsibilities.md +275 -275
  21. package/core/roles/system-engineer.md +465 -465
  22. package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -141
  23. package/core/skills/backend/build-mcp-server/SKILL.md +100 -100
  24. package/core/skills/backend/implement-structured-outputs/SKILL.md +94 -94
  25. package/core/skills/business/elicit-requirements/SKILL.md +102 -102
  26. package/core/skills/business/elicit-requirements/references/elicitation-techniques-and-babok-criteria.md +60 -60
  27. package/core/skills/business/trace-requirements-impact/SKILL.md +97 -97
  28. package/core/skills/business/trace-requirements-impact/references/rtm-graph-and-prioritization-models.md +109 -109
  29. package/core/skills/business/write-use-cases/SKILL.md +106 -106
  30. package/core/skills/business/write-use-cases/references/cockburn-scoping-and-13-field-template.md +135 -135
  31. package/core/skills/document/pptx/scripts/add_slide.py +0 -0
  32. package/core/skills/document/pptx/scripts/clean.py +0 -0
  33. package/core/skills/document/pptx/scripts/thumbnail.py +0 -0
  34. package/core/skills/document/xlsx/scripts/recalc.py +0 -0
  35. package/core/skills/documentation/write-documentation/SKILL.md +143 -143
  36. package/core/skills/documentation/write-tech-radar/SKILL.md +149 -149
  37. package/core/skills/foundation/accessibility-review/SKILL.md +160 -160
  38. package/core/skills/foundation/release-notes/SKILL.md +192 -192
  39. package/core/skills/foundation/webapp-server-runner/scripts/with_server.py +0 -0
  40. package/core/skills/foundation/write-product-brief/SKILL.md +160 -160
  41. package/core/skills/platform/cloudflare-email-service/SKILL.md +166 -166
  42. package/core/skills/platform/cloudflare-email-service/references/routing.md +199 -199
  43. package/core/skills/platform/debug-workers-edge/SKILL.md +111 -111
  44. package/core/skills/platform/sandbox-sdk/SKILL.md +183 -183
  45. package/core/skills/platform/setup-gpu-finops/SKILL.md +107 -107
  46. package/core/skills/platform/setup-llm-gateway/SKILL.md +108 -108
  47. package/core/skills/platform/turnstile-spin/SKILL.md +118 -118
  48. package/core/skills/platform/turnstile-spin/scripts/auth-probe.sh +0 -0
  49. package/core/skills/platform/turnstile-spin/scripts/fetch-secret.sh +0 -0
  50. package/core/skills/platform/turnstile-spin/scripts/persist-skill.sh +0 -0
  51. package/core/skills/platform/turnstile-spin/scripts/validate.sh +0 -0
  52. package/core/skills/platform/turnstile-spin/scripts/widget-create.sh +0 -0
  53. package/core/skills/platform/turnstile-spin/scripts/worker-deploy.sh +0 -0
  54. package/core/skills/platform/turnstile-spin/templates/worker/src/index.ts +199 -199
  55. package/core/skills/platform/turnstile-spin/templates/worker/wrangler.toml +31 -31
  56. package/core/skills/platform/web-perf/SKILL.md +151 -151
  57. package/core/skills/platform/workers-best-practices/references/rules.md +463 -463
  58. package/core/skills/product/build-story-map/SKILL.md +104 -104
  59. package/core/skills/product/build-story-map/references/story-mapping-and-cpm-scheduling.md +101 -101
  60. package/core/skills/product/define-product-strategy/SKILL.md +105 -105
  61. package/core/skills/product/define-product-strategy/references/strategy-frameworks-and-pr-faq.md +142 -142
  62. package/core/skills/product/model-saas-metrics/SKILL.md +104 -104
  63. package/core/skills/product/model-saas-metrics/references/saas-unit-economics-and-pricing.md +110 -110
  64. package/core/skills/product/prioritize-roadmap/SKILL.md +106 -106
  65. package/core/skills/product/prioritize-roadmap/references/prioritization-scoring-and-kill-criteria.md +105 -105
  66. package/core/skills/repo-ops/commit-code/SKILL.md +190 -190
  67. package/core/skills/repo-ops/commit-code/references/multi-repo-and-deployment.md +21 -21
  68. package/core/skills/repo-ops/navigate-service/SKILL.md +199 -199
  69. package/core/skills/repo-ops/review-code/references/process-and-format.md +100 -100
  70. package/core/skills/repo-ops/review-service/SKILL.md +186 -186
  71. package/core/skills/repo-ops/troubleshoot-service/SKILL.md +127 -127
  72. package/core/skills/repo-ops/troubleshoot-service/references/failure-modes-and-security.md +22 -22
  73. package/core/skills/repo-ops/troubleshoot-service/references/suggested-process.md +110 -110
  74. package/core/skills/security-data/security-audit/SKILL.md +119 -119
  75. package/core/workflows/add-new-feature.md +212 -212
  76. package/core/workflows/agent-a2a-delegation.md +142 -142
  77. package/core/workflows/bug-fix.md +147 -147
  78. package/core/workflows/build-deploy.md +208 -208
  79. package/core/workflows/code-review.md +137 -137
  80. package/core/workflows/dependency-upgrade.md +193 -193
  81. package/core/workflows/feature-delivery.md +149 -149
  82. package/core/workflows/hotfix-production.md +172 -172
  83. package/core/workflows/qa-validation.md +231 -231
  84. package/core/workflows/refactoring.md +154 -154
  85. package/core/workflows/revert-deployment.md +147 -147
  86. package/core/workflows/security-incident-response.md +191 -191
  87. package/core/workflows/seo-content-lifecycle.md +91 -91
  88. package/core/workflows/service-review-release.md +223 -223
  89. package/core/workflows/setup-new-service.md +214 -214
  90. package/core/workflows/tech-repo-review.md +245 -245
  91. package/core/workflows/troubleshooting.md +241 -241
  92. package/overlays/astro-cloudflare/README.md +93 -93
  93. package/overlays/data-analyst-stack/README.md +109 -109
  94. package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +135 -135
  95. package/overlays/data-analyst-stack/rules/stack-conventions.md +80 -80
  96. package/overlays/ecommerce-microservices/README.md +65 -65
  97. package/overlays/go-microservices/README.md +78 -78
  98. package/overlays/go-microservices/rules/go-conventions.md +223 -223
  99. package/overlays/laravel-filament/README.md +90 -90
  100. package/overlays/laravel-filament/rules/laravel-conventions.md +220 -220
  101. package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +141 -141
  102. package/overlays/laravel-filament/workflows/deploy-laravel.md +133 -133
  103. package/overlays/obj-configurator/rules/obj-project-rules.md +111 -111
  104. package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +71 -71
  105. package/overlays/r3f-stack/README.md +89 -89
  106. package/overlays/r3f-stack/rules/stub.md +43 -43
  107. package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +166 -166
  108. package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +159 -159
  109. package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +128 -128
  110. package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +52 -52
  111. package/overlays/ui-design-system/rules/handoff-conventions.md +73 -73
  112. package/package.json +2 -2
  113. package/core/README.md +0 -53
@@ -1,104 +1,104 @@
1
- ---
2
- name: build-story-map
3
- description: Structure and visualize product backlogs using Jeff Patton User Story Mapping, MoSCoW release swimlanes, and Critical Path Method (CPM) dependency scheduling. Use when organizing features into Epic-to-Story hierarchies, defining MVP walking skeletons, slicing releases, calculating float time on critical path tasks, or handing off scoped initiatives to engineering.
4
- allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
5
- ---
6
-
7
- # Build Story Map
8
-
9
- Use this skill to structure product requirements into multidimensional User Story Maps, define MVP walking skeletons, slice releases into prioritized swimlanes, and schedule dependencies using the Critical Path Method (CPM).
10
-
11
- ## When to Use
12
-
13
- - converting linear, overwhelming backlogs into structured 2D User Story Maps
14
- - defining the minimum end-to-end viable product (**Walking Skeleton**) for early testing
15
- - slicing feature releases into thematic swimlanes (MVP, Release 1.1, Release 2.0)
16
- - conducting MoSCoW prioritization across release slices
17
- - analyzing project schedule dependencies and calculating critical path float time (CPM)
18
- - preparing structured, unambiguous delivery handoffs for engineering and business analysis
19
-
20
- ## Core Rules
21
-
22
- - **Enforce Jeff Patton 2-Dimensional Story Map Structure**:
23
- - *Horizontal Axis (Narrative Flow / User Journey)*:
24
- - Top Level: **User Activities** (The Backbone; e.g. Discover, Onboard, Create, Checkout)
25
- - Mid Level: **User Tasks / Steps** (The Walking Skeleton; e.g. Select Plan, Enter Payment)
26
- - *Vertical Axis (Release Priority & Depth)*:
27
- - Slice down by sophistication: MVP (simplest functional end-to-end path) → Iteration 1 → Future Enhancements
28
- - **Mandate the Walking Skeleton Concept**:
29
- - The MVP slice must be a complete end-to-end journey that works, even if crude or manual behind the scenes
30
- - Ban building disconnected silos (e.g. 100% of User Management built while Checkout remains non-functional)
31
- - **Tag MoSCoW Priorities per Swimlane**:
32
- - *Must-Have (M)*: Non-negotiable for that specific release slice
33
- - *Should-Have (S)*: Important but not critical to initial go-live
34
- - *Could-Have (C)*: Desirable delighter if velocity permits
35
- - *Won't-Have this time (W)*: Explicitly excluded from the active swimlane
36
- - **Apply Critical Path Method (CPM) Analysis**:
37
- - Map explicit dependency arrows between cross-functional delivery tasks
38
- - Calculate Early Start (ES), Early Finish (EF), Late Start (LS), and Late Finish (LF)
39
- - Identify the **Critical Path**: sequence of dependent tasks where $\text{Float} = \text{LS} - \text{ES} = 0$; any delay on this path directly delays project launch
40
- - **Structured A2A Delivery Handoff**:
41
- - Every mapped story must be ready for export into `core/contracts/schemas/feature-ticket.json`
42
- - Detailed worked examples, CPM calculations, and mermaid templates: [`references/story-mapping-and-cpm-scheduling.md`](references/story-mapping-and-cpm-scheduling.md)
43
-
44
- ## Suggested Process
45
-
46
- ### 1. Frame the User Persona & Problem Scenario
47
- Identify the target actor and their primary end-to-end goal.
48
-
49
- ### 2. Map the Backbone (Activities & Tasks)
50
- Write out the sequential user steps from left to right along the horizontal timeline. Group steps into major Activity clusters.
51
-
52
- ### 3. Brainstorm Stories & Details Vertically
53
- Under each user step, brainstorm user stories representing variations, deeper functionality, and edge cases.
54
-
55
- ### 4. Slice into Release Swimlanes
56
- Draw horizontal release slices. Carve out the Walking Skeleton (MVP) that provides the thinnest viable slice across all activities. Assign subsequent stories to Release 1.1 and Release 2.0.
57
-
58
- ### 5. Calculate Dependencies & Critical Path (CPM)
59
- Convert the release swimlane into a task dependency network. Perform forward and backward passes to compute total float and highlight the Critical Path.
60
-
61
- ## Checklist
62
-
63
- - [ ] horizontal backbone captures full chronological customer journey
64
- - [ ] Walking Skeleton (MVP) connects all backbone activities end-to-end
65
- - [ ] every story contains a clear user value statement (`As a... I want... So that...`)
66
- - [ ] MoSCoW tags applied to all stories within the active release slice
67
- - [ ] cross-team dependencies explicitly identified
68
- - [ ] CPM analysis identifies critical path tasks with zero float
69
- - [ ] stories prepared for handoff to BA and engineering via structured contracts
70
-
71
- ## Output Contracts
72
-
73
- When this skill feeds a coordinated BA/engineering handoff, emit:
74
-
75
- - **contracts/schemas/feature-ticket.json** — one ticket per story in the active release slice. Required fields: title, business_value (the story's `As a... I want... So that...` statement), acceptance criteria, MoSCoW priority. Set produced_by_role to the emitting product role.
76
- - **story-map.md** (inline deliverable; no dedicated schema exists) — the 2D map itself: backbone activities → tasks left-to-right, release swimlanes (MVP / Release 1.1 / Release 2.0) with MoSCoW tags, plus the CPM network showing ES/EF/LS/LF, float per task, and the zero-float critical path chain.
77
-
78
- Skip emission for solo backlog grooming with no downstream consumer.
79
-
80
- ## Failure Modes
81
-
82
- - **Disconnected MVP silos**: the Walking Skeleton builds 100% of one activity (e.g. User Management) while Checkout stays non-functional. Mitigation: require the MVP slice to cross every backbone activity end-to-end before any story is assigned to a later release.
83
- - **Backbone mirrors org chart**: activities ordered by team structure instead of the chronological customer journey. Mitigation: validate the horizontal axis against sequential real user steps before slicing swimlanes.
84
- - **Valueless stories**: stories written as task labels ("build settings page") without the `As a... I want... So that...` statement. Mitigation: reject any story missing the three-part value statement at feature-ticket.json export time.
85
- - **Untagged MoSCoW**: stories inside an active release slice carry no M/S/C/W classification. Mitigation: block slice handoff until every story in the active swimlane is tagged; keep Won't-Have exclusions explicit.
86
- - **Asserted critical path**: the Critical Path is declared without forward/backward passes, so float values are guesses. Mitigation: compute ES/EF/LS/LF per task and verify Float = LS − ES = 0 on every task in the claimed chain.
87
- - **Hidden cross-team dependencies**: swimlanes sliced as if teams work in isolation. Mitigation: draw explicit dependency arrows between cross-functional tasks before running CPM.
88
- - **Later-slice scope creep**: Release 2.0 stories quietly absorb MVP scope. Mitigation: re-audit slice boundaries at each release cut; move items only via an explicit MoSCoW re-tag.
89
-
90
- ## Security Guardrails (OWASP ASI)
91
-
92
- - **ASI01 Goal Hijack**: stakeholder comments on the map try to smuggle unbudgeted features into the MVP slice by reframing them as Must-Have. Mitigation: every added story re-runs MoSCoW tagging and the walking-skeleton check; reject untagged insertions.
93
- - **ASI03 Identity & Privilege Abuse**: unreleased release slices and capacity data are competitively sensitive. Mitigation: share the map and CPM schedule only with the roles named in the handoff; keep them out of shared channels.
94
- - **ASI06 Context & Memory Poisoning**: a story map or backlog imported from a prior session's memory carries stale priorities. Mitigation: re-validate imported backbone ordering and MoSCoW tags against the current backlog source before reuse.
95
- - **ASI07 Inter-Agent Communication**: story exports are consumed by BA and engineering roles. Mitigation: emit schema-validated feature-ticket.json contracts instead of prose so downstream roles can verify scope.
96
- - **ASI09 Human-Agent Trust Exploitation**: a fabricated critical path or invented task durations presented as verified analysis to lock a launch date. Mitigation: label all durations as estimates and show the float math behind any launch-date claim.
97
-
98
- ## Related Skills
99
-
100
- - **define-product-strategy**: provide PR/FAQ and Opportunity Solution Tree context
101
- - **prioritize-roadmap**: supply RICE scores and capacity timeboxes
102
- - **write-product-brief**: generate formal product brief documents
103
- - **write-use-cases**: expand complex story map steps into 13-field Use Case specifications
104
- - **trace-requirements-impact**: track dependency blast radius when requirements change
1
+ ---
2
+ name: build-story-map
3
+ description: Structure and visualize product backlogs using Jeff Patton User Story Mapping, MoSCoW release swimlanes, and Critical Path Method (CPM) dependency scheduling. Use when organizing features into Epic-to-Story hierarchies, defining MVP walking skeletons, slicing releases, calculating float time on critical path tasks, or handing off scoped initiatives to engineering.
4
+ allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
5
+ ---
6
+
7
+ # Build Story Map
8
+
9
+ Use this skill to structure product requirements into multidimensional User Story Maps, define MVP walking skeletons, slice releases into prioritized swimlanes, and schedule dependencies using the Critical Path Method (CPM).
10
+
11
+ ## When to Use
12
+
13
+ - converting linear, overwhelming backlogs into structured 2D User Story Maps
14
+ - defining the minimum end-to-end viable product (**Walking Skeleton**) for early testing
15
+ - slicing feature releases into thematic swimlanes (MVP, Release 1.1, Release 2.0)
16
+ - conducting MoSCoW prioritization across release slices
17
+ - analyzing project schedule dependencies and calculating critical path float time (CPM)
18
+ - preparing structured, unambiguous delivery handoffs for engineering and business analysis
19
+
20
+ ## Core Rules
21
+
22
+ - **Enforce Jeff Patton 2-Dimensional Story Map Structure**:
23
+ - *Horizontal Axis (Narrative Flow / User Journey)*:
24
+ - Top Level: **User Activities** (The Backbone; e.g. Discover, Onboard, Create, Checkout)
25
+ - Mid Level: **User Tasks / Steps** (The Walking Skeleton; e.g. Select Plan, Enter Payment)
26
+ - *Vertical Axis (Release Priority & Depth)*:
27
+ - Slice down by sophistication: MVP (simplest functional end-to-end path) → Iteration 1 → Future Enhancements
28
+ - **Mandate the Walking Skeleton Concept**:
29
+ - The MVP slice must be a complete end-to-end journey that works, even if crude or manual behind the scenes
30
+ - Ban building disconnected silos (e.g. 100% of User Management built while Checkout remains non-functional)
31
+ - **Tag MoSCoW Priorities per Swimlane**:
32
+ - *Must-Have (M)*: Non-negotiable for that specific release slice
33
+ - *Should-Have (S)*: Important but not critical to initial go-live
34
+ - *Could-Have (C)*: Desirable delighter if velocity permits
35
+ - *Won't-Have this time (W)*: Explicitly excluded from the active swimlane
36
+ - **Apply Critical Path Method (CPM) Analysis**:
37
+ - Map explicit dependency arrows between cross-functional delivery tasks
38
+ - Calculate Early Start (ES), Early Finish (EF), Late Start (LS), and Late Finish (LF)
39
+ - Identify the **Critical Path**: sequence of dependent tasks where $\text{Float} = \text{LS} - \text{ES} = 0$; any delay on this path directly delays project launch
40
+ - **Structured A2A Delivery Handoff**:
41
+ - Every mapped story must be ready for export into `core/contracts/schemas/feature-ticket.json`
42
+ - Detailed worked examples, CPM calculations, and mermaid templates: [`references/story-mapping-and-cpm-scheduling.md`](references/story-mapping-and-cpm-scheduling.md)
43
+
44
+ ## Suggested Process
45
+
46
+ ### 1. Frame the User Persona & Problem Scenario
47
+ Identify the target actor and their primary end-to-end goal.
48
+
49
+ ### 2. Map the Backbone (Activities & Tasks)
50
+ Write out the sequential user steps from left to right along the horizontal timeline. Group steps into major Activity clusters.
51
+
52
+ ### 3. Brainstorm Stories & Details Vertically
53
+ Under each user step, brainstorm user stories representing variations, deeper functionality, and edge cases.
54
+
55
+ ### 4. Slice into Release Swimlanes
56
+ Draw horizontal release slices. Carve out the Walking Skeleton (MVP) that provides the thinnest viable slice across all activities. Assign subsequent stories to Release 1.1 and Release 2.0.
57
+
58
+ ### 5. Calculate Dependencies & Critical Path (CPM)
59
+ Convert the release swimlane into a task dependency network. Perform forward and backward passes to compute total float and highlight the Critical Path.
60
+
61
+ ## Checklist
62
+
63
+ - [ ] horizontal backbone captures full chronological customer journey
64
+ - [ ] Walking Skeleton (MVP) connects all backbone activities end-to-end
65
+ - [ ] every story contains a clear user value statement (`As a... I want... So that...`)
66
+ - [ ] MoSCoW tags applied to all stories within the active release slice
67
+ - [ ] cross-team dependencies explicitly identified
68
+ - [ ] CPM analysis identifies critical path tasks with zero float
69
+ - [ ] stories prepared for handoff to BA and engineering via structured contracts
70
+
71
+ ## Output Contracts
72
+
73
+ When this skill feeds a coordinated BA/engineering handoff, emit:
74
+
75
+ - **contracts/schemas/feature-ticket.json** — one ticket per story in the active release slice. Required fields: title, business_value (the story's `As a... I want... So that...` statement), acceptance criteria, MoSCoW priority. Set produced_by_role to the emitting product role.
76
+ - **story-map.md** (inline deliverable; no dedicated schema exists) — the 2D map itself: backbone activities → tasks left-to-right, release swimlanes (MVP / Release 1.1 / Release 2.0) with MoSCoW tags, plus the CPM network showing ES/EF/LS/LF, float per task, and the zero-float critical path chain.
77
+
78
+ Skip emission for solo backlog grooming with no downstream consumer.
79
+
80
+ ## Failure Modes
81
+
82
+ - **Disconnected MVP silos**: the Walking Skeleton builds 100% of one activity (e.g. User Management) while Checkout stays non-functional. Mitigation: require the MVP slice to cross every backbone activity end-to-end before any story is assigned to a later release.
83
+ - **Backbone mirrors org chart**: activities ordered by team structure instead of the chronological customer journey. Mitigation: validate the horizontal axis against sequential real user steps before slicing swimlanes.
84
+ - **Valueless stories**: stories written as task labels ("build settings page") without the `As a... I want... So that...` statement. Mitigation: reject any story missing the three-part value statement at feature-ticket.json export time.
85
+ - **Untagged MoSCoW**: stories inside an active release slice carry no M/S/C/W classification. Mitigation: block slice handoff until every story in the active swimlane is tagged; keep Won't-Have exclusions explicit.
86
+ - **Asserted critical path**: the Critical Path is declared without forward/backward passes, so float values are guesses. Mitigation: compute ES/EF/LS/LF per task and verify Float = LS − ES = 0 on every task in the claimed chain.
87
+ - **Hidden cross-team dependencies**: swimlanes sliced as if teams work in isolation. Mitigation: draw explicit dependency arrows between cross-functional tasks before running CPM.
88
+ - **Later-slice scope creep**: Release 2.0 stories quietly absorb MVP scope. Mitigation: re-audit slice boundaries at each release cut; move items only via an explicit MoSCoW re-tag.
89
+
90
+ ## Security Guardrails (OWASP ASI)
91
+
92
+ - **ASI01 Goal Hijack**: stakeholder comments on the map try to smuggle unbudgeted features into the MVP slice by reframing them as Must-Have. Mitigation: every added story re-runs MoSCoW tagging and the walking-skeleton check; reject untagged insertions.
93
+ - **ASI03 Identity & Privilege Abuse**: unreleased release slices and capacity data are competitively sensitive. Mitigation: share the map and CPM schedule only with the roles named in the handoff; keep them out of shared channels.
94
+ - **ASI06 Context & Memory Poisoning**: a story map or backlog imported from a prior session's memory carries stale priorities. Mitigation: re-validate imported backbone ordering and MoSCoW tags against the current backlog source before reuse.
95
+ - **ASI07 Inter-Agent Communication**: story exports are consumed by BA and engineering roles. Mitigation: emit schema-validated feature-ticket.json contracts instead of prose so downstream roles can verify scope.
96
+ - **ASI09 Human-Agent Trust Exploitation**: a fabricated critical path or invented task durations presented as verified analysis to lock a launch date. Mitigation: label all durations as estimates and show the float math behind any launch-date claim.
97
+
98
+ ## Related Skills
99
+
100
+ - **define-product-strategy**: provide PR/FAQ and Opportunity Solution Tree context
101
+ - **prioritize-roadmap**: supply RICE scores and capacity timeboxes
102
+ - **write-product-brief**: generate formal product brief documents
103
+ - **write-use-cases**: expand complex story map steps into 13-field Use Case specifications
104
+ - **trace-requirements-impact**: track dependency blast radius when requirements change
@@ -1,101 +1,101 @@
1
- # User Story Mapping & Critical Path Method (CPM) Scheduling
2
-
3
- > Authoritative reference guide for Jeff Patton User Story Mapping, Walking Skeleton definition, MoSCoW release slicing, and Critical Path Method (CPM) analysis.
4
-
5
- ---
6
-
7
- ## 1. Jeff Patton User Story Mapping Architecture
8
-
9
- A User Story Map organizes a two-dimensional visual grid representing user experience over time.
10
-
11
- ```
12
- HORIZONTAL AXIS: Chronological Narrative Flow (Left to Right)
13
- ┌───────────────────┬───────────────────┬───────────────────┐
14
- │ Activity 1: Find │ Activity 2: Select│ Activity 3: Pay │ ◄── THE BACKBONE
15
- └─────────┬─────────┴─────────┬─────────┴─────────┬─────────┘
16
- │ │ │
17
- ┌─────────▼─────────┬─────────▼─────────┬─────────▼─────────┐
18
- │ Step 1.1: Search │ Step 2.1: Compare │ Step 3.1: Card Pay│ ◄── WALKING SKELETON
19
- └───────────────────┴───────────────────┴───────────────────┘
20
- ═══════════════════════════════════════════════════════════════ ◄── SLICE 1: MVP
21
- ┌───────────────────┬───────────────────┬───────────────────┐
22
- │ Story: Filter tag │ Story: Side-by-side│ Story: Apple Pay │ ◄── SLICE 2: Release 1.1
23
- └───────────────────┴───────────────────┴───────────────────┘
24
- ═══════════════════════════════════════════════════════════════ ◄── SLICE 3: Release 2.0
25
- ┌───────────────────┬───────────────────┬───────────────────┐
26
- │ Story: AI Suggest │ Story: 3D Preview │ Story: Crypto Pay │ ◄── Future Slices
27
- └───────────────────┴───────────────────┴───────────────────┘
28
- VERTICAL AXIS: Sophistication & Release Priority (Top to Bottom)
29
- ```
30
-
31
- ### Key Principles
32
- 1. **The Backbone**: High-level activities that never change (e.g. Discover, Configure, Purchase, Track).
33
- 2. **The Walking Skeleton**: The simplest implementation that connects all backbone activities from start to finish without breaking. It provides immediate integration testing and user feedback.
34
- 3. **Slice Vertically, Not Horizontally**: Avoid building 100% of the search engine while checkout has not started. Slice thin across all steps.
35
-
36
- ---
37
-
38
- ## 2. Critical Path Method (CPM) Dependency Scheduling
39
-
40
- Critical Path Method calculates the shortest possible project duration and identifies which tasks have zero schedule flexibility.
41
-
42
- ### Key Terms & Formulas
43
- - **Duration ($t$)**: Estimated working days to complete the task.
44
- - **Early Start ($ES$)**: The earliest possible time a task can begin. $ES = \max(EF_{\text{predecessors}})$.
45
- - **Early Finish ($EF$)**: The earliest possible completion. $EF = ES + t$.
46
- - **Late Finish ($LF$)**: The latest time a task can complete without delaying project launch. $LF = \min(LS_{\text{successors}})$.
47
- - **Late Start ($LS$)**: The latest time a task can begin. $LS = LF - t$.
48
- - **Total Float (Slack)**: $\text{Float} = LS - ES = LF - EF$.
49
- - **Critical Path**: The longest sequence of tasks from project start to end where **$\text{Float} = 0$**.
50
-
51
- ### Worked CPM Network Example
52
-
53
- ```mermaid
54
- flowchart LR
55
- A["A: DB Schema
56
- [t=3, Float=0]"] --> B["B: API Core
57
- [t=5, Float=0]"]
58
- A --> C["C: Auth UI
59
- [t=2, Float=4]"]
60
- B --> D["D: Payment Gateway
61
- [t=4, Float=0]"]
62
- C --> E["E: Profile Settings
63
- [t=2, Float=4]"]
64
- D --> F["F: E2E Integration
65
- [t=3, Float=0]"]
66
- E --> F
67
-
68
- style A fill:#ffcccc,stroke:#ff0000,stroke-width:2px
69
- style B fill:#ffcccc,stroke:#ff0000,stroke-width:2px
70
- style D fill:#ffcccc,stroke:#ff0000,stroke-width:2px
71
- style F fill:#ffcccc,stroke:#ff0000,stroke-width:2px
72
- ```
73
-
74
- - **Critical Path**: `A` (3d) → `B` (5d) → `D` (4d) → `F` (3d) = **15 Days**.
75
- - **Non-Critical Path**: `A` (3d) → `C` (2d) → `E` (2d) → `F` (3d) = **10 Days**.
76
- - Tasks `C` and `E` have **4 days of Float**. Delaying task `C` by 2 days will NOT delay the project. Delaying task `B` by even 1 day directly delays the launch by 1 day.
77
-
78
- ---
79
-
80
- ## 3. Story Map to A2A Delivery Handoff Contract
81
-
82
- When exporting story map cards to Engineering and Business Analysis squads, use the following structured Markdown or JSON representation:
83
-
84
- ```markdown
85
- ### Story Card: [STORY-ID] [Story Title]
86
- - **Backbone Activity**: [Activity Name]
87
- - **Release Slice**: MVP / Release 1.1 / Release 2.0
88
- - **MoSCoW Priority**: Must / Should / Could / Won't
89
- - **User Story**:
90
- - As a [target actor]
91
- - I want to [execute action]
92
- - So that [realize business or personal value]
93
- - **Dependencies (Predecessors)**: [STORY-XYZ, API-ABC]
94
- - **Critical Path Task?**: Yes (Float = 0) / No (Float = N days)
95
- - **Acceptance Criteria (Given-When-Then)**:
96
- - Scenario 1: Successful execution
97
- - Given [precondition]
98
- - When [trigger event]
99
- - Then [verifiable outcome]
100
- - **Downstream Ticket Mapping**: `contracts/schemas/feature-ticket.json`
101
- ```
1
+ # User Story Mapping & Critical Path Method (CPM) Scheduling
2
+
3
+ > Authoritative reference guide for Jeff Patton User Story Mapping, Walking Skeleton definition, MoSCoW release slicing, and Critical Path Method (CPM) analysis.
4
+
5
+ ---
6
+
7
+ ## 1. Jeff Patton User Story Mapping Architecture
8
+
9
+ A User Story Map organizes a two-dimensional visual grid representing user experience over time.
10
+
11
+ ```
12
+ HORIZONTAL AXIS: Chronological Narrative Flow (Left to Right)
13
+ ┌───────────────────┬───────────────────┬───────────────────┐
14
+ │ Activity 1: Find │ Activity 2: Select│ Activity 3: Pay │ ◄── THE BACKBONE
15
+ └─────────┬─────────┴─────────┬─────────┴─────────┬─────────┘
16
+ │ │ │
17
+ ┌─────────▼─────────┬─────────▼─────────┬─────────▼─────────┐
18
+ │ Step 1.1: Search │ Step 2.1: Compare │ Step 3.1: Card Pay│ ◄── WALKING SKELETON
19
+ └───────────────────┴───────────────────┴───────────────────┘
20
+ ═══════════════════════════════════════════════════════════════ ◄── SLICE 1: MVP
21
+ ┌───────────────────┬───────────────────┬───────────────────┐
22
+ │ Story: Filter tag │ Story: Side-by-side│ Story: Apple Pay │ ◄── SLICE 2: Release 1.1
23
+ └───────────────────┴───────────────────┴───────────────────┘
24
+ ═══════════════════════════════════════════════════════════════ ◄── SLICE 3: Release 2.0
25
+ ┌───────────────────┬───────────────────┬───────────────────┐
26
+ │ Story: AI Suggest │ Story: 3D Preview │ Story: Crypto Pay │ ◄── Future Slices
27
+ └───────────────────┴───────────────────┴───────────────────┘
28
+ VERTICAL AXIS: Sophistication & Release Priority (Top to Bottom)
29
+ ```
30
+
31
+ ### Key Principles
32
+ 1. **The Backbone**: High-level activities that never change (e.g. Discover, Configure, Purchase, Track).
33
+ 2. **The Walking Skeleton**: The simplest implementation that connects all backbone activities from start to finish without breaking. It provides immediate integration testing and user feedback.
34
+ 3. **Slice Vertically, Not Horizontally**: Avoid building 100% of the search engine while checkout has not started. Slice thin across all steps.
35
+
36
+ ---
37
+
38
+ ## 2. Critical Path Method (CPM) Dependency Scheduling
39
+
40
+ Critical Path Method calculates the shortest possible project duration and identifies which tasks have zero schedule flexibility.
41
+
42
+ ### Key Terms & Formulas
43
+ - **Duration ($t$)**: Estimated working days to complete the task.
44
+ - **Early Start ($ES$)**: The earliest possible time a task can begin. $ES = \max(EF_{\text{predecessors}})$.
45
+ - **Early Finish ($EF$)**: The earliest possible completion. $EF = ES + t$.
46
+ - **Late Finish ($LF$)**: The latest time a task can complete without delaying project launch. $LF = \min(LS_{\text{successors}})$.
47
+ - **Late Start ($LS$)**: The latest time a task can begin. $LS = LF - t$.
48
+ - **Total Float (Slack)**: $\text{Float} = LS - ES = LF - EF$.
49
+ - **Critical Path**: The longest sequence of tasks from project start to end where **$\text{Float} = 0$**.
50
+
51
+ ### Worked CPM Network Example
52
+
53
+ ```mermaid
54
+ flowchart LR
55
+ A["A: DB Schema
56
+ [t=3, Float=0]"] --> B["B: API Core
57
+ [t=5, Float=0]"]
58
+ A --> C["C: Auth UI
59
+ [t=2, Float=4]"]
60
+ B --> D["D: Payment Gateway
61
+ [t=4, Float=0]"]
62
+ C --> E["E: Profile Settings
63
+ [t=2, Float=4]"]
64
+ D --> F["F: E2E Integration
65
+ [t=3, Float=0]"]
66
+ E --> F
67
+
68
+ style A fill:#ffcccc,stroke:#ff0000,stroke-width:2px
69
+ style B fill:#ffcccc,stroke:#ff0000,stroke-width:2px
70
+ style D fill:#ffcccc,stroke:#ff0000,stroke-width:2px
71
+ style F fill:#ffcccc,stroke:#ff0000,stroke-width:2px
72
+ ```
73
+
74
+ - **Critical Path**: `A` (3d) → `B` (5d) → `D` (4d) → `F` (3d) = **15 Days**.
75
+ - **Non-Critical Path**: `A` (3d) → `C` (2d) → `E` (2d) → `F` (3d) = **10 Days**.
76
+ - Tasks `C` and `E` have **4 days of Float**. Delaying task `C` by 2 days will NOT delay the project. Delaying task `B` by even 1 day directly delays the launch by 1 day.
77
+
78
+ ---
79
+
80
+ ## 3. Story Map to A2A Delivery Handoff Contract
81
+
82
+ When exporting story map cards to Engineering and Business Analysis squads, use the following structured Markdown or JSON representation:
83
+
84
+ ```markdown
85
+ ### Story Card: [STORY-ID] [Story Title]
86
+ - **Backbone Activity**: [Activity Name]
87
+ - **Release Slice**: MVP / Release 1.1 / Release 2.0
88
+ - **MoSCoW Priority**: Must / Should / Could / Won't
89
+ - **User Story**:
90
+ - As a [target actor]
91
+ - I want to [execute action]
92
+ - So that [realize business or personal value]
93
+ - **Dependencies (Predecessors)**: [STORY-XYZ, API-ABC]
94
+ - **Critical Path Task?**: Yes (Float = 0) / No (Float = N days)
95
+ - **Acceptance Criteria (Given-When-Then)**:
96
+ - Scenario 1: Successful execution
97
+ - Given [precondition]
98
+ - When [trigger event]
99
+ - Then [verifiable outcome]
100
+ - **Downstream Ticket Mapping**: `contracts/schemas/feature-ticket.json`
101
+ ```