@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,212 +1,212 @@
1
- ---
2
- description: Complete workflow for adding a new feature in a reusable service-oriented repository
3
- ---
4
-
5
- ## Add New Feature Workflow
6
-
7
- This workflow guides a feature from requirements through rollout verification without assuming a specific framework, deployment platform, or repository layout.
8
-
9
- ### Prerequisites
10
-
11
- - feature requirements are clear enough to implement
12
- - target service or component is identified
13
- - repo-local standards and templates have been located
14
-
15
- ### Workflow Steps
16
-
17
- #### 1. Understand The Change
18
-
19
- Role: **Product Manager**, **Business Analyst**, **Technical Lead**
20
-
21
- Answer these first:
22
-
23
- - What user or business problem is being solved?
24
- - What public contract changes, if any, are required?
25
- - What data model changes, if any, are required?
26
- - What downstream services, jobs, or consumers are affected?
27
- - What rollout and rollback risks exist?
28
-
29
- Use skill: `navigate-service`
30
-
31
- #### 2. Check Existing Patterns
32
-
33
- Role: **Technical Lead**, **Technical Architect**
34
-
35
- Before writing code:
36
-
37
- - inspect similar features already present in the repo
38
- - reuse existing request, validation, persistence, and test patterns
39
- - read repo-local standards, ADRs, and service docs if available
40
- - note any existing migration, release, or compatibility rules
41
-
42
- #### 3. Plan The Implementation
43
-
44
- Role: **Technical Lead**
45
-
46
- Break the work into the minimum set of changes needed:
47
-
48
- - contract changes
49
- - business logic
50
- - persistence or schema updates
51
- - integrations with other services or shared libraries
52
- - observability and documentation
53
-
54
- If the feature changes persisted data, use skill: `create-migration`
55
-
56
- #### 4. Implement The Change
57
-
58
- Role: **Backend Developer**, **Frontend Developer**
59
-
60
- Follow the local architecture instead of inventing a new one.
61
-
62
- - update contracts only if needed
63
- - keep validation near the boundary
64
- - keep business rules in the repo's expected layer
65
- - update persistence code in the local pattern
66
- - reuse shared code before creating new helpers
67
- - avoid hidden breaking changes in public interfaces
68
-
69
- If the repo uses generated code, regenerate it with the local command after editing source definitions.
70
-
71
- When using AI coding assistants (Cursor Agent, GitHub Copilot Agent, Claude Code): ensure the repo has a root context file (`AGENTS.md`, `.cursorrules`, or `.github/copilot-instructions.md`) that encodes architecture boundaries, forbidden patterns, and test requirements before triggering multi-file agentic edits. Run agentic generation in an isolated sandbox or dev container before human handoff.
72
-
73
- #### 5. Test The Change
74
-
75
- Role: **Backend Developer**, **Frontend Developer**, **QA Engineer**
76
-
77
- Use skill: `write-tests`
78
-
79
- Cover at least:
80
-
81
- - the happy path
82
- - boundary and validation failures
83
- - backward compatibility concerns
84
- - migration or data edge cases when schema changes are involved
85
- - the most important integration touchpoints
86
-
87
- Run the repo's normal verification commands for:
88
-
89
- - tests (unit, integration, contract tests via Pact v4 or Specmatic if service boundaries changed)
90
- - lint or static analysis — zero warnings required
91
- - build
92
-
93
- For AI-generated test suites: run a mutation score check (Stryker for JS/TS, mutmut for Python, go-mutesting for Go) — AI-written tests must kill at minimum 75% of AST mutants to prevent hollow assertions.
94
-
95
- #### 6. Review The Change
96
-
97
- Role: **Reviewer**, **Technical Lead**
98
-
99
- Use skill: `review-code`
100
-
101
- Self-review checklist:
102
-
103
- - architecture boundaries are still respected
104
- - inputs are validated
105
- - errors have useful context
106
- - no secrets or repo-local assumptions were introduced
107
- - tests cover the riskier paths and achieve mutation score ≥75% on core logic
108
- - docs or release notes are updated when needed
109
-
110
- If AI tools (CodeRabbit, Qodo Merge, GitHub Copilot Code Review) generate PR review comments: treat their findings as advisory — a human Senior Engineer must sign off on security-critical paths (auth, crypto, financial transactions, database migrations) regardless of AI review outcome.
111
-
112
- #### 7. Prepare Delivery
113
-
114
- Role: **Backend Developer**, **Frontend Developer**
115
-
116
- Use skill: `commit-code`
117
-
118
- Before committing or pushing:
119
-
120
- - remove transient build artifacts if the repo produces them
121
- - verify generated files are intentionally updated
122
- - confirm migration ordering and rollback safety
123
- - confirm contract changes are versioned appropriately
124
- - follow the repo's release gate and approval requirements
125
-
126
- Do not create a commit until the user explicitly confirms that commit action.
127
- Do not push, tag, or publish until the user explicitly confirms that specific action.
128
-
129
- #### 8. Verify Rollout
130
-
131
- Role: **DevOps Engineer**, **SRE**
132
-
133
- After the change is shipped:
134
-
135
- - verify deployment or rollout status using the repo's source of truth
136
- - check service health, logs, and critical signals
137
- - run a focused smoke test for the feature
138
- - confirm dependent systems still behave as expected
139
-
140
- #### 9. Capture Follow-Up
141
-
142
- Role: **Technical Lead**, **Technical Writer**
143
-
144
- If the feature leaves known follow-up work:
145
-
146
- - document deferred cleanup
147
- - note temporary compatibility shims
148
- - record rollout observations and any residual risk
149
-
150
- ### Common Failure Modes
151
-
152
- #### Contract changed but consumers were not considered
153
-
154
- - review dependent services and client code
155
- - check compatibility expectations before release
156
-
157
- #### Schema changed but migrations are unsafe
158
-
159
- - verify ordering, backfill strategy, and rollback behavior
160
- - avoid destructive data changes in a single risky step
161
-
162
- #### Tests pass locally but rollout fails
163
-
164
- - compare runtime config, env vars, and dependency availability
165
- - check repo-local deployment manifests or release config
166
-
167
- ### Checklist
168
-
169
- - [ ] change intent and affected contracts understood
170
- - [ ] existing local patterns reviewed
171
- - [ ] implementation plan scoped to the minimum useful change
172
- - [ ] feature implemented in the local architecture
173
- - [ ] tests and local verification completed
174
- - [ ] change reviewed for correctness, security, and rollout risk
175
- - [ ] delivery preparation followed explicit approval rules
176
- - [ ] rollout verified after shipping
177
- - [ ] follow-up work captured
178
-
179
- ### Related Workflows
180
-
181
- - [Build & Deploy](build-deploy.md)
182
- - [Service Review & Release](service-review-release.md)
183
- - [Troubleshooting](troubleshooting.md)
184
-
185
- ### Related Skills
186
-
187
- - **navigate-service**: Understand the target service or component
188
- - **create-migration**: Add safe persistence changes when needed
189
- - **write-tests**: Cover behavior and regression risk
190
- - **review-code**: Review the implemented change
191
- - **commit-code**: Prepare approved changes for delivery
192
-
193
- ### Failure Modes
194
-
195
- - **Slice without a feature ticket**: a slice is dispatched without a `feature-ticket.json` or with an incomplete one. **Mitigation:** reject the slice; every slice must have user outcome, AC, impact radius, and owner before any coding starts.
196
- - **Horizontal slicing**: a plan decomposes by layer (DB, API, UI) instead of user-visible slices. **Mitigation:** enforce vertical slicing; reject plans where no slice delivers end-to-end user value.
197
- - **Permanent feature flag**: a flag is shipped without a `cleanup_target_date`. **Mitigation:** every flag must carry an ISO 8601 cleanup date; reject the release if any flag is permanent.
198
- - **Definition of Done bypassed under release pressure**: a slice is rushed to prod without the rollout trigger or rollback path. **Mitigation:** the rollout gate refuses a slice whose `delivery-plan.json` lacks `rollback_trigger` or `observability_requirement`; surface the missing evidence to the user and stop.
199
-
200
- ### Output Contracts
201
-
202
- When this workflow produces a structured handoff, emit:
203
-
204
- - **`contracts/schemas/feature-ticket.json`** — for the user outcome, AC, impact radius, owner, and flag; set `produced_by_role: business-analyst` or product-manager.
205
- - **`contracts/schemas/implementation-result.json`** — for each shipped slice; capture `change_summary`, `files_touched[]`, and `validation_run` output.
206
-
207
- ### Security Guardrails (OWASP ASI)
208
-
209
- - **ASI03 Identity & Privilege Abuse**: every state-changing step in the workflow must be tied to a verified role profile; reject a slice whose role lacks the `run_deployment` or `write_file` tier in `action-boundaries.yaml`.
210
- - **ASI05 RCE Guard**: never construct Feature Ticket JSON, delivery plan, or code change payloads from external or user-supplied content without strict schema validation; reject string-concatenated artifacts.
211
- - **ASI09 Human-Agent Trust Exploitation**: do not present a slice as "ready to ship" without the actual `validation_run` evidence; surface the skipped checks and the residual risk honestly.
212
-
1
+ ---
2
+ description: Complete workflow for adding a new feature in a reusable service-oriented repository
3
+ ---
4
+
5
+ ## Add New Feature Workflow
6
+
7
+ This workflow guides a feature from requirements through rollout verification without assuming a specific framework, deployment platform, or repository layout.
8
+
9
+ ### Prerequisites
10
+
11
+ - feature requirements are clear enough to implement
12
+ - target service or component is identified
13
+ - repo-local standards and templates have been located
14
+
15
+ ### Workflow Steps
16
+
17
+ #### 1. Understand The Change
18
+
19
+ Role: **Product Manager**, **Business Analyst**, **Technical Lead**
20
+
21
+ Answer these first:
22
+
23
+ - What user or business problem is being solved?
24
+ - What public contract changes, if any, are required?
25
+ - What data model changes, if any, are required?
26
+ - What downstream services, jobs, or consumers are affected?
27
+ - What rollout and rollback risks exist?
28
+
29
+ Use skill: `navigate-service`
30
+
31
+ #### 2. Check Existing Patterns
32
+
33
+ Role: **Technical Lead**, **Technical Architect**
34
+
35
+ Before writing code:
36
+
37
+ - inspect similar features already present in the repo
38
+ - reuse existing request, validation, persistence, and test patterns
39
+ - read repo-local standards, ADRs, and service docs if available
40
+ - note any existing migration, release, or compatibility rules
41
+
42
+ #### 3. Plan The Implementation
43
+
44
+ Role: **Technical Lead**
45
+
46
+ Break the work into the minimum set of changes needed:
47
+
48
+ - contract changes
49
+ - business logic
50
+ - persistence or schema updates
51
+ - integrations with other services or shared libraries
52
+ - observability and documentation
53
+
54
+ If the feature changes persisted data, use skill: `create-migration`
55
+
56
+ #### 4. Implement The Change
57
+
58
+ Role: **Backend Developer**, **Frontend Developer**
59
+
60
+ Follow the local architecture instead of inventing a new one.
61
+
62
+ - update contracts only if needed
63
+ - keep validation near the boundary
64
+ - keep business rules in the repo's expected layer
65
+ - update persistence code in the local pattern
66
+ - reuse shared code before creating new helpers
67
+ - avoid hidden breaking changes in public interfaces
68
+
69
+ If the repo uses generated code, regenerate it with the local command after editing source definitions.
70
+
71
+ When using AI coding assistants (Cursor Agent, GitHub Copilot Agent, Claude Code): ensure the repo has a root context file (`AGENTS.md`, `.cursorrules`, or `.github/copilot-instructions.md`) that encodes architecture boundaries, forbidden patterns, and test requirements before triggering multi-file agentic edits. Run agentic generation in an isolated sandbox or dev container before human handoff.
72
+
73
+ #### 5. Test The Change
74
+
75
+ Role: **Backend Developer**, **Frontend Developer**, **QA Engineer**
76
+
77
+ Use skill: `write-tests`
78
+
79
+ Cover at least:
80
+
81
+ - the happy path
82
+ - boundary and validation failures
83
+ - backward compatibility concerns
84
+ - migration or data edge cases when schema changes are involved
85
+ - the most important integration touchpoints
86
+
87
+ Run the repo's normal verification commands for:
88
+
89
+ - tests (unit, integration, contract tests via Pact v4 or Specmatic if service boundaries changed)
90
+ - lint or static analysis — zero warnings required
91
+ - build
92
+
93
+ For AI-generated test suites: run a mutation score check (Stryker for JS/TS, mutmut for Python, go-mutesting for Go) — AI-written tests must kill at minimum 75% of AST mutants to prevent hollow assertions.
94
+
95
+ #### 6. Review The Change
96
+
97
+ Role: **Reviewer**, **Technical Lead**
98
+
99
+ Use skill: `review-code`
100
+
101
+ Self-review checklist:
102
+
103
+ - architecture boundaries are still respected
104
+ - inputs are validated
105
+ - errors have useful context
106
+ - no secrets or repo-local assumptions were introduced
107
+ - tests cover the riskier paths and achieve mutation score ≥75% on core logic
108
+ - docs or release notes are updated when needed
109
+
110
+ If AI tools (CodeRabbit, Qodo Merge, GitHub Copilot Code Review) generate PR review comments: treat their findings as advisory — a human Senior Engineer must sign off on security-critical paths (auth, crypto, financial transactions, database migrations) regardless of AI review outcome.
111
+
112
+ #### 7. Prepare Delivery
113
+
114
+ Role: **Backend Developer**, **Frontend Developer**
115
+
116
+ Use skill: `commit-code`
117
+
118
+ Before committing or pushing:
119
+
120
+ - remove transient build artifacts if the repo produces them
121
+ - verify generated files are intentionally updated
122
+ - confirm migration ordering and rollback safety
123
+ - confirm contract changes are versioned appropriately
124
+ - follow the repo's release gate and approval requirements
125
+
126
+ Do not create a commit until the user explicitly confirms that commit action.
127
+ Do not push, tag, or publish until the user explicitly confirms that specific action.
128
+
129
+ #### 8. Verify Rollout
130
+
131
+ Role: **DevOps Engineer**, **SRE**
132
+
133
+ After the change is shipped:
134
+
135
+ - verify deployment or rollout status using the repo's source of truth
136
+ - check service health, logs, and critical signals
137
+ - run a focused smoke test for the feature
138
+ - confirm dependent systems still behave as expected
139
+
140
+ #### 9. Capture Follow-Up
141
+
142
+ Role: **Technical Lead**, **Technical Writer**
143
+
144
+ If the feature leaves known follow-up work:
145
+
146
+ - document deferred cleanup
147
+ - note temporary compatibility shims
148
+ - record rollout observations and any residual risk
149
+
150
+ ### Common Failure Modes
151
+
152
+ #### Contract changed but consumers were not considered
153
+
154
+ - review dependent services and client code
155
+ - check compatibility expectations before release
156
+
157
+ #### Schema changed but migrations are unsafe
158
+
159
+ - verify ordering, backfill strategy, and rollback behavior
160
+ - avoid destructive data changes in a single risky step
161
+
162
+ #### Tests pass locally but rollout fails
163
+
164
+ - compare runtime config, env vars, and dependency availability
165
+ - check repo-local deployment manifests or release config
166
+
167
+ ### Checklist
168
+
169
+ - [ ] change intent and affected contracts understood
170
+ - [ ] existing local patterns reviewed
171
+ - [ ] implementation plan scoped to the minimum useful change
172
+ - [ ] feature implemented in the local architecture
173
+ - [ ] tests and local verification completed
174
+ - [ ] change reviewed for correctness, security, and rollout risk
175
+ - [ ] delivery preparation followed explicit approval rules
176
+ - [ ] rollout verified after shipping
177
+ - [ ] follow-up work captured
178
+
179
+ ### Related Workflows
180
+
181
+ - [Build & Deploy](build-deploy.md)
182
+ - [Service Review & Release](service-review-release.md)
183
+ - [Troubleshooting](troubleshooting.md)
184
+
185
+ ### Related Skills
186
+
187
+ - **navigate-service**: Understand the target service or component
188
+ - **create-migration**: Add safe persistence changes when needed
189
+ - **write-tests**: Cover behavior and regression risk
190
+ - **review-code**: Review the implemented change
191
+ - **commit-code**: Prepare approved changes for delivery
192
+
193
+ ### Failure Modes
194
+
195
+ - **Slice without a feature ticket**: a slice is dispatched without a `feature-ticket.json` or with an incomplete one. **Mitigation:** reject the slice; every slice must have user outcome, AC, impact radius, and owner before any coding starts.
196
+ - **Horizontal slicing**: a plan decomposes by layer (DB, API, UI) instead of user-visible slices. **Mitigation:** enforce vertical slicing; reject plans where no slice delivers end-to-end user value.
197
+ - **Permanent feature flag**: a flag is shipped without a `cleanup_target_date`. **Mitigation:** every flag must carry an ISO 8601 cleanup date; reject the release if any flag is permanent.
198
+ - **Definition of Done bypassed under release pressure**: a slice is rushed to prod without the rollout trigger or rollback path. **Mitigation:** the rollout gate refuses a slice whose `delivery-plan.json` lacks `rollback_trigger` or `observability_requirement`; surface the missing evidence to the user and stop.
199
+
200
+ ### Output Contracts
201
+
202
+ When this workflow produces a structured handoff, emit:
203
+
204
+ - **`contracts/schemas/feature-ticket.json`** — for the user outcome, AC, impact radius, owner, and flag; set `produced_by_role: business-analyst` or product-manager.
205
+ - **`contracts/schemas/implementation-result.json`** — for each shipped slice; capture `change_summary`, `files_touched[]`, and `validation_run` output.
206
+
207
+ ### Security Guardrails (OWASP ASI)
208
+
209
+ - **ASI03 Identity & Privilege Abuse**: every state-changing step in the workflow must be tied to a verified role profile; reject a slice whose role lacks the `run_deployment` or `write_file` tier in `action-boundaries.yaml`.
210
+ - **ASI05 RCE Guard**: never construct Feature Ticket JSON, delivery plan, or code change payloads from external or user-supplied content without strict schema validation; reject string-concatenated artifacts.
211
+ - **ASI09 Human-Agent Trust Exploitation**: do not present a slice as "ready to ship" without the actual `validation_run` evidence; surface the skipped checks and the residual risk honestly.
212
+