@ericrisco/rsc 4.0.5 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/manifest.json +78 -84
- package/package.json +1 -1
- package/scripts/lib/default-skill-floor.js +5 -1
- package/scripts/lib/domains.js +1 -1
- package/scripts/lib/recommend.js +1 -1
- package/scripts/lib/retired-skills.js +4 -0
- package/scripts/skill-migration-brief.md +1 -1
- package/scripts/verify.sh +20 -0
- package/skills/accessibility/evals/README.md +1 -1
- package/skills/accessibility/evals/cases.yaml +1 -1
- package/skills/agent-safety/SKILL.md +2 -2
- package/skills/agent-safety/evals/README.md +1 -1
- package/skills/agent-safety/evals/cases.yaml +1 -1
- package/skills/analyze/evals/README.md +1 -1
- package/skills/analyze/evals/cases.yaml +2 -2
- package/skills/angular/SKILL.md +1 -1
- package/skills/api-connector-builder/SKILL.md +1 -1
- package/skills/api-design/SKILL.md +3 -3
- package/skills/api-design/evals/cases.yaml +1 -1
- package/skills/automation-strategy/SKILL.md +1 -1
- package/skills/automation-strategy/evals/README.md +1 -1
- package/skills/automation-strategy/evals/cases.yaml +2 -2
- package/skills/automation-strategy/references/orchestration-and-antipatterns.md +1 -1
- package/skills/aws-essentials/SKILL.md +3 -3
- package/skills/aws-essentials/evals/cases.yaml +2 -2
- package/skills/backups/SKILL.md +2 -2
- package/skills/backups/evals/cases.yaml +2 -2
- package/skills/bash-scripting/SKILL.md +1 -1
- package/skills/building-agents/SKILL.md +2 -2
- package/skills/building-agents/evals/cases.yaml +2 -2
- package/skills/chrome-extension/SKILL.md +1 -1
- package/skills/cloudflare/SKILL.md +1 -1
- package/skills/code-review/SKILL.md +2 -2
- package/skills/code-review/evals/cases.yaml +2 -2
- package/skills/compliance/SKILL.md +3 -3
- package/skills/compliance/evals/cases.yaml +1 -1
- package/skills/constitution/SKILL.md +2 -2
- package/skills/constitution/evals/README.md +2 -2
- package/skills/constitution/evals/cases.yaml +2 -2
- package/skills/constitution/references/constitution-template.md +1 -1
- package/skills/cpp/SKILL.md +2 -2
- package/skills/cpp/evals/README.md +1 -1
- package/skills/cpp/evals/cases.yaml +2 -2
- package/skills/csharp-dotnet/SKILL.md +3 -3
- package/skills/csharp-dotnet/evals/cases.yaml +1 -1
- package/skills/csharp-dotnet/references/aspnetcore.md +1 -1
- package/skills/data-policy/SKILL.md +2 -2
- package/skills/data-policy/evals/README.md +1 -1
- package/skills/data-policy/evals/cases.yaml +1 -1
- package/skills/debug/SKILL.md +1 -1
- package/skills/debug/evals/README.md +1 -1
- package/skills/decision-challenge/SKILL.md +2 -2
- package/skills/decision-challenge/evals/cases.yaml +1 -1
- package/skills/deployment/SKILL.md +2 -2
- package/skills/deployment/evals/README.md +1 -1
- package/skills/deployment/evals/cases.yaml +2 -2
- package/skills/django/SKILL.md +2 -2
- package/skills/django/evals/README.md +1 -1
- package/skills/django/evals/cases.yaml +1 -1
- package/skills/django/references/security.md +1 -1
- package/skills/docker/SKILL.md +3 -3
- package/skills/docker/evals/cases.yaml +1 -1
- package/skills/dynamodb/SKILL.md +2 -2
- package/skills/electron/SKILL.md +1 -1
- package/skills/electron/references/packaging-and-updates.md +1 -1
- package/skills/email-connector/SKILL.md +2 -2
- package/skills/email-deliverability/SKILL.md +1 -1
- package/skills/error-handling/SKILL.md +1 -1
- package/skills/expo/SKILL.md +2 -2
- package/skills/fastapi/SKILL.md +4 -4
- package/skills/fastapi/evals/README.md +2 -2
- package/skills/fastapi/evals/cases.yaml +2 -2
- package/skills/fastapi/references/security.md +2 -2
- package/skills/firebase/SKILL.md +1 -1
- package/skills/flutter/SKILL.md +1 -1
- package/skills/flutter/evals/cases.yaml +2 -2
- package/skills/fly-io/SKILL.md +1 -1
- package/skills/gamedev-multiplayer/SKILL.md +1 -1
- package/skills/gamedev-multiplayer/evals/README.md +1 -1
- package/skills/gamedev-multiplayer/evals/cases.yaml +2 -2
- package/skills/gamedev-shipping/SKILL.md +1 -1
- package/skills/gcp-essentials/SKILL.md +2 -2
- package/skills/gcp-essentials/evals/README.md +1 -1
- package/skills/gcp-essentials/evals/cases.yaml +2 -2
- package/skills/gdpr-privacy/SKILL.md +2 -2
- package/skills/gdpr-privacy/evals/cases.yaml +1 -1
- package/skills/github-actions/SKILL.md +2 -2
- package/skills/go/SKILL.md +4 -4
- package/skills/go/evals/README.md +1 -1
- package/skills/go/evals/cases.yaml +2 -2
- package/skills/google-workspace/SKILL.md +2 -2
- package/skills/hetzner/SKILL.md +1 -1
- package/skills/htmx/SKILL.md +4 -4
- package/skills/htmx/evals/cases.yaml +2 -2
- package/skills/implement/SKILL.md +1 -1
- package/skills/init/SKILL.md +2 -2
- package/skills/init/evals/cases.yaml +2 -2
- package/skills/init/references/discovery.md +1 -1
- package/skills/init/references/recommend-skills.md +5 -5
- package/skills/java/SKILL.md +3 -3
- package/skills/java/evals/README.md +1 -1
- package/skills/java/evals/cases.yaml +2 -2
- package/skills/laravel/SKILL.md +3 -3
- package/skills/laravel/evals/README.md +1 -1
- package/skills/laravel/evals/cases.yaml +1 -1
- package/skills/marketing/evals/README.md +1 -1
- package/skills/marketing/evals/cases.yaml +1 -1
- package/skills/mongodb/SKILL.md +2 -2
- package/skills/mongodb/evals/README.md +1 -1
- package/skills/mongodb/evals/cases.yaml +2 -2
- package/skills/nextjs/SKILL.md +3 -3
- package/skills/nextjs/evals/cases.yaml +2 -2
- package/skills/nextjs/references/security.md +2 -2
- package/skills/notion-connector/SKILL.md +3 -3
- package/skills/notion-connector/evals/README.md +1 -1
- package/skills/notion-connector/evals/cases.yaml +2 -2
- package/skills/php/SKILL.md +4 -4
- package/skills/php/evals/README.md +1 -1
- package/skills/php/evals/cases.yaml +1 -1
- package/skills/plan/evals/README.md +1 -1
- package/skills/postgresdb/SKILL.md +1 -1
- package/skills/postgresdb/evals/README.md +1 -1
- package/skills/postgresdb/evals/cases.yaml +2 -2
- package/skills/presentations/evals/README.md +1 -1
- package/skills/python/SKILL.md +3 -3
- package/skills/python/evals/README.md +1 -1
- package/skills/python/evals/cases.yaml +2 -2
- package/skills/rag/scripts/verify.sh +1 -1
- package/skills/review/SKILL.md +2 -2
- package/skills/review/evals/cases.yaml +3 -3
- package/skills/ruby/SKILL.md +1 -1
- package/skills/rust/SKILL.md +2 -2
- package/skills/rust/evals/README.md +1 -1
- package/skills/rust/evals/cases.yaml +2 -2
- package/skills/security-audit/SKILL.md +186 -0
- package/skills/security-audit/evals/cases.yaml +95 -0
- package/skills/security-audit/references/auditor-safety.md +69 -0
- package/skills/security-audit/references/classes/README.md +225 -0
- package/skills/security-audit/references/classes/ai-and-llm.md +247 -0
- package/skills/security-audit/references/classes/client-side.md +181 -0
- package/skills/security-audit/references/classes/cloud-and-deployment.md +167 -0
- package/skills/security-audit/references/classes/data-isolation.md +161 -0
- package/skills/security-audit/references/classes/desktop-mobile-ipc.md +167 -0
- package/skills/security-audit/references/classes/memory-and-binary.md +230 -0
- package/skills/security-audit/references/classes/protocols-and-messaging.md +151 -0
- package/skills/security-audit/references/classes/resource-exhaustion.md +141 -0
- package/skills/security-audit/references/classes/supply-chain.md +147 -0
- package/skills/security-audit/references/classes/web-and-auth.md +238 -0
- package/skills/security-audit/references/coverage-ledger.md +172 -0
- package/skills/security-audit/references/fixes-by-stack.md +972 -0
- package/skills/security-audit/references/fixing.md +200 -0
- package/skills/security-audit/references/hunting.md +146 -0
- package/skills/security-audit/references/isolated-execution.md +85 -0
- package/skills/security-audit/references/platforms.md +650 -0
- package/skills/security-audit/references/reconnaissance.md +73 -0
- package/skills/security-audit/references/resuming.md +55 -0
- package/skills/security-audit/references/scanners.md +347 -0
- package/skills/{secure-coding → security-audit}/references/secrets-and-supply-chain.md +78 -34
- package/skills/security-audit/references/secrets-discipline.md +173 -0
- package/skills/{secure-coding → security-audit}/references/threat-modeling.md +80 -32
- package/skills/security-audit/references/verification.md +118 -0
- package/skills/security-audit/schema/findings.schema.json +178 -0
- package/skills/security-audit/scripts/render-report.mjs +311 -0
- package/skills/security-audit/scripts/validate-findings.mjs +508 -0
- package/skills/skill-scout/scripts/verify.sh +1 -1
- package/skills/source-grounded-development/evals/cases.yaml +1 -1
- package/skills/specify/evals/README.md +1 -1
- package/skills/spring-boot/SKILL.md +3 -3
- package/skills/spring-boot/evals/README.md +1 -1
- package/skills/spring-boot/evals/cases.yaml +1 -1
- package/skills/spring-boot/references/security.md +1 -1
- package/skills/stripe/SKILL.md +2 -2
- package/skills/suggest/evals/cases.yaml +2 -2
- package/skills/supabase/SKILL.md +1 -1
- package/skills/tauri/SKILL.md +2 -2
- package/skills/testing-go/SKILL.md +1 -1
- package/skills/typescript/SKILL.md +2 -2
- package/skills/verify/SKILL.md +3 -3
- package/skills/verify/evals/README.md +2 -2
- package/skills/verify/evals/cases.yaml +2 -2
- package/skills/vue-nuxt/SKILL.md +2 -2
- package/skills/webhooks/SKILL.md +2 -2
- package/skills/wordpress/SKILL.md +2 -2
- package/skills/wordpress/evals/README.md +1 -1
- package/skills/wordpress/evals/cases.yaml +1 -1
- package/skills/worktrees/evals/README.md +1 -1
- package/targets/clone-bootstrap.mjs +1 -1
- package/targets/commands.js +1 -1
- package/skills/secure-coding/SKILL.md +0 -336
- package/skills/secure-coding/evals/README.md +0 -68
- package/skills/secure-coding/evals/cases.yaml +0 -55
- package/skills/secure-coding/references/authn-authz.md +0 -249
- package/skills/secure-coding/references/owasp-by-stack.md +0 -574
- package/skills/secure-coding/scripts/verify.sh +0 -208
- package/skills/security-scan/SKILL.md +0 -219
- package/skills/security-scan/evals/README.md +0 -14
- package/skills/security-scan/evals/cases.yaml +0 -50
- package/skills/security-scan/references/tools.md +0 -97
- package/skills/security-scan/references/triage.md +0 -92
- package/skills/security-scan/scripts/verify.sh +0 -108
|
@@ -27,7 +27,7 @@ should_not_trigger:
|
|
|
27
27
|
route_to: compliance
|
|
28
28
|
why: "Audit posture / framework control mapping, not data-lifecycle rules."
|
|
29
29
|
- prompt: "Encrypt the PII at rest and harden the database access."
|
|
30
|
-
route_to:
|
|
30
|
+
route_to: security-audit
|
|
31
31
|
why: "Security controls on the systems, not the governance policy they enforce."
|
|
32
32
|
- prompt: "Write the TTL migration to actually drop the old partitions."
|
|
33
33
|
route_to: db-migrations
|
package/skills/debug/SKILL.md
CHANGED
|
@@ -115,7 +115,7 @@ that gate, not this skill, is what licenses the word "done".
|
|
|
115
115
|
| Next.js / React | `../nextjs/references/testing.md` | Vitest `--no-isolate`/`.only`, Playwright trace viewer, RSC vs client boundary errors, hydration mismatches |
|
|
116
116
|
| Flutter / Dart | `../flutter/references/testing.md` | `flutter test --plain-name`, widget pump/settle timing, DevTools, golden diffs |
|
|
117
117
|
| Postgres / data layer | `../postgresdb/SKILL.md` | `EXPLAIN ANALYZE`, isolation-level/locking races, constraint violations, migration-order bugs |
|
|
118
|
-
| Security-shaped failure | `../
|
|
118
|
+
| Security-shaped failure | `../security-audit/SKILL.md` | auth/authz edge cases, injection, secret/leak paths surfacing as "weird" failures |
|
|
119
119
|
|
|
120
120
|
If the failure spans two stacks (a Next.js call into a FastAPI endpoint), reproduce at the boundary
|
|
121
121
|
first — isolate which side actually fails before you open either stack's debugger.
|
|
@@ -35,7 +35,7 @@ never on a near-miss that belongs to another phase.
|
|
|
35
35
|
1. Configure an agent with the **full catalog of skill descriptions** available
|
|
36
36
|
for routing (debug + the rsc-sdd phases it chains with — implement, verify,
|
|
37
37
|
review, clarify, analyze, ship — plus the stack/process skills: fastapi, go,
|
|
38
|
-
nextjs, flutter, postgresdb,
|
|
38
|
+
nextjs, flutter, postgresdb, security-audit, deployment, harness, init) so
|
|
39
39
|
routing competes realistically.
|
|
40
40
|
2. For each `should_trigger` prompt: feed it cold, record whether `debug` is the
|
|
41
41
|
skill the agent loads. Run **3–5 trials** per prompt (fresh context).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: decision-challenge
|
|
3
3
|
description: "Use when a high-impact plan, migration or architecture claim needs a bounded adversarial challenge before commitment. Isolates claims from persuasion, attacks assumptions, reconciles doubts with evidence and emits proceed/hold/stop. NOT a finished-diff review (`review`/`code-review`), NOT SDD artifact consistency (`analyze`)."
|
|
4
4
|
tags: [adversarial-review, decision-quality, assumptions, risk, preflight]
|
|
5
|
-
recommends: [analyze, review, code-review, decision-records, security-
|
|
5
|
+
recommends: [analyze, review, code-review, decision-records, security-audit]
|
|
6
6
|
profiles: [core, full]
|
|
7
7
|
origin: risco
|
|
8
8
|
---
|
|
@@ -106,7 +106,7 @@ PROCEED / HOLD / STOP — reason — unlock condition.
|
|
|
106
106
|
| The author’s explanation counts as independent evidence | Isolate claims and require an observation outside the persuasion. |
|
|
107
107
|
| Another model/agent is mandatory | Use fresh context only when authority, tooling and data boundaries allow it. |
|
|
108
108
|
| Executive pressure relabels a blocker as accepted risk | Require an accountable owner with authority over the consequence. |
|
|
109
|
-
| Domain controls are recreated generically | Route security to `security-
|
|
109
|
+
| Domain controls are recreated generically | Route security to `security-audit` and AI quality experiments to `agent-eval`. |
|
|
110
110
|
|
|
111
111
|
## Orientación (siempre)
|
|
112
112
|
|
|
@@ -25,7 +25,7 @@ should_not_trigger:
|
|
|
25
25
|
route_to: analyze
|
|
26
26
|
why: "Pre-code consistency gate across SDD artifacts."
|
|
27
27
|
- prompt: "Threat-model the upload endpoint and run the repository security scanners."
|
|
28
|
-
route_to: security-
|
|
28
|
+
route_to: security-audit
|
|
29
29
|
why: "Security domain audit and tooling own the task."
|
|
30
30
|
- prompt: "Compare the new system prompt to the old one on a golden set and measure lift."
|
|
31
31
|
route_to: agent-eval
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: deployment
|
|
3
3
|
description: "Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is `coolify`, `vercel`, `railway`, `render`), NOT the Dockerfile alone (that is `docker`)."
|
|
4
4
|
tags: [deploy, docker, ci, github-actions, coolify]
|
|
5
|
-
recommends: [
|
|
5
|
+
recommends: [security-audit]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -369,6 +369,6 @@ block the task on this.
|
|
|
369
369
|
## Hand off
|
|
370
370
|
|
|
371
371
|
- Platform mechanics once the target is chosen: `../coolify/SKILL.md`, `../vercel/SKILL.md`, `../railway/SKILL.md`, `../render/SKILL.md`, `../fly-io/SKILL.md`, `../hetzner/SKILL.md`.
|
|
372
|
-
- `../
|
|
372
|
+
- `../security-audit/SKILL.md` — input validation, authn/z, and secret-handling this skill assumes the app already does.
|
|
373
373
|
- `../harness/SKILL.md` — 01-TOOLS provider creds (Stripe, Postgres, OAuth…) that become runtime env on the target.
|
|
374
374
|
- `../fastapi/SKILL.md`, `../nextjs/SKILL.md`, `../go/SKILL.md`, `../flutter/SKILL.md`, `../postgresdb/SKILL.md` — the application code that runs inside the container; this skill stops at that boundary.
|
|
@@ -16,7 +16,7 @@ skill measurably improve the answer).
|
|
|
16
16
|
|
|
17
17
|
For trigger tests, load the **full catalog** of skills (deployment + all siblings: fastapi,
|
|
18
18
|
nextjs, go, postgresdb, flutter, design, marketing, presentations, course-storytelling,
|
|
19
|
-
building-agents,
|
|
19
|
+
building-agents, security-audit, harness, init) so routing is realistic.
|
|
20
20
|
|
|
21
21
|
1. For each `should_trigger` prompt: feed it to the agent, run **3–5 trials**.
|
|
22
22
|
- PASS if the agent invokes the `deployment` skill.
|
|
@@ -21,8 +21,8 @@ should_not_trigger:
|
|
|
21
21
|
route_to: "postgresdb"
|
|
22
22
|
why: "DB schema/migration logic is application/data-layer work; this skill explicitly defers runtime/migration logic to the per-stack/DB skills and stops at the container boundary."
|
|
23
23
|
- prompt: "Add a rate limiter and validate the JWT on my FastAPI auth endpoints before they hit the handler."
|
|
24
|
-
route_to: "
|
|
25
|
-
why: "Input validation and authn/z hardening is
|
|
24
|
+
route_to: "security-audit"
|
|
25
|
+
why: "Input validation and authn/z hardening is security-audit's domain; this skill assumes the app already does this and does not author runtime auth code."
|
|
26
26
|
- prompt: "Convert my Docker Compose stack to a Kubernetes Helm chart with an HPA and an ingress."
|
|
27
27
|
route_to: "none"
|
|
28
28
|
why: "Kubernetes/Helm orchestration is explicitly out of scope ('say so and stop'); no sibling covers it, so it should not route into deployment."
|
package/skills/django/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: django
|
|
3
3
|
description: "Use when building, reviewing, securing, testing or shipping a Django app — models, migrations, QuerySets/managers, FBV/CBV views, forms, the admin, settings split, and Django REST Framework (serializers, ModelViewSet, permissions). NOT async FastAPI/Pydantic services (that is `fastapi`), NOT Postgres schema/index work (that is `postgresdb`)."
|
|
4
4
|
tags: [python, django, orm, drf, backend, web]
|
|
5
|
-
recommends: [postgresdb,
|
|
5
|
+
recommends: [postgresdb, security-audit, deployment, testing-py, api-design]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -37,7 +37,7 @@ add a dependency.
|
|
|
37
37
|
|---|---|
|
|
38
38
|
| Async service, `fastapi`/`pydantic`/uvicorn, async SQLAlchemy | `fastapi` |
|
|
39
39
|
| Postgres schema design, EXPLAIN ANALYZE, indexing strategy, RLS, pooling | `postgresdb` |
|
|
40
|
-
| Cross-stack OWASP/STRIDE threat modeling | `
|
|
40
|
+
| Cross-stack OWASP/STRIDE threat modeling | `security-audit` |
|
|
41
41
|
| Container/Compose/CI, gunicorn prod tuning, collectstatic pipeline | `deployment` |
|
|
42
42
|
| REST contract design (cursor vs offset, status codes, versioning) | `api-design` |
|
|
43
43
|
| ruff/uv/general type hints, packaging | `python` |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
by reading each prompt and checking the skill behaves: every `should_trigger` prompt should make
|
|
5
5
|
the `django` skill fire (including the non-obvious template-N+1 case and the Spanish phrasings),
|
|
6
6
|
and every `should_not_trigger` prompt should route to the named sibling (`fastapi`, `postgresdb`,
|
|
7
|
-
`
|
|
7
|
+
`security-audit`, `api-design`) instead. For the `capability` case, draft the answer and confirm it
|
|
8
8
|
hits every line in `must_include` — model with FK + Meta, explicit `ModelSerializer`, `ModelViewSet`
|
|
9
9
|
with `permission_classes`, owner-scoped `get_queryset` with `select_related`, router registration,
|
|
10
10
|
`perform_create` setting the owner, the `APIClient.force_authenticate` 403/200 test, and the
|
|
@@ -24,7 +24,7 @@ should_not_trigger:
|
|
|
24
24
|
route_to: postgresdb
|
|
25
25
|
why: DB-side query plan and indexing strategy, ORM-agnostic.
|
|
26
26
|
- prompt: "Do a STRIDE threat model of our payment flow."
|
|
27
|
-
route_to:
|
|
27
|
+
route_to: security-audit
|
|
28
28
|
why: Cross-stack threat modeling, not Django middleware/CSP knobs.
|
|
29
29
|
- prompt: "Should this REST API use cursor or offset pagination, and what status code for a partial update?"
|
|
30
30
|
route_to: api-design
|
|
@@ -78,4 +78,4 @@ Avoid `.extra()` (deprecated, injection-prone). Prefer the ORM or `Func`/`RawSQL
|
|
|
78
78
|
|
|
79
79
|
- Validate uploaded content type and size; store outside the web root; never trust the filename.
|
|
80
80
|
- Any server-side fetch of a user-supplied URL is SSRF-prone — allowlist hosts, block internal
|
|
81
|
-
ranges. Cross-stack SSRF/threat-modeling depth is `
|
|
81
|
+
ranges. Cross-stack SSRF/threat-modeling depth is `security-audit`.
|
package/skills/docker/SKILL.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: docker
|
|
3
|
-
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 `
|
|
3
|
+
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`)."
|
|
4
4
|
tags: [docker, containers, dockerfile, compose, image-security]
|
|
5
|
-
recommends: [deployment,
|
|
5
|
+
recommends: [deployment, security-audit, scaling, github-actions]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -29,7 +29,7 @@ references Dockerfiles and leans on you for the image internals.
|
|
|
29
29
|
|---|---|---|
|
|
30
30
|
| CI build, registry push, deploy to host, rollback | `../deployment/SKILL.md` | You build + harden the image; it moves the image through CI to prod |
|
|
31
31
|
| k8s manifests, HPA autoscaling, ingress | `scaling` | Orchestration above a single image |
|
|
32
|
-
| App SQL injection, secrets in source, dep CVE triage | `../
|
|
32
|
+
| App SQL injection, secrets in source, dep CVE triage | `../security-audit/SKILL.md` | You cover only *image/container* hardening |
|
|
33
33
|
| Install/operate a self-hosted PaaS | `../coolify/SKILL.md` | Host operation, not the image |
|
|
34
34
|
| Containerless PaaS deploy mechanics | `../railway/SKILL.md`, `../fly-io/SKILL.md` | Platform deploy, not the Dockerfile |
|
|
35
35
|
|
|
@@ -20,7 +20,7 @@ should_not_trigger:
|
|
|
20
20
|
route_to: scaling
|
|
21
21
|
why: Orchestration/autoscaling above a single image is scaling's domain.
|
|
22
22
|
- prompt: "Fix the SQL injection in this endpoint."
|
|
23
|
-
route_to:
|
|
23
|
+
route_to: security-audit
|
|
24
24
|
why: App-level vulnerability, not image/container hardening.
|
|
25
25
|
- prompt: "Install and configure Coolify on my Hetzner box."
|
|
26
26
|
route_to: coolify
|
package/skills/dynamodb/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: dynamodb
|
|
3
3
|
description: "Use when modeling or operating a DynamoDB table: deriving partition/sort keys from access patterns, single-table vs table-per-entity, adding a GSI/LSI, on-demand vs provisioned capacity, or diagnosing hot-partition throttling. NOT relational schema/SQL/EXPLAIN (that is `postgresdb`), NOT aggregation-pipeline document modeling (that is `mongodb`)."
|
|
4
4
|
tags: [dynamodb, nosql, single-table-design, aws, data-modeling]
|
|
5
|
-
recommends: [postgresdb, mongodb, redis, vector-db, aws-essentials, deployment,
|
|
5
|
+
recommends: [postgresdb, mongodb, redis, vector-db, aws-essentials, deployment, security-audit]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -201,4 +201,4 @@ Relational schema / SQL / EXPLAIN / indexing → `../postgresdb/SKILL.md`; MySQL
|
|
|
201
201
|
document modeling + aggregation pipeline → `mongodb`; cache / queue / rate-limiter → `redis`; vector
|
|
202
202
|
store / semantic search → `vector-db`; AWS account / IAM / VPC setup → `aws-essentials`; provisioning the
|
|
203
203
|
table in CI/CD → `../deployment/SKILL.md`; API-layer auth/secrets in front of the table →
|
|
204
|
-
`../
|
|
204
|
+
`../security-audit/SKILL.md`.
|
package/skills/electron/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: electron
|
|
3
3
|
description: "Use when building, hardening, or shipping a cross-platform Electron desktop app — main/renderer/preload process model, typed contextBridge IPC, locking down nodeIntegration/contextIsolation/sandbox/CSP, or packaging with signing and auto-update. NOT a Rust-backed shell on the native webview (that is tauri), nor the web UI inside it (that is react)."
|
|
4
4
|
tags: [electron, desktop, ipc, security, packaging, auto-update, code-signing]
|
|
5
|
-
recommends: [tauri, react, nodejs, github-actions,
|
|
5
|
+
recommends: [tauri, react, nodejs, github-actions, security-audit]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -118,5 +118,5 @@ the same publisher identity for every release.
|
|
|
118
118
|
## Secrets
|
|
119
119
|
|
|
120
120
|
Certificates, Apple app-specific passwords, and signing keys are CI secrets — never commit
|
|
121
|
-
them. Storage/rotation policy belongs to `
|
|
121
|
+
them. Storage/rotation policy belongs to `security-audit`; this reference only covers where the
|
|
122
122
|
Electron flow consumes them (`process.env`, CI secret store).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: email-connector
|
|
3
3
|
description: "Use when wiring server code to send transactional or bulk email via Resend, SendGrid, or Postmark: a provider-agnostic sendEmail() seam, idempotent retries, 100-cap batches with partial failures, transactional-vs-broadcast streams, bounce webhooks feeding a suppression list. NOT SPF/DKIM/DMARC inbox reputation (that is `email-deliverability`)."
|
|
4
4
|
tags: [email, transactional-email, resend, sendgrid, postmark, webhooks, idempotency]
|
|
5
|
-
recommends: [email-deliverability, newsletter, webhooks,
|
|
5
|
+
recommends: [email-deliverability, newsletter, webhooks, security-audit, api-connector-builder, automation-flows]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -267,7 +267,7 @@ before I ever send) is `../lead-gen/SKILL.md` / `../email-deliverability/SKILL.m
|
|
|
267
267
|
|
|
268
268
|
| Anti-pattern | Why it bites | Do instead |
|
|
269
269
|
|--------------|--------------|------------|
|
|
270
|
-
| API key hard-coded (`re_…`, `SG.…`, server token) | Committed credential = send-as-you abuse | Read from `process.env`; rotate via `../
|
|
270
|
+
| API key hard-coded (`re_…`, `SG.…`, server token) | Committed credential = send-as-you abuse | Read from `process.env`; rotate via `../security-audit/SKILL.md` |
|
|
271
271
|
| No idempotency key on transactional sends | Queue/serverless retry double-sends | Deterministic `event:userId:version` key |
|
|
272
272
|
| One stream for everything | Marketing hit poisons reset/receipt deliverability | Split From + subdomain + stream (Step 6) |
|
|
273
273
|
| String-concatenated HTML with user input | XSS + broken layout | React Email component or `d-` dynamic template |
|
|
@@ -28,7 +28,7 @@ and lose fast. Treat this as ops on a domain, not a code change.
|
|
|
28
28
|
- **Consent, lawful basis, retention of the address list** → `gdpr-privacy` and
|
|
29
29
|
`data-policy`. Unsubscribe *mechanics* live here; consent *law* does not.
|
|
30
30
|
- **Handling the DKIM private key and provider API secrets** →
|
|
31
|
-
`../
|
|
31
|
+
`../security-audit/SKILL.md`.
|
|
32
32
|
|
|
33
33
|
## The three records that must align
|
|
34
34
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: error-handling
|
|
3
3
|
description: "Use when designing the reaction to a class of failures — typed error taxonomies, retry/backoff/timeout policy, circuit breakers, React/Next error boundaries, and the user-message vs operator-log split. NOT diagnosing one specific crash (that is debug), NOT logs/metrics/traces (that is observability), NOT the wire error envelope (that is api-design)."
|
|
4
4
|
tags: [error-handling, resilience, retry, circuit-breaker, error-boundary, typed-errors, fault-tolerance]
|
|
5
|
-
recommends: [debug, observability, monitoring, api-design,
|
|
5
|
+
recommends: [debug, observability, monitoring, api-design, security-audit, testing-web, nextjs]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
package/skills/expo/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: expo
|
|
3
3
|
description: "Use when shipping a React Native app with Expo — EAS Build/Submit/Update, eas.json profiles and channels, config plugins, prebuild/CNG, runtime-version policy, OTA updates that never land, SDK upgrades, the New Architecture. NOT RN UI, navigation or native-module authoring (that is `react-native`), NOT a Dart app (that is `flutter`)."
|
|
4
4
|
tags: [expo, eas, react-native, mobile, ota-updates, app-store]
|
|
5
|
-
recommends: [react-native, github-actions, ship, deployment,
|
|
5
|
+
recommends: [react-native, github-actions, ship, deployment, security-audit]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -180,7 +180,7 @@ it for free once both the build and the update are on SDK 55+.
|
|
|
180
180
|
scoped by profile, not committed plaintext.
|
|
181
181
|
- **Never commit** a keystore (`*.jks`/`*.keystore`), `*.p12`, or
|
|
182
182
|
`*.mobileprovision`, and never put API keys in `app.config`/`app.json` — anything
|
|
183
|
-
in app config ships inside the public bundle. See `../
|
|
183
|
+
in app config ships inside the public bundle. See `../security-audit/SKILL.md`.
|
|
184
184
|
|
|
185
185
|
## EAS Workflows
|
|
186
186
|
|
package/skills/fastapi/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: fastapi
|
|
3
3
|
description: "Use when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0, OAuth2/JWT, ASGITransport tests, production wiring. NOT language-level Python or packaging (that is `python`), NOT engine-level SQL (that is `postgresdb`), NOT framework-agnostic REST contracts (that is `api-design`)."
|
|
4
4
|
tags: [python, api, async, backend, rest]
|
|
5
|
-
recommends: [postgresdb,
|
|
5
|
+
recommends: [postgresdb, security-audit, deployment]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -28,7 +28,7 @@ notebooks and CLI-only scripts (no skill); language-level Python, typing and pac
|
|
|
28
28
|
cursor vs offset → [`api-design`](../api-design/SKILL.md) (this skill covers their FastAPI *implementation*);
|
|
29
29
|
engine-level schema, indexing, EXPLAIN, zero-downtime migrations, PgBouncer →
|
|
30
30
|
[`postgresdb`](../postgresdb/SKILL.md); language-agnostic injection / secret / authz theory →
|
|
31
|
-
[`
|
|
31
|
+
[`security-audit`](../security-audit/SKILL.md); Dockerfile, Compose and CI/CD mechanics →
|
|
32
32
|
[`deployment`](../deployment/SKILL.md) (this skill keeps only a Docker *note*).
|
|
33
33
|
|
|
34
34
|
## Decision rules
|
|
@@ -353,7 +353,7 @@ Keep this envelope identical across every handler — one `code`/`message`/`deta
|
|
|
353
353
|
clients parse errors once. Subclass `AppError` per failure (each fixes a `code` + status):
|
|
354
354
|
`NotFoundError` (404), `ConflictError` (409), `Unauthorized` (401), `Forbidden` (403) — full
|
|
355
355
|
hierarchy in → [`references/production.md`](references/production.md) (AppError subclasses).
|
|
356
|
-
[`
|
|
356
|
+
[`security-audit`](../security-audit/SKILL.md) has the why: error responses must never leak internals
|
|
357
357
|
(stack traces, SQL, secrets).
|
|
358
358
|
|
|
359
359
|
## Async SQLAlchemy 2.0 (essentials)
|
|
@@ -431,7 +431,7 @@ pinned), `get_current_user`/`require_roles` RBAC, CORS, shared-store rate limiti
|
|
|
431
431
|
`SecretStr` + log redaction, security headers, `pip-audit` — lives in
|
|
432
432
|
→ [`references/security.md`](references/security.md) — including the exact `argon2.PasswordHasher().hash(pw)` and
|
|
433
433
|
`jwt.decode(t, key, algorithms=[...], audience=..., issuer=...)` calls. See
|
|
434
|
-
[`
|
|
434
|
+
[`security-audit`](../security-audit/SKILL.md) for the language-agnostic theory.
|
|
435
435
|
|
|
436
436
|
## Production
|
|
437
437
|
|
|
@@ -10,7 +10,7 @@ Goal: the `fastapi` skill fires on in-scope prompts and stays silent on near-mis
|
|
|
10
10
|
|
|
11
11
|
1. Load **only** the `fastapi` skill description into the agent (plus the bare names of the
|
|
12
12
|
sibling skills for routing: nextjs, go, postgresdb, flutter, design, marketing,
|
|
13
|
-
presentations, course-storytelling, building-agents,
|
|
13
|
+
presentations, course-storytelling, building-agents, security-audit, deployment, harness,
|
|
14
14
|
init). Do **not** load the skill bodies.
|
|
15
15
|
2. For each prompt in `should_trigger` and `should_not_trigger`, ask the agent which skill
|
|
16
16
|
(if any) it would invoke. Run **3–5 trials per prompt** (temperature as in production) to
|
|
@@ -44,7 +44,7 @@ Goal: the skill measurably improves the answer, not just gates it.
|
|
|
44
44
|
- Keep prompts varied and realistic; some deliberately omit the word "FastAPI" so triggering
|
|
45
45
|
rests on the async-Python-HTTP-service signal, not keyword matching.
|
|
46
46
|
- Near-misses route to the genuinely correct sibling (Next.js → nextjs, raw SQL → postgresdb,
|
|
47
|
-
generic security →
|
|
47
|
+
generic security → security-audit, Docker/CI → deployment) or to `none` (Flask, framework-
|
|
48
48
|
agnostic REST contract questions).
|
|
49
49
|
- This is judgment-based, not byte-exact; record trial counts and the judge (human or model)
|
|
50
50
|
alongside results for reproducibility.
|
|
@@ -24,8 +24,8 @@ should_not_trigger:
|
|
|
24
24
|
route_to: "postgresdb"
|
|
25
25
|
why: "Pure engine-level SQL/indexing/EXPLAIN below the SQLAlchemy layer; this is the postgresdb sibling's territory."
|
|
26
26
|
- prompt: "Explain the general principles for preventing injection and safely storing secrets, language-agnostic."
|
|
27
|
-
route_to: "
|
|
28
|
-
why: "Generic
|
|
27
|
+
route_to: "security-audit"
|
|
28
|
+
why: "Generic security theory not specific to Python/FastAPI; the skill defers this to security-audit."
|
|
29
29
|
- prompt: "Write the Dockerfile and GitHub Actions pipeline to build and deploy our container image."
|
|
30
30
|
route_to: "deployment"
|
|
31
31
|
why: "Container/Compose/CI deploy mechanics belong to deployment; this skill keeps only a Docker note."
|
|
@@ -4,7 +4,7 @@ Concrete, FastAPI-specific hardening on Python 3.12+: argon2-cffi 23+ password h
|
|
|
4
4
|
2.10+ with validated claims and **pinned algorithms**, RBAC dependencies, env-specific CORS,
|
|
5
5
|
shared-store rate limiting, injection-proof queries, `SecretStr` handling, log redaction,
|
|
6
6
|
security headers, and dependency auditing. For language-agnostic theory, **See Also
|
|
7
|
-
`
|
|
7
|
+
`security-audit`**.
|
|
8
8
|
|
|
9
9
|
## Password hashing
|
|
10
10
|
|
|
@@ -325,6 +325,6 @@ open update PRs automatically. Treat a failing audit as a build break, not a war
|
|
|
325
325
|
|
|
326
326
|
## See Also
|
|
327
327
|
|
|
328
|
-
- [`
|
|
328
|
+
- [`security-audit`](../../security-audit/SKILL.md) — language-agnostic injection, authz, and secret-handling rules (never leak internals through error responses).
|
|
329
329
|
- [`production.md`](production.md) — TLS termination, proxy headers, observability.
|
|
330
330
|
- [`postgresdb`](../../postgresdb/SKILL.md) — row-level security, DB roles/grants, and PgBouncer auth.
|
package/skills/firebase/SKILL.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: firebase
|
|
3
3
|
description: "Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at ~1 write/sec. NOT managed-Postgres BaaS with SQL and RLS (that is supabase)."
|
|
4
4
|
tags: [firebase, firestore, security-rules, cloud-functions, auth]
|
|
5
|
-
recommends: [
|
|
5
|
+
recommends: [security-audit, gcp-essentials, nextjs]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
package/skills/flutter/SKILL.md
CHANGED
|
@@ -28,7 +28,7 @@ UI/nav/perf references. For a single-file throwaway sample, say architecture is
|
|
|
28
28
|
impose layering.
|
|
29
29
|
|
|
30
30
|
Around the edges: `harness` owns the workspace `01-TOOLS`/`02-DOCS` layer and flavor secrets; `fastapi`,
|
|
31
|
-
`go` and `nextjs` build the backends this app talks to; `
|
|
31
|
+
`go` and `nextjs` build the backends this app talks to; `security-audit` reviews token handling and
|
|
32
32
|
deep-link validation; `deployment` handles store/CI release; `design` owns the Material 3 token system.
|
|
33
33
|
|
|
34
34
|
## Decision rules
|
|
@@ -40,8 +40,8 @@ should_not_trigger:
|
|
|
40
40
|
why: "Pure SQL/database tuning has nothing to do with the Flutter client; routes to the database skill."
|
|
41
41
|
|
|
42
42
|
- prompt: "Review how we store the OAuth refresh token and validate incoming deep-link URLs for injection — is it secure?"
|
|
43
|
-
route_to: "
|
|
44
|
-
why: "A security-only audit of token storage and deep-link validation belongs to
|
|
43
|
+
route_to: "security-audit"
|
|
44
|
+
why: "A security-only audit of token storage and deep-link validation belongs to security-audit; the SKILL itself points token handling/deep-link validation to that sibling."
|
|
45
45
|
|
|
46
46
|
- prompt: "Build the marketing landing page and SEO metadata for our app's website in Next.js."
|
|
47
47
|
route_to: "nextjs"
|
package/skills/fly-io/SKILL.md
CHANGED
|
@@ -149,7 +149,7 @@ fly secrets unset OLD_KEY
|
|
|
149
149
|
fly secrets set STRIPE_KEY=sk_live_51H...
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
Treat secret hygiene as non-negotiable — see ../
|
|
152
|
+
Treat secret hygiene as non-negotiable — see ../security-audit/SKILL.md.
|
|
153
153
|
|
|
154
154
|
## Scaling: pick the right lever
|
|
155
155
|
|
|
@@ -22,7 +22,7 @@ Route elsewhere when the ask is not netcode:
|
|
|
22
22
|
| Physics determinism, collision, character controllers | [`gamedev-physics`](../gamedev-physics/SKILL.md) | Netcode *consumes* determinism; it does not own the physics fix. |
|
|
23
23
|
| Matchmaking, lobby backend, dedicated-server hosting, relays, DB, game-server CI | [`deployment`](../deployment/SKILL.md) | Running the fleet, not designing the in-game net layer. |
|
|
24
24
|
| Web realtime — chat, presence, a generic WebSocket app | [`webhooks`](../webhooks/SKILL.md) | Not a game world/simulation. |
|
|
25
|
-
| General threat modeling, authz review | [`
|
|
25
|
+
| General threat modeling, authz review | [`security-audit`](../security-audit/SKILL.md) | This skill keeps only the game-specific anti-cheat controls. |
|
|
26
26
|
|
|
27
27
|
## Version contract — read first
|
|
28
28
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
skill-catalog descriptions into a routing agent and, for each `should_trigger` prompt, confirm this skill
|
|
5
5
|
fires (including the near-miss phrasings that never say "netcode"); for each `should_not_trigger` prompt,
|
|
6
6
|
confirm it stays silent and that whatever does fire matches the stated `route_to` sibling (godot, deployment,
|
|
7
|
-
gamedev-physics, webhooks,
|
|
7
|
+
gamedev-physics, webhooks, security-audit). Because LLM routing is non-deterministic, run several trials and
|
|
8
8
|
take the majority. For the `capability` scenario, run it once with the skill body unavailable and once with
|
|
9
9
|
`SKILL.md` + references loaded, then check each output against `must_include` — the with-skill answer must
|
|
10
10
|
use current APIs (ENetMultiplayerPeer, `@rpc("any_peer", …)`, `is_server()` authority gate, no Godot 3.x
|
|
@@ -30,8 +30,8 @@ should_not_trigger:
|
|
|
30
30
|
route_to: "webhooks"
|
|
31
31
|
why: "Generic web realtime that is not a game world/simulation is not this skill's domain."
|
|
32
32
|
- prompt: "Do a general threat model and authz review of my app's permission boundaries."
|
|
33
|
-
route_to: "
|
|
34
|
-
why: "Language/domain-agnostic threat modeling is
|
|
33
|
+
route_to: "security-audit"
|
|
34
|
+
why: "Language/domain-agnostic threat modeling is security-audit; this skill keeps only game-specific anti-cheat controls."
|
|
35
35
|
|
|
36
36
|
capability:
|
|
37
37
|
- scenario: "In Godot 4.x, wire a server-authoritative 'fire weapon' from a client so the server validates and applies the shot, with the same code working on a listen-server host. Show the RPC and the authority handling."
|
|
@@ -36,7 +36,7 @@ Godot templates·Unity Build Profiles·Unreal Shipping desktop·web·mobile
|
|
|
36
36
|
| Gameplay, shaders, netcode, physics — any runtime logic | `../godot/SKILL.md`, `../unity/SKILL.md`, `../unreal/SKILL.md`, `../gamedev-shaders/SKILL.md`, `../gamedev-multiplayer/SKILL.md`, `../gamedev-physics/SKILL.md` | This skill packages code, it does not write it. The boundary is the export button. |
|
|
37
37
|
| Hosting a normal web app, API or container (Dockerfile, Coolify, Vercel, VPS) | `../deployment/SKILL.md` | A WebAssembly game is *static files*; only its **headers** are special (below). Borrow its Actions + header-setting patterns. |
|
|
38
38
|
| Game feel, economy, narrative | `../game-design/SKILL.md`, `../game-storytelling/SKILL.md` | Design intent, not packaging. |
|
|
39
|
-
| Signing-key and CI secret handling in general | `../
|
|
39
|
+
| Signing-key and CI secret handling in general | `../security-audit/SKILL.md` | The practice this skill assumes for keystores/certs. |
|
|
40
40
|
|
|
41
41
|
## Decision rules (settle these before touching a build)
|
|
42
42
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: gcp-essentials
|
|
3
3
|
description: "Use when running a small product on core Google Cloud via the gcloud CLI: a project, Cloud Run deploys, a locked-down Cloud Storage bucket, managed Cloud SQL, and least-privilege IAM wiring them together. NOT AWS (that is `aws-essentials`), NOT the CI pipeline that ships the image (that is `deployment`), NOT Postgres schema/query tuning (that is `postgresdb`)."
|
|
4
4
|
tags: [gcp, cloud-run, cloud-sql, cloud-storage, iam, gcloud, serverless, devops]
|
|
5
|
-
recommends: [aws-essentials, docker, github-actions,
|
|
5
|
+
recommends: [aws-essentials, docker, github-actions, security-audit, postgresdb, deployment, monitoring, backups]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Out of scope, route elsewhere: AWS -> [`../aws-essentials/SKILL.md`](../aws-esse
|
|
|
24
24
|
Building/shipping the image itself -> [`../docker/SKILL.md`](../docker/SKILL.md)
|
|
25
25
|
/ [`../github-actions/SKILL.md`](../github-actions/SKILL.md) / [`../deployment/SKILL.md`](../deployment/SKILL.md).
|
|
26
26
|
Postgres schema/index/query tuning -> [`../postgresdb/SKILL.md`](../postgresdb/SKILL.md).
|
|
27
|
-
App-level injection/secret-handling review -> [`../
|
|
27
|
+
App-level injection/secret-handling review -> [`../security-audit/SKILL.md`](../security-audit/SKILL.md).
|
|
28
28
|
Logging/alerting/SLOs as a practice -> [`../monitoring/SKILL.md`](../monitoring/SKILL.md).
|
|
29
29
|
Backup strategy as a discipline -> [`../backups/SKILL.md`](../backups/SKILL.md).
|
|
30
30
|
One-click PaaS where you never touch IAM/VPC -> [`../vercel/SKILL.md`](../vercel/SKILL.md)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`cases.yaml` drives two checks through the repo's standard eval harness. The
|
|
4
4
|
`should_trigger` / `should_not_trigger` prompts verify routing: each negative case
|
|
5
5
|
names the real sibling skill it should defer to (`aws-essentials`, `docker`,
|
|
6
|
-
`postgresdb`, `
|
|
6
|
+
`postgresdb`, `security-audit`, `vercel`) so the boundary is graded, not assumed. The
|
|
7
7
|
`capability` case is graded by an LLM judge against its `must_include` rubric — there
|
|
8
8
|
are no live GCP calls and nothing is deployed; the judge reads the produced gcloud
|
|
9
9
|
commands and checks that they are least-privilege, keyless, private-by-default, and
|
|
@@ -23,8 +23,8 @@ should_not_trigger:
|
|
|
23
23
|
route_to: "deployment"
|
|
24
24
|
why: "Container build and CI/CD mechanics are deployment work, not GCP service setup."
|
|
25
25
|
- prompt: "Review this authentication code for injection and broken authorization."
|
|
26
|
-
route_to: "
|
|
27
|
-
why: "Application security review belongs to
|
|
26
|
+
route_to: "security-audit"
|
|
27
|
+
why: "Application security review belongs to security-audit."
|
|
28
28
|
|
|
29
29
|
capability:
|
|
30
30
|
- scenario: "A developer says: 'I need a private Cloud Run API connected to Cloud SQL and a bucket, with least-privilege IAM. Give me the safe gcloud shape.'"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: gdpr-privacy
|
|
3
3
|
description: "Use when producing the GDPR artifacts a product publishes or hands over: a privacy policy true to what it processes, a cookie/consent banner, a lawful basis per purpose, an Art. 28 DPA, an SCC transfer mechanism, or a DSAR flow. Drafts for counsel review. NOT internal retention rules (that is `data-policy`), NOT consumer ToS (that is `terms-conditions`)."
|
|
4
4
|
tags: [gdpr, privacy, data-protection, cookies, consent, lawful-basis, dpa, scc, dsar, ropa, dpia, rgpd]
|
|
5
|
-
recommends: [data-policy, terms-conditions, contracts, compliance,
|
|
5
|
+
recommends: [data-policy, terms-conditions, contracts, compliance, security-audit, email-deliverability]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -138,7 +138,7 @@ Hand off what isn't yours:
|
|
|
138
138
|
- The user-facing Terms of Service / EULA → `../terms-conditions/SKILL.md`.
|
|
139
139
|
- The commercial paper around a DPA (liability, indemnity, the MSA) → `../contracts/SKILL.md`.
|
|
140
140
|
- SOC 2 / ISO 27001 / audit-evidence posture → `../compliance/SKILL.md`.
|
|
141
|
-
- The Article 32 code-level controls (encryption, authz, secrets) → `../
|
|
141
|
+
- The Article 32 code-level controls (encryption, authz, secrets) → `../security-audit/SKILL.md`.
|
|
142
142
|
- Email opt-in mechanics / SPF / DKIM / list hygiene → `../email-deliverability/SKILL.md` (the *consent* substance stays here).
|
|
143
143
|
|
|
144
144
|
## Anti-patterns
|
|
@@ -32,7 +32,7 @@ should_not_trigger:
|
|
|
32
32
|
route_to: compliance
|
|
33
33
|
why: Standards/audit posture, not a GDPR data-subject artifact.
|
|
34
34
|
- prompt: "Implement field-level encryption and fix the auth on our API."
|
|
35
|
-
route_to:
|
|
35
|
+
route_to: security-audit
|
|
36
36
|
why: Art. 32 code-level controls are engineering, not the privacy disclosure layer.
|
|
37
37
|
|
|
38
38
|
capability:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: github-actions
|
|
3
3
|
description: "Use when authoring or fixing GitHub Actions CI/CD — workflows under .github/workflows, triggers, job matrix, caching, token permissions, OIDC cloud deploys, environment gates, reusable workflows. NOT the Dockerfile or image build strategy (that is `docker`), NOT the branching model (that is `git-workflow`), NOT release readiness (that is `ship`)."
|
|
4
4
|
tags: [github-actions, ci-cd, workflows, oidc, caching]
|
|
5
|
-
recommends: [docker, git-workflow, ship, deployment,
|
|
5
|
+
recommends: [docker, git-workflow, ship, deployment, security-audit, aws-essentials, vercel]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -19,7 +19,7 @@ This skill owns the workflow layer — the `.github/workflows/*.yml` files, thei
|
|
|
19
19
|
| Release readiness checklist, changelog, the shipping decision | `../ship/SKILL.md` | Whether to release is a decision; this skill only automates the mechanics. |
|
|
20
20
|
| Blue/green, canary, rollback *theory* | `../deployment/SKILL.md` | Actions triggers the deploy; the strategy is deployment's. |
|
|
21
21
|
| Choosing the host and its deploy primitives | `../vercel/SKILL.md`, `../aws-essentials/SKILL.md` | Actions *triggers* the deploy; the host owns the target. |
|
|
22
|
-
| Triaging SAST/CVE findings, threat modeling | `../
|
|
22
|
+
| Triaging SAST/CVE findings, threat modeling | `../security-audit/SKILL.md` | This skill runs a scanner *as a job*; it does not interpret the report. |
|
|
23
23
|
|
|
24
24
|
## Decide the trigger first
|
|
25
25
|
|
package/skills/go/SKILL.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: go
|
|
3
|
-
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 `
|
|
3
|
+
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`)."
|
|
4
4
|
tags: [go, golang, http, backend, service]
|
|
5
|
-
recommends: [postgresdb,
|
|
5
|
+
recommends: [postgresdb, security-audit, deployment]
|
|
6
6
|
origin: risco
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ Go error handling and HTTP contract design (status-code taxonomy, REST resource
|
|
|
20
20
|
**here** — this skill is the canonical authority for both in Go. Delegate outward:
|
|
21
21
|
|
|
22
22
|
- Language-agnostic abuse/authz review, threat modeling, OWASP-class bugs ->
|
|
23
|
-
[`
|
|
23
|
+
[`security-audit`](../security-audit/SKILL.md). This skill keeps the Go-specific controls:
|
|
24
24
|
SQL params, server timeouts, `govulncheck`, TLS defaults.
|
|
25
25
|
- Containerfile / k8s / CI pipeline authoring -> [`deployment`](../deployment/SKILL.md).
|
|
26
26
|
This skill ships only a Docker note + `ldflags`.
|
|
@@ -322,7 +322,7 @@ tlsCfg := &tls.Config{MinVersion: tls.VersionTLS12} // do not hand-pick cipher s
|
|
|
322
322
|
|
|
323
323
|
Run `govulncheck ./...` in CI; keep deps honest with `go mod tidy` + `go mod verify`. Read
|
|
324
324
|
secrets from env / a secret manager, never log them; redact tokens with slog `ReplaceAttr`.
|
|
325
|
-
Deeper authz/abuse review -> `
|
|
325
|
+
Deeper authz/abuse review -> `security-audit`.
|
|
326
326
|
|
|
327
327
|
## Production
|
|
328
328
|
|
|
@@ -13,7 +13,7 @@ Goal: the `go` skill fires on `should_trigger` prompts and stays silent on
|
|
|
13
13
|
Setup:
|
|
14
14
|
- Load the **full skill catalog descriptions** (the routing layer sees every sibling:
|
|
15
15
|
fastapi, nextjs, go, postgresdb, flutter, design, marketing, presentations,
|
|
16
|
-
course-storytelling, building-agents,
|
|
16
|
+
course-storytelling, building-agents, security-audit, deployment, harness, init).
|
|
17
17
|
- For each prompt, start a fresh agent session (no prior context bleed).
|
|
18
18
|
|
|
19
19
|
Procedure:
|
|
@@ -18,8 +18,8 @@ should_trigger:
|
|
|
18
18
|
|
|
19
19
|
should_not_trigger:
|
|
20
20
|
- prompt: "Do a threat model and OWASP-style authz review of my multi-tenant app's permission boundaries."
|
|
21
|
-
route_to: "
|
|
22
|
-
why: "Language-agnostic threat modeling and authz/abuse review is explicitly delegated to
|
|
21
|
+
route_to: "security-audit"
|
|
22
|
+
why: "Language-agnostic threat modeling and authz/abuse review is explicitly delegated to security-audit; only Go-specific controls stay here."
|
|
23
23
|
- prompt: "Write a multi-stage Dockerfile and a GitHub Actions CI pipeline to build and deploy my service to Hetzner."
|
|
24
24
|
route_to: "deployment"
|
|
25
25
|
why: "Containerfile / CI / shipping is delegated to deployment; this skill ships only a Docker note plus ldflags."
|