[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B36YKS876PWB5CATYQBBCF":3,"skill-same:01M7B36YKS876PWB5CATYQBBCF":44},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7B36YKS876PWB5CATYQBBCF","new-service",null,"Scaffold a new service (one Worker serving SPA + API, with contracts + D1) from the example_service template.","kta\u002Fmy-cloudflare-services","kta","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7880965?v=4","01M7AXBA4NE7SGSBH8FX71QT1H","Sakakibara","01M7B36RKD7YYNN1AQWJ5D8VWG",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnew-service\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: new-service\ndescription: Scaffold a new service (one Worker serving SPA + API, with contracts + D1) from the example_service template.\n---\n\nScaffold the service name supplied by the user, following `specs\u002FREADME.md` and `AGENTS.md`. If no name was supplied, ask for it. Confirm the plan before large changes (absolute rule #10: no unapproved arch\u002Flibrary decisions).\n\n1. **Specify first**: copy `specs\u002F_service-template` to `specs\u002F\u003Cservice-name>`, fill in `00_service-spec.md` (boundary, entity, API surface, owned D1).\n2. **Contract**: add `packages\u002Fcontracts\u002Fsrc\u002F\u003Cservice-name>.ts` (Zod schemas) and export from `index.ts`.\n3. **Service**: copy `services\u002Fexample_service` to `services\u002F\u003Cservice-name>` (minus `dist`, `node_modules`, `.wrangler`, `worker-configuration.d.ts`, `migrations\u002F*`). Rename: package to `@app\u002F\u003Cservice-name>`, D1 `database_name` to the service name (underscores OK), wrangler `name` to the **hyphenated** form (Worker names are DNS labels — e.g. dir `example_service` → name `example-service`), dev\u002Fe2e ports to unused ones. Copy `.dev.vars.example` too and run `make dev-vars`. Replace the `item` entity (worker routes, Drizzle schema, web UI) with the new domain's. **Write tests first** (`services\u002Fexample_service\u002Ftest` as a model).\n4. **DB**: `pnpm --filter @app\u002F\u003Cservice-name> db:generate` then `db:migrate:local`; add a `cloudflare_d1_database` + output in `infra\u002Fterraform\u002Fcloudflare`.\n5. **UI**: follow `docs\u002Ffrontend\u002FDESIGN_RULE.md` — produce the pass-1 token plan in text before writing JSX. Do NOT copy the ledger look from example_service; apply the process, not the visual.\n6. **Wire the platform services**: add the new D1 to `services\u002Fops` monitoring (one row in `opsTargets()` + `MYNAME_DB_ID` var + Bindings) so it gets backups + capacity + health checks. If admin should sync orgs to this service instead of the scaffold, swap admin's `EXAMPLE_SERVICE` binding target.\n7. **Verify**: `pnpm install`, then `pnpm check` (must be green) and `pnpm --filter @app\u002F\u003Cservice-name> e2e`. Add `@app\u002F\u003Cservice-name>` to the **deploy** + e2e matrices in `.github\u002Fworkflows\u002Fci.yml` (example_service itself is never deployed — your service takes its place).\n","Scaffold the service name supplied by the user, following `specs\u002FREADME.md` and `AGENTS.md`. If no name was supplied, ask for it. Confirm the plan before large changes (absolute rule #10: no unapproved arch\u002Flibrary decisions).\n\n1. **Specify first**: copy `specs\u002F_service-template` to `specs\u002F\u003Cservice-name>`, fill in `00_service-spec.md` (boundary, entity, API surface, owned D1).\n2. **Contract**: add `packages\u002Fcontracts\u002Fsrc\u002F\u003Cservice-name>.ts` (Zod schemas) and export from `index.ts`.\n3. **Service**: copy `services\u002Fexample_service` to `services\u002F\u003Cservice-name>` (minus `dist`, `node_modules`, `.wrangler`, `worker-configuration.d.ts`, `migrations\u002F*`). Rename: package to `@app\u002F\u003Cservice-name>`, D1 `database_name` to the service name (underscores OK), wrangler `name` to the **hyphenated** form (Worker names are DNS labels — e.g. dir `example_service` → name `example-service`), dev\u002Fe2e ports to unused ones. Copy `.dev.vars.example` too and run `make dev-vars`. Replace the `item` entity (worker routes, Drizzle schema, web UI) with the new domain's. **Write tests first** (`services\u002Fexample_service\u002Ftest` as a model).\n4. **DB**: `pnpm --filter @app\u002F\u003Cservice-name> db:generate` then `db:migrate:local`; add a `cloudflare_d1_database` + output in `infra\u002Fterraform\u002Fcloudflare`.\n5. **UI**: follow `docs\u002Ffrontend\u002FDESIGN_RULE.md` — produce the pass-1 token plan in text before writing JSX. Do NOT copy the ledger look from example_service; apply the process, not the visual.\n6. **Wire the platform services**: add the new D1 to `services\u002Fops` monitoring (one row in `opsTargets()` + `MYNAME_DB_ID` var + Bindings) so it gets backups + capacity + health checks. If admin should sync orgs to this service instead of the scaffold, swap admin's `EXAMPLE_SERVICE` binding target.\n7. **Verify**: `pnpm install`, then `pnpm check` (must be green) and `pnpm --filter @app\u002F\u003Cservice-name> e2e`. Add `@app\u002F\u003Cservice-name>` to the **deploy** + e2e matrices in `.github\u002Fworkflows\u002Fci.yml` (example_service itself is never deployed — your service takes its place).\n",{"name":5,"description":7},"main","4a91219a8ee6d080de9a1534c110c0fb88f5e119",".agents\u002Fskills\u002Fnew-service","https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services","https:\u002F\u002Fgithub.com\u002Fkta","2026-09-07 08:09:46",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add kta\u002Fmy-cloudflare-services --skill new-service",{"tool":36,"command":37},"bunx","bunx skills add kta\u002Fmy-cloudflare-services --skill new-service",{"tool":39,"command":40},"pnpm","pnpm dlx skills add kta\u002Fmy-cloudflare-services --skill new-service","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnew-service\u002FSKILL.md",true,[],[45,52,59,66,73],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M7B374N1TX86F6NBMANGP04V","patent-search","典拠（patent_research）の待ち行列から先行技術調査の仕事を 1 つ拾い、構成要件ごとに検索式を組んで公報を探し、見つけた段落を典拠として積む。","https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpatent-search\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7B371SEB1Z1W62NZQP0Z95S","patent-draft","典拠（patent_research）の待ち行列から明細書ドラフトの仕事を拾い、施行規則の見出し構造に沿って明細書の下書きを起こす。","https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpatent-draft\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7B3701PTK5Q71T49A3AX6A7","patent-assess","典拠（patent_research）の待ち行列から特許性の判断の仕事を拾い、照合済みの典拠だけを根拠に、新規性と進歩性を審査基準の型で論じる。","https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpatent-assess\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7B36W8E0HBD2YBRRB1Z5HPV","design-select","Use when creating a new screen or significantly changing a UI's look. Presents 2-3 design candidates as clickable HTML mockups in the user's browser (local preview server), lets the user pick one, then implements the winner per DESIGN_RULE.","https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdesign-select\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7B36TZS1JB80B31QXM2JSRF","check","Run the full check (lint + typecheck + test with coverage) and fix failures until green.","https:\u002F\u002Fgithub.com\u002Fkta\u002Fmy-cloudflare-services\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcheck\u002FSKILL.md",[],[]]