@vesviet/agent-skills 5.6.0 → 5.7.0
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.
- package/INDEX.md +5 -5
- package/README.md +1 -1
- package/VERSION +1 -1
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/role-skill-index.json +12 -12
- package/adapters/claude/CLAUDE_ADAPTER.md +1 -1
- package/adapters/cursor/README.md +185 -185
- package/bin/agent-skills.mjs +17 -14
- package/core/contracts/README.md +1 -1
- package/core/contracts/schemas/api-contract-spec.json +191 -191
- package/core/contracts/schemas/data-pipeline-spec.json +1 -1
- package/core/contracts/schemas/design-tokens-spec.json +19 -0
- package/core/contracts/schemas/feature-ticket.json +1293 -1293
- package/core/contracts/schemas/pull-request-spec.json +338 -338
- package/core/contracts/schemas/references/detailed/01-solution-and-governance.md +19 -19
- package/core/contracts/schemas/references/detailed/02-engineering-delivery.md +93 -93
- package/core/contracts/schemas/references/detailed/04-finance-accounting-and-compliance.md +54 -54
- package/core/contracts/schemas/references/detailed/05-design-and-content.md +92 -92
- package/core/contracts/schemas/references/detailed/06-seo-and-publishing.md +48 -48
- package/core/contracts/schemas/references/detailed/07-a2a-protocol.md +85 -85
- package/core/contracts/schemas/security-audit.json +143 -12
- package/core/contracts/schemas/system-design-spec.json +9 -1
- package/core/contracts/schemas/test-report.json +530 -530
- package/core/contracts/schemas/ux-flow-spec.json +66 -0
- package/core/roles/ai-systems-engineer.md +31 -18
- package/core/roles/aws-engineer.md +33 -29
- package/core/roles/backend-developer.md +6 -4
- package/core/roles/content-manager.md +7 -7
- package/core/roles/data-engineer.md +39 -36
- package/core/roles/qa-engineer.md +18 -18
- package/core/roles/references/ai-systems-engineer-review-checklist.md +11 -3
- package/core/roles/references/aws-engineer-review-checklist.md +29 -16
- package/core/roles/references/business-analyst-responsibilities.md +207 -207
- package/core/roles/references/content-manager-governance-standards.md +2 -2
- package/core/roles/references/content-manager-review-checklist.md +7 -1
- package/core/roles/references/data-engineer-review-checklist.md +11 -3
- package/core/roles/references/frontend-developer-responsibilities.md +275 -275
- package/core/roles/references/qa-engineer-review-checklist.md +10 -5
- package/core/roles/references/security-engineer-review-checklist.md +8 -0
- package/core/roles/references/solution-architect-review-checklist.md +6 -1
- package/core/roles/references/system-engineer-review-checklist.md +11 -0
- package/core/roles/references/ui-ux-designer-review-checklist.md +12 -0
- package/core/roles/security-engineer.md +35 -5
- package/core/roles/solution-architect.md +7 -7
- package/core/roles/system-engineer.md +470 -465
- package/core/roles/ui-ux-designer.md +17 -3
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +141 -141
- package/core/skills/agent/architect-mcp-server/SKILL.md +3 -3
- package/core/skills/agent/decompose-agentic-system/SKILL.md +1 -1
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +14 -14
- package/core/skills/ai-agent/agent-evaluation/SKILL.md +5 -0
- package/core/skills/ai-agent/context-optimization/SKILL.md +9 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +1 -0
- package/core/skills/backend/add-event-handler/SKILL.md +1 -0
- package/core/skills/backend/add-service-client/SKILL.md +1 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +101 -100
- package/core/skills/backend/implement-auth/SKILL.md +1 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +95 -94
- package/core/skills/backend/optimize-postgres/SKILL.md +1 -0
- package/core/skills/backend/scaffold-new-service/SKILL.md +1 -0
- package/core/skills/business/elicit-requirements/SKILL.md +102 -102
- package/core/skills/business/elicit-requirements/references/elicitation-techniques-and-babok-criteria.md +60 -60
- package/core/skills/business/trace-requirements-impact/SKILL.md +97 -97
- package/core/skills/business/trace-requirements-impact/references/rtm-graph-and-prioritization-models.md +109 -109
- package/core/skills/business/write-use-cases/SKILL.md +106 -106
- package/core/skills/business/write-use-cases/references/cockburn-scoping-and-13-field-template.md +135 -135
- package/core/skills/content/audit-content/SKILL.md +3 -2
- package/core/skills/content/audit-content/references/information-gain-rubric.md +1 -1
- package/core/skills/content/design-content-strategy/SKILL.md +6 -5
- package/core/skills/content/design-content-strategy/references/information-gain-and-decay-triage.md +2 -2
- package/core/skills/content/optimize-seo/SKILL.md +6 -5
- package/core/skills/content/optimize-seo/references/geo-ai-citation-playbook.md +2 -2
- package/core/skills/content/optimize-seo/references/process-and-checklist.md +1 -1
- package/core/skills/content/repurpose-content/SKILL.md +4 -3
- package/core/skills/content/write-article/SKILL.md +6 -5
- package/core/skills/content/write-copy/SKILL.md +3 -2
- package/core/skills/document/pptx/SKILL.md +1 -0
- package/core/skills/document/pptx/scripts/add_slide.py +0 -0
- package/core/skills/document/pptx/scripts/clean.py +0 -0
- package/core/skills/document/pptx/scripts/thumbnail.py +0 -0
- package/core/skills/document/xlsx/scripts/recalc.py +0 -0
- package/core/skills/documentation/write-documentation/SKILL.md +143 -143
- package/core/skills/documentation/write-tech-radar/SKILL.md +149 -149
- package/core/skills/foundation/accessibility-review/SKILL.md +160 -160
- package/core/skills/foundation/design-review/SKILL.md +11 -1
- package/core/skills/foundation/design-ux-flow/SKILL.md +13 -1
- package/core/skills/foundation/performance-profiling/SKILL.md +3 -1
- package/core/skills/foundation/release-notes/SKILL.md +192 -192
- package/core/skills/foundation/webapp-server-runner/scripts/with_server.py +0 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +160 -160
- package/core/skills/foundation/write-tests/SKILL.md +11 -10
- package/core/skills/frontend/anti-ui-slop-finish-gate/SKILL.md +5 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +1 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -1
- package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -1
- package/core/skills/platform/aws-infrastructure/SKILL.md +12 -11
- package/core/skills/platform/cloudflare-email-service/SKILL.md +166 -166
- package/core/skills/platform/cloudflare-email-service/references/routing.md +199 -199
- package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -0
- package/core/skills/platform/debug-workers-edge/SKILL.md +111 -111
- package/core/skills/platform/sandbox-sdk/SKILL.md +183 -183
- package/core/skills/platform/setup-gpu-finops/SKILL.md +111 -107
- package/core/skills/platform/setup-llm-gateway/SKILL.md +110 -108
- package/core/skills/platform/supply-chain-security/SKILL.md +1 -0
- package/core/skills/platform/system-design/SKILL.md +7 -0
- package/core/skills/platform/turnstile-spin/SKILL.md +118 -118
- package/core/skills/platform/turnstile-spin/scripts/auth-probe.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/fetch-secret.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/persist-skill.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/validate.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/widget-create.sh +0 -0
- package/core/skills/platform/turnstile-spin/scripts/worker-deploy.sh +0 -0
- package/core/skills/platform/turnstile-spin/templates/worker/src/index.ts +199 -199
- package/core/skills/platform/turnstile-spin/templates/worker/wrangler.toml +31 -31
- package/core/skills/platform/web-perf/SKILL.md +151 -151
- package/core/skills/platform/workers-best-practices/references/rules.md +463 -463
- package/core/skills/product/build-story-map/SKILL.md +104 -104
- package/core/skills/product/build-story-map/references/story-mapping-and-cpm-scheduling.md +101 -101
- package/core/skills/product/define-product-strategy/SKILL.md +105 -105
- package/core/skills/product/define-product-strategy/references/strategy-frameworks-and-pr-faq.md +142 -142
- package/core/skills/product/model-saas-metrics/SKILL.md +104 -104
- package/core/skills/product/model-saas-metrics/references/saas-unit-economics-and-pricing.md +110 -110
- package/core/skills/product/prioritize-roadmap/SKILL.md +106 -106
- package/core/skills/product/prioritize-roadmap/references/prioritization-scoring-and-kill-criteria.md +105 -105
- package/core/skills/repo-ops/commit-code/SKILL.md +190 -190
- package/core/skills/repo-ops/commit-code/references/multi-repo-and-deployment.md +21 -21
- package/core/skills/repo-ops/navigate-service/SKILL.md +199 -199
- package/core/skills/repo-ops/review-code/references/process-and-format.md +100 -100
- package/core/skills/repo-ops/review-service/SKILL.md +186 -186
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +127 -127
- package/core/skills/repo-ops/troubleshoot-service/references/failure-modes-and-security.md +22 -22
- package/core/skills/repo-ops/troubleshoot-service/references/suggested-process.md +110 -110
- package/core/skills/security-data/build-data-pipeline/SKILL.md +15 -14
- package/core/skills/security-data/build-data-pipeline/references/producer-contracts-and-lakehouse.md +5 -5
- package/core/skills/security-data/database-maintenance/SKILL.md +1 -0
- package/core/skills/security-data/database-maintenance/references/relational-and-vector-maintenance.md +5 -5
- package/core/skills/security-data/manage-secrets/SKILL.md +3 -0
- package/core/skills/security-data/optimize-olap-database/SKILL.md +14 -13
- package/core/skills/security-data/optimize-olap-database/references/olap-database-guide.md +2 -2
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +3 -0
- package/core/skills/security-data/query-analytical-engine/SKILL.md +8 -7
- package/core/skills/security-data/query-analytical-engine/references/analytical-query-guide.md +3 -3
- package/core/skills/security-data/security-audit/SKILL.md +126 -119
- package/core/workflows/add-new-feature.md +212 -212
- package/core/workflows/agent-a2a-delegation.md +142 -142
- package/core/workflows/bug-fix.md +147 -147
- package/core/workflows/build-deploy.md +208 -208
- package/core/workflows/code-review.md +137 -137
- package/core/workflows/curriculum-delivery.md +1 -1
- package/core/workflows/dependency-upgrade.md +193 -193
- package/core/workflows/feature-delivery.md +149 -149
- package/core/workflows/hotfix-production.md +172 -172
- package/core/workflows/qa-validation.md +231 -231
- package/core/workflows/refactoring.md +154 -154
- package/core/workflows/revert-deployment.md +147 -147
- package/core/workflows/security-incident-response.md +191 -191
- package/core/workflows/seo-content-lifecycle.md +91 -91
- package/core/workflows/service-review-release.md +223 -223
- package/core/workflows/setup-new-service.md +214 -214
- package/core/workflows/tech-repo-review.md +245 -245
- package/core/workflows/troubleshooting.md +241 -241
- package/overlays/astro-cloudflare/README.md +93 -93
- package/overlays/data-analyst-stack/README.md +109 -109
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +135 -135
- package/overlays/data-analyst-stack/rules/stack-conventions.md +80 -80
- package/overlays/ecommerce-microservices/README.md +65 -65
- package/overlays/go-microservices/README.md +78 -78
- package/overlays/go-microservices/rules/go-conventions.md +223 -223
- package/overlays/laravel-filament/README.md +90 -90
- package/overlays/laravel-filament/rules/laravel-conventions.md +220 -220
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +141 -141
- package/overlays/laravel-filament/workflows/deploy-laravel.md +133 -133
- package/overlays/obj-configurator/rules/obj-project-rules.md +111 -111
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +71 -71
- package/overlays/r3f-stack/README.md +89 -89
- package/overlays/r3f-stack/rules/stub.md +43 -43
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +166 -166
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +159 -159
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +128 -128
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +52 -52
- package/overlays/ui-design-system/rules/handoff-conventions.md +73 -73
- package/package.json +2 -2
- package/core/README.md +0 -53
|
@@ -1,223 +1,223 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Complete workflow for reviewing service readiness and preparing a release
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## Service Review & Release Workflow
|
|
6
|
-
|
|
7
|
-
Use this workflow before major releases, risky refactors, or periodic health checks on an important service.
|
|
8
|
-
|
|
9
|
-
### When To Use
|
|
10
|
-
|
|
11
|
-
- before a significant release
|
|
12
|
-
- before promoting a service to a higher-risk environment
|
|
13
|
-
- after large architectural or dependency changes
|
|
14
|
-
- during periodic readiness reviews
|
|
15
|
-
|
|
16
|
-
### Prerequisites
|
|
17
|
-
|
|
18
|
-
- the service or component to review is known
|
|
19
|
-
- access to the repo and relevant deployment sources of truth is available
|
|
20
|
-
- repo-local standards and release rules have been identified
|
|
21
|
-
|
|
22
|
-
### Workflow Steps
|
|
23
|
-
|
|
24
|
-
#### 1. Prepare The Review
|
|
25
|
-
|
|
26
|
-
Role: **Technical Lead**, **Reviewer**
|
|
27
|
-
|
|
28
|
-
Sync the latest local view of:
|
|
29
|
-
|
|
30
|
-
- the target service repo
|
|
31
|
-
- any directly related shared libraries
|
|
32
|
-
- deployment or release configuration repos, if they exist
|
|
33
|
-
|
|
34
|
-
Read the repo-local standards, release notes format, and review checklist if present.
|
|
35
|
-
|
|
36
|
-
#### 2. Understand The Service
|
|
37
|
-
|
|
38
|
-
Role: **Technical Lead**, **Technical Architect**
|
|
39
|
-
|
|
40
|
-
Use skill: `navigate-service`
|
|
41
|
-
|
|
42
|
-
Collect:
|
|
43
|
-
|
|
44
|
-
- high-level structure
|
|
45
|
-
- key dependencies
|
|
46
|
-
- public contracts
|
|
47
|
-
- data stores and migrations
|
|
48
|
-
- operational ownership boundaries
|
|
49
|
-
|
|
50
|
-
#### 3. Run A Full Review
|
|
51
|
-
|
|
52
|
-
Role: **Reviewer**, **Technical Lead**
|
|
53
|
-
|
|
54
|
-
Use skill: `review-service`
|
|
55
|
-
|
|
56
|
-
Focus on:
|
|
57
|
-
|
|
58
|
-
- correctness and data safety
|
|
59
|
-
- public contract compatibility
|
|
60
|
-
- dependency and configuration alignment
|
|
61
|
-
- observability, reliability, and rollback readiness
|
|
62
|
-
- test quality and release confidence
|
|
63
|
-
|
|
64
|
-
#### 4. Check Cross-Service Impact
|
|
65
|
-
|
|
66
|
-
Role: **Technical Architect**, **Security Engineer**
|
|
67
|
-
|
|
68
|
-
Review:
|
|
69
|
-
|
|
70
|
-
- consumers of the service's public APIs or events
|
|
71
|
-
- shared library version drift
|
|
72
|
-
- config or environment changes needed by adjacent systems
|
|
73
|
-
- migration or rollout ordering constraints
|
|
74
|
-
|
|
75
|
-
#### 5. Fix Or Track Findings
|
|
76
|
-
|
|
77
|
-
Role: **Backend Developer**, **Frontend Developer**
|
|
78
|
-
|
|
79
|
-
Use skill: `review-code`
|
|
80
|
-
|
|
81
|
-
For each important issue:
|
|
82
|
-
|
|
83
|
-
- decide whether it must block release
|
|
84
|
-
- implement the fix if it belongs in scope
|
|
85
|
-
- otherwise document the risk and owner explicitly
|
|
86
|
-
|
|
87
|
-
#### 6. Re-Run Quality Gates
|
|
88
|
-
|
|
89
|
-
Role: **QA Engineer**, **Backend Developer**
|
|
90
|
-
|
|
91
|
-
Verify with the repo's normal commands:
|
|
92
|
-
|
|
93
|
-
- tests
|
|
94
|
-
- coverage checks if the repo tracks them
|
|
95
|
-
- lint or static analysis
|
|
96
|
-
- build
|
|
97
|
-
- generated code or schema checks, if applicable
|
|
98
|
-
|
|
99
|
-
Use skill: `write-tests` if confidence is too low for the release risk.
|
|
100
|
-
|
|
101
|
-
#### 7. Confirm Release Readiness
|
|
102
|
-
|
|
103
|
-
Role: **Technical Lead**, **Product Manager**
|
|
104
|
-
|
|
105
|
-
Check that:
|
|
106
|
-
|
|
107
|
-
- config sources match the code
|
|
108
|
-
- health checks or equivalent runtime probes exist
|
|
109
|
-
- resource, capacity, or scaling assumptions are still valid
|
|
110
|
-
- rollback strategy is clear — prefer **Argo Rollouts** canary/blue-green with automated metric analysis for progressive delivery; define SLO analysis templates (error rate <0.1%, p99 latency within 20% of baseline) that automatically abort a rollout on regression
|
|
111
|
-
- user-facing docs or release notes are updated if required
|
|
112
|
-
- **SLO release gate**: confirm error budget is not in burn-alert before releasing to production — do not release into an active burn-rate alert
|
|
113
|
-
- **SBOM**: confirm the release artifact includes a CycloneDX 1.6 SBOM (generated by CI) attached to the release tag or OCI image manifest — enables sub-5-minute blast radius analysis in future incidents
|
|
114
|
-
|
|
115
|
-
#### 8. Prepare The Release
|
|
116
|
-
|
|
117
|
-
Role: **Backend Developer**, **Frontend Developer**
|
|
118
|
-
|
|
119
|
-
Use skill: `commit-code`
|
|
120
|
-
|
|
121
|
-
Before release:
|
|
122
|
-
|
|
123
|
-
- remove accidental local-only artifacts
|
|
124
|
-
- confirm generated files are intentional
|
|
125
|
-
- confirm versioning follows the repo's local rules
|
|
126
|
-
- capture a short release summary and known risks
|
|
127
|
-
|
|
128
|
-
Do not create a commit until the user explicitly confirms that commit action.
|
|
129
|
-
Do not push, create a tag, or publish a release entry until the user explicitly confirms that specific action.
|
|
130
|
-
|
|
131
|
-
#### 9. Verify After Release
|
|
132
|
-
|
|
133
|
-
Role: **DevOps Engineer**, **SRE**
|
|
134
|
-
|
|
135
|
-
After the release is shipped:
|
|
136
|
-
|
|
137
|
-
- confirm the intended revision is running
|
|
138
|
-
- verify health and smoke-test critical flows
|
|
139
|
-
- monitor for regressions
|
|
140
|
-
- capture any follow-up work immediately
|
|
141
|
-
|
|
142
|
-
### Review Output Template
|
|
143
|
-
|
|
144
|
-
```markdown
|
|
145
|
-
## Service Review: <service>
|
|
146
|
-
|
|
147
|
-
Date: YYYY-MM-DD
|
|
148
|
-
Reviewer: <name>
|
|
149
|
-
Status: Ready / Needs Work / Not Ready
|
|
150
|
-
|
|
151
|
-
### Issue Summary
|
|
152
|
-
- Blocking: <count>
|
|
153
|
-
- Important: <count>
|
|
154
|
-
- Follow-Up: <count>
|
|
155
|
-
|
|
156
|
-
### Blocking Issues
|
|
157
|
-
1. file:line - description
|
|
158
|
-
|
|
159
|
-
### High-Risk Issues
|
|
160
|
-
1. file:line - description
|
|
161
|
-
|
|
162
|
-
### Completed Actions
|
|
163
|
-
1. description
|
|
164
|
-
|
|
165
|
-
### Release Confidence
|
|
166
|
-
- tests: pass/fail
|
|
167
|
-
- build: pass/fail
|
|
168
|
-
- contracts: compatible/not compatible
|
|
169
|
-
- rollback plan: ready/not ready
|
|
170
|
-
|
|
171
|
-
### Follow-Up
|
|
172
|
-
1. description
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
### Checklist
|
|
176
|
-
|
|
177
|
-
- [ ] synced relevant source repos
|
|
178
|
-
- [ ] reviewed repo-local standards
|
|
179
|
-
- [ ] mapped service structure and dependencies
|
|
180
|
-
- [ ] listed Blocking, Important, and Follow-Up findings
|
|
181
|
-
- [ ] checked cross-service impact
|
|
182
|
-
- [ ] fixed or tracked blocking issues
|
|
183
|
-
- [ ] re-ran tests, build, and static checks
|
|
184
|
-
- [ ] confirmed rollout and rollback readiness
|
|
185
|
-
- [ ] updated user-visible docs if required
|
|
186
|
-
- [ ] verified the release after shipping
|
|
187
|
-
|
|
188
|
-
### Related Workflows
|
|
189
|
-
|
|
190
|
-
- [Build & Deploy](build-deploy.md)
|
|
191
|
-
- [Add New Feature](add-new-feature.md)
|
|
192
|
-
- [Troubleshooting](troubleshooting.md)
|
|
193
|
-
|
|
194
|
-
### Related Skills
|
|
195
|
-
|
|
196
|
-
- **review-service**: Run a full service readiness review
|
|
197
|
-
- **navigate-service**: Map the service before judging readiness
|
|
198
|
-
- **review-code**: Review and fix concrete implementation issues
|
|
199
|
-
- **write-tests**: Add coverage when release confidence is too low
|
|
200
|
-
- **commit-code**: Prepare approved release changes for delivery
|
|
201
|
-
|
|
202
|
-
### Failure Modes
|
|
203
|
-
|
|
204
|
-
- **Release-readiness check skipped under deadline**: a release ships without a passing readiness verdict. **Mitigation:** the release gate refuses a release whose `incident-report.json` lists a release-blocking issue; surface the missing evidence to the user and stop.
|
|
205
|
-
- **SLO undefined for the service**: a new service is promoted to prod without SLO targets. **Mitigation:** refuse the promotion; every service must declare its SLO and the error budget before launch.
|
|
206
|
-
- **Definition of Done bypassed under release pressure**: a slice is rushed to prod without the rollout trigger, observability signal, or rollback path named. **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.
|
|
207
|
-
- **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.
|
|
208
|
-
- **Cross-team regression missed**: a slice changes shared logic but the impact on adjacent teams is not documented. **Mitigation:** require an explicit `impact_radius` mapping with owning teams; for cross-team changes, add a release-coordination checkpoint before the canary stage.
|
|
209
|
-
|
|
210
|
-
### Output Contracts
|
|
211
|
-
|
|
212
|
-
When this workflow produces a structured handoff, emit:
|
|
213
|
-
|
|
214
|
-
- **`contracts/schemas/incident-report.json`** (release-readiness variant) — capture the readiness verdict, the evidence, the blockers, and the residual risk.
|
|
215
|
-
- **`contracts/schemas/coordination-plan.json`** — when the release requires multi-team coordination; route through the coordinator.
|
|
216
|
-
- **`contracts/schemas/deployment-plan.json`** — for the release itself; capture infrastructure changes, config updates, and validation runs.
|
|
217
|
-
|
|
218
|
-
### Security Guardrails (OWASP ASI)
|
|
219
|
-
|
|
220
|
-
- **ASI03 Identity & Privilege Abuse**: release credentials must be scoped to the release-owning role; reject releases that request broader scopes than the role's `action-boundaries.yaml` profile allows.
|
|
221
|
-
- **ASI04 Supply Chain**: every release must ship with SBOM and cosign provenance; reject releases that lack verifiable provenance.
|
|
222
|
-
- **ASI05 RCE Guard**: never construct release scripts, rollout hooks, or canary configurations from external content without strict schema validation.
|
|
223
|
-
- **ASI08 Cascading Failures**: when a canary shows an anomaly, halt the rollout and surface the failure to the coordinator before allowing the next stage to proceed.
|
|
1
|
+
---
|
|
2
|
+
description: Complete workflow for reviewing service readiness and preparing a release
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
## Service Review & Release Workflow
|
|
6
|
+
|
|
7
|
+
Use this workflow before major releases, risky refactors, or periodic health checks on an important service.
|
|
8
|
+
|
|
9
|
+
### When To Use
|
|
10
|
+
|
|
11
|
+
- before a significant release
|
|
12
|
+
- before promoting a service to a higher-risk environment
|
|
13
|
+
- after large architectural or dependency changes
|
|
14
|
+
- during periodic readiness reviews
|
|
15
|
+
|
|
16
|
+
### Prerequisites
|
|
17
|
+
|
|
18
|
+
- the service or component to review is known
|
|
19
|
+
- access to the repo and relevant deployment sources of truth is available
|
|
20
|
+
- repo-local standards and release rules have been identified
|
|
21
|
+
|
|
22
|
+
### Workflow Steps
|
|
23
|
+
|
|
24
|
+
#### 1. Prepare The Review
|
|
25
|
+
|
|
26
|
+
Role: **Technical Lead**, **Reviewer**
|
|
27
|
+
|
|
28
|
+
Sync the latest local view of:
|
|
29
|
+
|
|
30
|
+
- the target service repo
|
|
31
|
+
- any directly related shared libraries
|
|
32
|
+
- deployment or release configuration repos, if they exist
|
|
33
|
+
|
|
34
|
+
Read the repo-local standards, release notes format, and review checklist if present.
|
|
35
|
+
|
|
36
|
+
#### 2. Understand The Service
|
|
37
|
+
|
|
38
|
+
Role: **Technical Lead**, **Technical Architect**
|
|
39
|
+
|
|
40
|
+
Use skill: `navigate-service`
|
|
41
|
+
|
|
42
|
+
Collect:
|
|
43
|
+
|
|
44
|
+
- high-level structure
|
|
45
|
+
- key dependencies
|
|
46
|
+
- public contracts
|
|
47
|
+
- data stores and migrations
|
|
48
|
+
- operational ownership boundaries
|
|
49
|
+
|
|
50
|
+
#### 3. Run A Full Review
|
|
51
|
+
|
|
52
|
+
Role: **Reviewer**, **Technical Lead**
|
|
53
|
+
|
|
54
|
+
Use skill: `review-service`
|
|
55
|
+
|
|
56
|
+
Focus on:
|
|
57
|
+
|
|
58
|
+
- correctness and data safety
|
|
59
|
+
- public contract compatibility
|
|
60
|
+
- dependency and configuration alignment
|
|
61
|
+
- observability, reliability, and rollback readiness
|
|
62
|
+
- test quality and release confidence
|
|
63
|
+
|
|
64
|
+
#### 4. Check Cross-Service Impact
|
|
65
|
+
|
|
66
|
+
Role: **Technical Architect**, **Security Engineer**
|
|
67
|
+
|
|
68
|
+
Review:
|
|
69
|
+
|
|
70
|
+
- consumers of the service's public APIs or events
|
|
71
|
+
- shared library version drift
|
|
72
|
+
- config or environment changes needed by adjacent systems
|
|
73
|
+
- migration or rollout ordering constraints
|
|
74
|
+
|
|
75
|
+
#### 5. Fix Or Track Findings
|
|
76
|
+
|
|
77
|
+
Role: **Backend Developer**, **Frontend Developer**
|
|
78
|
+
|
|
79
|
+
Use skill: `review-code`
|
|
80
|
+
|
|
81
|
+
For each important issue:
|
|
82
|
+
|
|
83
|
+
- decide whether it must block release
|
|
84
|
+
- implement the fix if it belongs in scope
|
|
85
|
+
- otherwise document the risk and owner explicitly
|
|
86
|
+
|
|
87
|
+
#### 6. Re-Run Quality Gates
|
|
88
|
+
|
|
89
|
+
Role: **QA Engineer**, **Backend Developer**
|
|
90
|
+
|
|
91
|
+
Verify with the repo's normal commands:
|
|
92
|
+
|
|
93
|
+
- tests
|
|
94
|
+
- coverage checks if the repo tracks them
|
|
95
|
+
- lint or static analysis
|
|
96
|
+
- build
|
|
97
|
+
- generated code or schema checks, if applicable
|
|
98
|
+
|
|
99
|
+
Use skill: `write-tests` if confidence is too low for the release risk.
|
|
100
|
+
|
|
101
|
+
#### 7. Confirm Release Readiness
|
|
102
|
+
|
|
103
|
+
Role: **Technical Lead**, **Product Manager**
|
|
104
|
+
|
|
105
|
+
Check that:
|
|
106
|
+
|
|
107
|
+
- config sources match the code
|
|
108
|
+
- health checks or equivalent runtime probes exist
|
|
109
|
+
- resource, capacity, or scaling assumptions are still valid
|
|
110
|
+
- rollback strategy is clear — prefer **Argo Rollouts** canary/blue-green with automated metric analysis for progressive delivery; define SLO analysis templates (error rate <0.1%, p99 latency within 20% of baseline) that automatically abort a rollout on regression
|
|
111
|
+
- user-facing docs or release notes are updated if required
|
|
112
|
+
- **SLO release gate**: confirm error budget is not in burn-alert before releasing to production — do not release into an active burn-rate alert
|
|
113
|
+
- **SBOM**: confirm the release artifact includes a CycloneDX 1.6 SBOM (generated by CI) attached to the release tag or OCI image manifest — enables sub-5-minute blast radius analysis in future incidents
|
|
114
|
+
|
|
115
|
+
#### 8. Prepare The Release
|
|
116
|
+
|
|
117
|
+
Role: **Backend Developer**, **Frontend Developer**
|
|
118
|
+
|
|
119
|
+
Use skill: `commit-code`
|
|
120
|
+
|
|
121
|
+
Before release:
|
|
122
|
+
|
|
123
|
+
- remove accidental local-only artifacts
|
|
124
|
+
- confirm generated files are intentional
|
|
125
|
+
- confirm versioning follows the repo's local rules
|
|
126
|
+
- capture a short release summary and known risks
|
|
127
|
+
|
|
128
|
+
Do not create a commit until the user explicitly confirms that commit action.
|
|
129
|
+
Do not push, create a tag, or publish a release entry until the user explicitly confirms that specific action.
|
|
130
|
+
|
|
131
|
+
#### 9. Verify After Release
|
|
132
|
+
|
|
133
|
+
Role: **DevOps Engineer**, **SRE**
|
|
134
|
+
|
|
135
|
+
After the release is shipped:
|
|
136
|
+
|
|
137
|
+
- confirm the intended revision is running
|
|
138
|
+
- verify health and smoke-test critical flows
|
|
139
|
+
- monitor for regressions
|
|
140
|
+
- capture any follow-up work immediately
|
|
141
|
+
|
|
142
|
+
### Review Output Template
|
|
143
|
+
|
|
144
|
+
```markdown
|
|
145
|
+
## Service Review: <service>
|
|
146
|
+
|
|
147
|
+
Date: YYYY-MM-DD
|
|
148
|
+
Reviewer: <name>
|
|
149
|
+
Status: Ready / Needs Work / Not Ready
|
|
150
|
+
|
|
151
|
+
### Issue Summary
|
|
152
|
+
- Blocking: <count>
|
|
153
|
+
- Important: <count>
|
|
154
|
+
- Follow-Up: <count>
|
|
155
|
+
|
|
156
|
+
### Blocking Issues
|
|
157
|
+
1. file:line - description
|
|
158
|
+
|
|
159
|
+
### High-Risk Issues
|
|
160
|
+
1. file:line - description
|
|
161
|
+
|
|
162
|
+
### Completed Actions
|
|
163
|
+
1. description
|
|
164
|
+
|
|
165
|
+
### Release Confidence
|
|
166
|
+
- tests: pass/fail
|
|
167
|
+
- build: pass/fail
|
|
168
|
+
- contracts: compatible/not compatible
|
|
169
|
+
- rollback plan: ready/not ready
|
|
170
|
+
|
|
171
|
+
### Follow-Up
|
|
172
|
+
1. description
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Checklist
|
|
176
|
+
|
|
177
|
+
- [ ] synced relevant source repos
|
|
178
|
+
- [ ] reviewed repo-local standards
|
|
179
|
+
- [ ] mapped service structure and dependencies
|
|
180
|
+
- [ ] listed Blocking, Important, and Follow-Up findings
|
|
181
|
+
- [ ] checked cross-service impact
|
|
182
|
+
- [ ] fixed or tracked blocking issues
|
|
183
|
+
- [ ] re-ran tests, build, and static checks
|
|
184
|
+
- [ ] confirmed rollout and rollback readiness
|
|
185
|
+
- [ ] updated user-visible docs if required
|
|
186
|
+
- [ ] verified the release after shipping
|
|
187
|
+
|
|
188
|
+
### Related Workflows
|
|
189
|
+
|
|
190
|
+
- [Build & Deploy](build-deploy.md)
|
|
191
|
+
- [Add New Feature](add-new-feature.md)
|
|
192
|
+
- [Troubleshooting](troubleshooting.md)
|
|
193
|
+
|
|
194
|
+
### Related Skills
|
|
195
|
+
|
|
196
|
+
- **review-service**: Run a full service readiness review
|
|
197
|
+
- **navigate-service**: Map the service before judging readiness
|
|
198
|
+
- **review-code**: Review and fix concrete implementation issues
|
|
199
|
+
- **write-tests**: Add coverage when release confidence is too low
|
|
200
|
+
- **commit-code**: Prepare approved release changes for delivery
|
|
201
|
+
|
|
202
|
+
### Failure Modes
|
|
203
|
+
|
|
204
|
+
- **Release-readiness check skipped under deadline**: a release ships without a passing readiness verdict. **Mitigation:** the release gate refuses a release whose `incident-report.json` lists a release-blocking issue; surface the missing evidence to the user and stop.
|
|
205
|
+
- **SLO undefined for the service**: a new service is promoted to prod without SLO targets. **Mitigation:** refuse the promotion; every service must declare its SLO and the error budget before launch.
|
|
206
|
+
- **Definition of Done bypassed under release pressure**: a slice is rushed to prod without the rollout trigger, observability signal, or rollback path named. **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.
|
|
207
|
+
- **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.
|
|
208
|
+
- **Cross-team regression missed**: a slice changes shared logic but the impact on adjacent teams is not documented. **Mitigation:** require an explicit `impact_radius` mapping with owning teams; for cross-team changes, add a release-coordination checkpoint before the canary stage.
|
|
209
|
+
|
|
210
|
+
### Output Contracts
|
|
211
|
+
|
|
212
|
+
When this workflow produces a structured handoff, emit:
|
|
213
|
+
|
|
214
|
+
- **`contracts/schemas/incident-report.json`** (release-readiness variant) — capture the readiness verdict, the evidence, the blockers, and the residual risk.
|
|
215
|
+
- **`contracts/schemas/coordination-plan.json`** — when the release requires multi-team coordination; route through the coordinator.
|
|
216
|
+
- **`contracts/schemas/deployment-plan.json`** — for the release itself; capture infrastructure changes, config updates, and validation runs.
|
|
217
|
+
|
|
218
|
+
### Security Guardrails (OWASP ASI)
|
|
219
|
+
|
|
220
|
+
- **ASI03 Identity & Privilege Abuse**: release credentials must be scoped to the release-owning role; reject releases that request broader scopes than the role's `action-boundaries.yaml` profile allows.
|
|
221
|
+
- **ASI04 Supply Chain**: every release must ship with SBOM and cosign provenance; reject releases that lack verifiable provenance.
|
|
222
|
+
- **ASI05 RCE Guard**: never construct release scripts, rollout hooks, or canary configurations from external content without strict schema validation.
|
|
223
|
+
- **ASI08 Cascading Failures**: when a canary shows an anomaly, halt the rollout and surface the failure to the coordinator before allowing the next stage to proceed.
|