[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77PC39ZC18MXF2ADJVKKV4B":3,"skill-same:01M77PC39ZC18MXF2ADJVKKV4B":108},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M77PC39ZC18MXF2ADJVKKV4B","deploy",null,"Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# Deploy — IaC Execution & Health Verification\n\n## Quick Reference\n\n| Property | Value |\n|----------|-------|\n| Best for | Executing validated IaC against Azure, health-checking deployed resources |\n| Inputs | `prepare-plan.json` + `scaffold-manifest.json` from `.copilot-azure\u002Fsessions\u002F{id}\u002F` |\n| Outputs | `deploy-result.json` written to session directory |\n| Parent | [azure-app-onboard](..\u002FSKILL.md) |\n\n## When to Use This Skill\n\nInvoked by the `azure-app-onboard` orchestrator at Phase 4 when `scaffold-manifest.json` exists with `files[]` and `validationResult`. Not directly user-routable.\n\n> **Return to orchestrator:** When complete, return control to `azure-app-onboard` for handoff (Step 10). Do NOT start new phases.\n\n## When NOT to Use\n\n| Scenario | Use Instead |\n|----------|-------------|\n| Plan architecture, map services, estimate costs | [prepare](..\u002Fprepare\u002FSKILL.md) |\n| Generate IaC files from a plan | `azure-app-onboard` Step 7 (scaffold) |\n| Run `azd up` or execute existing deployment templates | `azure-deploy` |\n| Debug a running app after deployment | `azure-diagnostics` |\n| Optimize existing Azure spending | `azure-cost` |\n\n## Workflow\n\n> ⛔ **Sub-agent delegation is MANDATORY for Step 0.** Read `subagent-preflight.md`, then dispatch as a `task` with the **COMPLETE and UNMODIFIED** template text between `\u003C\u003C\u003CTEMPLATE_START>>>` \u002F `\u003C\u003C\u003CTEMPLATE_END>>>` delimiters. Do NOT summarize or rewrite the template — the sub-agent needs every \"Read [file]\" instruction to produce a correct `deploy-checklist.md`. Append session artifact data AFTER the template block. If your next action after reading the template is anything other than `task`, you are executing it inline instead of delegating.\n\n> ⛔ **Healing loop:** ask user after 3 attempts, then every 5 (counter = `healingAttempts[].length`).\n\n> ⛔ **Region lock:** Before `az deployment` retry, compare `--location` against `prepare-plan.json.deploymentVariables.location`. If changed → re-approval gate required. Update plan after approval.\n\n> ⛔ **After compaction or any `az deployment`\u002F`az webapp deploy`\u002F`az acr build`\u002Ffailed health check: re-read `deploy-checklist.md`.** If missing → fill from [`deploy-checklist-template.md`](references\u002Fdeploy-checklist-template.md). On significant context loss: also re-read this SKILL.md.\n\n| # | Step | Action | Artifact | Reference |\n|---|------|--------|----------|-----------|\n| 0 | **Dispatch preflight sub-agent** | ⛔ **You MUST dispatch [`subagent-preflight.md`](references\u002Fsubagent-preflight.md) as a `task`.** ⛔ agent_type: `\"task\"` — NEVER `\"general-purpose\"`. Read the template, then your NEXT action MUST be `task`. If after reading the template your next action is `powershell`, `view`, or anything other than `task`, STOP — you are executing inline instead of delegating. Writes `deploy-checklist.md`. **`view` it immediately after return.** | `deploy-checklist.md` | ⛔ **You MUST read [`subagent-preflight.md`](references\u002Fsubagent-preflight.md)** |\n| 1 | **Read upstream artifacts** | Load `prepare-plan.json` + `scaffold-manifest.json`. Check `validationResult`. Resolve subscription + deployment variables. | — | — |\n| 3 | **Preflight checks** | Auth, **mandatory what-if preview**, RBAC, RG per `deploy-checklist.md` § Preflight. | — | ⛔ **You MUST read `deploy-checklist.md`** (re-read if compaction occurred) |\n| 4 | **Deploy approval gate** | Present cost + resource summary per `deploy-checklist.md` § Deploy approval gate format. | — | — |\n| 5b | **Write deploy-result.json skeleton** | ⛔ Read [`deploy-schemas.ts`](references\u002Fdeploy-schemas.ts), write skeleton (`status: \"in-progress\"`). Must exist BEFORE first `az` command. | `deploy-result.json` | ⛔ **You MUST read [`deploy-schemas.ts`](references\u002Fdeploy-schemas.ts)** |\n| 6 | **Execute deployment** | ⛔ **BEFORE `az deployment sub create`:** Generate portal link — `$dn=\"{deploymentName}\"; $r=\"\u002Fsubscriptions\u002F{subId}\u002Fproviders\u002FMicrosoft.Resources\u002Fdeployments\u002F$dn\"; $l=\"https:\u002F\u002Fportal.azure.com\u002F#view\u002FMicrosoft_Azure_Resources\u002FDeploymentDetails.MenuView\u002F~\u002Foverview\u002Fid\u002F$($r.Replace('\u002F','%2F'))\"; Write-Output \"LINK=$l\"`. ⛔ **Auto-open link in browser:** `Start-Process $l 2>$null`. Print bare URL in chat (ctrl-clickable).\u003Cbr>Auto-generate ALL `@secure()` params (`openssl rand -base64 32 \\| tr -d '\u002F+='`), NEVER `ask_user` for passwords; on retry reuse from `deploy-secrets.env` or Key Vault — NEVER regenerate (see deploy-safety.md § Deploy Checklist). THEN deploy IaC. | — | ⛔ **You MUST read `deploy-checklist.md`** § Execute deployment |\n| 6b | **Deploy application code** | ⛔ Deploy code for EVERY service in `prepare-plan.json.services[]`. Follow `deploy-checklist.md` § Code deploy. | — | ⛔ **You MUST read `deploy-checklist.md`** § Code deploy |\n| 7 | **Health-check + SCM re-disable** | HTTP GET per endpoint (max 3 iterations). ⛔ **Multi-service apps:** Also inspect the response body for error patterns (`connection refused`, `MODULE_NOT_FOUND`, `localhost`, `SET-IN-DEPLOY-PHASE`) — HTTP 200 alone does not mean functional when the app depends on another service or KV secrets. Then ⛔ for EVERY App Service\u002FFunctions app run BOTH commands — no exceptions: `az rest --method put --url \"\u002Fsubscriptions\u002F{sub}\u002FresourceGroups\u002F{rg}\u002Fproviders\u002FMicrosoft.Web\u002Fsites\u002F{app}\u002FbasicPublishingCredentialsPolicies\u002Fscm?api-version=2023-12-01\" --headers \"Content-Type=application\u002Fjson\" --body '{\"properties\":{\"allow\":false}}'` then verify: `az rest --method get --url \"\u002Fsubscriptions\u002F{sub}\u002FresourceGroups\u002F{rg}\u002Fproviders\u002FMicrosoft.Web\u002Fsites\u002F{app}\u002FbasicPublishingCredentialsPolicies\u002Fscm?api-version=2023-12-01\" --query properties.allow -o tsv` (must return `false`). | `deploy-result.json` full | ⛔ **You MUST read `deploy-checklist.md`** § Health check |\n| 8 | **Finalize artifacts** | ⛔ Read [`deploy-schemas.ts`](references\u002Fdeploy-schemas.ts). ⛔ Re-read `deploy-checklist.md` § Artifact verification — follow ALL 5 checks. ⛔ **No \"live\"\u002Fhandoff message until you overwrite the skeleton `deploy-result.json`** — flip `status` off `\"in-progress\"` (→ `succeeded`\u002F`failed`) and fill healthStatus, endpoints, completedUtc, deploymentNames, healingAttempts. Write `deployment-summary.md` (status table + health + portal link(s) + cleanup commands — same content as your handoff message). Update `context.json` — add `\"deploy\"` to `completedPhases`, `currentPhase: null`, `lastModifiedUtc`. Read back to confirm `status != \"in-progress\"` and `\"deploy\"` ∈ `completedPhases`. ⛔ **Then STOP — return to orchestrator. No further CLI commands.** | `deploy-result.json` final + `deployment-summary.md` + `context.json` update | ⛔ **You MUST read [`deploy-schemas.ts`](references\u002Fdeploy-schemas.ts)** + ⛔ **Re-read `deploy-checklist.md` § Artifact verification** |\n| 9 | **Error handling + healing** | ⛔ **Only if Steps 6\u002F6b\u002F7 returned nonzero exit code or health check failed.** Skip entirely on clean deploys. Classify errors, healing loop, PLAN_LEVEL_CHANGE re-approval per `deploy-checklist.md` § During healing. ⛔ **Even on unrecoverable failure:** write `deploy-result.json` with `status: \"failed\"` and `errorDetails` before returning to orchestrator — the artifact must always exist. | — | ⛔ **You MUST read [`error-classification.md`](references\u002Ferror-classification.md)** |\n",{},"main","58843b159d7a4050d6b785a98b908cce505c0b92","agent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill deploy",{"tool":36,"command":37},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill deploy",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002FSKILL.md",true,[44,50,54,58,62,66,70,74,78,84,88,92,96,100,104],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Fapproval-gate-template.md","REFERENCE","参考文档",2988,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fapproval-gate-template.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fblocked-patterns.md",5883,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fblocked-patterns.md",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fcode-deployment-appservice.md",4735,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fcode-deployment-appservice.md",{"path":59,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fcode-deployment-container-apps.md",8648,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fcode-deployment-container-apps.md",{"path":63,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fcode-deployment-swa.md",5816,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fcode-deployment-swa.md",{"path":67,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fdatabase-post-deploy.md",4578,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fdatabase-post-deploy.md",{"path":71,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fdeploy-checklist-template.md",10385,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fdeploy-checklist-template.md",{"path":75,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fdeploy-safety.md",4640,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fdeploy-safety.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fdeploy-schemas.ts","SCRIPT","脚本",3558,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fdeploy-schemas.ts",{"path":85,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Ferror-classification.md",3732,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Ferror-classification.md",{"path":89,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fhealth-check-patterns.md",5633,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fhealth-check-patterns.md",{"path":93,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fmcp-tools.md",5642,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fmcp-tools.md",{"path":97,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fportal-links.md",3142,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fportal-links.md",{"path":101,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fpreflight-checks.md",4470,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fpreflight-checks.md",{"path":105,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fsubagent-preflight.md",5210,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fazure-app-onboard\u002Fdeploy\u002Freferences\u002Fsubagent-preflight.md",[109,116,123,130,137,144],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":18},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":18},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":18},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":18},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":18},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":18},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]