opencastle 0.36.2 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -141,7 +141,7 @@ in whichever shape it expects.
141
141
  **Agents** — 13 role definitions (Developer, UI/UX, Data, Security, Testing,
142
142
  Reviewer, and others), each with a defined scope and output contract.
143
143
 
144
- **Skills** — 27 domain skills plus 30 tool integrations, loaded on demand so
144
+ **Skills** — 31 domain skills plus 31 tool integrations, loaded on demand so
145
145
  they don't sit in the context window. Selected during init from what your
146
146
  repository actually uses.
147
147
 
@@ -0,0 +1,3 @@
1
+ import type { PluginConfig } from '../types.js';
2
+ export declare const config: PluginConfig;
3
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/orchestrator/plugins/hetzner/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,MAAM,EAAE,YAkBpB,CAAC"}
@@ -0,0 +1,20 @@
1
+ export const config = {
2
+ id: 'hetzner',
3
+ name: 'Hetzner Cloud',
4
+ category: 'tech',
5
+ subCategory: 'deployment',
6
+ label: 'Hetzner Cloud',
7
+ hint: 'IaaS — servers, volumes, private networks, firewalls via hcloud CLI / Pulumi',
8
+ skillName: 'hetzner-cloud',
9
+ authType: 'env-token',
10
+ envVars: [
11
+ {
12
+ name: 'HCLOUD_TOKEN',
13
+ hint: 'Hetzner Cloud Console → project → Security → API tokens (read-write)',
14
+ },
15
+ ],
16
+ agentToolMap: {},
17
+ docsUrl: null,
18
+ officialDocs: 'https://docs.hetzner.com/cloud/',
19
+ };
20
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/orchestrator/plugins/hetzner/config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,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,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAIjE;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,EAEF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAiC/C,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE7F,2CAA2C;AAC3C,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAgChD,CAAC;AAEF,8BAA8B;AAC9B,eAAO,MAAM,YAAY,gBAExB,CAAC;AAEF,8BAA8B;AAC9B,eAAO,MAAM,YAAY,gBAExB,CAAC;AAEF,oCAAoC;AACpC,eAAO,MAAM,WAAW,gBAEvB,CAAC;AAEF,yCAAyC;AACzC,eAAO,MAAM,UAAU,gBAEtB,CAAC;AAEF,0BAA0B;AAC1B,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAE9D;AAED,qCAAqC;AACrC,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,EAAE,CAE9E;AAED,yCAAyC;AACzC,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,YAAY,CAAC,aAAa,CAAC,GACvC,YAAY,EAAE,CAEhB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAIjE;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,EAEF,CAAC"}
@@ -27,6 +27,7 @@ import { config as sentry } from './sentry/config.js';
27
27
  import { config as drizzle } from './drizzle/config.js';
28
28
  import { config as cloudflare } from './cloudflare/config.js';
29
29
  import { config as coolify } from './coolify/config.js';
30
+ import { config as hetzner } from './hetzner/config.js';
30
31
  import { config as expo } from './expo/config.js';
31
32
  /** All registered plugins, keyed by ID. */
32
33
  export const PLUGINS = {
@@ -53,6 +54,7 @@ export const PLUGINS = {
53
54
  drizzle,
54
55
  cloudflare,
55
56
  coolify,
57
+ hetzner,
56
58
  expo,
57
59
  linear,
58
60
  jira,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/orchestrator/plugins/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,MAAM,IAAI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AA0B;AAC1B,MAAM,UAAU,SAAS,CAAC,EAAU;IAClC,OAAO,OAAO,CAAC,EAAE,CAAC,CAAC;AACrB,CAAC;AAED,qCAAqC;AACrC,MAAM,UAAU,oBAAoB,CAAC,QAAyB;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC;AACvE,CAAC;AAED,yCAAyC;AACzC,MAAM,UAAU,uBAAuB,CACrC,WAAwC;IAExC,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,KAAK,WAAW,CAAC,CAAC;AAC7E,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAAiB;IACrD,OAAO,OAAO;SACX,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,SAAS,CAAC;SACnC,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC;AAC5C,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAa,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;KACnE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;KACvB,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencastle",
3
- "version": "0.36.2",
3
+ "version": "0.38.0",
4
4
  "type": "module",
5
5
  "description": "Multi-agent orchestration framework for AI coding assistants",
6
6
  "bin": {
@@ -1,25 +1,25 @@
1
1
  {
2
- "hash": "d8392344",
2
+ "hash": "659a9160",
3
3
  "configHash": "30f8ea04",
4
- "lockfileHash": "fa619691",
5
- "browserHash": "f3c7cfa8",
4
+ "lockfileHash": "1ef29fb1",
5
+ "browserHash": "0b22b5fe",
6
6
  "optimized": {
7
7
  "astro > cssesc": {
8
8
  "src": "../../../../../node_modules/cssesc/cssesc.js",
9
9
  "file": "astro___cssesc.js",
10
- "fileHash": "6b516f93",
10
+ "fileHash": "c8f7fff8",
11
11
  "needsInterop": true
12
12
  },
13
13
  "astro > aria-query": {
14
14
  "src": "../../../../../node_modules/aria-query/lib/index.js",
15
15
  "file": "astro___aria-query.js",
16
- "fileHash": "84b1235a",
16
+ "fileHash": "3d9eae1a",
17
17
  "needsInterop": true
18
18
  },
19
19
  "astro > axobject-query": {
20
20
  "src": "../../../../../node_modules/axobject-query/lib/index.js",
21
21
  "file": "astro___axobject-query.js",
22
- "fileHash": "aa764e20",
22
+ "fileHash": "427f9c5a",
23
23
  "needsInterop": true
24
24
  }
25
25
  },
@@ -39,6 +39,9 @@
39
39
  ],
40
40
  "testing-workflow": [
41
41
  "e2e-testing"
42
+ ],
43
+ "technical-writing": [
44
+ "unslop"
42
45
  ]
43
46
  },
44
47
  "bindings": {
@@ -113,7 +116,8 @@
113
116
  "react-development",
114
117
  "api-patterns",
115
118
  "documentation-standards",
116
- "security-hardening"
119
+ "security-hardening",
120
+ "typescript-best-practices"
117
121
  ]
118
122
  },
119
123
  "Data Engineer": {
@@ -181,7 +185,9 @@
181
185
  "knowledge-management"
182
186
  ],
183
187
  "directSkills": [
184
- "documentation-standards"
188
+ "documentation-standards",
189
+ "technical-writing",
190
+ "writing-for-agents"
185
191
  ]
186
192
  },
187
193
  "Writer": {
@@ -194,7 +200,9 @@
194
200
  "documentation-standards",
195
201
  "validation-gates",
196
202
  "seo-patterns",
197
- "code-commenting"
203
+ "code-commenting",
204
+ "technical-writing",
205
+ "unslop"
198
206
  ]
199
207
  },
200
208
  "DevOps & Release": {
@@ -0,0 +1,96 @@
1
+ ---
2
+ name: hetzner-cloud
3
+ description: "Provisions Hetzner Cloud servers, volumes, private networks, and firewalls via the hcloud CLI and the Pulumi/Terraform hcloud provider; plans CAX/arm64 sizing; configures backups, snapshots, and DR rebuilds. Use when creating or resizing Hetzner servers, attaching volumes, configuring private networks or firewalls, choosing server types, scripting hcloud commands, or authoring hcloud IaC resources."
4
+ ---
5
+
6
+ # Hetzner Cloud
7
+
8
+ Facts that drift (prices, SKUs, locations, limits) go stale — **prefer retrieval over pre-training**: `hcloud server-type list -o json`, `hcloud location list`, docs.hetzner.com. Everything below is behavior, not price sheets. If the project documents a topology (e.g. `docs/architecture/`), read it before provisioning anything.
9
+
10
+ ## Provisioning Workflow
11
+
12
+ 1. **Pick type + location together** — CAX (Ampere arm64, best RAM/€) exists **only in EU DCs** (fsn1/nbg1/hel1); verify with `hcloud server-type list`. arm64 requires multi-arch container images end-to-end.
13
+ - Checkpoint: `hcloud server-type describe <type>` shows the target location.
14
+ 2. **Create network + firewall before servers** — attach at create time; firewall via label selector (`role=web`) scales better than per-server IDs.
15
+ - Checkpoint: firewall rules list SSH restricted to admin IPs, never `0.0.0.0/0`.
16
+ 3. **Create server with cloud-init user-data** — runs once at first boot only.
17
+ - Recovery: broken cloud-init → don't patch by hand; fix the template, `server rebuild` (keeps IPs) or replace via IaC.
18
+ 4. **Attach volumes, then mount explicitly** — see Volumes below.
19
+ - Checkpoint: mount survives reboot (`fstab` entry, not just `automount`).
20
+ 5. **Enable protection on stateful resources** — `hcloud server enable-protection <s> delete rebuild` + same for volumes.
21
+ - Gate: protection verified via `hcloud server describe` before real data lands.
22
+
23
+ ## Non-Obvious Behaviors
24
+
25
+ ### Networking
26
+ - **Cloud Firewalls filter ONLY the public interface.** Private-network traffic is never touched by them — segment the private net with host firewalls (`ufw`) or not at all. This is the most common Hetzner security misconception.
27
+ - Private network **MTU is 1450**, not 1500 — override in Docker (`daemon.json` `"mtu": 1450`) and any overlay/VPN on top, or suffer silent large-packet stalls.
28
+ - Private networks are **not encrypted** — treat as shared fabric, keep TLS for sensitive cross-node traffic.
29
+ - Network zones (e.g. `eu-central` = fsn1/nbg1/hel1) span DCs — cross-DC private traffic works and is free.
30
+ - **Floating IPs need manual OS config** (netplan alias); primary IPs configure themselves. Floating IP ≠ instant failover without host-side automation.
31
+ - IPv4 primary IPs bill separately and **survive server deletion** unless `auto_delete` is set — orphaned IPs keep billing.
32
+
33
+ ### Servers & billing
34
+ - Hourly billing capped at the monthly price. Deleting a server stops its billing but **volumes, snapshots, and primary IPs keep billing** — sweep for orphans after teardowns.
35
+ - `change-type` (resize) requires **ACPI shutdown first** (`hcloud server shutdown`, not `poweroff` — that's a hard cut risking fs damage). CPU/RAM can downgrade later only with `--keep-disk`; disk never shrinks.
36
+ - `server rebuild` wipes the disk but **keeps all IPs** — the fast DR path when the root cause is software.
37
+ - 20 TB egress included per cloud server; ingress + private-net traffic free.
38
+ - Metadata endpoint: `http://169.254.169.254/hetzner/v1/metadata` (useful in cloud-init to self-discover private IP).
39
+
40
+ ### Volumes
41
+ - **Location-bound** — attach only within the same DC; a "move to another region" is snapshot-less (rsync) by design.
42
+ - **Grow-only, online** — after `hcloud volume resize`, run `resize2fs`/`xfs_growfs` yourself; nothing automatic.
43
+ - `automount` mounts under `/mnt/<volume-name>` via udev — fine for experiments, wrong for services. Use an explicit `fstab` entry (`discard,nofail`) at a stable path; `nofail` so a detached volume doesn't hang boot.
44
+
45
+ ### Backups vs snapshots
46
+ | | Backups | Snapshots |
47
+ |---|---|---|
48
+ | Trigger | Automatic daily, 7 rolling | Manual |
49
+ | Cost | +20% of server price | Per GB stored |
50
+ | Survives server deletion | **No** | Yes |
51
+ | Can seed a new server | No (convert to snapshot first) | Yes (`--image <snapshot-id>`) |
52
+
53
+ Backup→snapshot conversion exists — do it before deleting a server whose history matters. Neither replaces app-level data exports — Hetzner backups are crash-consistent block copies, not application backups.
54
+
55
+ ### IaC (Pulumi / Terraform `hcloud` provider)
56
+ - **Changing `userData` replaces the server.** Deliberate for cattle; catastrophic for stateful nodes. Keep volatile config out of cloud-init (runtime config management owns it) and treat any cloud-init diff as a planned node replacement — or `ignoreChanges: ["userData"]` on pet servers.
57
+ - `serverType` change is a **replacement** in IaC even though the console/CLI resizes in place. To resize without replacement: `hcloud server change-type` manually, then refresh state + update code.
58
+ - Pulumi: `firewallIds` wants numbers — `firewall.id.apply(Number)`. Inline `networks` on the Server conflicts with a separate `ServerNetwork` resource — pick one.
59
+ - `backups: true` toggles in place (safe anytime). IaC-level `protect` only blocks the IaC tool — set **hcloud-side** delete/rebuild protection too; they guard different doors.
60
+ - Auth: `HCLOUD_TOKEN` env (CI/agents) — per-project tokens, read-write only where needed.
61
+
62
+ ## CLI Patterns
63
+
64
+ ```bash
65
+ export HCLOUD_TOKEN=... # stateless auth for CI/agents; `hcloud context` for humans
66
+ hcloud server list -o columns=name,status,ipv4,type -o noheader
67
+ hcloud server ssh my-server # no IP lookup, uses your agent keys
68
+ hcloud server create-image my-server --type snapshot --description "pre-change $(date +%F)"
69
+ hcloud volume list -o json | jq -r '.[] | select(.server==null) | .name' # orphaned volumes
70
+ hcloud primary-ip list -o json | jq -r '.[] | select(.assignee_id==null) | .ip' # orphaned IPs
71
+ hcloud server shutdown my-server \
72
+ && hcloud server change-type my-server --server-type cax31 --keep-disk \
73
+ && hcloud server poweron my-server # in-place upgrade, downgrade-capable
74
+ ```
75
+
76
+ ## Anti-Patterns
77
+
78
+ | Anti-pattern | Fix |
79
+ |-------------|-----|
80
+ | Trusting Cloud Firewall for private-net isolation | Host-level `ufw`; Cloud Firewall covers public interface only |
81
+ | SSH open to `0.0.0.0/0` | Admin-IP allowlist in firewall rules (or SSH over tunnel only) |
82
+ | `poweroff` before resize/maintenance | `shutdown` (ACPI graceful), then operate |
83
+ | Editing `userData` on a stateful server in IaC | Post-boot config mgmt; `ignoreChanges` or planned replacement |
84
+ | Relying on `automount` for service data | Explicit `fstab` (`discard,nofail`) at a stable mount point |
85
+ | Assuming CAX exists in every location | EU-only; check `server-type list` before designing |
86
+ | Deleting servers and assuming cleanup | Sweep volumes/snapshots/primary IPs — they persist and bill |
87
+ | Hetzner Backups as the only backup | App-level exports to object storage; backups die with the server |
88
+
89
+ ## References
90
+
91
+ | Resource | Purpose |
92
+ |----------|---------|
93
+ | <https://docs.hetzner.com/cloud/> | Authoritative, current limits/prices |
94
+ | <https://www.pulumi.com/registry/packages/hcloud/> | Pulumi provider resource reference |
95
+ | <https://registry.terraform.io/providers/hetznercloud/hcloud/latest/docs> | Terraform provider reference |
96
+ | **deployment** capability skill | Platform-level deploy/env-var/cron patterns |
@@ -0,0 +1,21 @@
1
+ import type { PluginConfig } from '../types.js';
2
+
3
+ export const config: PluginConfig = {
4
+ id: 'hetzner',
5
+ name: 'Hetzner Cloud',
6
+ category: 'tech',
7
+ subCategory: 'deployment',
8
+ label: 'Hetzner Cloud',
9
+ hint: 'IaaS — servers, volumes, private networks, firewalls via hcloud CLI / Pulumi',
10
+ skillName: 'hetzner-cloud',
11
+ authType: 'env-token',
12
+ envVars: [
13
+ {
14
+ name: 'HCLOUD_TOKEN',
15
+ hint: 'Hetzner Cloud Console → project → Security → API tokens (read-write)',
16
+ },
17
+ ],
18
+ agentToolMap: {},
19
+ docsUrl: null,
20
+ officialDocs: 'https://docs.hetzner.com/cloud/',
21
+ };
@@ -28,6 +28,7 @@ import { config as sentry } from './sentry/config.js';
28
28
  import { config as drizzle } from './drizzle/config.js';
29
29
  import { config as cloudflare } from './cloudflare/config.js';
30
30
  import { config as coolify } from './coolify/config.js';
31
+ import { config as hetzner } from './hetzner/config.js';
31
32
  import { config as expo } from './expo/config.js';
32
33
 
33
34
  export type { PluginConfig, McpServerConfig, McpInput, EnvVarRequirement } from './types.js';
@@ -57,6 +58,7 @@ export const PLUGINS: Record<string, PluginConfig> = {
57
58
  drizzle,
58
59
  cloudflare,
59
60
  coolify,
61
+ hetzner,
60
62
  expo,
61
63
  linear,
62
64
  jira,
@@ -0,0 +1,91 @@
1
+ ---
2
+ name: technical-writing
3
+ description: "Four-layer standard for technical prose: Diataxis document modes, Google developer style sentences, Simplified Technical English instruction rules, Global English disambiguation. Use when writing or reviewing docs, RFCs, README files, PR descriptions, or commit messages."
4
+ ---
5
+
6
+ # Technical Writing
7
+
8
+ The goal is writing a tired engineer understands on the first read. Four layers get you there, one question each: what kind of document is this, how do sentences address the reader, how much does each sentence carry, and can any sentence be read two ways. Apply all four, then run the **unslop** skill over the result.
9
+
10
+ Three rules sit above the layers:
11
+
12
+ - **Cut every word that does no work.** "In order to" is "to". "It is important to note that" is nothing.
13
+ - **Use the short, everyday word.** "Use", not "utilize". A long word has to buy its length with precision.
14
+ - **When a rule makes a sentence worse, fix it another way or leave it alone.** A sentence that follows every rule and sounds machine written has failed.
15
+
16
+ The codebase is the word list. Write the real symbol, file, flag, or command name, never a synonym or a description of it. Do not invent jargon; use the words a developer says out loud.
17
+
18
+ ## Layer 1: pick the mode (Diataxis)
19
+
20
+ One document, one mode. Two questions pick it: does the content inform action or understanding, and does it serve learning or work?
21
+
22
+ | | Learning | Work |
23
+ |---|---|---|
24
+ | **Action** | Tutorial | How-to |
25
+ | **Understanding** | Explanation | Reference |
26
+
27
+ - **Tutorial.** You are the teacher and the learner's success is your job. Open with what they will build, not what they will "learn". Every step produces a visible result, and you say what they should see. Cut explanation to one clause and a link. Write as "we", in commands.
28
+ - **How-to.** Solve a problem a person has, not an operation the machine can perform. Assume competence, skip teaching, allow forks: "If you want x, do y." Name it by the task.
29
+ - **Reference.** Describe, only describe. No instruction, no opinion, no hedging. State facts, options, limits, and errors. Mirror the structure of the thing described. Generate from code where possible so it stays true.
30
+ - **Explanation.** One bounded topic, readable away from the product. Each title should tolerate an implicit "About...". Give design decisions, history, constraints, alternatives. Opinion is allowed here and nowhere else.
31
+
32
+ Do not mix modes. No reference tables inside a tutorial, no hand-holding inside reference, no arguing inside a how-to. Split and link instead.
33
+
34
+ ## Layer 2: write sentences to the reader (Google developer style)
35
+
36
+ - Address the reader as "you", in the present tense. "Will" only for things that genuinely happen later.
37
+ - Say who does what: "the compiler checks", not "is checked".
38
+ - Write instructions as commands: "Click Submit." Never "should be done".
39
+ - Put the condition before the instruction: "To delete the document, click Delete." The reader skips what does not apply.
40
+ - Put the common case first, exceptions after.
41
+ - Sound like a knowledgeable friend. No buzzwords, no figurative language, no "please", and never "simply", "easy", or "quickly" in a procedure.
42
+ - Do not pre-announce features, and do not start consecutive sentences with the same phrase.
43
+ - Link with words that say where the link goes. Never "click here".
44
+ - Headings carry the point, not just the topic ("Pick the mode first", not "Modes"). Sentence case, one h1 per page, no skipped levels. Task headings are bare verb phrases, concept headings are noun phrases.
45
+ - Numbered lists for sequences, bullets for everything else. Introduce a list with a complete sentence and keep items parallel.
46
+ - Code in code font, UI elements in bold, serial commas. Drop "etc." and say up front that a list is partial.
47
+
48
+ ## Layer 3: load one statement at a time (Simplified Technical English)
49
+
50
+ - One instruction per sentence. One thought per sentence everywhere else.
51
+ - Split instructions longer than about 20 words, other sentences longer than about 25.
52
+ - Put the warning or condition before the step it guards.
53
+ - Keep "the" and "a". "Remove backup file" reads two ways; "Remove the backup file" reads one.
54
+ - Give each word one meaning and one job, then keep it. If "check" means inspect, do not also use it for restrain.
55
+ - Pick one word per action and stick to it: "start", never "start" here and "initiate" there.
56
+ - Write procedures as direct commands, never as narration and never in the passive.
57
+ - Avoid "-ing" words where you can. They take too many grammatical jobs and breed misreadings.
58
+
59
+ ## Layer 4: leave no sentence open to two readings (Global English)
60
+
61
+ - Keep "only" and "not" next to the word they change. "only fails on growth" and "fails only on growth" say different things.
62
+ - Break up long noun strings: "the proto import budget check script" becomes "the script that checks the proto-import budget".
63
+ - Make every "it", "they", and "this" point at one obvious thing. Repeat the noun when in doubt. Never use "this" or "which" to point at a whole clause.
64
+ - Do not drop verbs. "Phase 1 moves the converters and Phase 2 the runtime" leaves Phase 2 without one.
65
+ - Keep the small words that show structure. "Ensure that the switch is off" keeps "that" because it makes the sentence parse one way.
66
+ - Repeat the article in a series when it prevents a misread: "the client and the host", when they are two things.
67
+
68
+ ## Worked example
69
+
70
+ Before:
71
+
72
+ > Configuration of the proto import ratchet budget script parameters is performed via budget.json. Note that it's important to remember that running with --write, which updates the committed budget to reflect the current count, should only be done when lowering it. If exceeded, CI fails.
73
+
74
+ After:
75
+
76
+ > `budget.mjs` reads the committed budget from `budget.json` and counts the files that import protos. If the count exceeds the budget, CI fails. Run `budget.mjs --write` only to lower the budget.
77
+
78
+ By layer: "configuration is performed" becomes "`budget.mjs` reads", so someone does something (layer 2). "Ratchet" goes away and the real filename does the naming. The five-noun string breaks into plain clauses (layer 4). The hedge is deleted. The failure condition moves ahead of the step it explains, and the buried "should only be done when lowering" becomes a command with "only" beside its verb (layer 3).
79
+
80
+ ## Review checklist
81
+
82
+ 1. Is each file one mode, with links where modes meet?
83
+ 2. Is every instruction a command, with its condition in front?
84
+ 3. Does any sentence carry two instructions or two thoughts? Split it.
85
+ 4. Can any word be cut without losing meaning? Cut it.
86
+ 5. Is "only" beside the word it changes? Does every "it" point at one thing? Does every clause keep its verb?
87
+ 6. Does each thing have exactly one name across the docs?
88
+ 7. Would a developer say these words out loud?
89
+ 8. Are all symbols, paths, and counts real at this commit, with the commands that regenerate the counts?
90
+
91
+ Sources: diataxis.fr, developers.google.com/style, asd-ste100.org (Issue 9, 2025). Adapted from the `technical-writing` skill in [cursor/plugins](https://github.com/cursor/plugins/tree/main/pstack), MIT, copyright 2026 Lauren Tan.
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: typescript-best-practices
3
+ description: "Type-level discipline for TypeScript: discriminated unions, branded types, constructive modeling, narrowing hierarchy, exhaustiveness checks, boundary validation. Use when reading or editing any .ts or .tsx file, modelling domain types, or refactoring an `as` cast out of existing code."
4
+ ---
5
+
6
+ # TypeScript Best Practices
7
+
8
+ Make the illegal state unrepresentable, then let the compiler enforce it.
9
+
10
+ | Rule | Summary |
11
+ |------|---------|
12
+ | Discriminated unions | Model variants with a `kind` literal discriminant so impossible states cannot be represented. No optional-field bags. |
13
+ | Branded types | Brand primitives with `& { readonly __brand: 'X' }` so they cannot be mixed up. Validate once at creation. |
14
+ | Constructive modeling | Build the shape so the illegal value cannot be constructed. `[T, ...T[]]` for non-empty, `[T, T][]` for even length, `start` plus `duration` for a range. Not a runtime guard. |
15
+ | Simplest total type | Keep `T[]` while every operation on it stays total. Strengthen to `NonEmpty<T>` only where the loose type forces `!`, a cast, or a "should never happen" throw. |
16
+ | `unknown` over `any` | External data is `unknown`. `any` disables type checking everywhere it touches. |
17
+ | No `as` casts | Every `as` is a runtime crash waiting. Cast only after validation. |
18
+ | Narrowing hierarchy | Discriminant switch > `in` operator > `typeof`/`instanceof` > user-defined type guard > `as`. |
19
+ | Type guards | Must verify the claim. A lying guard is worse than `as`, because the bug hides behind a name that says it is safe. Name them `isX` or `hasX`. |
20
+ | Exhaustiveness | Inline `const _exhaustive: never = x` in default arms so the compiler errors when a variant is added. |
21
+ | `satisfies` over `as` | Validates the value without widening literal types. |
22
+ | Boundary validation | Parse where data crosses in, into a named domain type. `Record<string, unknown>` stops at that parse. Trust types inside; do not re-validate deep in call chains. |
23
+ | Schema-derived types | Reach for `Pick`/`Omit`/`Parameters`/`ReturnType`/`Awaited`/`typeof` before declaring a new interface. |
24
+ | Object args | Pass objects, not positional args, so argument order is self-documenting. Skip on hot paths: per-frame render, tokenizers, parsers. |
25
+ | Real tests | Do not mock what you can run. Prefer real test primitives and verify UI in a running build. Mock only what you cannot run locally. |
26
+ | Structured telemetry | Structured logger diagnostics with enough context to debug from an id. No `console.log` in shipped code. |
27
+
28
+ External data is anything from RPC payloads, `JSON.parse`, `postMessage`, IPC, file contents, environment variables, or database results.
29
+
30
+ ## Patterns
31
+
32
+ **Discriminated union.** If a bug forces the question "can this combination actually happen?", the type is too loose.
33
+
34
+ ```ts
35
+ // Don't. Boolean plus optionals lets contradictory states exist.
36
+ type DiffState = { loading: boolean; diff?: GitDiff; error?: string }
37
+
38
+ // Do. Only valid states exist.
39
+ type DiffState =
40
+ | { kind: 'loading' }
41
+ | { kind: 'ready'; diff: GitDiff }
42
+ | { kind: 'error'; error: string }
43
+ ```
44
+
45
+ **Branded type.** Validate once at creation; downstream code trusts the type.
46
+
47
+ ```ts
48
+ type AgentId = string & { readonly __brand: 'AgentId' }
49
+
50
+ function parseAgentId(input: string): AgentId {
51
+ if (!isUUID(input)) throw new Error(`Invalid agent id: ${input}`)
52
+ return input as AgentId
53
+ }
54
+ ```
55
+
56
+ **Constructive modeling.** Build from parts that are all legal instead of restricting a loose type with runtime checks. TypeScript has no refinement types, and you do not need one.
57
+
58
+ ```ts
59
+ type NonEmpty<T> = [T, ...T[]]
60
+ type Pairs<T> = [T, T][]
61
+
62
+ const isNonEmpty = <T>(arr: T[]): arr is NonEmpty<T> => arr.length > 0
63
+
64
+ // Don't: a comment holds the invariant.
65
+ type TimeRange = { start: Date; end: Date } // start <= end
66
+ // Do: a negative range cannot be written. Derive end when needed.
67
+ type TimeRange = { start: Date; durationMs: number }
68
+ ```
69
+
70
+ **Simplest total type.** Do not strengthen everything. `const sum = (xs: number[]) => xs.reduce((a, b) => a + b, 0)` is fine, because `[]` is 0. Strengthen when the loose type forces a lie at a use site; the tells are `!`, `arr[0] as T`, and a "should never happen" throw.
71
+
72
+ ```ts
73
+ // Don't: partiality smuggled past the compiler.
74
+ const newest = (sessions: Session[]): Session => sessions.at(0)!
75
+ // Do: strengthen the input, and the assertion disappears.
76
+ const newest = (sessions: NonEmpty<Session>): Session => sessions[0]
77
+ ```
78
+
79
+ Weakening the result to `Session | undefined` is the other total signature. Either way the empty case lands at the call site, the one place that knows what empty means.
80
+
81
+ **Earned cast.** When refactoring an `as` out of existing code, identify why the compiler cannot infer: a missing discriminant (add one), an overly wide source type (narrow it), an untyped boundary (add a parse function or schema), or something genuinely inexpressible (use a brand or `satisfies`).
82
+
83
+ **Exhaustiveness.** Return-style in value-returning switches, void-style in statement switches.
84
+
85
+ ```ts
86
+ default: {
87
+ const _exhaustive: never = s
88
+ return _exhaustive // or: void _exhaustive
89
+ }
90
+ ```
91
+
92
+ **`satisfies` over `as`.** `const config = { theme: 'dark', cols: 3 } satisfies Config` validates and keeps `config.theme` as the literal `'dark'`. The `as Config` form widens it to `string`.
93
+
94
+ Adapted from the `typescript-best-practices` skill in [cursor/plugins](https://github.com/cursor/plugins/tree/main/pstack), MIT, copyright 2026 Lauren Tan.
@@ -0,0 +1,80 @@
1
+ ---
2
+ name: unslop
3
+ description: "Removes AI tells from prose: puffery, AI vocabulary, em dashes, inline-header lists, hedging, filler, and abstract metaphor nouns. Use when writing or editing any prose a human reads, including README files, docs, PR descriptions, commit messages, changelogs, release notes, and marketing copy."
4
+ ---
5
+
6
+ # Unslop
7
+
8
+ Edit text to remove AI patterns and add human voice.
9
+
10
+ ## Process
11
+
12
+ 1. Scan for the patterns below.
13
+ 2. Rewrite. Preserve meaning, match the intended tone.
14
+ 3. Add soul.
15
+ 4. Self-audit: "what makes this obviously AI generated?" Fix what is left.
16
+
17
+ ## Add soul
18
+
19
+ Removing patterns is half the job. Sterile, voiceless writing is just as obvious.
20
+
21
+ - **Have opinions.** React to facts instead of neutrally listing pros and cons.
22
+ - **Vary rhythm.** Short sentences. Then longer ones that take their time.
23
+ - **Acknowledge complexity.** "Impressive but also kind of unsettling" beats "impressive".
24
+ - **Use "I" when it fits.** First person is not unprofessional.
25
+ - **Let some mess in.** Perfect structure looks machine made.
26
+ - **Be specific.** Not "this is concerning" but "there is something unsettling about agents churning away at 3am".
27
+
28
+ ## Content
29
+
30
+ 1. **Puffery.** "pivotal moment", "testament to", "evolving landscape", "setting the stage for", "indelible mark". Cut it and state what happened.
31
+ 2. **Name-dropping.** Listing outlets without context. Pick one, say what it said.
32
+ 3. **Superficial -ing phrases.** "highlighting...", "ensuring...", "reflecting...", "showcasing...", "fostering...". Delete, or expand with a real source.
33
+ 4. **Promotional language.** "nestled", "vibrant", "breathtaking", "groundbreaking", "renowned", "must-visit". Describe neutrally.
34
+ 5. **Vague attributions.** "Experts believe", "Industry reports suggest", "Some critics argue". Name the source or delete the claim.
35
+ 6. **Formulaic challenges.** "Despite challenges... continues to thrive." Replace with specific facts.
36
+
37
+ ## Language
38
+
39
+ 7. **AI vocabulary.** Additionally, crucial, delve, enduring, enhance, fostering, garner, interplay, intricate, landscape (abstract), pivotal, showcase, tapestry (abstract), testament, underscore, vibrant. Use plain words.
40
+ 8. **Fancy ways to say "is".** "serves as", "stands as", "boasts", "features". Say "is" or "has".
41
+ 9. **"Not just X, but Y."** State the point directly.
42
+ 10. **Rule of three.** Forcing ideas into groups of three. Use the natural number.
43
+ 11. **Synonym cycling.** Protagonist, main character, central figure, and hero in one paragraph. Pick one and repeat it.
44
+ 12. **False ranges.** "from X to Y" where X and Y are not on a meaningful scale. List the topics directly.
45
+
46
+ ## Style
47
+
48
+ 13. **Em dashes.** Avoid them entirely. Use a period or a comma, not parentheses, en dashes, or a hyphen standing in for a dash. If a thought needs separation, end the sentence. Reaching for parentheses instead trades one tell for another.
49
+ 14. **Mid-sentence colons.** A colon is fine before a list or an example, not as a connector. "If you are coming from traditional automation: instead of registering handlers, you describe conditions" gains nothing from the colon. Rewrite so the point stands without the comparison framing.
50
+ 15. **Boldface overuse.** Do not bold every proper noun or acronym.
51
+ 16. **Inline-header lists.** The tell is a bold label and colon restating the line: "**Performance:** Performance improved...". Convert those to prose. A bold lead-in that ends in a period, names the item, and is followed by genuinely new detail ("**Schema in TypeScript.** Tables live in one file.") is fine.
52
+ 17. **Title case headings.** Use sentence case.
53
+ 18. **Decorative emojis.** Remove them from headings and bullets.
54
+ 19. **Curly quotes.** Replace with straight quotes.
55
+
56
+ ## Communication artifacts
57
+
58
+ 20. **Chatbot phrases.** "I hope this helps!", "Let me know if...", "Of course!", "Certainly!", "Found the smoking gun!" Remove.
59
+ 21. **Cutoff disclaimers.** "While specific details are limited..." Find the source or remove the sentence.
60
+ 22. **Sycophantic tone.** "Great question! You're absolutely right!" Respond directly.
61
+
62
+ ## Filler
63
+
64
+ 23. **Filler phrases.** "In order to" is "To". "Due to the fact that" is "Because". "It is important to note that" is nothing.
65
+ 24. **Excessive hedging.** "could potentially possibly be argued that it might" is "may".
66
+ 25. **Generic conclusions.** "The future looks bright." State a specific plan or fact.
67
+
68
+ ## Jargon
69
+
70
+ 26. **Abstract metaphor nouns.** Substrate, wedge, vector, locus, vantage, nexus, primitive (as a noun), harness (as a metaphor), surface (as in "API surface"), bedrock, scaffolding (as a metaphor), modality, paradigm, gold-plating, ratchet, evacuate (for moving code), endgame, north star, flywheel. Each has a plainer concrete word. Substrate is "base". Wedge in is "add". Vector is "way" or "method". Gold-plating is "more than the job needs". Ratchet is the mechanism's real name, or "a limit that only tightens". Evacuate is "move out". Endgame is "the last phase". Pick the concrete word.
71
+
72
+ ## Plain speech
73
+
74
+ 27. **Say what it does, not how it feels.** "the database stays close at hand", "SQL you can read", "types that follow your schema" all name a feeling. The fix names the mechanism or a number: "`.toSQL()` returns the exact string sent to the database", "a column rename fails the build". Ask what the sentence tells the reader to do or know, then write that. If you cannot restate it as a concrete instruction, fact, or number, cut it. If the sentence could appear unchanged in another project's docs, it says nothing about this one.
75
+ 28. **Shorten or split dense sentences.** If the reader has to backtrack to parse a sentence, break it in two or drop clauses. One idea per sentence.
76
+ 29. **Active voice.** Catch "is/are/was/were + past participle" and name the actor. "queries are validated" is "the compiler validates queries". "the file is parsed by the loader" is "the loader parses the file". Passive is fine only when the actor is unknown or genuinely does not matter.
77
+ 30. **Cut adverbs, or use a stronger verb.** "runs quickly" is "is fast", or the number. "significantly improves" is the measured delta. An adverb propping up a weak verb means the verb is wrong.
78
+ 31. **Prefer the plain word.** "utilize" is "use", "leverage" is "use", "facilitate" is "help", "numerous" is "many", "in the event that" is "if". The fancier synonym is rarely clearer.
79
+
80
+ Adapted from the `unslop` skill in [cursor/plugins](https://github.com/cursor/plugins/tree/main/pstack), MIT, copyright 2026 Lauren Tan.
@@ -0,0 +1,84 @@
1
+ ---
2
+ name: writing-for-agents
3
+ description: "Levers for writing documents an agent consumes: context pointers, the two loads, information hierarchy, progressive disclosure, completion criteria, leading words, and pruning. Use when creating or editing a skill, an agent definition, an instruction file, AGENTS.md, or CLAUDE.md."
4
+ ---
5
+
6
+ # Writing for Agents
7
+
8
+ Reference for any document an agent consumes: a skill, an instruction file, a doc reached by a pointer. The packaging differs, the writing does not. The same levers make each one predictable, because the agent takes the same *process* every run rather than producing the same output.
9
+
10
+ ## Context pointers
11
+
12
+ A **context pointer** is a reference held in the agent's context that names out-of-context material and encodes the condition for reaching it. A skill's `description` is one. The pointer's *wording*, not its target, decides when and how reliably the agent reaches the material. A must-have target behind a weakly worded pointer is a variance bug: sharpen the wording first, and inline the material only if sharpening fails.
13
+
14
+ A pointer does two jobs: state what the material is, and list the **branches** that should trigger reaching it. Every word costs on every turn, so it earns harder pruning than the body.
15
+
16
+ - **Front-load the leading word.** The pointer is where it does its triggering work.
17
+ - **One trigger per branch.** Synonyms renaming a single branch are one branch written twice.
18
+ - **Cut identity the body already carries.**
19
+
20
+ ## The two loads
21
+
22
+ Every document and pointer spends one of two budgets.
23
+
24
+ - **Context load** is the cost of always-loaded material on the agent's window. It spends tokens and attention whether or not it fires.
25
+ - **Cognitive load** is the cost on the human: which documents exist and when to reach for each. Not a cost to minimise, it is the price of human agency. Spend it where human judgement matters, remove it where it does not.
26
+
27
+ Material reached only through a pointer escapes context load at the price of the pointer's own line. Material with no pointer rides entirely on cognitive load.
28
+
29
+ ## Information hierarchy
30
+
31
+ A document is built from **steps** (ordered actions) and **reference** (definitions, rules, facts consulted on demand). The two mix freely. The core decision is where each piece sits on a ladder ranked by how immediately the agent needs it:
32
+
33
+ 1. **In-file step.** The primary tier: what the agent does, in order.
34
+ 2. **In-file reference.** Consulted on demand. Often a legitimately flat peer set, which is a fine arrangement rather than a smell.
35
+ 3. **Disclosed reference.** Pushed into a separate file behind a pointer, loaded only when the pointer fires.
36
+
37
+ Push too little down and the top bloats. Push too much and you hide material the agent needs.
38
+
39
+ **Progressive disclosure** is the move down the ladder so the top stays legible. Branching is the cleanest test: inline what every branch needs, push behind a pointer what only some branches reach. Where a document has steps, undisclosed reference buries them and turns attending to them into a coin flip.
40
+
41
+ **Co-location** decides what sits beside a piece once its rung is chosen. Keep a concept's definition, rules, and caveats under one heading so reading one part brings its neighbours. Scattering fragments one meaning across many places, which is distinct from duplication repeating one meaning in two.
42
+
43
+ **Sprawl** is the failure mode: a document too long even when every line is live and unique. Attention thins across the excess. The cure is the ladder.
44
+
45
+ ## Completion criteria
46
+
47
+ Every step ends on a **completion criterion**, the condition telling the agent the work is done. Two properties make it a lever:
48
+
49
+ - **Clarity.** Can the agent tell done from not-done? A vague bound ("understanding reached") invites **premature completion**, ending the step early as attention slips toward being done. The visible **post-completion steps** supply the pull; the criterion's clarity is the resistance. Sharpen the bound first, since that is local and cheap. Only if it is irreducibly fuzzy *and* you observe the rush, hide the later steps by splitting the sequence, which works only across a real context boundary such as a hand-off.
50
+ - **Demand.** How much it requires. "Every modified model accounted for" forces thorough work where "produce a change list" does not. Demand drives the **legwork** latent in the wording. It is not step-bound: "every rule applied" binds flat reference the way "every step done" binds a sequence.
51
+
52
+ The strongest criteria are both checkable and exhaustive.
53
+
54
+ ## Leading words
55
+
56
+ A **leading word** is a compact concept already in the model's pretraining that the agent thinks with while running the document (*lesson*, *fog of war*, *tracer bullets*). Repeated as a token, never as a sentence, it accumulates a distributed definition and anchors a region of behaviour in the fewest tokens. Coining your own works if you define it clearly, but a made-up word recruits no priors, so reach for an existing word first.
57
+
58
+ It anchors twice. In the body it anchors execution, so the agent reaches for the same behaviour every time the word appears. In a pointer it anchors invocation, so shared language across prompts, docs, and code reaches the material more reliably.
59
+
60
+ Hunt for passages that collapse into a single token. "fast, deterministic, low-overhead" becomes *tight*. "a loop you believe in" becomes *red*, turning a fuzzy gate into a binary observable state. Assume every document carries restatements that leading words retire.
61
+
62
+ **Negation** is the failure mode beside this lever. Steering by prohibition drags the forbidden behaviour into context and makes it *more* available. Prompt the **positive**: state the target behaviour so the banned one is never spoken. A prohibition earns its place only as a hard guardrail you cannot phrase positively, and even then pair it with the positive target.
63
+
64
+ ## Pruning
65
+
66
+ - **Single source of truth.** One authoritative place per meaning, so changing behaviour is a one-place edit. Duplication costs maintenance and tokens, and inflates a meaning's rank on the ladder.
67
+ - **The environment is a source of truth too** (`package.json` scripts, config files, directory layout, `--help` output). A document restating it is a **cache**, earning its load only when the lookup is expensive. Cache the unwritten convention, the reason behind a choice, the gotcha no config confesses. Leave one-command lookups to the environment, where they cannot go stale.
68
+ - **Relevance.** Does the line still bear on what the document does? Without a pruning discipline the default fate is **sediment**: stale layers that settle because adding feels safe and removing feels risky.
69
+ - **No-ops.** An instruction the model already obeys by default pays load to say nothing. The test is model-relative, not reader-relative: settle a disagreement by running the document, not by debate. When a sentence fails, delete the whole sentence rather than trim words from it. This also grades leading words, since a word too weak to beat the default (*be thorough*) is a no-op, and the fix is a stronger word (*relentless*).
70
+
71
+ ## When to split
72
+
73
+ Splitting spends one of the two loads, so split only when the cut earns it.
74
+
75
+ - **By sequence.** Split a run of steps where the post-completion steps tempt the agent to rush the one in front of it. Merging sequences has the reverse effect.
76
+ - **By trigger.** Split off a skill when it has a distinct leading word that should fire it on its own, or when another skill must reach it. You pay context load for a new always-loaded description, so that independent reach has to be worth it.
77
+
78
+ When skills multiply past what a human can remember, that piled-up cognitive load is cured by a **router**: one document naming the others and when to reach for each.
79
+
80
+ ## How this project compiles a skill
81
+
82
+ A skill is one directory holding `SKILL.md` with `name` and `description` frontmatter. The `description` is the skill's top-level context pointer and the only part guaranteed to reach every assistant, so it carries the trigger branches. Claude Code and the single-file targets also receive sibling files, but Cursor and Windsurf compile `SKILL.md` alone. Anything the agent must have therefore belongs in `SKILL.md`.
83
+
84
+ Adapted from the `writing-for-agents` skill in [mattpocock/skills](https://github.com/mattpocock/skills), MIT, copyright 2026 Matt Pocock.