[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79GM80RCRGXRW4EYPA85EZE":3,"skill-same:01M79GM80RCRGXRW4EYPA85EZE":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79GM80RCRGXRW4EYPA85EZE","saasaloy-ratelimit",null,"Runbook for the ratelimit module — per-route Hono middleware over the kv capability's consume contract, with named policies (strict, default, loose), a 429 carrying Retry-After, and a fail-open default. Use when rate limiting a route, choosing or adding a policy, changing a limit, reading a 429, debugging a limiter that lets everything through, or working out why the numbers in policies\u002Fratelimit.ts do not match what Cloudflare enforces.","mimukit\u002Fsaasaloy","mimukit","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11677026?v=4","01M79GFSERAQQ77QPQMC1N0Y6M","Mukitul Islam Mukit","01M79GFSFA4WMGEEBHA68N59WV",4,"MIT","https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fmodules\u002Fratelimit\u002Fskills\u002Fsaasaloy-ratelimit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: saasaloy-ratelimit\ndescription: Runbook for the ratelimit module — per-route Hono middleware over the kv capability's consume contract, with named policies (strict, default, loose), a 429 carrying Retry-After, and a fail-open default. Use when rate limiting a route, choosing or adding a policy, changing a limit, reading a 429, debugging a limiter that lets everything through, or working out why the numbers in policies\u002Fratelimit.ts do not match what Cloudflare enforces.\n---\n\n# ratelimit — per-route limits over the `kv` contract\n\n`ratelimit` ships two files and no package:\n\n| File | What it holds |\n|---|---|\n| `apps\u002Fapi\u002Fsrc\u002Fmiddleware\u002Fratelimit.ts` | the `rateLimit()` Hono middleware |\n| `packages\u002Fkv\u002Fsrc\u002Fpolicies\u002Fratelimit.ts` | the three policies, registered into `packages\u002Fkv`'s `policies` array |\n\nIt owns no provider. It calls `createKv(env).consume({ policy, key })`, so whichever provider `KV_PROVIDER` selects does the counting. Swapping `kv-cloudflare` for another counting provider swaps the limiter with it and changes no route.\n\n## Limiting a route\n\nApply it per route. There is no app-wide switch, and installing the module rate-limits nothing until you write one of these:\n\n```ts\nimport { Hono } from \"hono\";\nimport { rateLimit } from \"..\u002Fmiddleware\u002Fratelimit\";\n\nexport const session = new Hono()\n  .post(\"\u002Fsign-in\", rateLimit({ policy: \"strict\" }), (c) => c.json({ ok: true }, 200))\n  .get(\"\u002Fme\", rateLimit({ policy: \"loose\" }), (c) => c.json({ ok: true }, 200));\n```\n\nAn app-wide `app.use(rateLimit(...))` is deliberately not patched in. It would spend a budget on every health check and every preflight, and the routes worth protecting are a short list a human should write out: sign-in, sign-up, password reset, anything that sends mail or money.\n\n## The three policies\n\n| Policy | Binding | `policies\u002Fratelimit.ts` | `wrangler.jsonc` | For |\n|---|---|---|---|---|\n| `strict` | `RL_STRICT` | 10 per 10s | 10 per 10s | sign-in, sign-up, password reset |\n| `default` | `RL_DEFAULT` | 100 per 60s | 100 per 60s | an authenticated write |\n| `loose` | `RL_LOOSE` | 1000 per 60s | 1000 per 60s | a cheap read worth a ceiling |\n\nAdd a fourth by exporting another factory from `packages\u002Fkv\u002Fsrc\u002Fpolicies\u002Fratelimit.ts`, appending its call to the `policies` array in `packages\u002Fkv\u002Fsrc\u002Findex.ts`, and adding a matching `RL_\u003CNAME>` entry under `ratelimits` in `apps\u002Fapi\u002Fwrangler.jsonc`. `saasaloy doctor .` fails when you do one and not the other.\n\n## Three facts that decide how this behaves\n\n### The numbers in `policies\u002Fratelimit.ts` change nothing on Cloudflare\n\nOn `kv-cloudflare` the limit that applies is the one in `apps\u002Fapi\u002Fwrangler.jsonc`:\n\n```jsonc\n\"ratelimits\": [\n  { \"name\": \"RL_STRICT\", \"namespace_id\": \"1001\", \"simple\": { \"limit\": 10, \"period\": 10 } }\n]\n```\n\nThe Rate Limiting binding reads its `limit` and `period` from there and nothing else. Editing `limit: 10` to `limit: 3` in `policies\u002Fratelimit.ts` changes what `kv-memory` counts, changes the number this middleware puts in `RateLimit-Limit`, and changes nothing at all about what Cloudflare enforces. **Change both, together.** `period` accepts `10` or `60` only.\n\n`saasaloy doctor .` checks that every policy has an `RL_\u003CNAME>` binding, by name. It does not compare the numbers: a project is entitled to run a tighter budget in dev than it deploys with, and a check that could not tell that apart from a mistake would be turned off within a week.\n\n### Cloudflare counts per location, so the real limit is a multiple\n\nThe Rate Limiting binding counts inside one Cloudflare colo, not globally. A caller spread across `n` colos gets roughly `n × limit` per period, and a distributed attacker gets one budget per location it reaches. Set the number for what one location should tolerate, and treat the limiter as protection against a hot caller rather than as a global quota. When you need an exact global count, that is a different store and a different provider: `saasaloy add kv-upstash`, then `KV_PROVIDER=upstash`. It counts once in one Redis database, whichever colo the request landed in.\n\nThe binding also returns `{ success }` and nothing else — no count, no reset time. So on `kv-cloudflare` a 429 carries `Retry-After` set to the policy's whole period, and `RateLimit-Limit` and `RateLimit-Remaining` are **not sent**. Sending them would mean inventing a number. `kv-memory` and `kv-upstash` both report a count, so on `kv-cloudflare` the two headers appear in local dev and vanish on deploy; that difference is the platform's, not a bug. On `kv-upstash` they are sent in production too.\n\n### The limiter fails open\n\nWhen `consume` itself fails — the binding errored, the provider timed out — the request is let through. A broken limiter that takes the whole API down with it is the worse outage. Flip a route that must not do that:\n\n```ts\nrateLimit({ policy: \"strict\", onError: \"deny\" });\n```\n\nTwo failures are **not** covered by `onError` and always throw, whatever it says: a provider with no `consume` at all, and a policy name that is not registered. Both are install mistakes that every later request repeats, and swallowing them ships an app that looks rate limited and is not. They surface as a `KvError` with code `not_supported`, on the **first request through the route** — a Worker has no `env` at module scope, so there is nothing to check at construction.\n\n## The key each request counts against\n\nBy default: policy name, the route's registered pattern, and `CF-Connecting-IP`.\n\n```\nratelimit:strict:\u002Fauth\u002Fsign-in:203.0.113.7\n```\n\nThe route pattern is in the key, so `POST \u002Fauth\u002Fsign-in` and `POST \u002Fauth\u002Fsign-up` are both `strict` and each get their own ten. It is the pattern (`\u002Fusers\u002F:id`), not the request path, so one caller cannot mint unlimited buckets by walking the id. A missing `CF-Connecting-IP` counts as one shared `unknown` bucket rather than an unlimited pass, which is why the limiter visibly works under `wrangler dev`.\n\nOverride it per route to bill something else, or to make two routes share one budget on purpose:\n\n```ts\nrateLimit({\n  policy: \"strict\",\n  key: (c) => `signin:${c.req.header(\"CF-Connecting-IP\") ?? \"unknown\"}`,\n});\n```\n\n## The 429\n\n```json\n{ \"error\": { \"code\": \"rate_limited\", \"message\": \"Too many requests. Retry in 10 seconds.\" } }\n```\n\nIt is api's standard error envelope, so a client parses one body for every failure. `Retry-After` is always present and always a whole number of seconds, never `0`. A provider that reports `resetAt` gives the real wait; one that does not gets the policy's period, which is the longest the caller could have to wait.\n\n## When it lets everything through\n\nWork down this list:\n\n1. **No middleware on the route.** Installing `ratelimit` limits nothing by itself. Check the route registers `rateLimit({ policy })`.\n2. **`KV_PROVIDER` points at a store that cannot count.** That throws `not_supported` rather than passing silently, so check the logs for it.\n3. **The limiter is erroring and failing open.** The default swallows a provider failure. Set `onError: \"deny\"` on the route for one request and see whether the 429 appears.\n4. **Every request is a different bucket.** A custom `key` built from something per-request — a request id, a timestamp — gives each call its own budget. The key must identify the *caller*, not the call.\n5. **The count is per colo.** Ten requests from ten locations pass a limit of 10. Test from one client.\n6. **`wrangler.jsonc` says something other than what you read.** The deployed number is there, not in `policies\u002Fratelimit.ts`.\n\n## Removing it\n\n`saasaloy remove ratelimit` takes the three `definePolicy` calls back out of `packages\u002Fkv\u002Fsrc\u002Findex.ts` and deletes both files. It does **not** edit routes: a route still calling `rateLimit(...)` stops compiling, which is the visible failure. Delete the middleware calls first. The `RL_*` entries in `wrangler.jsonc` belong to `kv-cloudflare` and stay until that module is removed.\n\n## Next\n\nRun `saasaloy-api` to put a policy on a route.\n","# ratelimit — per-route limits over the `kv` contract\n\n`ratelimit` ships two files and no package:\n\n| File | What it holds |\n|---|---|\n| `apps\u002Fapi\u002Fsrc\u002Fmiddleware\u002Fratelimit.ts` | the `rateLimit()` Hono middleware |\n| `packages\u002Fkv\u002Fsrc\u002Fpolicies\u002Fratelimit.ts` | the three policies, registered into `packages\u002Fkv`'s `policies` array |\n\nIt owns no provider. It calls `createKv(env).consume({ policy, key })`, so whichever provider `KV_PROVIDER` selects does the counting. Swapping `kv-cloudflare` for another counting provider swaps the limiter with it and changes no route.\n\n## Limiting a route\n\nApply it per route. There is no app-wide switch, and installing the module rate-limits nothing until you write one of these:\n\n```ts\nimport { Hono } from \"hono\";\nimport { rateLimit } from \"..\u002Fmiddleware\u002Fratelimit\";\n\nexport const session = new Hono()\n  .post(\"\u002Fsign-in\", rateLimit({ policy: \"strict\" }), (c) => c.json({ ok: true }, 200))\n  .get(\"\u002Fme\", rateLimit({ policy: \"loose\" }), (c) => c.json({ ok: true }, 200));\n```\n\nAn app-wide `app.use(rateLimit(...))` is deliberately not patched in. It would spend a budget on every health check and every preflight, and the routes worth protecting are a short list a human should write out: sign-in, sign-up, password reset, anything that sends mail or money.\n\n## The three policies\n\n| Policy | Binding | `policies\u002Fratelimit.ts` | `wrangler.jsonc` | For |\n|---|---|---|---|---|\n| `strict` | `RL_STRICT` | 10 per 10s | 10 per 10s | sign-in, sign-up, password reset |\n| `default` | `RL_DEFAULT` | 100 per 60s | 100 per 60s | an authenticated write |\n| `loose` | `RL_LOOSE` | 1000 per 60s | 1000 per 60s | a cheap read worth a ceiling |\n\nAdd a fourth by exporting another factory from `packages\u002Fkv\u002Fsrc\u002Fpolicies\u002Fratelimit.ts`, appending its call to the `policies` array in `packages\u002Fkv\u002Fsrc\u002Findex.ts`, and adding a matching `RL_\u003CNAME>` entry under `ratelimits` in `apps\u002Fapi\u002Fwrangler.jsonc`. `saasaloy doctor .` fails when you do one and not the other.\n\n## Three facts that decide how this behaves\n\n### The numbers in `policies\u002Fratelimit.ts` change nothing on Cloudflare\n\nOn `kv-cloudflare` the limit that applies is the one in `apps\u002Fapi\u002Fwrangler.jsonc`:\n\n```jsonc\n\"ratelimits\": [\n  { \"name\": \"RL_STRICT\", \"namespace_id\": \"1001\", \"simple\": { \"limit\": 10, \"period\": 10 } }\n]\n```\n\nThe Rate Limiting binding reads its `limit` and `period` from there and nothing else. Editing `limit: 10` to `limit: 3` in `policies\u002Fratelimit.ts` changes what `kv-memory` counts, changes the number this middleware puts in `RateLimit-Limit`, and changes nothing at all about what Cloudflare enforces. **Change both, together.** `period` accepts `10` or `60` only.\n\n`saasaloy doctor .` checks that every policy has an `RL_\u003CNAME>` binding, by name. It does not compare the numbers: a project is entitled to run a tighter budget in dev than it deploys with, and a check that could not tell that apart from a mistake would be turned off within a week.\n\n### Cloudflare counts per location, so the real limit is a multiple\n\nThe Rate Limiting binding counts inside one Cloudflare colo, not globally. A caller spread across `n` colos gets roughly `n × limit` per period, and a distributed attacker gets one budget per location it reaches. Set the number for what one location should tolerate, and treat the limiter as protection against a hot caller rather than as a global quota. When you need an exact global count, that is a different store and a different provider: `saasaloy add kv-upstash`, then `KV_PROVIDER=upstash`. It counts once in one Redis database, whichever colo the request landed in.\n\nThe binding also returns `{ success }` and nothing else — no count, no reset time. So on `kv-cloudflare` a 429 carries `Retry-After` set to the policy's whole period, and `RateLimit-Limit` and `RateLimit-Remaining` are **not sent**. Sending them would mean inventing a number. `kv-memory` and `kv-upstash` both report a count, so on `kv-cloudflare` the two headers appear in local dev and vanish on deploy; that difference is the platform's, not a bug. On `kv-upstash` they are sent in production too.\n\n### The limiter fails open\n\nWhen `consume` itself fails — the binding errored, the provider timed out — the request is let through. A broken limiter that takes the whole API down with it is the worse outage. Flip a route that must not do that:\n\n```ts\nrateLimit({ policy: \"strict\", onError: \"deny\" });\n```\n\nTwo failures are **not** covered by `onError` and always throw, whatever it says: a provider with no `consume` at all, and a policy name that is not registered. Both are install mistakes that every later request repeats, and swallowing them ships an app that looks rate limited and is not. They surface as a `KvError` with code `not_supported`, on the **first request through the route** — a Worker has no `env` at module scope, so there is nothing to check at construction.\n\n## The key each request counts against\n\nBy default: policy name, the route's registered pattern, and `CF-Connecting-IP`.\n\n```\nratelimit:strict:\u002Fauth\u002Fsign-in:203.0.113.7\n```\n\nThe route pattern is in the key, so `POST \u002Fauth\u002Fsign-in` and `POST \u002Fauth\u002Fsign-up` are both `strict` and each get their own ten. It is the pattern (`\u002Fusers\u002F:id`), not the request path, so one caller cannot mint unlimited buckets by walking the id. A missing `CF-Connecting-IP` counts as one shared `unknown` bucket rather than an unlimited pass, which is why the limiter visibly works under `wrangler dev`.\n\nOverride it per route to bill something else, or to make two routes share one budget on purpose:\n\n```ts\nrateLimit({\n  policy: \"strict\",\n  key: (c) => `signin:${c.req.header(\"CF-Connecting-IP\") ?? \"unknown\"}`,\n});\n```\n\n## The 429\n\n```json\n{ \"error\": { \"code\": \"rate_limited\", \"message\": \"Too many requests. Retry in 10 seconds.\" } }\n```\n\nIt is api's standard error envelope, so a client parses one body for every failure. `Retry-After` is always present and always a whole number of seconds, never `0`. A provider that reports `resetAt` gives the real wait; one that does not gets the policy's period, which is the longest the caller could have to wait.\n\n## When it lets everything through\n\nWork down this list:\n\n1. **No middleware on the route.** Installing `ratelimit` limits nothing by itself. Check the route registers `rateLimit({ policy })`.\n2. **`KV_PROVIDER` points at a store that cannot count.** That throws `not_supported` rather than passing silently, so check the logs for it.\n3. **The limiter is erroring and failing open.** The default swallows a provider failure. Set `onError: \"deny\"` on the route for one request and see whether the 429 appears.\n4. **Every request is a different bucket.** A custom `key` built from something per-request — a request id, a timestamp — gives each call its own budget. The key must identify the *caller*, not the call.\n5. **The count is per colo.** Ten requests from ten locations pass a limit of 10. Test from one client.\n6. **`wrangler.jsonc` says something other than what you read.** The deployed number is there, not in `policies\u002Fratelimit.ts`.\n\n## Removing it\n\n`saasaloy remove ratelimit` takes the three `definePolicy` calls back out of `packages\u002Fkv\u002Fsrc\u002Findex.ts` and deletes both files. It does **not** edit routes: a route still calling `rateLimit(...)` stops compiling, which is the visible failure. Delete the middleware calls first. The `RL_*` entries in `wrangler.jsonc` belong to `kv-cloudflare` and stay until that module is removed.\n\n## Next\n\nRun `saasaloy-api` to put a policy on a route.\n",{"name":5,"description":7},"main","a46a4dd388795519840da0ed1f695634b6dcd99b","modules\u002Fratelimit\u002Fskills\u002Fsaasaloy-ratelimit",0,"https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy","https:\u002F\u002Fsaasaloy.com","https:\u002F\u002Fgithub.com\u002Fmimukit","https:\u002F\u002Fmimukit.com","Senior Software Engineer · 9+ yrs Fullstack (TS\u002FNode\u002FReact) · AI integrations, distributed systems · Building @saasaloy & @codealoy · Bangladesh 🇧🇩 \u002F Remote","2026-11-13 20:39:28",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add mimukit\u002Fsaasaloy --skill saasaloy-ratelimit",{"tool":40,"command":41},"bunx","bunx skills add mimukit\u002Fsaasaloy --skill saasaloy-ratelimit",{"tool":43,"command":44},"pnpm","pnpm dlx skills add mimukit\u002Fsaasaloy --skill saasaloy-ratelimit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fmodules\u002Fratelimit\u002Fskills\u002Fsaasaloy-ratelimit\u002FSKILL.md",true,[],[49,56,63,70,77,83],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7BE75C34XHSPVJNQC8FY4Q0","saasaloy-subscription","Runbook for the subscription capability — provider-agnostic subscriptions in packages\u002Fsubscription, with a plan file, a projection table, a billable-subject file, plan entitlements and per-provider modules. Use when adding a plan, adding a plan feature or a numeric limit, gating an API route with requireFeature or requireWithinLimit, reading the 402 it returns, working out why a subject resolves to the free plan, wiring a checkout or portal route, reading a SubscriptionError, choosing or switching SUBSCRIPTION_PROVIDER, registering a webhook in the vendor's dashboard, writing a third subscription provider, or upgrading a project that still has `billing` installed.","https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fmodules\u002Fsubscription\u002Fskills\u002Fsaasaloy-subscription\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7BE68MJ8H47JZKTBDFYR6JD","saasaloy-notification","Runbook for the notification module, in-app notifications for apps\u002Fapp. It owns the notifications and notification_opt_outs tables, notify() in apps\u002Fapi\u002Fsrc\u002Flib\u002Fnotify.ts, the \u002Fnotifications api routes, the bell in the app header, the sidebar badge, the \u002Fnotifications page with Inbox and Preferences tabs, the notification config section, and the daily prune. Use when sending a notification from an api route, adding or changing a category, changing retention, debugging a badge or bell count that does not move, or removing the module.","https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fmodules\u002Fnotification\u002Fskills\u002Fsaasaloy-notification\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7BE53PDQV0YDPG8RNVGTPEQ","saasaloy-cms","Runbook for the cms module, the in-house CMS behind apps\u002Fadmin. Covers code-defined collections, the Tiptap editor, drafts, revisions and redirects, the publish-time renderer, the public blog on apps\u002Fweb and its 60-second cache. Use when adding a collection or a field, rendering a stored body, reusing the editor, renderer or media field from another module, moving the blog to another path, re-rendering live posts after a renderer upgrade or a STORAGE_PUBLIC_URL change, or working out why a published post is not live yet.","https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fmodules\u002Fcms\u002Fskills\u002Fsaasaloy-cms\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79GQ03M63V5EKSST92B3S5X","saasaloy-beta","The beta module's own procedure.","https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Ftest\u002Ffixtures\u002Fregistry-clean\u002Fbeta\u002Fsaasaloy-beta\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79GPXV3K8YF3M4VA0KGVE0B","helper","https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Ftest\u002Ffixtures\u002Fregistry-broken\u002Fbad-skill\u002Fhelper\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79GPR8EVS1YX0W8X33Q9YD8","saasaloy-update","Runbook for an AI agent that updates this project to a newer Saasaloy CLI and newer module versions with saasaloy update. Use when the owner says \"update saasaloy\", \"upgrade the CLI\", \"pull the latest modules\", \"update the base template\", \"work the merge plan\", \"clear the update notes\", when saasaloy update or saasaloy outdated --check exits 3 or 2, when a merge plan or .saasaloy\u002Fmerge-plan.md is handed to you, or when an adopted project takes its first update. Covers the CLI upgrade, the preview, --out, the file merges, the update notes and \"Notes that may apply\", --resolved and --done, a file deleted locally and --restore, a three-way or two-way base, an update that skips releases, --from, the verify commands, and the exit codes.","https:\u002F\u002Fgithub.com\u002Fmimukit\u002Fsaasaloy\u002Fblob\u002Fmain\u002Fpackages\u002Fcli\u002Ftemplates\u002Fbase\u002F_agents\u002Fskills\u002Fsaasaloy-update\u002FSKILL.md",[],[]]