@ericrisco/rsc 4.0.4 → 4.1.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.
Files changed (202) hide show
  1. package/README.md +4 -4
  2. package/manifest.json +78 -84
  3. package/package.json +1 -1
  4. package/scripts/lib/default-skill-floor.js +5 -1
  5. package/scripts/lib/domains.js +1 -1
  6. package/scripts/lib/recommend.js +1 -1
  7. package/scripts/lib/retired-skills.js +4 -0
  8. package/scripts/skill-migration-brief.md +1 -1
  9. package/skills/accessibility/evals/README.md +1 -1
  10. package/skills/accessibility/evals/cases.yaml +1 -1
  11. package/skills/agent-safety/SKILL.md +2 -2
  12. package/skills/agent-safety/evals/README.md +1 -1
  13. package/skills/agent-safety/evals/cases.yaml +1 -1
  14. package/skills/analyze/evals/README.md +1 -1
  15. package/skills/analyze/evals/cases.yaml +2 -2
  16. package/skills/angular/SKILL.md +1 -1
  17. package/skills/api-connector-builder/SKILL.md +1 -1
  18. package/skills/api-design/SKILL.md +3 -3
  19. package/skills/api-design/evals/cases.yaml +1 -1
  20. package/skills/asdd/SKILL.md +3 -1
  21. package/skills/automation-strategy/SKILL.md +1 -1
  22. package/skills/automation-strategy/evals/README.md +1 -1
  23. package/skills/automation-strategy/evals/cases.yaml +2 -2
  24. package/skills/automation-strategy/references/orchestration-and-antipatterns.md +1 -1
  25. package/skills/aws-essentials/SKILL.md +3 -3
  26. package/skills/aws-essentials/evals/cases.yaml +2 -2
  27. package/skills/backups/SKILL.md +2 -2
  28. package/skills/backups/evals/cases.yaml +2 -2
  29. package/skills/bash-scripting/SKILL.md +1 -1
  30. package/skills/building-agents/SKILL.md +2 -2
  31. package/skills/building-agents/evals/cases.yaml +2 -2
  32. package/skills/chrome-extension/SKILL.md +1 -1
  33. package/skills/cloudflare/SKILL.md +1 -1
  34. package/skills/code-review/SKILL.md +2 -2
  35. package/skills/code-review/evals/cases.yaml +2 -2
  36. package/skills/compliance/SKILL.md +3 -3
  37. package/skills/compliance/evals/cases.yaml +1 -1
  38. package/skills/constitution/SKILL.md +2 -2
  39. package/skills/constitution/evals/README.md +2 -2
  40. package/skills/constitution/evals/cases.yaml +2 -2
  41. package/skills/constitution/references/constitution-template.md +1 -1
  42. package/skills/cpp/SKILL.md +2 -2
  43. package/skills/cpp/evals/README.md +1 -1
  44. package/skills/cpp/evals/cases.yaml +2 -2
  45. package/skills/csharp-dotnet/SKILL.md +3 -3
  46. package/skills/csharp-dotnet/evals/cases.yaml +1 -1
  47. package/skills/csharp-dotnet/references/aspnetcore.md +1 -1
  48. package/skills/data-policy/SKILL.md +2 -2
  49. package/skills/data-policy/evals/README.md +1 -1
  50. package/skills/data-policy/evals/cases.yaml +1 -1
  51. package/skills/debug/SKILL.md +1 -1
  52. package/skills/debug/evals/README.md +1 -1
  53. package/skills/decision-challenge/SKILL.md +2 -2
  54. package/skills/decision-challenge/evals/cases.yaml +1 -1
  55. package/skills/deployment/SKILL.md +2 -2
  56. package/skills/deployment/evals/README.md +1 -1
  57. package/skills/deployment/evals/cases.yaml +2 -2
  58. package/skills/django/SKILL.md +2 -2
  59. package/skills/django/evals/README.md +1 -1
  60. package/skills/django/evals/cases.yaml +1 -1
  61. package/skills/django/references/security.md +1 -1
  62. package/skills/docker/SKILL.md +3 -3
  63. package/skills/docker/evals/cases.yaml +1 -1
  64. package/skills/dynamodb/SKILL.md +2 -2
  65. package/skills/electron/SKILL.md +1 -1
  66. package/skills/electron/references/packaging-and-updates.md +1 -1
  67. package/skills/email-connector/SKILL.md +2 -2
  68. package/skills/email-deliverability/SKILL.md +1 -1
  69. package/skills/error-handling/SKILL.md +1 -1
  70. package/skills/expo/SKILL.md +2 -2
  71. package/skills/fastapi/SKILL.md +4 -4
  72. package/skills/fastapi/evals/README.md +2 -2
  73. package/skills/fastapi/evals/cases.yaml +2 -2
  74. package/skills/fastapi/references/security.md +2 -2
  75. package/skills/firebase/SKILL.md +1 -1
  76. package/skills/flutter/SKILL.md +1 -1
  77. package/skills/flutter/evals/cases.yaml +2 -2
  78. package/skills/fly-io/SKILL.md +1 -1
  79. package/skills/gamedev-multiplayer/SKILL.md +1 -1
  80. package/skills/gamedev-multiplayer/evals/README.md +1 -1
  81. package/skills/gamedev-multiplayer/evals/cases.yaml +2 -2
  82. package/skills/gamedev-shipping/SKILL.md +1 -1
  83. package/skills/gcp-essentials/SKILL.md +2 -2
  84. package/skills/gcp-essentials/evals/README.md +1 -1
  85. package/skills/gcp-essentials/evals/cases.yaml +2 -2
  86. package/skills/gdpr-privacy/SKILL.md +2 -2
  87. package/skills/gdpr-privacy/evals/cases.yaml +1 -1
  88. package/skills/github-actions/SKILL.md +2 -2
  89. package/skills/go/SKILL.md +4 -4
  90. package/skills/go/evals/README.md +1 -1
  91. package/skills/go/evals/cases.yaml +2 -2
  92. package/skills/google-workspace/SKILL.md +2 -2
  93. package/skills/hetzner/SKILL.md +1 -1
  94. package/skills/htmx/SKILL.md +4 -4
  95. package/skills/htmx/evals/cases.yaml +2 -2
  96. package/skills/implement/SKILL.md +2 -2
  97. package/skills/init/SKILL.md +2 -2
  98. package/skills/init/evals/cases.yaml +2 -2
  99. package/skills/init/references/discovery.md +1 -1
  100. package/skills/init/references/recommend-skills.md +5 -5
  101. package/skills/java/SKILL.md +3 -3
  102. package/skills/java/evals/README.md +1 -1
  103. package/skills/java/evals/cases.yaml +2 -2
  104. package/skills/laravel/SKILL.md +3 -3
  105. package/skills/laravel/evals/README.md +1 -1
  106. package/skills/laravel/evals/cases.yaml +1 -1
  107. package/skills/marketing/evals/README.md +1 -1
  108. package/skills/marketing/evals/cases.yaml +1 -1
  109. package/skills/mongodb/SKILL.md +2 -2
  110. package/skills/mongodb/evals/README.md +1 -1
  111. package/skills/mongodb/evals/cases.yaml +2 -2
  112. package/skills/nextjs/SKILL.md +3 -3
  113. package/skills/nextjs/evals/cases.yaml +2 -2
  114. package/skills/nextjs/references/security.md +2 -2
  115. package/skills/notion-connector/SKILL.md +3 -3
  116. package/skills/notion-connector/evals/README.md +1 -1
  117. package/skills/notion-connector/evals/cases.yaml +2 -2
  118. package/skills/php/SKILL.md +4 -4
  119. package/skills/php/evals/README.md +1 -1
  120. package/skills/php/evals/cases.yaml +1 -1
  121. package/skills/plan/evals/README.md +1 -1
  122. package/skills/postgresdb/SKILL.md +1 -1
  123. package/skills/postgresdb/evals/README.md +1 -1
  124. package/skills/postgresdb/evals/cases.yaml +2 -2
  125. package/skills/presentations/evals/README.md +1 -1
  126. package/skills/python/SKILL.md +3 -3
  127. package/skills/python/evals/README.md +1 -1
  128. package/skills/python/evals/cases.yaml +2 -2
  129. package/skills/rag/scripts/verify.sh +1 -1
  130. package/skills/review/SKILL.md +2 -2
  131. package/skills/review/evals/cases.yaml +3 -3
  132. package/skills/ruby/SKILL.md +1 -1
  133. package/skills/rust/SKILL.md +2 -2
  134. package/skills/rust/evals/README.md +1 -1
  135. package/skills/rust/evals/cases.yaml +2 -2
  136. package/skills/security-audit/SKILL.md +186 -0
  137. package/skills/security-audit/evals/cases.yaml +95 -0
  138. package/skills/security-audit/references/auditor-safety.md +69 -0
  139. package/skills/security-audit/references/classes/README.md +225 -0
  140. package/skills/security-audit/references/classes/ai-and-llm.md +247 -0
  141. package/skills/security-audit/references/classes/client-side.md +181 -0
  142. package/skills/security-audit/references/classes/cloud-and-deployment.md +167 -0
  143. package/skills/security-audit/references/classes/data-isolation.md +161 -0
  144. package/skills/security-audit/references/classes/desktop-mobile-ipc.md +167 -0
  145. package/skills/security-audit/references/classes/memory-and-binary.md +230 -0
  146. package/skills/security-audit/references/classes/protocols-and-messaging.md +151 -0
  147. package/skills/security-audit/references/classes/resource-exhaustion.md +141 -0
  148. package/skills/security-audit/references/classes/supply-chain.md +147 -0
  149. package/skills/security-audit/references/classes/web-and-auth.md +238 -0
  150. package/skills/security-audit/references/coverage-ledger.md +172 -0
  151. package/skills/security-audit/references/fixes-by-stack.md +972 -0
  152. package/skills/security-audit/references/fixing.md +200 -0
  153. package/skills/security-audit/references/hunting.md +146 -0
  154. package/skills/security-audit/references/isolated-execution.md +85 -0
  155. package/skills/security-audit/references/platforms.md +650 -0
  156. package/skills/security-audit/references/reconnaissance.md +73 -0
  157. package/skills/security-audit/references/resuming.md +55 -0
  158. package/skills/security-audit/references/scanners.md +347 -0
  159. package/skills/{secure-coding → security-audit}/references/secrets-and-supply-chain.md +78 -34
  160. package/skills/security-audit/references/secrets-discipline.md +173 -0
  161. package/skills/{secure-coding → security-audit}/references/threat-modeling.md +80 -32
  162. package/skills/security-audit/references/verification.md +118 -0
  163. package/skills/security-audit/schema/findings.schema.json +178 -0
  164. package/skills/security-audit/scripts/render-report.mjs +311 -0
  165. package/skills/security-audit/scripts/validate-findings.mjs +508 -0
  166. package/skills/skill-scout/scripts/verify.sh +1 -1
  167. package/skills/source-grounded-development/evals/cases.yaml +1 -1
  168. package/skills/specify/evals/README.md +1 -1
  169. package/skills/spring-boot/SKILL.md +3 -3
  170. package/skills/spring-boot/evals/README.md +1 -1
  171. package/skills/spring-boot/evals/cases.yaml +1 -1
  172. package/skills/spring-boot/references/security.md +1 -1
  173. package/skills/stripe/SKILL.md +2 -2
  174. package/skills/suggest/evals/cases.yaml +2 -2
  175. package/skills/supabase/SKILL.md +1 -1
  176. package/skills/tauri/SKILL.md +2 -2
  177. package/skills/testing-go/SKILL.md +1 -1
  178. package/skills/typescript/SKILL.md +2 -2
  179. package/skills/verify/SKILL.md +3 -3
  180. package/skills/verify/evals/README.md +2 -2
  181. package/skills/verify/evals/cases.yaml +2 -2
  182. package/skills/vue-nuxt/SKILL.md +2 -2
  183. package/skills/webhooks/SKILL.md +2 -2
  184. package/skills/wordpress/SKILL.md +2 -2
  185. package/skills/wordpress/evals/README.md +1 -1
  186. package/skills/wordpress/evals/cases.yaml +1 -1
  187. package/skills/worktrees/evals/README.md +1 -1
  188. package/targets/claude.js +23 -1
  189. package/targets/clone-bootstrap.mjs +1 -1
  190. package/targets/commands.js +1 -1
  191. package/skills/secure-coding/SKILL.md +0 -336
  192. package/skills/secure-coding/evals/README.md +0 -68
  193. package/skills/secure-coding/evals/cases.yaml +0 -55
  194. package/skills/secure-coding/references/authn-authz.md +0 -249
  195. package/skills/secure-coding/references/owasp-by-stack.md +0 -574
  196. package/skills/secure-coding/scripts/verify.sh +0 -208
  197. package/skills/security-scan/SKILL.md +0 -219
  198. package/skills/security-scan/evals/README.md +0 -14
  199. package/skills/security-scan/evals/cases.yaml +0 -50
  200. package/skills/security-scan/references/tools.md +0 -97
  201. package/skills/security-scan/references/triage.md +0 -92
  202. package/skills/security-scan/scripts/verify.sh +0 -108
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  [![npm](https://img.shields.io/npm/v/@ericrisco/rsc?color=63d68a&labelColor=12161c&label=npm)](https://www.npmjs.com/package/@ericrisco/rsc)
10
10
  [![downloads](https://img.shields.io/npm/dm/@ericrisco/rsc?color=63d68a&labelColor=12161c&label=downloads)](https://www.npmjs.com/package/@ericrisco/rsc)
11
- [![skills](https://img.shields.io/badge/skills-274-63d68a?labelColor=12161c)](#the-catalog)
11
+ [![skills](https://img.shields.io/badge/skills-273-63d68a?labelColor=12161c)](#the-catalog)
12
12
  [![license](https://img.shields.io/badge/license-MIT-63d68a?labelColor=12161c)](LICENSE)
13
13
  [![stars](https://img.shields.io/github/stars/ericrisco/rsc-harness?color=63d68a&labelColor=12161c)](https://github.com/ericrisco/rsc-harness/stargazers)
14
14
 
@@ -71,7 +71,7 @@ The decisions your agent needs should have a place to live outside the chat.
71
71
  | --- | --- |
72
72
  | **Knowledge** | A local `02-DOCS/` wiki for project context, decisions and evidence. |
73
73
  | **Tools** | A `01-TOOLS/` convention for documenting real connections and their checks. |
74
- | **Skills** | A selection from 274 available skills, loaded progressively when relevant. |
74
+ | **Skills** | A selection from 273 available skills, loaded progressively when relevant. |
75
75
  | **Controls** | Working rules and provider-specific hooks, with explicit support limits. |
76
76
 
77
77
  The mechanism is practical: keep the decision, make it discoverable, and have the next task consult it.
@@ -508,7 +508,7 @@ price, customer testimonial, deadline or guarantee is needed to explain a useful
508
508
 
509
509
  ## The catalog
510
510
 
511
- 274 skills, grouped by what you are trying to do. Click any skill to read its `SKILL.md`. It fires on
511
+ 273 skills, grouped by what you are trying to do. Click any skill to read its `SKILL.md`. It fires on
512
512
  its own when a task matches.
513
513
 
514
514
  ### 🧭 Core & control plane
@@ -597,7 +597,7 @@ whether, what and which platform.
597
597
 
598
598
  ### 🔒 Ship & operate: quality & security
599
599
 
600
- [code-review](skills/code-review/) · [security-scan](skills/security-scan/) · [secure-coding](skills/secure-coding/) · [testing-py](skills/testing-py/) · [testing-web](skills/testing-web/) · [testing-go](skills/testing-go/) · [e2e-testing](skills/e2e-testing/) · [accessibility](skills/accessibility/) · [performance](skills/performance/) · [error-handling](skills/error-handling/) · [observability](skills/observability/)
600
+ [code-review](skills/code-review/) · [security-audit](skills/security-audit/) · [testing-py](skills/testing-py/) · [testing-web](skills/testing-web/) · [testing-go](skills/testing-go/) · [e2e-testing](skills/e2e-testing/) · [accessibility](skills/accessibility/) · [performance](skills/performance/) · [error-handling](skills/error-handling/) · [observability](skills/observability/)
601
601
 
602
602
  ### 🌀 Motion & interface craft
603
603
 
package/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "version": "4.0.4",
2
+ "version": "4.1.0",
3
3
  "counts": {
4
- "skills": 274,
4
+ "skills": 273,
5
5
  "agents": 34,
6
6
  "commands": 53,
7
7
  "fixedCommands": 20
@@ -101,7 +101,7 @@
101
101
  ],
102
102
  "recommends": [
103
103
  "building-agents",
104
- "secure-coding",
104
+ "security-audit",
105
105
  "agent-eval"
106
106
  ],
107
107
  "profiles": []
@@ -182,7 +182,7 @@
182
182
  "recommends": [
183
183
  "typescript",
184
184
  "testing-web",
185
- "secure-coding"
185
+ "security-audit"
186
186
  ],
187
187
  "profiles": []
188
188
  },
@@ -205,7 +205,7 @@
205
205
  "automation-flows",
206
206
  "api-design",
207
207
  "data-scraper",
208
- "secure-coding",
208
+ "security-audit",
209
209
  "error-handling",
210
210
  "structured-extraction"
211
211
  ],
@@ -213,7 +213,7 @@
213
213
  },
214
214
  {
215
215
  "id": "api-design",
216
- "description": "Use when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL, versioning, one RFC 9457 error envelope, pagination, idempotency — emitted as OpenAPI 3.1. NOT implementing the endpoints (that is `fastapi`/`nestjs`/`go`/`nodejs`), NOT auth hardening (that is `secure-coding`), NOT consuming a third-party API (that is `api-connector-builder`).",
216
+ "description": "Use when settling the contract of an API you expose, before implementation: resources/URLs, REST vs GraphQL, versioning, one RFC 9457 error envelope, pagination, idempotency — emitted as OpenAPI 3.1. NOT implementing the endpoints (that is `fastapi`/`nestjs`/`go`/`nodejs`), NOT auth hardening (that is `security-audit`), NOT consuming a third-party API (that is `api-connector-builder`).",
217
217
  "tags": [
218
218
  "api-design",
219
219
  "rest",
@@ -230,7 +230,7 @@
230
230
  "nestjs",
231
231
  "go",
232
232
  "nodejs",
233
- "secure-coding",
233
+ "security-audit",
234
234
  "webhooks",
235
235
  "api-connector-builder",
236
236
  "code-review"
@@ -372,7 +372,7 @@
372
372
  },
373
373
  {
374
374
  "id": "aws-essentials",
375
- "description": "Use when standing up the core AWS surface a small product needs: hardening a fresh account, a private S3 bucket, encrypted RDS Postgres, ECS Fargate vs EC2, CloudFront + OAC, or scoping an IAM policy to least privilege. NOT the CI pipeline that ships the container (that is `deployment`), NOT app-code access-control review (that is `secure-coding`).",
375
+ "description": "Use when standing up the core AWS surface a small product needs: hardening a fresh account, a private S3 bucket, encrypted RDS Postgres, ECS Fargate vs EC2, CloudFront + OAC, or scoping an IAM policy to least privilege. NOT the CI pipeline that ships the container (that is `deployment`), NOT app-code access-control review (that is `security-audit`).",
376
376
  "tags": [
377
377
  "aws",
378
378
  "cloud",
@@ -382,7 +382,7 @@
382
382
  ],
383
383
  "recommends": [
384
384
  "deployment",
385
- "secure-coding",
385
+ "security-audit",
386
386
  "dynamodb",
387
387
  "postgresdb"
388
388
  ],
@@ -400,7 +400,7 @@
400
400
  ],
401
401
  "recommends": [
402
402
  "postgresdb",
403
- "secure-coding",
403
+ "security-audit",
404
404
  "monitoring"
405
405
  ],
406
406
  "profiles": []
@@ -419,7 +419,7 @@
419
419
  "github-actions",
420
420
  "error-handling",
421
421
  "docker",
422
- "secure-coding"
422
+ "security-audit"
423
423
  ],
424
424
  "profiles": []
425
425
  },
@@ -495,7 +495,7 @@
495
495
  "ai"
496
496
  ],
497
497
  "recommends": [
498
- "secure-coding",
498
+ "security-audit",
499
499
  "deployment"
500
500
  ],
501
501
  "profiles": []
@@ -603,7 +603,7 @@
603
603
  "nextjs",
604
604
  "react",
605
605
  "gdpr-privacy",
606
- "secure-coding",
606
+ "security-audit",
607
607
  "vercel"
608
608
  ],
609
609
  "profiles": []
@@ -688,7 +688,7 @@
688
688
  "domains-dns",
689
689
  "postgresdb",
690
690
  "redis",
691
- "secure-coding"
691
+ "security-audit"
692
692
  ],
693
693
  "profiles": []
694
694
  },
@@ -703,7 +703,7 @@
703
703
  ],
704
704
  "recommends": [
705
705
  "review",
706
- "secure-coding",
706
+ "security-audit",
707
707
  "verify"
708
708
  ],
709
709
  "profiles": []
@@ -793,7 +793,7 @@
793
793
  },
794
794
  {
795
795
  "id": "compliance",
796
- "description": "Use when scoping which regulatory frameworks bind a business — SOC 2, ISO 27001, HIPAA, PCI DSS, EU AI Act, DORA, NIS2 — building a control register with owners and evidence, or standing up the cadence that keeps it audit-ready. NOT drafting privacy-policy/ROPA/DPA or ToS text (that is gdpr-privacy, terms-conditions), NOT hardening code (that is secure-coding).",
796
+ "description": "Use when scoping which regulatory frameworks bind a business — SOC 2, ISO 27001, HIPAA, PCI DSS, EU AI Act, DORA, NIS2 — building a control register with owners and evidence, or standing up the cadence that keeps it audit-ready. NOT drafting privacy-policy/ROPA/DPA or ToS text (that is gdpr-privacy, terms-conditions), NOT hardening code (that is security-audit).",
797
797
  "tags": [
798
798
  "compliance",
799
799
  "soc2",
@@ -807,7 +807,7 @@
807
807
  "terms-conditions",
808
808
  "data-policy",
809
809
  "contracts",
810
- "secure-coding"
810
+ "security-audit"
811
811
  ],
812
812
  "profiles": []
813
813
  },
@@ -1054,7 +1054,7 @@
1054
1054
  ],
1055
1055
  "recommends": [
1056
1056
  "rust",
1057
- "secure-coding",
1057
+ "security-audit",
1058
1058
  "deployment"
1059
1059
  ],
1060
1060
  "profiles": []
@@ -1071,7 +1071,7 @@
1071
1071
  ],
1072
1072
  "recommends": [
1073
1073
  "postgresdb",
1074
- "secure-coding",
1074
+ "security-audit",
1075
1075
  "deployment"
1076
1076
  ],
1077
1077
  "profiles": []
@@ -1183,7 +1183,7 @@
1183
1183
  "gdpr-privacy",
1184
1184
  "compliance",
1185
1185
  "contracts",
1186
- "secure-coding",
1186
+ "security-audit",
1187
1187
  "db-migrations",
1188
1188
  "postgresdb"
1189
1189
  ],
@@ -1259,7 +1259,7 @@
1259
1259
  "review",
1260
1260
  "code-review",
1261
1261
  "decision-records",
1262
- "security-scan"
1262
+ "security-audit"
1263
1263
  ],
1264
1264
  "profiles": [
1265
1265
  "core",
@@ -1326,7 +1326,7 @@
1326
1326
  "coolify"
1327
1327
  ],
1328
1328
  "recommends": [
1329
- "secure-coding"
1329
+ "security-audit"
1330
1330
  ],
1331
1331
  "profiles": []
1332
1332
  },
@@ -1414,7 +1414,7 @@
1414
1414
  ],
1415
1415
  "recommends": [
1416
1416
  "postgresdb",
1417
- "secure-coding",
1417
+ "security-audit",
1418
1418
  "deployment",
1419
1419
  "testing-py",
1420
1420
  "api-design"
@@ -1423,7 +1423,7 @@
1423
1423
  },
1424
1424
  {
1425
1425
  "id": "docker",
1426
- "description": "Use when authoring or auditing a Dockerfile, shrinking a bloated image, hardening a container that runs as root, picking a base image, or wiring a Compose dev loop with hot reload. NOT CI builds or deploy-to-host (that is `deployment`), NOT k8s autoscaling (that is `scaling`), NOT app-level injection or secrets-in-code (that is `secure-coding`).",
1426
+ "description": "Use when authoring or auditing a Dockerfile, shrinking a bloated image, hardening a container that runs as root, picking a base image, or wiring a Compose dev loop with hot reload. NOT CI builds or deploy-to-host (that is `deployment`), NOT k8s autoscaling (that is `scaling`), NOT app-level injection or secrets-in-code (that is `security-audit`).",
1427
1427
  "tags": [
1428
1428
  "docker",
1429
1429
  "containers",
@@ -1433,7 +1433,7 @@
1433
1433
  ],
1434
1434
  "recommends": [
1435
1435
  "deployment",
1436
- "secure-coding",
1436
+ "security-audit",
1437
1437
  "scaling",
1438
1438
  "github-actions"
1439
1439
  ],
@@ -1548,7 +1548,7 @@
1548
1548
  "vector-db",
1549
1549
  "aws-essentials",
1550
1550
  "deployment",
1551
- "secure-coding"
1551
+ "security-audit"
1552
1552
  ],
1553
1553
  "profiles": []
1554
1554
  },
@@ -1611,7 +1611,7 @@
1611
1611
  "react",
1612
1612
  "nodejs",
1613
1613
  "github-actions",
1614
- "secure-coding"
1614
+ "security-audit"
1615
1615
  ],
1616
1616
  "profiles": []
1617
1617
  },
@@ -1651,7 +1651,7 @@
1651
1651
  "email-deliverability",
1652
1652
  "newsletter",
1653
1653
  "webhooks",
1654
- "secure-coding",
1654
+ "security-audit",
1655
1655
  "api-connector-builder",
1656
1656
  "automation-flows"
1657
1657
  ],
@@ -1719,7 +1719,7 @@
1719
1719
  "observability",
1720
1720
  "monitoring",
1721
1721
  "api-design",
1722
- "secure-coding",
1722
+ "security-audit",
1723
1723
  "testing-web",
1724
1724
  "nextjs"
1725
1725
  ],
@@ -1741,7 +1741,7 @@
1741
1741
  "github-actions",
1742
1742
  "ship",
1743
1743
  "deployment",
1744
- "secure-coding"
1744
+ "security-audit"
1745
1745
  ],
1746
1746
  "profiles": []
1747
1747
  },
@@ -1801,7 +1801,7 @@
1801
1801
  ],
1802
1802
  "recommends": [
1803
1803
  "postgresdb",
1804
- "secure-coding",
1804
+ "security-audit",
1805
1805
  "deployment"
1806
1806
  ],
1807
1807
  "profiles": []
@@ -1886,7 +1886,7 @@
1886
1886
  "auth"
1887
1887
  ],
1888
1888
  "recommends": [
1889
- "secure-coding",
1889
+ "security-audit",
1890
1890
  "gcp-essentials",
1891
1891
  "nextjs"
1892
1892
  ],
@@ -2159,7 +2159,7 @@
2159
2159
  "aws-essentials",
2160
2160
  "docker",
2161
2161
  "github-actions",
2162
- "secure-coding",
2162
+ "security-audit",
2163
2163
  "postgresdb",
2164
2164
  "deployment",
2165
2165
  "monitoring",
@@ -2189,7 +2189,7 @@
2189
2189
  "terms-conditions",
2190
2190
  "contracts",
2191
2191
  "compliance",
2192
- "secure-coding",
2192
+ "security-audit",
2193
2193
  "email-deliverability"
2194
2194
  ],
2195
2195
  "profiles": []
@@ -2228,7 +2228,7 @@
2228
2228
  "git-workflow",
2229
2229
  "ship",
2230
2230
  "deployment",
2231
- "secure-coding",
2231
+ "security-audit",
2232
2232
  "aws-essentials",
2233
2233
  "vercel"
2234
2234
  ],
@@ -2236,7 +2236,7 @@
2236
2236
  },
2237
2237
  {
2238
2238
  "id": "go",
2239
- "description": "Use when writing, reviewing, testing, or shipping Go code and HTTP services: idioms, `%w` error wrapping, goroutine/context/errgroup concurrency, net/http 1.22 routing, log/slog, project layout, table-driven tests, Go hardening. NOT language-agnostic threat modeling (that is `secure-coding`), NOT Dockerfile/CI shipping (that is `deployment`).",
2239
+ "description": "Use when writing, reviewing, testing, or shipping Go code and HTTP services: idioms, `%w` error wrapping, goroutine/context/errgroup concurrency, net/http 1.22 routing, log/slog, project layout, table-driven tests, Go hardening. NOT language-agnostic threat modeling (that is `security-audit`), NOT Dockerfile/CI shipping (that is `deployment`).",
2240
2240
  "tags": [
2241
2241
  "go",
2242
2242
  "golang",
@@ -2246,7 +2246,7 @@
2246
2246
  ],
2247
2247
  "recommends": [
2248
2248
  "postgresdb",
2249
- "secure-coding",
2249
+ "security-audit",
2250
2250
  "deployment"
2251
2251
  ],
2252
2252
  "profiles": []
@@ -2293,7 +2293,7 @@
2293
2293
  "spreadsheet-ops",
2294
2294
  "document-processing",
2295
2295
  "automation-flows",
2296
- "secure-coding",
2296
+ "security-audit",
2297
2297
  "webhooks"
2298
2298
  ],
2299
2299
  "profiles": []
@@ -2356,7 +2356,7 @@
2356
2356
  "recommends": [
2357
2357
  "coolify",
2358
2358
  "docker",
2359
- "secure-coding",
2359
+ "security-audit",
2360
2360
  "domains-dns",
2361
2361
  "backups",
2362
2362
  "monitoring"
@@ -2397,7 +2397,7 @@
2397
2397
  "recommends": [
2398
2398
  "fastapi",
2399
2399
  "django",
2400
- "secure-coding",
2400
+ "security-audit",
2401
2401
  "accessibility"
2402
2402
  ],
2403
2403
  "profiles": []
@@ -2606,7 +2606,7 @@
2606
2606
  ],
2607
2607
  "recommends": [
2608
2608
  "spring-boot",
2609
- "secure-coding",
2609
+ "security-audit",
2610
2610
  "deployment"
2611
2611
  ],
2612
2612
  "profiles": []
@@ -2719,7 +2719,7 @@
2719
2719
  "mysql",
2720
2720
  "redis",
2721
2721
  "api-design",
2722
- "secure-coding",
2722
+ "security-audit",
2723
2723
  "testing-web"
2724
2724
  ],
2725
2725
  "profiles": []
@@ -3121,7 +3121,7 @@
3121
3121
  "indexing"
3122
3122
  ],
3123
3123
  "recommends": [
3124
- "secure-coding",
3124
+ "security-audit",
3125
3125
  "harness"
3126
3126
  ],
3127
3127
  "profiles": []
@@ -3282,7 +3282,7 @@
3282
3282
  ],
3283
3283
  "recommends": [
3284
3284
  "design",
3285
- "secure-coding",
3285
+ "security-audit",
3286
3286
  "deployment"
3287
3287
  ],
3288
3288
  "profiles": []
@@ -3367,7 +3367,7 @@
3367
3367
  "webhooks",
3368
3368
  "automation-flows",
3369
3369
  "spreadsheet-ops",
3370
- "secure-coding"
3370
+ "security-audit"
3371
3371
  ],
3372
3372
  "profiles": []
3373
3373
  },
@@ -3564,7 +3564,7 @@
3564
3564
  ],
3565
3565
  "recommends": [
3566
3566
  "laravel",
3567
- "secure-coding",
3567
+ "security-audit",
3568
3568
  "mysql"
3569
3569
  ],
3570
3570
  "profiles": []
@@ -3653,7 +3653,7 @@
3653
3653
  "migrations"
3654
3654
  ],
3655
3655
  "recommends": [
3656
- "secure-coding"
3656
+ "security-audit"
3657
3657
  ],
3658
3658
  "profiles": []
3659
3659
  },
@@ -3855,7 +3855,7 @@
3855
3855
  ],
3856
3856
  "recommends": [
3857
3857
  "fastapi",
3858
- "secure-coding",
3858
+ "security-audit",
3859
3859
  "deployment"
3860
3860
  ],
3861
3861
  "profiles": []
@@ -4227,7 +4227,7 @@
4227
4227
  "recommends": [
4228
4228
  "rails",
4229
4229
  "testing-web",
4230
- "secure-coding"
4230
+ "security-audit"
4231
4231
  ],
4232
4232
  "profiles": []
4233
4233
  },
@@ -4269,7 +4269,7 @@
4269
4269
  "recommends": [
4270
4270
  "go",
4271
4271
  "postgresdb",
4272
- "secure-coding",
4272
+ "security-audit",
4273
4273
  "deployment"
4274
4274
  ],
4275
4275
  "profiles": []
@@ -4387,37 +4387,31 @@
4387
4387
  ]
4388
4388
  },
4389
4389
  {
4390
- "id": "secure-coding",
4391
- "description": "Use when securing application code: threat-modeling a feature, security-reviewing a diff, hardening auth/authz, secrets, CORS/CSP, or fixing OWASP-class bugs (access control, injection, SSRF, supply chain) in FastAPI, Next.js, Go or Flutter. NOT running the scanners (that is security-scan), NOT agent prompt-injection guardrails (that is agent-safety).",
4390
+ "id": "security-audit",
4391
+ "description": "Use when asking if a project, diff or feature is secure: security audit or review, vulnerabilities, injection (SQL, XSS), broken access control, auth and JWT, CORS, SSRF, uploads, rate limits, encryption, secrets and API keys (store, rotate, leaked in git), CVE and dependency scans, CI supply chain, threat models, OWASP fixes. Audits the code and its platforms (GitHub, Vercel, Postgres, Hetzner servers…) read-only with check scripts, fixes what the user approves, re-checks, reports in HTML. NOT agent guardrails (that is agent-safety).",
4392
4392
  "tags": [
4393
4393
  "security",
4394
+ "audit",
4394
4395
  "owasp",
4395
- "stride",
4396
- "auth",
4397
- "review"
4398
- ],
4399
- "recommends": [
4400
- "deployment"
4401
- ],
4402
- "profiles": []
4403
- },
4404
- {
4405
- "id": "security-scan",
4406
- "description": "Use when automated scanners drive a security sweep of a repo or app — SAST, dependency/lockfile CVEs, secrets in the tree or git history, IaC misconfig — and the raw output has to become one deduped, exploitability-ranked report CI can gate on. NOT threat-modeling, OWASP design reasoning, or hand-authoring the fix (that is `secure-coding`).",
4407
- "tags": [
4408
- "security",
4396
+ "threat-model",
4397
+ "platforms",
4409
4398
  "sast",
4410
- "sca",
4411
4399
  "secrets",
4412
4400
  "scanning",
4413
- "owasp"
4401
+ "review",
4402
+ "hardening"
4414
4403
  ],
4415
4404
  "recommends": [
4416
- "secure-coding",
4417
- "github-actions",
4418
- "verify"
4405
+ "agent-safety",
4406
+ "connect-tool",
4407
+ "deployment",
4408
+ "github-actions"
4419
4409
  ],
4420
- "profiles": []
4410
+ "profiles": [
4411
+ "minimal",
4412
+ "core",
4413
+ "full"
4414
+ ]
4421
4415
  },
4422
4416
  {
4423
4417
  "id": "seo-geo",
@@ -4749,7 +4743,7 @@
4749
4743
  "recommends": [
4750
4744
  "java",
4751
4745
  "postgresdb",
4752
- "secure-coding",
4746
+ "security-audit",
4753
4747
  "deployment"
4754
4748
  ],
4755
4749
  "profiles": []
@@ -4810,7 +4804,7 @@
4810
4804
  "webhooks",
4811
4805
  "invoicing",
4812
4806
  "pricing",
4813
- "secure-coding",
4807
+ "security-audit",
4814
4808
  "nodejs"
4815
4809
  ],
4816
4810
  "profiles": []
@@ -4870,7 +4864,7 @@
4870
4864
  "postgresdb",
4871
4865
  "nextjs",
4872
4866
  "db-migrations",
4873
- "secure-coding",
4867
+ "security-audit",
4874
4868
  "drizzle-orm"
4875
4869
  ],
4876
4870
  "profiles": []
@@ -4950,7 +4944,7 @@
4950
4944
  "rust",
4951
4945
  "electron",
4952
4946
  "react",
4953
- "secure-coding",
4947
+ "security-audit",
4954
4948
  "github-actions"
4955
4949
  ],
4956
4950
  "profiles": []
@@ -5014,7 +5008,7 @@
5014
5008
  ],
5015
5009
  "recommends": [
5016
5010
  "go",
5017
- "secure-coding",
5011
+ "security-audit",
5018
5012
  "testing-py",
5019
5013
  "e2e-testing"
5020
5014
  ],
@@ -5199,7 +5193,7 @@
5199
5193
  ],
5200
5194
  "recommends": [
5201
5195
  "nodejs",
5202
- "secure-coding",
5196
+ "security-audit",
5203
5197
  "drizzle-orm"
5204
5198
  ],
5205
5199
  "profiles": []
@@ -5533,7 +5527,7 @@
5533
5527
  "recommends": [
5534
5528
  "design",
5535
5529
  "deployment",
5536
- "secure-coding"
5530
+ "security-audit"
5537
5531
  ],
5538
5532
  "profiles": []
5539
5533
  },
@@ -5555,7 +5549,7 @@
5555
5549
  "api-connector-builder",
5556
5550
  "automation-flows",
5557
5551
  "redis",
5558
- "secure-coding"
5552
+ "security-audit"
5559
5553
  ],
5560
5554
  "profiles": []
5561
5555
  },
@@ -5616,7 +5610,7 @@
5616
5610
  ],
5617
5611
  "recommends": [
5618
5612
  "php",
5619
- "secure-coding",
5613
+ "security-audit",
5620
5614
  "performance",
5621
5615
  "mysql",
5622
5616
  "shopify"
@@ -6451,10 +6445,10 @@
6451
6445
  "backing": "memory:save"
6452
6446
  },
6453
6447
  {
6454
- "id": "security-scan",
6455
- "description": "Run the security-scan skill through a short, non-duplicating entry point.",
6448
+ "id": "security-audit",
6449
+ "description": "Run the security-audit skill through a short, non-duplicating entry point.",
6456
6450
  "kind": "skill",
6457
- "backing": "security-scan"
6451
+ "backing": "security-audit"
6458
6452
  },
6459
6453
  {
6460
6454
  "id": "ship",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ericrisco/rsc",
3
- "version": "4.0.4",
3
+ "version": "4.1.0",
4
4
  "description": "A guided harness builder that turns your goal into a minimal, verified AI-agent setup using strict best practices.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,7 +26,11 @@
26
26
  // `tidy` joined in 3.8.0: "limpia el harness" / "actualiza todo" — every repo on its default branch,
27
27
  // pushed, pulled, no landed branch or worktree left. Leftovers pile up in every workspace, not only in
28
28
  // the ones that picked a profile with git skills, and the person asks for it in their own words.
29
- export const DEFAULT_SKILL_FLOOR = Object.freeze(['orient', 'suggest', 'unslop', 'ftd', 'connect-tool', 'design', 'ux', 'tidy']);
29
+ //
30
+ // `security-audit` joined in the next release, in place of the two security skills it retired (see
31
+ // retired-skills.js): it audits the code and the project's platforms, and a security audit request
32
+ // must work in any project the first time it is asked. Only its description is paid for on other turns.
33
+ export const DEFAULT_SKILL_FLOOR = Object.freeze(['orient', 'suggest', 'unslop', 'ftd', 'connect-tool', 'design', 'ux', 'tidy', 'security-audit']);
30
34
 
31
35
  export function withDefaultSkillFloor(skillIds = []) {
32
36
  return [...new Set([...DEFAULT_SKILL_FLOOR, ...skillIds])];
@@ -23,7 +23,7 @@ export const DOMAINS = [
23
23
  { title: 'Databases & data layer', ids: ['postgresdb', 'mysql', 'mongodb', 'redis', 'supabase', 'neon', 'planetscale', 'sqlite-turso', 'prisma-orm', 'drizzle-orm', 'firebase', 'dynamodb', 'vector-db', 'clickhouse-analytics', 'duckdb', 'db-migrations', 'backups'] },
24
24
  { title: 'Ship & operate — platforms', ids: ['vercel', 'netlify', 'cloudflare', 'railway', 'render', 'fly-io', 'coolify', 'hetzner', 'digitalocean', 'aws-essentials', 'gcp-essentials'] },
25
25
  { title: 'Ship & operate — devops', ids: ['docker', 'github-actions', 'git-workflow', 'domains-dns', 'monitoring', 'email-deliverability', 'scaling', 'deployment', 'deprecation'] },
26
- { title: 'Ship & operate — quality & security', ids: ['code-review', 'security-scan', 'secure-coding', 'testing-py', 'testing-web', 'testing-go', 'e2e-testing', 'accessibility', 'performance', 'error-handling', 'observability'] },
26
+ { title: 'Ship & operate — quality & security', ids: ['code-review', 'security-audit', 'testing-py', 'testing-web', 'testing-go', 'e2e-testing', 'accessibility', 'performance', 'error-handling', 'observability'] },
27
27
  { title: 'Motion & interface craft', ids: ['variant-explorer', 'scroll-film'] },
28
28
  { title: 'Design & content craft', ids: ['design', 'ux', 'presentations', 'course-storytelling', 'course-builder', 'technical-writing', 'translation-l10n'] },
29
29
  { title: 'Knowledge & meta', ids: ['knowledge-ops', 'codebase-onboarding', 'research-ops', 'decision-records', 'continuous-learning', 'skill-scout', 'context-budget', 'roast-me', 'fable-operator'] },
@@ -19,7 +19,7 @@ const OUTCOMES = {
19
19
  presentations: 'On-brand presentations',
20
20
  'course-storytelling': 'Teach so it actually lands',
21
21
  'building-agents': 'Your own AI agent',
22
- 'secure-coding': 'Make it secure',
22
+ 'security-audit': 'Make it secure',
23
23
  deployment: 'Put it online',
24
24
  godot: 'Your game (Godot)',
25
25
  unity: 'Your game (Unity)',
@@ -17,11 +17,15 @@
17
17
  //
18
18
  // `sdd` became `asdd` in 4.0.0 (spec asdd-v4): the same phases, with the review moved inside each
19
19
  // task of `implement` and scaled by `rsc risk`. Artifacts stay under 02-DOCS/wiki/sdd/.
20
+ //
21
+ // `secure-coding` and `security-scan` folded into `security-audit` in the next release: one skill
22
+ // audits the code and the platforms the project runs on, and joins the default floor.
20
23
  export const RETIRED_SKILLS = Object.freeze({
21
24
  eli5: 'orient', 'show-me': 'orient', bro: 'unslop',
22
25
  'design-loop': 'design', 'design-dna': 'design', 'motion-craft': 'design',
23
26
  'ui-engineering': 'ux',
24
27
  sdd: 'asdd',
28
+ 'secure-coding': 'security-audit', 'security-scan': 'security-audit',
25
29
  });
26
30
 
27
31
  const retiredTo = (id) => (Object.hasOwn(RETIRED_SKILLS, id) ? RETIRED_SKILLS[id] : id);