@ericrisco/rsc 4.0.5 → 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 (200) 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/automation-strategy/SKILL.md +1 -1
  21. package/skills/automation-strategy/evals/README.md +1 -1
  22. package/skills/automation-strategy/evals/cases.yaml +2 -2
  23. package/skills/automation-strategy/references/orchestration-and-antipatterns.md +1 -1
  24. package/skills/aws-essentials/SKILL.md +3 -3
  25. package/skills/aws-essentials/evals/cases.yaml +2 -2
  26. package/skills/backups/SKILL.md +2 -2
  27. package/skills/backups/evals/cases.yaml +2 -2
  28. package/skills/bash-scripting/SKILL.md +1 -1
  29. package/skills/building-agents/SKILL.md +2 -2
  30. package/skills/building-agents/evals/cases.yaml +2 -2
  31. package/skills/chrome-extension/SKILL.md +1 -1
  32. package/skills/cloudflare/SKILL.md +1 -1
  33. package/skills/code-review/SKILL.md +2 -2
  34. package/skills/code-review/evals/cases.yaml +2 -2
  35. package/skills/compliance/SKILL.md +3 -3
  36. package/skills/compliance/evals/cases.yaml +1 -1
  37. package/skills/constitution/SKILL.md +2 -2
  38. package/skills/constitution/evals/README.md +2 -2
  39. package/skills/constitution/evals/cases.yaml +2 -2
  40. package/skills/constitution/references/constitution-template.md +1 -1
  41. package/skills/cpp/SKILL.md +2 -2
  42. package/skills/cpp/evals/README.md +1 -1
  43. package/skills/cpp/evals/cases.yaml +2 -2
  44. package/skills/csharp-dotnet/SKILL.md +3 -3
  45. package/skills/csharp-dotnet/evals/cases.yaml +1 -1
  46. package/skills/csharp-dotnet/references/aspnetcore.md +1 -1
  47. package/skills/data-policy/SKILL.md +2 -2
  48. package/skills/data-policy/evals/README.md +1 -1
  49. package/skills/data-policy/evals/cases.yaml +1 -1
  50. package/skills/debug/SKILL.md +1 -1
  51. package/skills/debug/evals/README.md +1 -1
  52. package/skills/decision-challenge/SKILL.md +2 -2
  53. package/skills/decision-challenge/evals/cases.yaml +1 -1
  54. package/skills/deployment/SKILL.md +2 -2
  55. package/skills/deployment/evals/README.md +1 -1
  56. package/skills/deployment/evals/cases.yaml +2 -2
  57. package/skills/django/SKILL.md +2 -2
  58. package/skills/django/evals/README.md +1 -1
  59. package/skills/django/evals/cases.yaml +1 -1
  60. package/skills/django/references/security.md +1 -1
  61. package/skills/docker/SKILL.md +3 -3
  62. package/skills/docker/evals/cases.yaml +1 -1
  63. package/skills/dynamodb/SKILL.md +2 -2
  64. package/skills/electron/SKILL.md +1 -1
  65. package/skills/electron/references/packaging-and-updates.md +1 -1
  66. package/skills/email-connector/SKILL.md +2 -2
  67. package/skills/email-deliverability/SKILL.md +1 -1
  68. package/skills/error-handling/SKILL.md +1 -1
  69. package/skills/expo/SKILL.md +2 -2
  70. package/skills/fastapi/SKILL.md +4 -4
  71. package/skills/fastapi/evals/README.md +2 -2
  72. package/skills/fastapi/evals/cases.yaml +2 -2
  73. package/skills/fastapi/references/security.md +2 -2
  74. package/skills/firebase/SKILL.md +1 -1
  75. package/skills/flutter/SKILL.md +1 -1
  76. package/skills/flutter/evals/cases.yaml +2 -2
  77. package/skills/fly-io/SKILL.md +1 -1
  78. package/skills/gamedev-multiplayer/SKILL.md +1 -1
  79. package/skills/gamedev-multiplayer/evals/README.md +1 -1
  80. package/skills/gamedev-multiplayer/evals/cases.yaml +2 -2
  81. package/skills/gamedev-shipping/SKILL.md +1 -1
  82. package/skills/gcp-essentials/SKILL.md +2 -2
  83. package/skills/gcp-essentials/evals/README.md +1 -1
  84. package/skills/gcp-essentials/evals/cases.yaml +2 -2
  85. package/skills/gdpr-privacy/SKILL.md +2 -2
  86. package/skills/gdpr-privacy/evals/cases.yaml +1 -1
  87. package/skills/github-actions/SKILL.md +2 -2
  88. package/skills/go/SKILL.md +4 -4
  89. package/skills/go/evals/README.md +1 -1
  90. package/skills/go/evals/cases.yaml +2 -2
  91. package/skills/google-workspace/SKILL.md +2 -2
  92. package/skills/hetzner/SKILL.md +1 -1
  93. package/skills/htmx/SKILL.md +4 -4
  94. package/skills/htmx/evals/cases.yaml +2 -2
  95. package/skills/implement/SKILL.md +1 -1
  96. package/skills/init/SKILL.md +2 -2
  97. package/skills/init/evals/cases.yaml +2 -2
  98. package/skills/init/references/discovery.md +1 -1
  99. package/skills/init/references/recommend-skills.md +5 -5
  100. package/skills/java/SKILL.md +3 -3
  101. package/skills/java/evals/README.md +1 -1
  102. package/skills/java/evals/cases.yaml +2 -2
  103. package/skills/laravel/SKILL.md +3 -3
  104. package/skills/laravel/evals/README.md +1 -1
  105. package/skills/laravel/evals/cases.yaml +1 -1
  106. package/skills/marketing/evals/README.md +1 -1
  107. package/skills/marketing/evals/cases.yaml +1 -1
  108. package/skills/mongodb/SKILL.md +2 -2
  109. package/skills/mongodb/evals/README.md +1 -1
  110. package/skills/mongodb/evals/cases.yaml +2 -2
  111. package/skills/nextjs/SKILL.md +3 -3
  112. package/skills/nextjs/evals/cases.yaml +2 -2
  113. package/skills/nextjs/references/security.md +2 -2
  114. package/skills/notion-connector/SKILL.md +3 -3
  115. package/skills/notion-connector/evals/README.md +1 -1
  116. package/skills/notion-connector/evals/cases.yaml +2 -2
  117. package/skills/php/SKILL.md +4 -4
  118. package/skills/php/evals/README.md +1 -1
  119. package/skills/php/evals/cases.yaml +1 -1
  120. package/skills/plan/evals/README.md +1 -1
  121. package/skills/postgresdb/SKILL.md +1 -1
  122. package/skills/postgresdb/evals/README.md +1 -1
  123. package/skills/postgresdb/evals/cases.yaml +2 -2
  124. package/skills/presentations/evals/README.md +1 -1
  125. package/skills/python/SKILL.md +3 -3
  126. package/skills/python/evals/README.md +1 -1
  127. package/skills/python/evals/cases.yaml +2 -2
  128. package/skills/rag/scripts/verify.sh +1 -1
  129. package/skills/review/SKILL.md +2 -2
  130. package/skills/review/evals/cases.yaml +3 -3
  131. package/skills/ruby/SKILL.md +1 -1
  132. package/skills/rust/SKILL.md +2 -2
  133. package/skills/rust/evals/README.md +1 -1
  134. package/skills/rust/evals/cases.yaml +2 -2
  135. package/skills/security-audit/SKILL.md +186 -0
  136. package/skills/security-audit/evals/cases.yaml +95 -0
  137. package/skills/security-audit/references/auditor-safety.md +69 -0
  138. package/skills/security-audit/references/classes/README.md +225 -0
  139. package/skills/security-audit/references/classes/ai-and-llm.md +247 -0
  140. package/skills/security-audit/references/classes/client-side.md +181 -0
  141. package/skills/security-audit/references/classes/cloud-and-deployment.md +167 -0
  142. package/skills/security-audit/references/classes/data-isolation.md +161 -0
  143. package/skills/security-audit/references/classes/desktop-mobile-ipc.md +167 -0
  144. package/skills/security-audit/references/classes/memory-and-binary.md +230 -0
  145. package/skills/security-audit/references/classes/protocols-and-messaging.md +151 -0
  146. package/skills/security-audit/references/classes/resource-exhaustion.md +141 -0
  147. package/skills/security-audit/references/classes/supply-chain.md +147 -0
  148. package/skills/security-audit/references/classes/web-and-auth.md +238 -0
  149. package/skills/security-audit/references/coverage-ledger.md +172 -0
  150. package/skills/security-audit/references/fixes-by-stack.md +972 -0
  151. package/skills/security-audit/references/fixing.md +200 -0
  152. package/skills/security-audit/references/hunting.md +146 -0
  153. package/skills/security-audit/references/isolated-execution.md +85 -0
  154. package/skills/security-audit/references/platforms.md +650 -0
  155. package/skills/security-audit/references/reconnaissance.md +73 -0
  156. package/skills/security-audit/references/resuming.md +55 -0
  157. package/skills/security-audit/references/scanners.md +347 -0
  158. package/skills/{secure-coding → security-audit}/references/secrets-and-supply-chain.md +78 -34
  159. package/skills/security-audit/references/secrets-discipline.md +173 -0
  160. package/skills/{secure-coding → security-audit}/references/threat-modeling.md +80 -32
  161. package/skills/security-audit/references/verification.md +118 -0
  162. package/skills/security-audit/schema/findings.schema.json +178 -0
  163. package/skills/security-audit/scripts/render-report.mjs +311 -0
  164. package/skills/security-audit/scripts/validate-findings.mjs +508 -0
  165. package/skills/skill-scout/scripts/verify.sh +1 -1
  166. package/skills/source-grounded-development/evals/cases.yaml +1 -1
  167. package/skills/specify/evals/README.md +1 -1
  168. package/skills/spring-boot/SKILL.md +3 -3
  169. package/skills/spring-boot/evals/README.md +1 -1
  170. package/skills/spring-boot/evals/cases.yaml +1 -1
  171. package/skills/spring-boot/references/security.md +1 -1
  172. package/skills/stripe/SKILL.md +2 -2
  173. package/skills/suggest/evals/cases.yaml +2 -2
  174. package/skills/supabase/SKILL.md +1 -1
  175. package/skills/tauri/SKILL.md +2 -2
  176. package/skills/testing-go/SKILL.md +1 -1
  177. package/skills/typescript/SKILL.md +2 -2
  178. package/skills/verify/SKILL.md +3 -3
  179. package/skills/verify/evals/README.md +2 -2
  180. package/skills/verify/evals/cases.yaml +2 -2
  181. package/skills/vue-nuxt/SKILL.md +2 -2
  182. package/skills/webhooks/SKILL.md +2 -2
  183. package/skills/wordpress/SKILL.md +2 -2
  184. package/skills/wordpress/evals/README.md +1 -1
  185. package/skills/wordpress/evals/cases.yaml +1 -1
  186. package/skills/worktrees/evals/README.md +1 -1
  187. package/targets/clone-bootstrap.mjs +1 -1
  188. package/targets/commands.js +1 -1
  189. package/skills/secure-coding/SKILL.md +0 -336
  190. package/skills/secure-coding/evals/README.md +0 -68
  191. package/skills/secure-coding/evals/cases.yaml +0 -55
  192. package/skills/secure-coding/references/authn-authz.md +0 -249
  193. package/skills/secure-coding/references/owasp-by-stack.md +0 -574
  194. package/skills/secure-coding/scripts/verify.sh +0 -208
  195. package/skills/security-scan/SKILL.md +0 -219
  196. package/skills/security-scan/evals/README.md +0 -14
  197. package/skills/security-scan/evals/cases.yaml +0 -50
  198. package/skills/security-scan/references/tools.md +0 -97
  199. package/skills/security-scan/references/triage.md +0 -92
  200. package/skills/security-scan/scripts/verify.sh +0 -108
@@ -2,7 +2,7 @@
2
2
  name: htmx
3
3
  description: "Use when adding interactivity to a server-rendered app (FastAPI/Jinja, Django, Rails, Laravel, Go templates, Express) without adopting a JS framework — hx-get/post/put/delete with hx-target, hx-swap and hx-trigger, returning HTML fragments instead of JSON, out-of-band swaps, active search, infinite scroll, inline edit and polling. NOT a client-state SPA with routing and a store (that is `react` or `nextjs`)."
4
4
  tags: [htmx, hypermedia, frontend, server-rendered, html]
5
- recommends: [fastapi, django, secure-coding, accessibility]
5
+ recommends: [fastapi, django, security-audit, accessibility]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -49,7 +49,7 @@ yet. Pin to 2.x:
49
49
  - How to structure the server framework itself (routers, ORM, controllers) → ../fastapi/SKILL.md,
50
50
  `django`, `rails`, `laravel`. This skill owns the *htmx contract* (which fragment, which
51
51
  header, which swap), not framework internals. Cross-link, do not duplicate.
52
- - Generic XSS/CSP/auth theory → ../secure-coding/SKILL.md. Keep only the htmx-specific notes here.
52
+ - Generic XSS/CSP/auth theory → ../security-audit/SKILL.md. Keep only the htmx-specific notes here.
53
53
  - Focus management and ARIA live regions after a swap → `accessibility`.
54
54
  - Browser E2E of swaps → `testing-web` / `e2e-testing`.
55
55
  - Purely-client state (Alpine, vanilla sprinkles) → out of scope; htmx is for server round-trips.
@@ -195,7 +195,7 @@ Request headers htmx sends (read these server-side): `HX-Request`, `HX-Target`,
195
195
  ## Security (htmx-specific only)
196
196
 
197
197
  htmx makes HTML more expressive, so **injected HTML is an XSS surface**. The htmx-specific rules
198
- (generic theory lives in ../secure-coding/SKILL.md):
198
+ (generic theory lives in ../security-audit/SKILL.md):
199
199
 
200
200
  - **Keep your template engine's auto-escaping on.** Never `| safe` / `|safe` user-controlled
201
201
  content. Manually rendering raw user HTML re-introduces XSS that escaping had closed.
@@ -255,7 +255,7 @@ Modifiers worth knowing: `throttle:<time>`, `queue:first|last|all|none`, `from:<
255
255
  ## See also
256
256
 
257
257
  - ../fastapi/SKILL.md — FastAPI routes/templates that serve these fragments.
258
- - ../secure-coding/SKILL.md — the general XSS/CSP/auth theory this skill defers to.
258
+ - ../security-audit/SKILL.md — the general XSS/CSP/auth theory this skill defers to.
259
259
  - ../nextjs/SKILL.md — when the requirement really is a React/SPA app, not hypermedia.
260
260
  - `django`, `rails`, `laravel` — other server frameworks (the htmx contract is identical).
261
261
  - `accessibility` — focus and ARIA after a DOM swap.
@@ -20,8 +20,8 @@ should_not_trigger:
20
20
  route_to: "fastapi"
21
21
  why: "Server framework internals are separate from htmx fragment contracts."
22
22
  - prompt: "Audit generic XSS and CSP for this app."
23
- route_to: "secure-coding"
24
- why: "Generic security review belongs to secure-coding."
23
+ route_to: "security-audit"
24
+ why: "Generic security review belongs to security-audit."
25
25
  - prompt: "Write browser E2E tests for this flow."
26
26
  route_to: "testing-web"
27
27
  why: "Test mechanics belong to testing skills; htmx defines the interaction contract."
@@ -141,7 +141,7 @@ These are `verify`'s per-task mode (`../verify/SKILL.md`):
141
141
 
142
142
  - **Tests** — the affected suite, not just the new test (`testing.commands.apply`).
143
143
  - **Build** — the project compiles and type-checks.
144
- - **Security** — the stack's audit; `../secure-coding/SKILL.md` when input, authz or secrets are touched.
144
+ - **Security** — the stack's audit; `../security-audit/SKILL.md` when input, authz or secrets are touched.
145
145
  - **Traceability** — every new behaviour in the diff traces to a spec acceptance criterion.
146
146
  **Untraced behaviour is a finding.** This is the control that catches the unrequested feature: a
147
147
  QR nobody asked for passes every test.
@@ -126,7 +126,7 @@ command over for another tab. Never install without the confirm; it changes thei
126
126
  | Software frontend | `nextjs` / `flutter`, `design` |
127
127
  | Marketing / landing / decks / teaching | `marketing`, `presentations`, `course-storytelling` |
128
128
  | AI agents | `building-agents` |
129
- | Shipping, security, wiring external tools | `secure-coding`, `deployment` |
129
+ | Shipping, security, wiring external tools | `security-audit`, `deployment` |
130
130
 
131
131
  Show the shortlist with a one-line *why* per skill in their language, confirm, install. Recommend
132
132
  only what discovery justified — no "you'll probably want agents too".
@@ -198,7 +198,7 @@ never fails).
198
198
 
199
199
  - `harness` — the scaffolder this hands off to; builds `01-TOOLS/` + `02-DOCS/` from the profile.
200
200
  - `deployment` — invoked when the deploy decision above is actually made.
201
- - `secure-coding` — recommended whenever software is being shipped.
201
+ - `security-audit` — recommended whenever software is being shipped.
202
202
  - Stack skills (`fastapi`, `go`, `nextjs`, `flutter`, `building-agents`…) are recommended at runtime
203
203
  by Phase 3 from discovery, never hardwired here.
204
204
  - References: `references/accompaniment-and-profile.md`, `references/discovery.md`,
@@ -50,8 +50,8 @@ should_not_trigger:
50
50
  why: "Concrete frontend build with a named framework — the nextjs stack skill. init would only ever recommend the nextjs skill, not scaffold the app itself."
51
51
 
52
52
  - prompt: "Review this auth code for security issues like injection and broken access control."
53
- route_to: "secure-coding"
54
- why: "A security-only review of existing code, no bootstrapping or profiling involved — squarely the secure-coding skill, not the front-door init."
53
+ route_to: "security-audit"
54
+ why: "A security-only review of existing code, no bootstrapping or profiling involved — squarely the security-audit skill, not the front-door init."
55
55
 
56
56
  capability:
57
57
  - scenario: "A non-technical founder says: 'I want to build an app to connect dog owners but I don't know where to start.' Show how init opens the engagement."
@@ -39,7 +39,7 @@ Ask in short batches, only what changes the plan.
39
39
  - A **web or mobile UI** → `nextjs` or `flutter`, `design`.
40
40
  - **AI agents** (tools, RAG, autonomous loops) → `building-agents`.
41
41
  - **Marketing / landing / decks / teaching** around it → `marketing`, `presentations`, `course-storytelling`.
42
- - It will be **shipped / needs security** → `secure-coding`, `deployment`.
42
+ - It will be **shipped / needs security** → `security-audit`, `deployment`.
43
43
  3. **Audience & scale.** Who uses it? Roughly how many users, how many at once?
44
44
  4. **Constraints.** Budget, timeline, data region / residency, compliance, must-use technologies.
45
45
  5. **Existing tools/providers** already chosen or in play (auth, payments, email, hosting, analytics).
@@ -14,14 +14,14 @@ and prints commands the user runs.
14
14
  | Web or mobile UI | `nextjs` or `flutter`, `design` | The screens people actually see and tap. |
15
15
  | Marketing / landing / decks / teaching | `marketing`, `presentations`, `course-storytelling` | The words, slides, and lessons that explain and sell it. |
16
16
  | AI agents | `building-agents` | Agents that use tools and reason over your data. |
17
- | Security & shipping / ops (incl. non-code company harness connecting tools) | `secure-coding`, `deployment` | Ship it safely and wire up the external tools (email, payments, hosting). |
17
+ | Security & shipping / ops (incl. non-code company harness connecting tools) | `security-audit`, `deployment` | Ship it safely and wire up the external tools (email, payments, hosting). |
18
18
 
19
19
  Recommend a skill **only if discovery justified it** — same discipline as "no
20
20
  speculative tools". Don't recommend `building-agents` because agents are trendy;
21
21
  recommend it because the user said they want an agent.
22
22
 
23
23
  Note on the non-code harness: a company/ops/research/content harness almost
24
- always wants `harness` (the structure) + `deployment`/`secure-coding` (to connect
24
+ always wants `harness` (the structure) + `deployment`/`security-audit` (to connect
25
25
  external tools and handle credentials securely), and often `marketing`. It
26
26
  usually does NOT want `fastapi`/`nextjs` unless they're also building software.
27
27
 
@@ -44,7 +44,7 @@ npx @ericrisco/rsc add harness # the control plane — scaffolds and gove
44
44
  npx @ericrisco/rsc add fastapi postgresdb # the API and the database
45
45
  npx @ericrisco/rsc add nextjs design # the web UI people see
46
46
  npx @ericrisco/rsc add marketing # the words for your landing page
47
- npx @ericrisco/rsc add secure-coding deployment # ship it safely
47
+ npx @ericrisco/rsc add security-audit deployment # ship it safely
48
48
 
49
49
  Once they're installed, run the harness skill and I'll build the project structure.
50
50
  ```
@@ -56,7 +56,7 @@ You're organizing how your agency runs — client emails, contracts, invoicing,
56
56
  and you want it all findable. That's a non-code harness; install:
57
57
 
58
58
  npx @ericrisco/rsc add harness # your 01-TOOLS (connections) + 02-DOCS (your second brain)
59
- npx @ericrisco/rsc add secure-coding deployment # connect email, payments, drive — and keep credentials safe
59
+ npx @ericrisco/rsc add security-audit deployment # connect email, payments, drive — and keep credentials safe
60
60
  npx @ericrisco/rsc add marketing # for the proposals, decks and copy you send clients
61
61
 
62
62
  Once installed, run the harness skill and I'll set up the structure that holds it all.
@@ -70,7 +70,7 @@ You want an AI agent that answers questions over your own documents. Install:
70
70
  npx @ericrisco/rsc add harness # the control plane
71
71
  npx @ericrisco/rsc add building-agents # agent loops, tools, RAG
72
72
  npx @ericrisco/rsc add fastapi postgresdb # an API + database to serve it
73
- npx @ericrisco/rsc add secure-coding deployment # ship it safely
73
+ npx @ericrisco/rsc add security-audit deployment # ship it safely
74
74
 
75
75
  Then run the harness skill.
76
76
  ```
@@ -2,7 +2,7 @@
2
2
  name: java
3
3
  description: "Use when writing, reviewing or refactoring modern Java (21+, 25 LTS) — records and sealed interfaces as algebraic data types, exhaustive pattern-matching switch over instanceof ladders, virtual-thread concurrency, structured concurrency and ScopedValue replacing ThreadLocal, Stream and Optional pipelines, compact-constructor validation, parametrized JDBC, and the Maven/Gradle build surface. NOT Spring framework wiring (that is `spring-boot`)."
4
4
  tags: [java, jvm, records, virtual-threads, sealed-types]
5
- recommends: [spring-boot, secure-coding, deployment]
5
+ recommends: [spring-boot, security-audit, deployment]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -37,7 +37,7 @@ a getter/setter bean, or a manual `ExecutorService` sized to a core count, stop.
37
37
  This skill is the plain-JDK layer underneath; framework wiring is out of scope by topic.
38
38
  - **Kotlin** on the JVM (Android or server) -> `kotlin-android`. Java and Kotlin interop but
39
39
  are different languages; coroutines and Kotlin null-safety belong there.
40
- - **Language-agnostic threat modeling / OWASP / authz** -> `secure-coding`. This skill keeps
40
+ - **Language-agnostic threat modeling / OWASP / authz** -> `security-audit`. This skill keeps
41
41
  only Java-specific controls (parametrized JDBC, compact-constructor validation, sane deser).
42
42
  - **Containerfile / CI pipeline / shipping** -> `deployment`. This skill keeps only a
43
43
  jlink/jpackage note and the JDK base-image choice.
@@ -322,7 +322,7 @@ Sibling skills (link only those present under `skills/`):
322
322
 
323
323
  - `spring-boot` - the Spring framework surface (controllers, beans, autoconfiguration); this
324
324
  skill is the plain-JDK/language layer underneath it.
325
- - [`secure-coding`](../secure-coding/SKILL.md) - threat modeling and language-agnostic
325
+ - [`security-audit`](../security-audit/SKILL.md) - threat modeling and language-agnostic
326
326
  authz/abuse/OWASP review (this skill keeps the Java-specific controls).
327
327
  - [`deployment`](../deployment/SKILL.md) - Docker, CI, and shipping (this skill keeps only the
328
328
  jlink/jpackage note and base-image choice).
@@ -4,7 +4,7 @@ These are routing/trigger fixtures plus one capability rubric, not an automated
4
4
  `cases.yaml` is the fixture; this file is how to run it by hand or with a grader-agent.
5
5
 
6
6
  **Triggering.** Load the full skill catalog so the routing layer sees every sibling
7
- (spring-boot, kotlin-android, secure-coding, deployment, postgresdb, go, python, harness, …).
7
+ (spring-boot, kotlin-android, security-audit, deployment, postgresdb, go, python, harness, …).
8
8
  Feed each `should_trigger.prompt` in a fresh session and confirm the agent invokes the `java`
9
9
  skill; feed each `should_not_trigger.prompt` and confirm it does NOT fire `java` and instead
10
10
  routes to the stated `route_to` sibling. LLM routing is non-deterministic, so run 3–5 trials
@@ -22,8 +22,8 @@ should_not_trigger:
22
22
  route_to: "kotlin-android"
23
23
  why: "Kotlin language and Android belong to kotlin-android; Java and Kotlin interop but are different languages."
24
24
  - prompt: "Do an OWASP-style authorization review and threat model of my multi-tenant API's permission boundaries."
25
- route_to: "secure-coding"
26
- why: "Language-agnostic threat modeling / authz / OWASP review is delegated to secure-coding; only Java-specific controls (JDBC params, compact-constructor validation) stay here."
25
+ route_to: "security-audit"
26
+ why: "Language-agnostic threat modeling / authz / OWASP review is delegated to security-audit; only Java-specific controls (JDBC params, compact-constructor validation) stay here."
27
27
  - prompt: "Write a multi-stage Dockerfile and a GitHub Actions pipeline to build and ship my jar."
28
28
  route_to: "deployment"
29
29
  why: "Containerfile / CI / shipping is delegated to deployment; this skill keeps only the jlink/jpackage note and base-image choice."
@@ -2,7 +2,7 @@
2
2
  name: laravel
3
3
  description: "Use when building or extending a Laravel 11/12 app — Eloquent models, migrations and relationships, routing with controllers and Form Requests, queues and background jobs, framework-native security (validation, mass-assignment, policies, signed URLs, rate limiting), and Pest/PHPUnit feature tests. NOT pure PHP language or toolchain work (that is `php`)."
4
4
  tags: [laravel, php, eloquent, queues, pest, artisan]
5
- recommends: [php, mysql, redis, api-design, secure-coding, testing-web]
5
+ recommends: [php, mysql, redis, api-design, security-audit, testing-web]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -218,7 +218,7 @@ Worker deployment, Horizon config, the retry/backoff/timeout matrix, `failed_job
218
218
  CSRF protection is automatic on `web` routes; do not disable it. **Read config through
219
219
  `config()`, never `env()` outside `config/*.php`** — once configs are cached (`config:cache`
220
220
  in prod) `env()` returns `null` everywhere else. Cross-stack OWASP/threat-modeling is the
221
- **secure-coding** skill; the table above is the framework-native layer this skill owns.
221
+ **security-audit** skill; the table above is the framework-native layer this skill owns.
222
222
 
223
223
  ## Testing
224
224
 
@@ -296,6 +296,6 @@ is no Laravel project or no `vendor/` dir, so it never blocks a non-Laravel repo
296
296
  `failed_jobs` + `queue:retry`, worker deployment (supervisor, `queue:work` flags),
297
297
  graceful restarts.
298
298
  - PHP language/toolchain underneath Laravel: [../php/SKILL.md](../php/SKILL.md).
299
- - Cross-stack OWASP/threat-modeling: [../secure-coding/SKILL.md](../secure-coding/SKILL.md).
299
+ - Cross-stack OWASP/threat-modeling: [../security-audit/SKILL.md](../security-audit/SKILL.md).
300
300
  - API contract design, MySQL/Redis server tuning, browser E2E strategy: the **api-design**,
301
301
  **mysql** / **redis**, and **testing-web** skills respectively.
@@ -5,6 +5,6 @@
5
5
  correctly — a model reading only the frontmatter should fire on the trigger prompts (including
6
6
  the non-obvious "where did Kernel.php go" and "my job runs inline in tests" cases and the
7
7
  Spanish/Catalan phrasings) and defer the negatives to the named sibling (`php`, `api-design`,
8
- `secure-coding`, `testing-web`, `mysql`). The single `capability` case gauges body coverage:
8
+ `security-audit`, `testing-web`, `mysql`). The single `capability` case gauges body coverage:
9
9
  run the scenario and check the response against the `must_include` rubric by hand. Nothing here
10
10
  spins up Laravel or runs Pest — that is what `scripts/verify.sh` does against a real project.
@@ -24,7 +24,7 @@ should_not_trigger:
24
24
  route_to: api-design
25
25
  why: "Transport-agnostic contract design discipline, not implementing an API in Laravel."
26
26
  - prompt: "Do an OWASP threat-model and security review of our auth flow across the whole stack."
27
- route_to: secure-coding
27
+ route_to: security-audit
28
28
  why: "Cross-stack appsec discipline; Laravel keeps only framework-native guards."
29
29
  - prompt: "Set up Playwright browser E2E tests for the signup funnel."
30
30
  route_to: testing-web
@@ -17,7 +17,7 @@ human spot-check, because triggering and copy quality are judgment calls.
17
17
  Goal: the skill fires when it should and never on a near-miss.
18
18
 
19
19
  1. Configure an agent with the **full catalog of skill descriptions** available
20
- for routing (marketing + design, nextjs, postgresdb, secure-coding, go,
20
+ for routing (marketing + design, nextjs, postgresdb, security-audit, go,
21
21
  flutter, presentations, course-storytelling, building-agents, deployment,
22
22
  harness, init) so routing competes realistically.
23
23
  2. For each `should_trigger` prompt: feed it cold, record whether `marketing`
@@ -52,7 +52,7 @@ should_not_trigger:
52
52
  why: "Despite the word 'CTA', this is pure SQL schema/constraint work owned by postgresdb, not conversion copy."
53
53
 
54
54
  - prompt: "Add a honeypot field and rate-limit the newsletter signup endpoint to stop spam submissions."
55
- route_to: "secure-coding"
55
+ route_to: "security-audit"
56
56
  why: "Abuse prevention / input hardening on a form endpoint is a security concern, not the words on the page."
57
57
 
58
58
  - prompt: "Design the motion and scroll-reveal animations for the features section of our marketing site."
@@ -2,7 +2,7 @@
2
2
  name: mongodb
3
3
  description: "Use when modeling MongoDB documents (embed versus reference, the 16MB cap, bucket and subset patterns), choosing or fixing indexes (compound order by the ESR rule, partial, TTL, multikey, reading explain), writing aggregation pipelines that stay index-eligible, running multi-document transactions with retry, or operating and securing a deployment (replica set, read/write concern, Atlas tiers, Vector Search, Queryable Encryption). MongoDB 8.2, driver-agnostic. NOT relational schema, SQL or EXPLAIN ANALYZE (that is `postgresdb`)."
4
4
  tags: [mongodb, nosql, database, aggregation, indexing]
5
- recommends: [secure-coding, harness]
5
+ recommends: [security-audit, harness]
6
6
  profiles: []
7
7
  origin: risco
8
8
  ---
@@ -334,7 +334,7 @@ No `02-DOCS/` layer? Skip silently (optionally suggest `harness`). Technical con
334
334
  semantics, replica-set requirement, Atlas tiers, Search/Vector Search, Queryable Encryption, RBAC,
335
335
  pooling, change streams.
336
336
  - Sibling skills: [`harness`](../harness/SKILL.md) (scaffolds the `01-TOOLS/MONGODB` operational
337
- tool) and [`secure-coding`](../secure-coding/SKILL.md) (auth, encryption, least-privilege).
337
+ tool) and [`security-audit`](../security-audit/SKILL.md) (auth, encryption, least-privilege).
338
338
  - For relational work — SQL, foreign keys, `EXPLAIN ANALYZE`, MVCC — use
339
339
  [`postgresdb`](../postgresdb/SKILL.md), not this skill. Different engine and planner.
340
340
  - Out of scope here — external tools with their own docs: ODM/driver API surface (Mongoose hooks,
@@ -15,7 +15,7 @@ For each prompt, start a fresh agent session with only the `mongodb` skill disco
15
15
  avoid the words "index" / "MongoDB" (the COLLSCAN complaint, the Spanish modeling request) to test
16
16
  intent recognition over keyword matching.
17
17
  - `should_not_trigger`: PASS if the skill does **not** fire. Each names a `route_to` sibling
18
- (`postgresdb`, `nodejs`, `secure-coding`, `redis`, `vector-db`); a wrong-but-not-`mongodb` route
18
+ (`postgresdb`, `nodejs`, `security-audit`, `redis`, `vector-db`); a wrong-but-not-`mongodb` route
19
19
  still passes this skill's gate.
20
20
 
21
21
  Pass bar: ≥ 90% trigger accuracy across all trigger cases.
@@ -22,8 +22,8 @@ should_not_trigger:
22
22
  route_to: "nodejs"
23
23
  why: "ODM/driver API ergonomics, not engine behavior; nearest catalog skill is the JS runtime, the ODM's own docs own this."
24
24
  - prompt: "Audit my repo for hardcoded credentials and unsafe authentication patterns."
25
- route_to: "secure-coding"
26
- why: "A security audit of the codebase, not MongoDB modeling/indexing; secure-coding owns app-layer security review."
25
+ route_to: "security-audit"
26
+ why: "A security audit of the codebase, not MongoDB modeling/indexing; security-audit owns app-layer security review."
27
27
  - prompt: "Set up a Redis cache in front of my read queries to cut database load."
28
28
  route_to: "redis"
29
29
  why: "App-layer caching with a different store; explicitly out of scope for this engine skill."
@@ -2,7 +2,7 @@
2
2
  name: nextjs
3
3
  description: "Use when building, reviewing, testing, securing, or optimizing a Next.js App Router app: Server vs Client boundaries, `use server` actions, route handlers, the v15 vs v16 `use cache` caching model, metadata/SEO, auth, and Core Web Vitals. NOT framework-agnostic React or a Vite SPA (that is `react`), and NOT visual/UI design (that is `design`)."
4
4
  tags: [nextjs, react, frontend, web, seo, ssr]
5
- recommends: [design, secure-coding, deployment]
5
+ recommends: [design, security-audit, deployment]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -20,7 +20,7 @@ origin: risco
20
20
  A pure React SPA (Vite/CRA) → `../react/SKILL.md`; React Native / Expo → `../react-native/SKILL.md`;
21
21
  a generic React question with no Next/RSC dimension → keep it brief, from `references/react.md`.
22
22
  Non-Next backends → `../fastapi/SKILL.md`, `../go/SKILL.md`; the data layer behind the DAL →
23
- `../postgresdb/SKILL.md`; framework-agnostic security → `../secure-coding/SKILL.md`, complemented here, never duplicated.
23
+ `../postgresdb/SKILL.md`; framework-agnostic security → `../security-audit/SKILL.md`, complemented here, never duplicated.
24
24
 
25
25
  ## First: detect the project's version & caching model
26
26
 
@@ -350,7 +350,7 @@ on every review:
350
350
  - **Never put secrets in `NEXT_PUBLIC_*`** — they ship to the browser; proxy via a Route Handler and
351
351
  mark server-only modules with `import 'server-only'`.
352
352
  - SSRF: allowlist host/scheme before `fetch` in Route Handlers; block internal/metadata ranges.
353
- - CSP with a nonce via `proxy.ts`/headers. See also `../secure-coding/SKILL.md`.
353
+ - CSP with a nonce via `proxy.ts`/headers. See also `../security-audit/SKILL.md`.
354
354
 
355
355
  ## Performance (deep dive → references/performance.md)
356
356
 
@@ -27,8 +27,8 @@ should_not_trigger:
27
27
  route_to: "postgresdb"
28
28
  why: "Pure SQL/index tuning with no Next.js layer; the data layer behind the DAL is postgresdb's domain."
29
29
  - prompt: "Review my Express auth code for OWASP issues — is my JWT validation and password hashing secure?"
30
- route_to: "secure-coding"
31
- why: "Generic (non-Next) backend security review on an Express app; secure-coding owns framework-agnostic security, which the skill says it complements not duplicates."
30
+ route_to: "security-audit"
31
+ why: "Generic (non-Next) backend security review on an Express app; security-audit owns framework-agnostic security, which the skill says it complements not duplicates."
32
32
  - prompt: "My old Next.js app uses the pages/ directory with getServerSideProps. How do I add a new dynamic page there?"
33
33
  route_to: "none"
34
34
  why: "Pages Router work, which the skill explicitly excludes — it notes the difference and defers to the Next.js Pages docs rather than handling it."
@@ -1,7 +1,7 @@
1
1
  # Next.js security — auth, CSRF, XSS, CSP, env, SSRF
2
2
 
3
3
  Deep dive behind the "Security" section of `SKILL.md`. Next.js-specific layer; complements the
4
- generic `../secure-coding/SKILL.md` rather than duplicating it. Sources: authjs.dev
4
+ generic `../security-audit/SKILL.md` rather than duplicating it. Sources: authjs.dev
5
5
  session-management/protecting, the Next.js security model docs.
6
6
 
7
7
  ## Auth on every Server Action / Route Handler / DAL
@@ -234,6 +234,6 @@ export async function setSession(token: string) {
234
234
 
235
235
  ## See Also
236
236
 
237
- Complements `../secure-coding/SKILL.md` (generic). This file is the Next.js-specific layer; for the
237
+ Complements `../security-audit/SKILL.md` (generic). This file is the Next.js-specific layer; for the
238
238
  auth wiring and DAL pattern in context see the "Auth" section of `../nextjs/SKILL.md` and
239
239
  `data-and-caching.md`.
@@ -2,7 +2,7 @@
2
2
  name: notion-connector
3
3
  description: "Use when wiring server code or a cron job to Notion as an ops backend over its HTTP API: pushing or mirroring database rows, two-way sync without duplicates, page blocks, or an integration broken by the 2025-09-03 data-source split. NOT generic REST wiring (that is `api-connector-builder`), NOT inbound Notion webhook events (that is `webhooks`)."
4
4
  tags: [notion, ops-backend, api-integration, databases, sync]
5
- recommends: [api-connector-builder, webhooks, automation-flows, spreadsheet-ops, secure-coding]
5
+ recommends: [api-connector-builder, webhooks, automation-flows, spreadsheet-ops, security-audit]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -22,14 +22,14 @@ rate-limit/pagination discipline that the API forces on you.
22
22
  | Receiving + verifying *inbound* Notion webhook events | `../webhooks/SKILL.md` |
23
23
  | Notion is one node in a multi-tool sequence | `../automation-flows/SKILL.md` |
24
24
  | CSV/tabular bulk transforms, column mechanics | `../spreadsheet-ops/SKILL.md` |
25
- | Token handling, secret rotation, never-client-side rules | `../secure-coding/SKILL.md` |
25
+ | Token handling, secret rotation, never-client-side rules | `../security-audit/SKILL.md` |
26
26
 
27
27
  ## Setup (4 steps)
28
28
 
29
29
  1. **Create an internal integration** in Notion → Settings → Integrations. Copy
30
30
  the secret — it looks like `ntn_...` (older ones `secret_...`).
31
31
  2. **Put the token in an env var**, never in client-side JS, never committed. It
32
- is a bearer secret; treat it like a password. See `../secure-coding/SKILL.md`.
32
+ is a bearer secret; treat it like a password. See `../security-audit/SKILL.md`.
33
33
  3. **Share the target database/page with the integration** in the Notion UI
34
34
  (the page `•••` menu → Connections). *Skip this and every call 404s or
35
35
  returns empty* — the integration sees nothing it was not explicitly granted.
@@ -4,7 +4,7 @@
4
4
  this skill — including the non-obvious "`POST /v1/databases/:id/query` returns
5
5
  404" post-2025-09-03 symptom and a Spanish phrasing), `should_not_trigger`
6
6
  (prompts that belong to a named sibling — `api-connector-builder`, `webhooks`,
7
- `automation-flows`, `spreadsheet-ops`, `secure-coding` — marking the generic-REST,
7
+ `automation-flows`, `spreadsheet-ops`, `security-audit` — marking the generic-REST,
8
8
  inbound-event, orchestration, bulk-CSV, and secret-handling boundaries), and one
9
9
  `capability` scenario with a `must_include` rubric. There is no live runner and
10
10
  no Notion calls: route each trigger prompt through your skill-selection harness
@@ -30,8 +30,8 @@ should_not_trigger:
30
30
  route_to: spreadsheet-ops
31
31
  why: "Spreadsheet-shaped bulk transform mechanics with no Notion API involved — spreadsheet-ops owns this."
32
32
  - prompt: "Where should I store the Notion integration token and how do I rotate it safely?"
33
- route_to: secure-coding
34
- why: "Secret storage/rotation policy is the secure-coding skill; this skill only says 'env var, never client-side' and defers the how."
33
+ route_to: security-audit
34
+ why: "Secret storage/rotation policy is the security-audit skill; this skill only says 'env var, never client-side' and defers the how."
35
35
 
36
36
  capability:
37
37
  - scenario: "Build a nightly job that upserts records from our app DB into a Notion database keyed by an external id, paginating safely and never duplicating rows. We only have the database_id."
@@ -2,7 +2,7 @@
2
2
  name: php
3
3
  description: "Use when writing, reviewing or modernizing PHP (8.3-8.5) outside Laravel — strict types, union and intersection types, readonly classes, backed enums, property hooks and asymmetric visibility, the pipe operator and clone-with, Composer with PSR-4, PER-CS style, PSR interop, and the quality toolchain (PHPStan, Pint, Rector, PHPUnit/Pest). NOT Eloquent, Blade or Artisan (that is `laravel`)."
4
4
  tags: [php, php8, composer, psr, enums, types, static-analysis]
5
- recommends: [laravel, secure-coding, mysql]
5
+ recommends: [laravel, security-audit, mysql]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -37,7 +37,7 @@ them.
37
37
  | Eloquent, Blade, Artisan, container bindings, queues | laravel | the PHP *underneath* Laravel only |
38
38
  | WP hooks, the loop, `wp_*`, `$wpdb` | wordpress | nothing WP-specific |
39
39
  | Shopify app/theme SDK work | shopify | nothing Shopify-specific |
40
- | OWASP threat modeling, authz/abuse review | secure-coding | PHP-native controls (PDO, `password_hash`, escaping) |
40
+ | OWASP threat modeling, authz/abuse review | security-audit | PHP-native controls (PDO, `password_hash`, escaping) |
41
41
  | REST resource naming, status-code contract as a discipline | api-design | PHP request/response code only |
42
42
  | DB schema/index tuning | mysql / postgresdb | PDO usage from the PHP side |
43
43
 
@@ -309,7 +309,7 @@ in `finally`; catch `\Throwable` only at a process boundary (CLI entry, request
309
309
 
310
310
  ## Security controls (PHP-native)
311
311
 
312
- Generic appsec (OWASP, authz, threat modeling) is [../secure-coding/SKILL.md](../secure-coding/SKILL.md).
312
+ Generic appsec (OWASP, authz, threat modeling) is [../security-audit/SKILL.md](../security-audit/SKILL.md).
313
313
  The PHP-specific controls below stay here.
314
314
 
315
315
  | Control | API | Why |
@@ -393,5 +393,5 @@ configs — `phpstan.neon`, `pint.json`, `rector.php`, `phpunit.xml` — are in
393
393
  - [references/tooling.md](references/tooling.md) — full `phpstan.neon`, `pint.json`,
394
394
  `.php-cs-fixer.dist.php`, `rector.php`, `phpunit.xml` / Pest, composer scripts, CI snippet.
395
395
  - Laravel framework surface (Eloquent, Blade, Artisan): the **laravel** skill.
396
- - Generic appsec / OWASP: [../secure-coding/SKILL.md](../secure-coding/SKILL.md).
396
+ - Generic appsec / OWASP: [../security-audit/SKILL.md](../security-audit/SKILL.md).
397
397
  - DB schema/index tuning: the **mysql** / [../postgresdb/SKILL.md](../postgresdb/SKILL.md) skills.
@@ -3,7 +3,7 @@
3
3
  These cases are a behavioral spec, not an automated harness. Run them by hand: prompt a fresh
4
4
  agent with each `should_trigger` line and confirm it loads the `php` skill; prompt it with
5
5
  each `should_not_trigger` line and confirm it declines and routes to the named sibling
6
- (`laravel`, `wordpress`, `secure-coding`, `api-design`, `mysql`) instead of answering from
6
+ (`laravel`, `wordpress`, `security-audit`, `api-design`, `mysql`) instead of answering from
7
7
  this skill. For the `capability` scenario, give the agent the scenario prompt and grade the
8
8
  generated package against the `must_include` rubric — every item must be present (strict
9
9
  types in each file, PSR-4 autoload, a backed enum, a readonly DTO with a property hook, a
@@ -22,7 +22,7 @@ should_not_trigger:
22
22
  route_to: wordpress
23
23
  why: "WP hooks and the_title filter are WordPress APIs, not framework-agnostic PHP."
24
24
  - prompt: "Do a threat model and OWASP review of my login flow."
25
- route_to: secure-coding
25
+ route_to: security-audit
26
26
  why: "Generic appsec discipline; this skill keeps only PHP-native controls like PDO and password_hash."
27
27
  - prompt: "Design the REST resource naming and status codes for my API."
28
28
  route_to: api-design
@@ -17,7 +17,7 @@ on the adjacent SDD phases and on stack-mechanics requests.
17
17
  skills for routing: the rsc-sdd phases (constitution, specify, clarify, tasks, analyze,
18
18
  implement, verify, review, ship, debug, worktrees, parallel) and the stack/other skills
19
19
  (fastapi, nextjs, go, postgresdb, flutter, design, marketing, presentations,
20
- course-storytelling, building-agents, secure-coding, deployment, harness, init). Do **not** load
20
+ course-storytelling, building-agents, security-audit, deployment, harness, init). Do **not** load
21
21
  any skill bodies.
22
22
  2. For each prompt in `should_trigger` and `should_not_trigger`, ask the agent which skill (if any)
23
23
  it would invoke. Run **3–5 trials per prompt** at production temperature to catch flakiness.
@@ -2,7 +2,7 @@
2
2
  name: postgresdb
3
3
  description: Use when PostgreSQL engine behaviour decides the answer — schema and type design, index choice, reading EXPLAIN on a slow query, zero-downtime DDL and backfills, or ops (roles, RLS, pooling, vacuum, partitioning, PITR). PG16, ORM-agnostic. NOT portable query logic (that is `sql`), NOT a managed provider's platform surface (that is `neon`).
4
4
  tags: [postgres, sql, database, migrations]
5
- recommends: [secure-coding]
5
+ recommends: [security-audit]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -49,7 +49,7 @@ coverage = points / total bullets.
49
49
  (slow-query, multi-tenant isolation, duplicate-job-processing) — these test intent
50
50
  recognition, not keyword matching.
51
51
  - Near-misses route to the genuinely correct sibling (`fastapi`, `flutter`,
52
- `deployment`, `secure-coding`) or `none` when the request is out of every sibling's
52
+ `deployment`, `security-audit`) or `none` when the request is out of every sibling's
53
53
  scope (Prisma ORM trap, Redis caching).
54
54
  - This is judgment-based grading. Record trial counts and the per-bullet verdicts so a
55
55
  reviewer can audit; don't report a bare pass/fail.
@@ -32,8 +32,8 @@ should_not_trigger:
32
32
  route_to: "fastapi"
33
33
  why: "This is API-framework / request-validation work; the SQL it eventually emits could touch postgresdb but the prompt as stated is fastapi's domain."
34
34
  - prompt: "How do I prevent SQL injection in my Node app — is parameterizing enough, and how should I handle untrusted input generally?"
35
- route_to: "secure-coding"
36
- why: "A general application-security question about untrusted input belongs to secure-coding; postgresdb owns engine behavior, not app-layer input handling."
35
+ route_to: "security-audit"
36
+ why: "A general application-security question about untrusted input belongs to security-audit; postgresdb owns engine behavior, not app-layer input handling."
37
37
  - prompt: "Should I cache these hot query results in Redis to cut database load?"
38
38
  route_to: "none"
39
39
  why: "App-layer caching / Redis as a product is explicitly out of scope; only Postgres-as-queue via SKIP LOCKED is in scope, not caching layers."
@@ -10,7 +10,7 @@ the answer measurably better?).
10
10
 
11
11
  - One agent, the full skill catalog discoverable by description only (`fastapi`,
12
12
  `nextjs`, `go`, `postgresdb`, `flutter`, `design`, `marketing`, `presentations`,
13
- `course-storytelling`, `building-agents`, `secure-coding`, `deployment`, `harness`,
13
+ `course-storytelling`, `building-agents`, `security-audit`, `deployment`, `harness`,
14
14
  `init`). The agent must choose which skill(s) to load — do not pre-load any.
15
15
  - Run each prompt in a fresh session (no memory carryover between trials).
16
16
 
@@ -2,7 +2,7 @@
2
2
  name: python
3
3
  description: "Use when the task is Python itself, in any framework or none: PEP 695 generics, mypy --strict typing, dataclass/Protocol/TypedDict/Enum choices, asyncio.TaskGroup, stdlib idioms, src/ layout + pyproject.toml with uv, ruff+mypy+pytest gate. NOT a FastAPI/ASGI service (that is fastapi), NOT a deep pytest suite (that is testing-py)."
4
4
  tags: [python, typing, async, packaging, uv]
5
- recommends: [fastapi, secure-coding, deployment]
5
+ recommends: [fastapi, security-audit, deployment]
6
6
  origin: risco
7
7
  ---
8
8
 
@@ -29,7 +29,7 @@ annotations`), PEP 750 template strings (`t"..."`), and `compression.zstd`. Tool
29
29
  property-based testing -> `testing-py` (this skill keeps only the *baseline*: a few tests
30
30
  so `verify.sh` has something to run, then hands off).
31
31
  - Language-agnostic threat modeling / authz / OWASP review ->
32
- [`secure-coding`](../secure-coding/SKILL.md) (this skill keeps Python-specific safety: no
32
+ [`security-audit`](../security-audit/SKILL.md) (this skill keeps Python-specific safety: no
33
33
  `eval`/`pickle` of untrusted data, `subprocess` without `shell=True`, `secrets` over `random`).
34
34
  - Containerfile / CI pipeline / deploy mechanics -> [`deployment`](../deployment/SKILL.md)
35
35
  (this skill ships only a uv-based CI note).
@@ -280,7 +280,7 @@ stop at the baseline and hand off.
280
280
 
281
281
  ## Security (embedded, Python-specific)
282
282
 
283
- Generic threat modeling and authz live in [`secure-coding`](../secure-coding/SKILL.md); these Python-specific controls stay here:
283
+ Generic threat modeling and authz live in [`security-audit`](../security-audit/SKILL.md); these Python-specific controls stay here:
284
284
 
285
285
  ```python
286
286
  # Bad # Good
@@ -3,7 +3,7 @@
3
3
  These cases are read by an **agent harness** (a Claude agent with the skill catalog loaded),
4
4
  not a plain shell script. `cases.yaml` is the fixture; this file is the procedure. Two things
5
5
  are measured: **triggering** (does `python` fire on language-level prompts and stay silent on
6
- near-misses that belong to `fastapi`, `testing-py`, `django`, `secure-coding`, `deployment`?)
6
+ near-misses that belong to `fastapi`, `testing-py`, `django`, `security-audit`, `deployment`?)
7
7
  and **capability** (does loading the skill make a scaffold answer measurably better?).
8
8
 
9
9
  **Triggering:** load the full sibling descriptions, start a fresh session per prompt, feed each
@@ -25,8 +25,8 @@ should_not_trigger:
25
25
  route_to: "django"
26
26
  why: "Django ORM/models/migrations/admin is the django skill, not the language substrate."
27
27
  - prompt: "Threat-model this login flow and review it for OWASP-class authorization issues."
28
- route_to: "secure-coding"
29
- why: "Language-agnostic threat modeling and authz/abuse review is secure-coding; only Python-specific controls stay here."
28
+ route_to: "security-audit"
29
+ why: "Language-agnostic threat modeling and authz/abuse review is security-audit; only Python-specific controls stay here."
30
30
  - prompt: "Write a multi-stage Containerfile and a GitHub Actions pipeline to deploy this Python app."
31
31
  route_to: "deployment"
32
32
  why: "Containerfile / CI / shipping mechanics are deployment; this skill ships only a uv-based CI note."
@@ -46,7 +46,7 @@ else
46
46
  fi
47
47
 
48
48
  # --- 2. recommends subset of KNOWN ids ---
49
- KNOWN="analyze author-skill building-agents clarify constitution course-storytelling debug deployment design fastapi flutter go harness implement init marketing nextjs parallel plan postgresdb presentations review sdd secure-coding ship specify suggest tasks verify worktrees finance-ops invoicing bookkeeping pricing sales-pipeline lead-gen cold-outreach proposals contracts customer-support client-onboarding retention hiring people-ops inventory logistics-ops procurement meeting-notes sop-builder project-ops seo-geo content-engine social-publisher brand-voice brand-identity newsletter landing-copy ads article-writing case-studies video-shorts podcast market-research competitor-watch press-kit community webinar review-management pitch-deck investor-materials financial-model fundraising unit-economics grants gdpr-privacy terms-conditions compliance data-policy ip-trademark stripe email-connector google-workspace notion-connector whatsapp-telegram automation-flows api-connector-builder webhooks data-scraper spreadsheet-ops calendar-scheduling document-processing e-signature analytics dashboard kpi-framework reporting ab-testing forecasting data-cleaning business-intelligence rag embeddings-search prompt-engineering llm-pipeline agent-eval chatbot ai-media replicate-images structured-extraction agent-safety cost-tracking react react-native vue-nuxt nodejs django laravel rails swift-ios kotlin-android rust api-design wordpress shopify no-code-app chrome-extension mysql redis prisma-orm db-migrations backups clickhouse-analytics code-review security-scan testing-py testing-web testing-go e2e-testing accessibility performance error-handling observability docker github-actions git-workflow domains-dns monitoring email-deliverability scaling knowledge-ops codebase-onboarding research-ops decision-records continuous-learning skill-scout context-budget course-builder technical-writing translation-l10n youtube-api youtube-strategy youtube-ideation youtube-thumbnails youtube-packaging remotion-video tiktok-api instagram-api shortform-strategy shortform-ideation shortform-packaging shortform-editing linkedin-api linkedin-strategy linkedin-content linkedin-carousels linkedin-outreach medium-writing medium-publishing medium-strategy typescript python java csharp-dotnet php ruby cpp elixir bash-scripting sql angular svelte astro solid-js htmx nestjs spring-boot phoenix tauri electron expo compose-multiplatform mongodb supabase neon planetscale sqlite-turso drizzle-orm firebase dynamodb vector-db duckdb vercel netlify cloudflare railway render fly-io coolify hetzner digitalocean aws-essentials gcp-essentials replicate runpod modal huggingface ollama together-fireworks fal"
49
+ KNOWN="analyze author-skill building-agents clarify constitution course-storytelling debug deployment design fastapi flutter go harness implement init marketing nextjs parallel plan postgresdb presentations review sdd security-audit ship specify suggest tasks verify worktrees finance-ops invoicing bookkeeping pricing sales-pipeline lead-gen cold-outreach proposals contracts customer-support client-onboarding retention hiring people-ops inventory logistics-ops procurement meeting-notes sop-builder project-ops seo-geo content-engine social-publisher brand-voice brand-identity newsletter landing-copy ads article-writing case-studies video-shorts podcast market-research competitor-watch press-kit community webinar review-management pitch-deck investor-materials financial-model fundraising unit-economics grants gdpr-privacy terms-conditions compliance data-policy ip-trademark stripe email-connector google-workspace notion-connector whatsapp-telegram automation-flows api-connector-builder webhooks data-scraper spreadsheet-ops calendar-scheduling document-processing e-signature analytics dashboard kpi-framework reporting ab-testing forecasting data-cleaning business-intelligence rag embeddings-search prompt-engineering llm-pipeline agent-eval chatbot ai-media replicate-images structured-extraction agent-safety cost-tracking react react-native vue-nuxt nodejs django laravel rails swift-ios kotlin-android rust api-design wordpress shopify no-code-app chrome-extension mysql redis prisma-orm db-migrations backups clickhouse-analytics code-review testing-py testing-web testing-go e2e-testing accessibility performance error-handling observability docker github-actions git-workflow domains-dns monitoring email-deliverability scaling knowledge-ops codebase-onboarding research-ops decision-records continuous-learning skill-scout context-budget course-builder technical-writing translation-l10n youtube-api youtube-strategy youtube-ideation youtube-thumbnails youtube-packaging remotion-video tiktok-api instagram-api shortform-strategy shortform-ideation shortform-packaging shortform-editing linkedin-api linkedin-strategy linkedin-content linkedin-carousels linkedin-outreach medium-writing medium-publishing medium-strategy typescript python java csharp-dotnet php ruby cpp elixir bash-scripting sql angular svelte astro solid-js htmx nestjs spring-boot phoenix tauri electron expo compose-multiplatform mongodb supabase neon planetscale sqlite-turso drizzle-orm firebase dynamodb vector-db duckdb vercel netlify cloudflare railway render fly-io coolify hetzner digitalocean aws-essentials gcp-essentials replicate runpod modal huggingface ollama together-fireworks fal"
50
50
  rec_line="$(printf '%s\n' "$fm" | grep -E '^recommends:' | sed -E 's/^recommends:[[:space:]]*\[?//; s/\]//')"
51
51
  rec_ids="$(printf '%s' "$rec_line" | tr ',' ' ')"
52
52
  bad=""