@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,191 +1,191 @@
1
- ---
2
- description: Workflow for responding to a confirmed or suspected security incident with controlled disclosure, containment, and safe remediation
3
- ---
4
-
5
- ## Security Incident Response Workflow
6
-
7
- Use this workflow when a confirmed or suspected security vulnerability, breach, or attack is active and requires structured, safe handling without public disclosure before mitigation.
8
-
9
- ### When To Use
10
-
11
- - a vulnerability is reported by a researcher, user, or monitoring system
12
- - active exploitation or unauthorized access is suspected
13
- - sensitive data exposure is possible
14
- - a supply chain or dependency attack is suspected
15
-
16
- ### Prerequisites
17
-
18
- - the incident is real enough to act on (even suspected is sufficient)
19
- - security-engineer or equivalent on-call is aware
20
- - the team understands that no disclosure in user-visible artifacts (commits, changelogs, Slack) before the fix is shipped
21
-
22
- ### Workflow Steps
23
-
24
- #### 1. Confirm And Classify The Incident
25
-
26
- Role: **Security Engineer**, **Technical Lead**
27
-
28
- Determine:
29
-
30
- - is the report credible? (evidence of exploit, scan result, or PoC)
31
- - what is the attack surface? (endpoint, dependency, config, authentication)
32
- - what data or systems are at risk?
33
- - is this active exploitation or a theoretical vulnerability?
34
-
35
- Do not share vulnerability details in public channels, commit messages, or user-visible issue trackers.
36
-
37
- Use skill: `conduct-research`
38
-
39
- #### 2. Contain The Blast Radius Immediately
40
-
41
- Role: **SRE**, **Security Engineer**, **DevOps Engineer**
42
-
43
- Take the fastest safe mitigation first:
44
-
45
- - disable the affected endpoint or feature flag
46
- - rotate compromised credentials or tokens immediately
47
- - isolate or scale down the affected service
48
- - block the attack path at the network or WAF layer if possible
49
- - revoke active sessions if authentication is compromised
50
-
51
- Apply **Zero-Trust containment**: revoke the compromised workload's SPIFFE/SPIRE identity (SVID) and apply an automated Cilium NetworkPolicy quarantine to microsegment the affected pod/service — this enforces kernel-level eBPF isolation within milliseconds without waiting for manual iptables changes. If a SOAR platform (Tines, Cortex XSOAR) is available, trigger the automated quarantine playbook.
52
-
53
- Under **NIST CSF 2.0 Govern (GV.RR)**, incident commanders have pre-authorized power to isolate infrastructure, revoke tokens, or take services offline without waiting for ad-hoc executive approval — exercise this authority, then notify stakeholders.
54
-
55
- Do not wait for root cause analysis before containment.
56
-
57
- #### 3. Scope The Impact
58
-
59
- Role: **Security Engineer**, **Backend Developer**
60
-
61
- Answer:
62
-
63
- - what data was accessible during the exposure window?
64
- - which users, tenants, or environments are affected?
65
- - is the data classified as confidential or restricted per `core/policies/data-classification.yaml`?
66
- - is there evidence of exfiltration?
67
-
68
- Use the **CycloneDX 1.6 SBOM** (VEX + CBOM) to perform blast radius analysis: query centralized SBOM repositories (Dependency-Track, Anchore, Snyk) to identify all running production images containing a vulnerable component within minutes. Check CBOM entries for any quantum-vulnerable cryptographic algorithms or broken cipher suites if the incident involves cryptographic compromise.
69
-
70
- Use skill: `conduct-research`
71
-
72
- Do not log or expose raw sensitive values in investigation artifacts.
73
-
74
- #### 4. Develop And Review The Fix
75
-
76
- Role: **Security Engineer**, **Backend Developer**, **Reviewer**
77
-
78
- Rules:
79
-
80
- - fix only the security issue — no opportunistic cleanup
81
- - prefer the smallest, most reversible change
82
- - keep the fix in a private branch until approved for disclosure
83
-
84
- Use skill: `review-code`
85
-
86
- Have a second reviewer confirm the fix before shipping.
87
-
88
- #### 5. Test The Fix
89
-
90
- Role: **Backend Developer**, **QA Engineer**, **Security Engineer**
91
-
92
- Use skill: `write-tests`
93
-
94
- Verify:
95
-
96
- - the exploit path is closed
97
- - regression coverage added for the vulnerable code path
98
- - no new attack surface introduced by the fix
99
-
100
- #### 6. Ship Through The Normal Emergency Path
101
-
102
- Role: **Backend Developer**, **DevOps Engineer**
103
-
104
- Use skill: `commit-code`
105
-
106
- Do not create a commit until the user explicitly confirms that commit action.
107
- Do not push, create a tag, or publish a release until the user explicitly confirms that specific action.
108
-
109
- Coordinate security advisory timing with stakeholders before pushing to public repos.
110
-
111
- #### 7. Disclose And Notify
112
-
113
- Role: **Technical Lead**, **Security Engineer**
114
-
115
- After the fix is shipped:
116
-
117
- - notify affected users or tenants if required by policy or regulation
118
- - publish a security advisory in coordination with stakeholders
119
- - update CVE or vulnerability database entries if applicable
120
- - notify downstream consumers of affected APIs or libraries
121
-
122
- Disclosure must happen after the fix is deployed, not before.
123
-
124
- #### 8. Conduct Post-Incident Review
125
-
126
- Role: **Security Engineer**, **Technical Lead**, **Technical Writer**
127
-
128
- Capture blameless:
129
-
130
- - timeline: detection, containment, fix, disclosure
131
- - root cause and contributing factors
132
- - what monitoring or controls failed to catch it earlier
133
- - action items to prevent recurrence
134
-
135
- ### Critical Rules
136
-
137
- - never disclose vulnerability details in public commits, changelogs, or issue titles before the fix is shipped
138
- - classify all investigation artifacts at `confidential` or `restricted` per `core/policies/data-classification.yaml`
139
- - requires_approval for any data export or user data access during investigation
140
- - rotate all secrets in the blast radius — do not try to determine exactly which ones were accessed
141
- - for vulnerability prioritization, apply the 2026 triage triad: `CVSS 4.0 (Impact) × EPSS (Exploit Probability) × CISA KEV (Active Exploitation)` — EPSS >10% or CISA KEV listing requires 24–48 hour patching regardless of base CVSS score
142
- - post-incident RCA findings must update the corporate risk register and CI/CD policy gates per NIST CSF 2.0 Govern (GV.OV) continuous feedback loop
143
-
144
- ### Checklist
145
-
146
- - [ ] incident confirmed and classified
147
- - [ ] blast radius contained immediately
148
- - [ ] impact scope determined without exposing raw data
149
- - [ ] fix developed in a private branch
150
- - [ ] fix reviewed by a second security-aware reviewer
151
- - [ ] fix tested — exploit path closed and regression covered
152
- - [ ] fix shipped through emergency path with explicit approvals
153
- - [ ] disclosure coordinated and timed after fix
154
- - [ ] post-incident review completed with action items
155
-
156
- ### Related Workflows
157
-
158
- - [Hotfix Production](hotfix-production.md)
159
- - [Revert Deployment](revert-deployment.md)
160
- - [Troubleshooting](troubleshooting.md)
161
-
162
- ### Related Skills
163
-
164
- - **conduct-research**: Investigate vulnerability scope and impact
165
- - **review-code**: Review security-critical fix before shipping
166
- - **write-tests**: Add regression coverage for the vulnerable path
167
- - **commit-code**: Prepare approved fix for delivery
168
- - **meeting-review**: Escalate cross-role incident decisions
169
-
170
- ### Failure Modes
171
-
172
- - **Containment delayed by approval chain**: a confirmed breach is not contained because the responder set is unclear. **Mitigation:** pre-authorize the responder set per NIST CSF 2.0 Govern (GV.RR); surface the uncontained exposure window in the incident report.
173
- - **Blast radius not computed**: containment does not account for the affected services and credentials. **Mitigation:** run a CycloneDX 1.6 SBOM blast-radius query before any containment action; route through `core/a2a/.well-known/agent-registry.json` for the service inventory.
174
- - **Credential rotation incomplete**: rotation covers the surface credential but misses downstream sessions, caches, or replicas. **Mitigation:** enumerate every consumer of the credential before rotating; verify the rotation is complete with a smoke test.
175
- - **CVE prioritization on raw score alone**: CVSS 4.0 score is treated as the only signal. **Mitigation:** use the CVSS 4.0 x EPSS x CISA KEV triage triad; deprioritize vulnerabilities that are not yet weaponized or are unreachable in the live dependency graph.
176
- - **Disclosure copy leaks to public channels**: a draft advisory is sent to a public channel before internal review. **Mitigation:** require the disclosure to pass a human reviewer and route to a private channel first; surface the leak in the postmortem.
177
-
178
- ### Output Contracts
179
-
180
- When this workflow produces a structured handoff, emit:
181
-
182
- - **`contracts/schemas/incident-report.json`** — Required fields: symptom, scope, blast radius, containment actions, CVE / advisory id, rotation evidence, and follow-up postmortem reference.
183
- - **`contracts/schemas/coordination-plan.json`** — When containment cascades to multiple services; route through the coordinator.
184
- - **`contracts/schemas/release-notes.json`** (or frontmatter block) — when the disclosure is published; capture the CVE id, the fix version, and the user-facing advisory.
185
-
186
- ### Security Guardrails (OWASP ASI)
187
-
188
- - **ASI03 Identity & Privilege Abuse**: incident response credentials must be scoped to the pre-authorized responder set; reject actions that request broader scopes than the role's `action-boundaries.yaml` profile allows.
189
- - **ASI04 Supply Chain**: every containment action must be schema-validated against the expected manifest; treat unknown tooling as untrusted.
190
- - **ASI07 Inter-Agent Communication**: the incident is consumed by security, SRE, and release roles; emit structured `incident-report.json` so each role can validate the containment.
191
- - **ASI09 Human-Agent Trust Exploitation**: do not present the incident as "contained" without end-to-end verification and a documented blast-radius check; surface the residual exposure honestly.
1
+ ---
2
+ description: Workflow for responding to a confirmed or suspected security incident with controlled disclosure, containment, and safe remediation
3
+ ---
4
+
5
+ ## Security Incident Response Workflow
6
+
7
+ Use this workflow when a confirmed or suspected security vulnerability, breach, or attack is active and requires structured, safe handling without public disclosure before mitigation.
8
+
9
+ ### When To Use
10
+
11
+ - a vulnerability is reported by a researcher, user, or monitoring system
12
+ - active exploitation or unauthorized access is suspected
13
+ - sensitive data exposure is possible
14
+ - a supply chain or dependency attack is suspected
15
+
16
+ ### Prerequisites
17
+
18
+ - the incident is real enough to act on (even suspected is sufficient)
19
+ - security-engineer or equivalent on-call is aware
20
+ - the team understands that no disclosure in user-visible artifacts (commits, changelogs, Slack) before the fix is shipped
21
+
22
+ ### Workflow Steps
23
+
24
+ #### 1. Confirm And Classify The Incident
25
+
26
+ Role: **Security Engineer**, **Technical Lead**
27
+
28
+ Determine:
29
+
30
+ - is the report credible? (evidence of exploit, scan result, or PoC)
31
+ - what is the attack surface? (endpoint, dependency, config, authentication)
32
+ - what data or systems are at risk?
33
+ - is this active exploitation or a theoretical vulnerability?
34
+
35
+ Do not share vulnerability details in public channels, commit messages, or user-visible issue trackers.
36
+
37
+ Use skill: `conduct-research`
38
+
39
+ #### 2. Contain The Blast Radius Immediately
40
+
41
+ Role: **SRE**, **Security Engineer**, **DevOps Engineer**
42
+
43
+ Take the fastest safe mitigation first:
44
+
45
+ - disable the affected endpoint or feature flag
46
+ - rotate compromised credentials or tokens immediately
47
+ - isolate or scale down the affected service
48
+ - block the attack path at the network or WAF layer if possible
49
+ - revoke active sessions if authentication is compromised
50
+
51
+ Apply **Zero-Trust containment**: revoke the compromised workload's SPIFFE/SPIRE identity (SVID) and apply an automated Cilium NetworkPolicy quarantine to microsegment the affected pod/service — this enforces kernel-level eBPF isolation within milliseconds without waiting for manual iptables changes. If a SOAR platform (Tines, Cortex XSOAR) is available, trigger the automated quarantine playbook.
52
+
53
+ Under **NIST CSF 2.0 Govern (GV.RR)**, incident commanders have pre-authorized power to isolate infrastructure, revoke tokens, or take services offline without waiting for ad-hoc executive approval — exercise this authority, then notify stakeholders.
54
+
55
+ Do not wait for root cause analysis before containment.
56
+
57
+ #### 3. Scope The Impact
58
+
59
+ Role: **Security Engineer**, **Backend Developer**
60
+
61
+ Answer:
62
+
63
+ - what data was accessible during the exposure window?
64
+ - which users, tenants, or environments are affected?
65
+ - is the data classified as confidential or restricted per `core/policies/data-classification.yaml`?
66
+ - is there evidence of exfiltration?
67
+
68
+ Use the **CycloneDX 1.6 SBOM** (VEX + CBOM) to perform blast radius analysis: query centralized SBOM repositories (Dependency-Track, Anchore, Snyk) to identify all running production images containing a vulnerable component within minutes. Check CBOM entries for any quantum-vulnerable cryptographic algorithms or broken cipher suites if the incident involves cryptographic compromise.
69
+
70
+ Use skill: `conduct-research`
71
+
72
+ Do not log or expose raw sensitive values in investigation artifacts.
73
+
74
+ #### 4. Develop And Review The Fix
75
+
76
+ Role: **Security Engineer**, **Backend Developer**, **Reviewer**
77
+
78
+ Rules:
79
+
80
+ - fix only the security issue — no opportunistic cleanup
81
+ - prefer the smallest, most reversible change
82
+ - keep the fix in a private branch until approved for disclosure
83
+
84
+ Use skill: `review-code`
85
+
86
+ Have a second reviewer confirm the fix before shipping.
87
+
88
+ #### 5. Test The Fix
89
+
90
+ Role: **Backend Developer**, **QA Engineer**, **Security Engineer**
91
+
92
+ Use skill: `write-tests`
93
+
94
+ Verify:
95
+
96
+ - the exploit path is closed
97
+ - regression coverage added for the vulnerable code path
98
+ - no new attack surface introduced by the fix
99
+
100
+ #### 6. Ship Through The Normal Emergency Path
101
+
102
+ Role: **Backend Developer**, **DevOps Engineer**
103
+
104
+ Use skill: `commit-code`
105
+
106
+ Do not create a commit until the user explicitly confirms that commit action.
107
+ Do not push, create a tag, or publish a release until the user explicitly confirms that specific action.
108
+
109
+ Coordinate security advisory timing with stakeholders before pushing to public repos.
110
+
111
+ #### 7. Disclose And Notify
112
+
113
+ Role: **Technical Lead**, **Security Engineer**
114
+
115
+ After the fix is shipped:
116
+
117
+ - notify affected users or tenants if required by policy or regulation
118
+ - publish a security advisory in coordination with stakeholders
119
+ - update CVE or vulnerability database entries if applicable
120
+ - notify downstream consumers of affected APIs or libraries
121
+
122
+ Disclosure must happen after the fix is deployed, not before.
123
+
124
+ #### 8. Conduct Post-Incident Review
125
+
126
+ Role: **Security Engineer**, **Technical Lead**, **Technical Writer**
127
+
128
+ Capture blameless:
129
+
130
+ - timeline: detection, containment, fix, disclosure
131
+ - root cause and contributing factors
132
+ - what monitoring or controls failed to catch it earlier
133
+ - action items to prevent recurrence
134
+
135
+ ### Critical Rules
136
+
137
+ - never disclose vulnerability details in public commits, changelogs, or issue titles before the fix is shipped
138
+ - classify all investigation artifacts at `confidential` or `restricted` per `core/policies/data-classification.yaml`
139
+ - requires_approval for any data export or user data access during investigation
140
+ - rotate all secrets in the blast radius — do not try to determine exactly which ones were accessed
141
+ - for vulnerability prioritization, apply the 2026 triage triad: `CVSS 4.0 (Impact) × EPSS (Exploit Probability) × CISA KEV (Active Exploitation)` — EPSS >10% or CISA KEV listing requires 24–48 hour patching regardless of base CVSS score
142
+ - post-incident RCA findings must update the corporate risk register and CI/CD policy gates per NIST CSF 2.0 Govern (GV.OV) continuous feedback loop
143
+
144
+ ### Checklist
145
+
146
+ - [ ] incident confirmed and classified
147
+ - [ ] blast radius contained immediately
148
+ - [ ] impact scope determined without exposing raw data
149
+ - [ ] fix developed in a private branch
150
+ - [ ] fix reviewed by a second security-aware reviewer
151
+ - [ ] fix tested — exploit path closed and regression covered
152
+ - [ ] fix shipped through emergency path with explicit approvals
153
+ - [ ] disclosure coordinated and timed after fix
154
+ - [ ] post-incident review completed with action items
155
+
156
+ ### Related Workflows
157
+
158
+ - [Hotfix Production](hotfix-production.md)
159
+ - [Revert Deployment](revert-deployment.md)
160
+ - [Troubleshooting](troubleshooting.md)
161
+
162
+ ### Related Skills
163
+
164
+ - **conduct-research**: Investigate vulnerability scope and impact
165
+ - **review-code**: Review security-critical fix before shipping
166
+ - **write-tests**: Add regression coverage for the vulnerable path
167
+ - **commit-code**: Prepare approved fix for delivery
168
+ - **meeting-review**: Escalate cross-role incident decisions
169
+
170
+ ### Failure Modes
171
+
172
+ - **Containment delayed by approval chain**: a confirmed breach is not contained because the responder set is unclear. **Mitigation:** pre-authorize the responder set per NIST CSF 2.0 Govern (GV.RR); surface the uncontained exposure window in the incident report.
173
+ - **Blast radius not computed**: containment does not account for the affected services and credentials. **Mitigation:** run a CycloneDX 1.6 SBOM blast-radius query before any containment action; route through `core/a2a/.well-known/agent-registry.json` for the service inventory.
174
+ - **Credential rotation incomplete**: rotation covers the surface credential but misses downstream sessions, caches, or replicas. **Mitigation:** enumerate every consumer of the credential before rotating; verify the rotation is complete with a smoke test.
175
+ - **CVE prioritization on raw score alone**: CVSS 4.0 score is treated as the only signal. **Mitigation:** use the CVSS 4.0 x EPSS x CISA KEV triage triad; deprioritize vulnerabilities that are not yet weaponized or are unreachable in the live dependency graph.
176
+ - **Disclosure copy leaks to public channels**: a draft advisory is sent to a public channel before internal review. **Mitigation:** require the disclosure to pass a human reviewer and route to a private channel first; surface the leak in the postmortem.
177
+
178
+ ### Output Contracts
179
+
180
+ When this workflow produces a structured handoff, emit:
181
+
182
+ - **`contracts/schemas/incident-report.json`** — Required fields: symptom, scope, blast radius, containment actions, CVE / advisory id, rotation evidence, and follow-up postmortem reference.
183
+ - **`contracts/schemas/coordination-plan.json`** — When containment cascades to multiple services; route through the coordinator.
184
+ - **`contracts/schemas/release-notes.json`** (or frontmatter block) — when the disclosure is published; capture the CVE id, the fix version, and the user-facing advisory.
185
+
186
+ ### Security Guardrails (OWASP ASI)
187
+
188
+ - **ASI03 Identity & Privilege Abuse**: incident response credentials must be scoped to the pre-authorized responder set; reject actions that request broader scopes than the role's `action-boundaries.yaml` profile allows.
189
+ - **ASI04 Supply Chain**: every containment action must be schema-validated against the expected manifest; treat unknown tooling as untrusted.
190
+ - **ASI07 Inter-Agent Communication**: the incident is consumed by security, SRE, and release roles; emit structured `incident-report.json` so each role can validate the containment.
191
+ - **ASI09 Human-Agent Trust Exploitation**: do not present the incident as "contained" without end-to-end verification and a documented blast-radius check; surface the residual exposure honestly.
@@ -1,91 +1,91 @@
1
- ---
2
- description: End-to-end workflow for SEO analysis, deep data research, content drafting, auditing, and publishing.
3
- ---
4
-
5
- ## SEO Content Lifecycle Workflow
6
-
7
- Use this workflow when a new content initiative is starting from a general topic — before an SEO brief even exists — and needs to go all the way through briefing, deep research, drafting, auditing, and final publication in one continuous cycle.
8
-
9
- This workflow wraps [content-publishing](content-publishing.md): steps 1–2 here create the brief and research that `content-publishing` assumes as a prerequisite. Once the brief exists, steps 3–6 here are the same drafting → audit → publish sequence as `content-publishing` steps 3–8, just summarized — follow `content-publishing` for the detailed sub-steps, self-check items, and exact `content-handoff.json` field requirements.
10
-
11
- ### When To Use
12
-
13
- - a new topic needs an SEO brief, deep research, and drafting in one continuous cycle
14
- - a sprint requires end-to-end execution of a content piece
15
- - multiple specialist roles need to collaborate from ideation to deployment
16
-
17
- If a brief already exists and only drafting/audit/publish remain, use [content-publishing](content-publishing.md) directly instead.
18
-
19
- ### Prerequisites
20
-
21
- - the broad topic, target audience, and business goals are defined
22
- - the target site and content repository are known
23
- - the publisher (user or pipeline) has deploy access to the site
24
-
25
- ### Workflow Steps
26
-
27
- #### 1. Plan The Topic And SEO Brief
28
-
29
- Role: **Task Planner**, **SEO Analyst**
30
-
31
- - clarify the content intent and business outcome
32
- - the SEO Analyst executes the SEO briefing process to produce `seo-content-brief.json`
33
- - verify the primary keyword and internal linking strategy
34
-
35
- #### 2. Deep Data Research
36
-
37
- Role: **Researcher**
38
-
39
- Use skill: `conduct-research`
40
-
41
- - investigate the topic to gather data, statistics, competitor analysis, or expert quotes
42
- - focus on fulfilling the E-E-A-T experience proof requirements specified in the SEO brief
43
- - document findings and verifiable data points in `research-report.json`
44
-
45
- #### 3. Draft, Audit, And Publish
46
-
47
- Role: **Content Writer**, **SEO Analyst**, **Content Manager**, **Technical Lead**
48
-
49
- Follow [content-publishing](content-publishing.md) steps 3–8 in full: draft against the brief, self-check, SEO audit, revise, and publish with explicit user approval. That workflow owns the detailed checklist and field-level requirements for `content-handoff.json`, `seo-audit-report.json`, and `publish-log.md` — this entry point exists only to prepend the planning and research steps above it.
50
-
51
- ### Checklist
52
-
53
- - [ ] topic planned and intent clarified
54
- - [ ] seo-content-brief.json produced with keyword and link targets
55
- - [ ] research-report.json produced with data points and E-E-A-T evidence
56
- - [ ] draft written per content-publishing workflow steps 3–5 (brief-aligned, self-checked)
57
- - [ ] SEO audit and metadata produced per content-publishing workflow step 5
58
- - [ ] Blocking findings resolved per content-publishing workflow step 6
59
- - [ ] article published and publish-log.md updated per content-publishing workflow steps 7–8
60
-
61
- ### Related Workflows
62
-
63
- - [content-publishing](content-publishing.md) — the draft-through-publish sequence this workflow hands off to after step 2
64
- - [seo-keyword-brief](seo-keyword-brief.md)
65
- - [content-audit](content-audit.md)
66
- - [qa-validation](qa-validation.md)
67
-
68
- ### Related Skills
69
-
70
- - **optimize-seo**: Audit drafts and produce SEO briefs
71
- - **conduct-research**: Gather evidence for E-E-A-T requirements
72
- - **write-article**: Plan, research, and draft long-form content
73
-
74
- ### Failure Modes
75
-
76
- - **Plan without pillar**: a topic is added to the board without a pillar page anchor. **Mitigation:** every topic must declare its pillar URL and cluster position before planning begins; reject plans that cannot anchor.
77
- - **Stale E-E-A-T proof**: a piece is shipped without verifying the experience proof and author entity. **Mitigation:** enforce the E-E-A-T gate for YMYL; require human expert review before publish.
78
- - **Cannibalization introduced**: a refresh creates overlap with a newer URL. **Mitigation:** check cannibalization as part of the post-update SEO audit; escalate to SEO Analyst when overlap is found.
79
-
80
- ### Output Contracts
81
-
82
- When this workflow produces a structured handoff, emit:
83
-
84
- - **`contracts/schemas/seo-metadata.json`** — capture the title, meta, canonical, schema decisions, and the AEO/GEO audit verdict for each published piece.
85
-
86
- ### Security Guardrails (OWASP ASI)
87
-
88
- - **ASI01 Goal Hijack**: a plan may try to reframe the user goal through off-target keyword recommendations. **Mitigation:** cross-check the plan against the source page objective; reject reframed goals.
89
- - **ASI03 Identity & Privilege Abuse**: every published piece must declare a verified author entity and E-E-A-T evidence; reject unverified authors for YMYL topics.
90
- - **ASI09 Human-Agent Trust Exploitation**: do not present a piece as "AI-cited" or "ranked" without evidence; surface the residual risk and the actual metrics honestly.
91
-
1
+ ---
2
+ description: End-to-end workflow for SEO analysis, deep data research, content drafting, auditing, and publishing.
3
+ ---
4
+
5
+ ## SEO Content Lifecycle Workflow
6
+
7
+ Use this workflow when a new content initiative is starting from a general topic — before an SEO brief even exists — and needs to go all the way through briefing, deep research, drafting, auditing, and final publication in one continuous cycle.
8
+
9
+ This workflow wraps [content-publishing](content-publishing.md): steps 1–2 here create the brief and research that `content-publishing` assumes as a prerequisite. Once the brief exists, steps 3–6 here are the same drafting → audit → publish sequence as `content-publishing` steps 3–8, just summarized — follow `content-publishing` for the detailed sub-steps, self-check items, and exact `content-handoff.json` field requirements.
10
+
11
+ ### When To Use
12
+
13
+ - a new topic needs an SEO brief, deep research, and drafting in one continuous cycle
14
+ - a sprint requires end-to-end execution of a content piece
15
+ - multiple specialist roles need to collaborate from ideation to deployment
16
+
17
+ If a brief already exists and only drafting/audit/publish remain, use [content-publishing](content-publishing.md) directly instead.
18
+
19
+ ### Prerequisites
20
+
21
+ - the broad topic, target audience, and business goals are defined
22
+ - the target site and content repository are known
23
+ - the publisher (user or pipeline) has deploy access to the site
24
+
25
+ ### Workflow Steps
26
+
27
+ #### 1. Plan The Topic And SEO Brief
28
+
29
+ Role: **Task Planner**, **SEO Analyst**
30
+
31
+ - clarify the content intent and business outcome
32
+ - the SEO Analyst executes the SEO briefing process to produce `seo-content-brief.json`
33
+ - verify the primary keyword and internal linking strategy
34
+
35
+ #### 2. Deep Data Research
36
+
37
+ Role: **Researcher**
38
+
39
+ Use skill: `conduct-research`
40
+
41
+ - investigate the topic to gather data, statistics, competitor analysis, or expert quotes
42
+ - focus on fulfilling the E-E-A-T experience proof requirements specified in the SEO brief
43
+ - document findings and verifiable data points in `research-report.json`
44
+
45
+ #### 3. Draft, Audit, And Publish
46
+
47
+ Role: **Content Writer**, **SEO Analyst**, **Content Manager**, **Technical Lead**
48
+
49
+ Follow [content-publishing](content-publishing.md) steps 3–8 in full: draft against the brief, self-check, SEO audit, revise, and publish with explicit user approval. That workflow owns the detailed checklist and field-level requirements for `content-handoff.json`, `seo-audit-report.json`, and `publish-log.md` — this entry point exists only to prepend the planning and research steps above it.
50
+
51
+ ### Checklist
52
+
53
+ - [ ] topic planned and intent clarified
54
+ - [ ] seo-content-brief.json produced with keyword and link targets
55
+ - [ ] research-report.json produced with data points and E-E-A-T evidence
56
+ - [ ] draft written per content-publishing workflow steps 3–5 (brief-aligned, self-checked)
57
+ - [ ] SEO audit and metadata produced per content-publishing workflow step 5
58
+ - [ ] Blocking findings resolved per content-publishing workflow step 6
59
+ - [ ] article published and publish-log.md updated per content-publishing workflow steps 7–8
60
+
61
+ ### Related Workflows
62
+
63
+ - [content-publishing](content-publishing.md) — the draft-through-publish sequence this workflow hands off to after step 2
64
+ - [seo-keyword-brief](seo-keyword-brief.md)
65
+ - [content-audit](content-audit.md)
66
+ - [qa-validation](qa-validation.md)
67
+
68
+ ### Related Skills
69
+
70
+ - **optimize-seo**: Audit drafts and produce SEO briefs
71
+ - **conduct-research**: Gather evidence for E-E-A-T requirements
72
+ - **write-article**: Plan, research, and draft long-form content
73
+
74
+ ### Failure Modes
75
+
76
+ - **Plan without pillar**: a topic is added to the board without a pillar page anchor. **Mitigation:** every topic must declare its pillar URL and cluster position before planning begins; reject plans that cannot anchor.
77
+ - **Stale E-E-A-T proof**: a piece is shipped without verifying the experience proof and author entity. **Mitigation:** enforce the E-E-A-T gate for YMYL; require human expert review before publish.
78
+ - **Cannibalization introduced**: a refresh creates overlap with a newer URL. **Mitigation:** check cannibalization as part of the post-update SEO audit; escalate to SEO Analyst when overlap is found.
79
+
80
+ ### Output Contracts
81
+
82
+ When this workflow produces a structured handoff, emit:
83
+
84
+ - **`contracts/schemas/seo-metadata.json`** — capture the title, meta, canonical, schema decisions, and the AEO/GEO audit verdict for each published piece.
85
+
86
+ ### Security Guardrails (OWASP ASI)
87
+
88
+ - **ASI01 Goal Hijack**: a plan may try to reframe the user goal through off-target keyword recommendations. **Mitigation:** cross-check the plan against the source page objective; reject reframed goals.
89
+ - **ASI03 Identity & Privilege Abuse**: every published piece must declare a verified author entity and E-E-A-T evidence; reject unverified authors for YMYL topics.
90
+ - **ASI09 Human-Agent Trust Exploitation**: do not present a piece as "AI-cited" or "ranked" without evidence; surface the residual risk and the actual metrics honestly.
91
+