[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CFZ6ARXW6PZEVZGHX02M12":3,"skill-same:01M7CFZ6ARXW6PZEVZGHX02M12":47},{"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":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7CFZ6ARXW6PZEVZGHX02M12","cloudflare-deploy",null,"Deploy or change a Cloudflare Worker with cf. Review config, preflight, build and dry-run; show the target and change, obtain explicit approval, deploy and verify. Covers versions, secrets, rollback and named modes.","codewhale-hq\u002Fcodewhale-plugin-marketplace","codewhale-hq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F326694313?v=4","01M6CDD9D70AD3631SMRJ7REW4","Codewhale","01M7CFYTPJMP417FBR6K9VE5VN",5,"MIT","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcloudflare\u002Fskills\u002Fcloudflare-deploy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloudflare-deploy\ndescription: Deploy or change a Cloudflare Worker with cf. Review config, preflight, build and dry-run; show the target and change, obtain explicit approval, deploy and verify. Covers versions, secrets, rollback and named modes.\n---\n\n# Cloudflare: deploy with approval\n\n**Hard rule.** Never run a command from the \"needs approval\" list unless the\nuser has approved that account, target and change after seeing a concrete plan.\nRespect approval already granted for that same scope; a different target,\ndata change or traffic change needs its own approval. A push to a branch that\nWorkers Builds deploys is a deploy too.\n\n## Commands by risk\n\nSafe without approval (local or read-only):\n\n- `cf --version`, `cf auth whoami`\n- `cf dev`, `cf build`, `cf deploy --dry-run`, `cf migrate --dry-run`\n- reading deployments: `cf workers deployments list`\n- listing secret names: `cf workers secrets list` (never secret values)\n- supported resource simulations with explicit `--local`\n- `\u002Fcloudflare-preflight` (legacy JSON\u002FTOML; typed config is not evaluated)\n\nNeeds approval (changes the account, data, money or traffic):\n\n- `cf deploy`, `cf workers versions create` (upload),\n  `cf workers deployments create`, `cf workers triggers deploy`, rollback,\n  or deletion of a Worker\u002Fversion\u002Fdeployment\n- `cf workers secrets update` or `cf workers secrets delete`\n- remote D1 queries or migrations that write, KV\u002FR2 writes or deletes, and\n  creating\u002Fdeleting resources; cf API commands are remote unless their\n  documented `--local` mode was explicitly selected\n- `cf auth login`: the user completes the authentication flow\n- reading production traffic\u002Flogs: explain the scope and bound its duration\n\nUse anonymous `cf cli search \"\u003Caction and resource type>\"` queries to discover\nresource commands, then inspect the returned command with `--help` and its\n`cf schema` entry. Never put names, domains, IDs, email addresses or credentials\nin command-search queries. Search can return an upload command for a local\nbuild request: that is still a mutation, not a substitute for `cf build`.\n\nNever ask for an API token in chat or print one. Authentication stays in the\nuser's terminal through `cf auth login` or their environment. Secret updates\nmust use a documented input mechanism that keeps values out of command\narguments, logs and transcripts; if unavailable, let the user enter them\noutside the agent session. Never invent a `cf secret put` compatibility alias.\n\n## Workflow\n\n1. Read `cloudflare.config.ts` and source before executing it. For a legacy\n   project, preview `cf migrate --dry-run`, review the local conversion, and\n   preserve existing resource IDs, domains, schedules and storage.\n2. Run `\u002Fcloudflare-preflight` if applicable. Typed TypeScript is executable;\n   the static checker reports it as unvalidated and never imports it.\n3. Identify the exact Worker, account and named mode. Read `cf auth whoami`\n   and configuration; `CLOUDFLARE_ACCOUNT_ID` can override `accountId`.\n   Resolve an ambiguous account before any mutation. Pass `--mode \u003Cname>`\n   consistently when configuration depends on it.\n4. Run project tests, `cf build`, then `cf deploy --dry-run [--mode \u003Cname>]`.\n   Inspect the actual entry, assets, bindings, lifecycle changes and warnings.\n   A dry run uploads nothing; it does not prove production will work.\n5. Present the exact deployment command, account\u002FWorker\u002Fmode, code and traffic\n   changes, any new resources or migrations, verification and rollback plan.\n   Obtain explicit yes for any scope not already approved.\n6. Run only the approved deployment. Request the changed routes and inspect\n   `cf workers deployments list`; record version\u002Fdeployment IDs and URL.\n   If it fails, retain the error and actual state before planning a retry.\n\n## Versions, rollback, secrets and data\n\nUploading a version (`cf workers versions create`) and assigning traffic\n(`cf workers deployments create`) are separate mutations. Discover exact flags\nand schema for the installed cf version; do not translate Wrangler flags by\nrenaming the executable. A rollback assigns an older version to traffic and\nnever restores storage. It needs approval and a state check.\n\nDurable Object creation\u002Frename\u002Fdelete\u002Ftransfer can be irreversible. Review the\nlifecycle diff and deploy it separately with approval; do not assume a gradual\nrollout or rollback can undo it. See `cloudflare-durable-objects`.\n\nUse named `--mode` values or a separate staging Worker. Do not test by deploying\nover production. Container config can roll running instances. Keep required\nsecret names declared with the project's current typed configuration API;\nvalues never belong in source or chat. Remote database migrations require\nreviewed SQL, backup\u002Frestore planning and approval.\n\nReferences: [cf sign-in\u002Faccount selection](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcf\u002Fget-started\u002F), [migration reference](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcf\u002Fwrangler\u002Freference\u002F), [projects and deployment](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcf\u002Fprojects\u002F).\n","# Cloudflare: deploy with approval\n\n**Hard rule.** Never run a command from the \"needs approval\" list unless the\nuser has approved that account, target and change after seeing a concrete plan.\nRespect approval already granted for that same scope; a different target,\ndata change or traffic change needs its own approval. A push to a branch that\nWorkers Builds deploys is a deploy too.\n\n## Commands by risk\n\nSafe without approval (local or read-only):\n\n- `cf --version`, `cf auth whoami`\n- `cf dev`, `cf build`, `cf deploy --dry-run`, `cf migrate --dry-run`\n- reading deployments: `cf workers deployments list`\n- listing secret names: `cf workers secrets list` (never secret values)\n- supported resource simulations with explicit `--local`\n- `\u002Fcloudflare-preflight` (legacy JSON\u002FTOML; typed config is not evaluated)\n\nNeeds approval (changes the account, data, money or traffic):\n\n- `cf deploy`, `cf workers versions create` (upload),\n  `cf workers deployments create`, `cf workers triggers deploy`, rollback,\n  or deletion of a Worker\u002Fversion\u002Fdeployment\n- `cf workers secrets update` or `cf workers secrets delete`\n- remote D1 queries or migrations that write, KV\u002FR2 writes or deletes, and\n  creating\u002Fdeleting resources; cf API commands are remote unless their\n  documented `--local` mode was explicitly selected\n- `cf auth login`: the user completes the authentication flow\n- reading production traffic\u002Flogs: explain the scope and bound its duration\n\nUse anonymous `cf cli search \"\u003Caction and resource type>\"` queries to discover\nresource commands, then inspect the returned command with `--help` and its\n`cf schema` entry. Never put names, domains, IDs, email addresses or credentials\nin command-search queries. Search can return an upload command for a local\nbuild request: that is still a mutation, not a substitute for `cf build`.\n\nNever ask for an API token in chat or print one. Authentication stays in the\nuser's terminal through `cf auth login` or their environment. Secret updates\nmust use a documented input mechanism that keeps values out of command\narguments, logs and transcripts; if unavailable, let the user enter them\noutside the agent session. Never invent a `cf secret put` compatibility alias.\n\n## Workflow\n\n1. Read `cloudflare.config.ts` and source before executing it. For a legacy\n   project, preview `cf migrate --dry-run`, review the local conversion, and\n   preserve existing resource IDs, domains, schedules and storage.\n2. Run `\u002Fcloudflare-preflight` if applicable. Typed TypeScript is executable;\n   the static checker reports it as unvalidated and never imports it.\n3. Identify the exact Worker, account and named mode. Read `cf auth whoami`\n   and configuration; `CLOUDFLARE_ACCOUNT_ID` can override `accountId`.\n   Resolve an ambiguous account before any mutation. Pass `--mode \u003Cname>`\n   consistently when configuration depends on it.\n4. Run project tests, `cf build`, then `cf deploy --dry-run [--mode \u003Cname>]`.\n   Inspect the actual entry, assets, bindings, lifecycle changes and warnings.\n   A dry run uploads nothing; it does not prove production will work.\n5. Present the exact deployment command, account\u002FWorker\u002Fmode, code and traffic\n   changes, any new resources or migrations, verification and rollback plan.\n   Obtain explicit yes for any scope not already approved.\n6. Run only the approved deployment. Request the changed routes and inspect\n   `cf workers deployments list`; record version\u002Fdeployment IDs and URL.\n   If it fails, retain the error and actual state before planning a retry.\n\n## Versions, rollback, secrets and data\n\nUploading a version (`cf workers versions create`) and assigning traffic\n(`cf workers deployments create`) are separate mutations. Discover exact flags\nand schema for the installed cf version; do not translate Wrangler flags by\nrenaming the executable. A rollback assigns an older version to traffic and\nnever restores storage. It needs approval and a state check.\n\nDurable Object creation\u002Frename\u002Fdelete\u002Ftransfer can be irreversible. Review the\nlifecycle diff and deploy it separately with approval; do not assume a gradual\nrollout or rollback can undo it. See `cloudflare-durable-objects`.\n\nUse named `--mode` values or a separate staging Worker. Do not test by deploying\nover production. Container config can roll running instances. Keep required\nsecret names declared with the project's current typed configuration API;\nvalues never belong in source or chat. Remote database migrations require\nreviewed SQL, backup\u002Frestore planning and approval.\n\nReferences: [cf sign-in\u002Faccount selection](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcf\u002Fget-started\u002F), [migration reference](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcf\u002Fwrangler\u002Freference\u002F), [projects and deployment](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcf\u002Fprojects\u002F).\n",{"name":5,"description":7},"main","e83cac15fc63134280e964895df4d584e5702c13","plugins\u002Fcloudflare\u002Fskills\u002Fcloudflare-deploy",2,"https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace","https:\u002F\u002Fcodewhale.net","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq","Open-source coding agent for your terminal. Works with the model provider you choose.","2026-11-13 11:48:42",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add codewhale-hq\u002Fcodewhale-plugin-marketplace --skill cloudflare-deploy",{"tool":39,"command":40},"bunx","bunx skills add codewhale-hq\u002Fcodewhale-plugin-marketplace --skill cloudflare-deploy",{"tool":42,"command":43},"pnpm","pnpm dlx skills add codewhale-hq\u002Fcodewhale-plugin-marketplace --skill cloudflare-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fcloudflare\u002Fskills\u002Fcloudflare-deploy\u002FSKILL.md",true,[],[48,55,62,69,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7CG92AM4VSATJQ927PE34G4","xlsx","Create\u002Fedit\u002Fanalyze\u002Fverify spreadsheet workbooks including XLSX\u002FCSV\u002FTSV.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CG8ZBZXPCJACH06SFV39NM","webapp-testing","Start\u002Freuse a local app, wait for readiness, inspect rendered state\u002Fconsole\u002Fnetwork, act from observed selectors, and verify with evidence.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CG8XF83CD62S7TCPMECV4N","verify","Exercise the real app\u002FAPI\u002FCLI and collect observable evidence; tests alone do not count as end-to-end verification.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"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":72,"categories":73,"keywords":74,"publishedAt":19},"01M7CG8VF7HN4EHQM3PP877PB6","tts","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftts\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CG8RSMADT0QKP2ZSF6EN6T","test","Detect the project’s test stack, run the narrowest useful tests, create tests when authorized, and report coverage\u002Fgaps honestly.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftest\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7CG8MQTZ8VT7E4V3VY78F8X","spreadsheets","Compatibility alias for the xlsx skill. Prefer loading xlsx.","https:\u002F\u002Fgithub.com\u002Fcodewhale-hq\u002Fcodewhale-plugin-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fspreadsheets\u002FSKILL.md",[],[]]