[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B34NR4588Z0KHZP9PG52MQ":3,"skill-same:01M7B34NR4588Z0KHZP9PG52MQ":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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7B34NR4588Z0KHZP9PG52MQ","proxy-sync",null,"Keeps the Cloudflare Worker (worker.js) and Node.js dev proxy (dev-proxy.mjs) in sync. MUST activate when editing either proxy file.","gethamster\u002Fskills","gethamster","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F215697643?v=4","01M7B2R6PGB3SDZZ71E0WE2S74","Hamster","01M7B2R6Q21HWJRXZZWB78BNDG",4,"MIT","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fproxy-sync\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: proxy-sync\ndescription: \"Keeps the Cloudflare Worker (worker.js) and Node.js dev proxy (dev-proxy.mjs) in sync. MUST activate when editing either proxy file.\"\nversion: \"1.1.0\"\n---\n\n# Proxy Sync\n\n## Overview\n\nThe core-proxy package has two proxy implementations that MUST stay in sync:\n\n| File | Runtime | Used In |\n| --- | --- | --- |\n| `worker.js` | Cloudflare Workers (workerd) | Production, staging, remote dev |\n| `dev-proxy.mjs` | Node.js (native `node:http`) | Local development (`pnpm dev`) |\n\nThe Node.js proxy exists because workerd's single-threaded local runtime bottlenecks at ~3 concurrent requests. The production Cloudflare Worker has no such limit.\n\n## CRITICAL: What Must Stay in Sync\n\nWhen editing **either** file, you MUST update the other to match:\n\n### 1. Route Definitions\n\nBoth files define the same route arrays. Any path added\u002Fremoved\u002Freordered in one MUST be mirrored:\n\n| Route Group | worker.js variable | dev-proxy.mjs variable |\n| --- | --- | --- |\n| Supabase paths | `supabasePaths` | `SUPABASE_PATHS` |\n| Service paths (NestJS) | `servicePaths` | `SERVICE_PATHS` |\n| Studio app paths | `studioAppPaths` | `STUDIO_APP_PATHS` |\n| Studio public paths | `studioPublicPaths` | `STUDIO_PUBLIC_PATHS` |\n\n### 2. Routing Priority\n\nThe evaluation order MUST be identical:\n\n1. Root path `\u002F` -> website\n2. Supabase paths -> Supabase (MUST come before studio to avoid `\u002Fauth\u002Fv1\u002F` matching `\u002Fauth\u002F`)\n3. Service paths (`\u002Fai\u002F*`) -> NestJS (strip `\u002Fai` prefix)\n4. Studio app paths -> Next.js\n5. `\u002F_site\u002F*` -> Website (strip `\u002F_site` prefix)\n6. `\u002F_next\u002F*` -> Next.js\n7. Studio public paths -> Next.js\n8. Default -> Website\n\n### 3. Header Forwarding\n\nBoth proxies set these headers identically:\n\n- `host` -> target host\n- `x-forwarded-host` -> original request host\n- `x-forwarded-proto` -> original protocol\n- `x-forwarded-for` -> client IP (pass-through)\n- `x-forwarded-origin` -> original origin (for Server Actions CSRF)\n\n### 4. Redirect Rewriting\n\nBoth proxies rewrite `Location` headers on 3xx responses for these routes:\n\n- Root path (`\u002F`)\n- Studio app paths\n- Default website fallback\n\nInternal service URLs in Location headers are rewritten to the public proxy origin.\n\n### 5. WebSocket Upgrade Handling\n\nBoth proxies forward WebSocket upgrades for:\n\n- `\u002Frealtime\u002Fv1\u002F` -> Supabase\n- `\u002Fai\u002F` -> NestJS (voice gateway)\n- `\u002F_site\u002F` -> Website (HMR)\n- `\u002F_next\u002F` -> Next.js (HMR)\n\n### 6. Environment Variables\n\nBoth use the same four upstream URLs:\n\n| Variable | worker.js source | dev-proxy.mjs source |\n| --- | --- | --- |\n| Supabase URL | `env.SUPABASE_URL_ENV` | `process.env.SUPABASE_URL_ENV` |\n| NestJS URL | `env.NEST_URL_ENV` | `process.env.NEST_URL_ENV` |\n| Next.js URL | `env.NEXT_URL_ENV` | `process.env.NEXT_URL_ENV` |\n| Website URL | `env.WEBSITE_URL_ENV` | `process.env.WEBSITE_URL_ENV` |\n\nDefault values for local dev are defined in:\n\n- `wrangler.toml` `[env.local.vars]` for worker.js\n- Inline defaults in dev-proxy.mjs\n- `package.json` `dev` script env vars for dev-proxy.mjs\n\n### 7. Error Responses\n\nBoth return the same error shape:\n\n- Network errors: `503 Service Unavailable` with `{ \"error\": \"\u003CServiceName> unavailable\" }`\n- WebSocket failures: `502 Bad Gateway`\n- Catch-all: `500 Internal Server Error` with `{ \"error\": \"Internal server error\" }`\n\n## Verification Checklist\n\nAfter editing either proxy file, verify:\n\n- [ ] All route path arrays contain the same entries in the same order\n- [ ] Routing priority (evaluation order) is identical\n- [ ] All forwarded headers are set identically\n- [ ] Redirect rewriting applies to the same routes\n- [ ] WebSocket upgrade paths match\n- [ ] Error responses use the same status codes and JSON shape\n- [ ] Any new upstream URL is added to both files\n","# Proxy Sync\n\n## Overview\n\nThe core-proxy package has two proxy implementations that MUST stay in sync:\n\n| File | Runtime | Used In |\n| --- | --- | --- |\n| `worker.js` | Cloudflare Workers (workerd) | Production, staging, remote dev |\n| `dev-proxy.mjs` | Node.js (native `node:http`) | Local development (`pnpm dev`) |\n\nThe Node.js proxy exists because workerd's single-threaded local runtime bottlenecks at ~3 concurrent requests. The production Cloudflare Worker has no such limit.\n\n## CRITICAL: What Must Stay in Sync\n\nWhen editing **either** file, you MUST update the other to match:\n\n### 1. Route Definitions\n\nBoth files define the same route arrays. Any path added\u002Fremoved\u002Freordered in one MUST be mirrored:\n\n| Route Group | worker.js variable | dev-proxy.mjs variable |\n| --- | --- | --- |\n| Supabase paths | `supabasePaths` | `SUPABASE_PATHS` |\n| Service paths (NestJS) | `servicePaths` | `SERVICE_PATHS` |\n| Studio app paths | `studioAppPaths` | `STUDIO_APP_PATHS` |\n| Studio public paths | `studioPublicPaths` | `STUDIO_PUBLIC_PATHS` |\n\n### 2. Routing Priority\n\nThe evaluation order MUST be identical:\n\n1. Root path `\u002F` -> website\n2. Supabase paths -> Supabase (MUST come before studio to avoid `\u002Fauth\u002Fv1\u002F` matching `\u002Fauth\u002F`)\n3. Service paths (`\u002Fai\u002F*`) -> NestJS (strip `\u002Fai` prefix)\n4. Studio app paths -> Next.js\n5. `\u002F_site\u002F*` -> Website (strip `\u002F_site` prefix)\n6. `\u002F_next\u002F*` -> Next.js\n7. Studio public paths -> Next.js\n8. Default -> Website\n\n### 3. Header Forwarding\n\nBoth proxies set these headers identically:\n\n- `host` -> target host\n- `x-forwarded-host` -> original request host\n- `x-forwarded-proto` -> original protocol\n- `x-forwarded-for` -> client IP (pass-through)\n- `x-forwarded-origin` -> original origin (for Server Actions CSRF)\n\n### 4. Redirect Rewriting\n\nBoth proxies rewrite `Location` headers on 3xx responses for these routes:\n\n- Root path (`\u002F`)\n- Studio app paths\n- Default website fallback\n\nInternal service URLs in Location headers are rewritten to the public proxy origin.\n\n### 5. WebSocket Upgrade Handling\n\nBoth proxies forward WebSocket upgrades for:\n\n- `\u002Frealtime\u002Fv1\u002F` -> Supabase\n- `\u002Fai\u002F` -> NestJS (voice gateway)\n- `\u002F_site\u002F` -> Website (HMR)\n- `\u002F_next\u002F` -> Next.js (HMR)\n\n### 6. Environment Variables\n\nBoth use the same four upstream URLs:\n\n| Variable | worker.js source | dev-proxy.mjs source |\n| --- | --- | --- |\n| Supabase URL | `env.SUPABASE_URL_ENV` | `process.env.SUPABASE_URL_ENV` |\n| NestJS URL | `env.NEST_URL_ENV` | `process.env.NEST_URL_ENV` |\n| Next.js URL | `env.NEXT_URL_ENV` | `process.env.NEXT_URL_ENV` |\n| Website URL | `env.WEBSITE_URL_ENV` | `process.env.WEBSITE_URL_ENV` |\n\nDefault values for local dev are defined in:\n\n- `wrangler.toml` `[env.local.vars]` for worker.js\n- Inline defaults in dev-proxy.mjs\n- `package.json` `dev` script env vars for dev-proxy.mjs\n\n### 7. Error Responses\n\nBoth return the same error shape:\n\n- Network errors: `503 Service Unavailable` with `{ \"error\": \"\u003CServiceName> unavailable\" }`\n- WebSocket failures: `502 Bad Gateway`\n- Catch-all: `500 Internal Server Error` with `{ \"error\": \"Internal server error\" }`\n\n## Verification Checklist\n\nAfter editing either proxy file, verify:\n\n- [ ] All route path arrays contain the same entries in the same order\n- [ ] Routing priority (evaluation order) is identical\n- [ ] All forwarded headers are set identically\n- [ ] Redirect rewriting applies to the same routes\n- [ ] WebSocket upgrade paths match\n- [ ] Error responses use the same status codes and JSON shape\n- [ ] Any new upstream URL is added to both files\n",{"name":5,"version":24,"description":7},"1.1.0","main","fe3bb1476c3ec23d8a366eac0fa8cd9f0852360a","skills\u002F.experimental\u002Fproxy-sync",0,"https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills","https:\u002F\u002Fgithub.com\u002Fgethamster","https:\u002F\u002Ftryhamster.com","We're building the AI-native future of work, unlocking the promised acceleration for your whole team, from idea to impact.","2026-11-05 11:33:33",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add gethamster\u002Fskills --skill proxy-sync",{"tool":40,"command":41},"bunx","bunx skills add gethamster\u002Fskills --skill proxy-sync",{"tool":43,"command":44},"pnpm","pnpm dlx skills add gethamster\u002Fskills --skill proxy-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F.experimental\u002Fproxy-sync\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"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},"01M7B5MWYW0KE251276S56KQDZ","writing-waterfall-requirements-documents","Write a waterfall requirements document: elicit, structure and review testable, traceable requirements, then baseline the specification before design.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-waterfall-requirements-documents\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},"01M7B5MRCXWWPKREPB1CHQ7H90","writing-vision-and-values-statements","Write a V2MOM vision a reader can test and a ranked list of values that settles real tradeoffs, so the rest of the document has a clear anchor.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-vision-and-values-statements\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},"01M7B5MKH2CH22YZAHQW3080VQ","writing-system-prompts-for-claude","Write Claude prompts and CLAUDE.md files that supply exact inputs, scope the task, and define done so the first attempt can be checked.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-system-prompts-for-claude\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},"01M7B5ME1Y3X9RNRKP5HKHKACZ","writing-page-specific-website-copy","Website copywriting by page type: write homepage, landing page, pricing page and feature page copy that fits each page's visitor and single job.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-page-specific-website-copy\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7B5M8MQNM8MN8PYH6BVWJ2B","writing-internal-press-releases","How to write an internal press release: the one-page working backwards press release that opens a PR\u002FFAQ document before anything is built.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-internal-press-releases\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7B5M3P3YH1XF37R8PWXXSBK","writing-email-sequences-that-sell","Email sequence copywriting for nurture and sales: give each email one job, write clear subject lines, and close with one specific call to action.","https:\u002F\u002Fgithub.com\u002Fgethamster\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-email-sequences-that-sell\u002FSKILL.md",[],[]]