[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BAARKKR3ZP2X89Q8RWMXY":3,"skill-same:01M69BAARKKR3ZP2X89Q8RWMXY":51},{"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":29,"updatedAt":30,"install":31,"resources":44},"01M69BAARKKR3ZP2X89Q8RWMXY","delete",null,"microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B8MRC17NGDB6TFWV3247A",31,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fdelete\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Delete Workflow Skill\n\nThis skill guides the user through deleting a Power Automate cloud flow\n(workflow) from their Copilot Studio agent. Deleting means removing the\nworkflow both locally AND from the live environment via push.\n\nExplain that DA-GA component deletion is not yet available in this release and\nstop before changing local files.\n\n## CRITICAL — Local Files Are a Working Copy\n\nThe files in `workspace\u002Fagents\u002F{slug}\u002F` are a **working copy** of what's deployed in\nCopilot Studio. Deleting local files is NOT the same as deleting the workflow\nfrom the live agent. You MUST push the deletion to Copilot Studio via\n`push.py` for it to take effect. **NEVER stop after deleting only the local\nfiles.**\n\n## Rules\n\n- ALWAYS read `.local\u002Fconfig.json` to get the agent folder, slug, and schema name.\n- ALWAYS checkpoint before deleting anything.\n- ALWAYS push the deletion to Copilot Studio after removing local files.\n- NEVER delete without confirming with the user first.\n- NEVER delete the shared ESS orchestrator flows (ServiceNow\u002FWorkday shared\n  flows) unless the user explicitly insists after a strong warning.\n- **TRACK PROGRESS**: Use the todo list tool to track your progress.\n\n## Step 1: Identify the Workflow\n\nRead `.local\u002Fconfig.json` to get `agent.folder` and `agent.slug`.\n\nList the workflow folders in `{agent.folder}\u002Fworkflows\u002F`. Each workflow is a\nfolder containing `metadata.yml` and `workflow.json`.\n\nIf the user named a specific workflow, find the matching folder by:\n- Folder name\n- Display name in `metadata.yml` (`name` field)\n\nIf the match is ambiguous or no match is found, list the available workflows\nand ask the user to pick one.\n\n## Step 2: Check for Topic References\n\nBefore deleting, check if any topics reference this workflow's ID. Search\nall topic files in `{agent.folder}\u002Ftopics\u002F` for the workflow's GUID (from\n`metadata.yml` → `workflowId`).\n\nIf topics reference this workflow, warn the user:\n\n> ⚠️ The following topics call this workflow:\n> - {TopicName1}\n> - {TopicName2}\n>\n> Deleting the workflow will break these topics. Would you like to delete\n> the referencing topics as well, or just the workflow?\n\n## Step 3: Confirm Deletion\n\nShow the user:\n\n- **Workflow name** (from `metadata.yml`)\n- **What it does** (from `description` in `metadata.yml`)\n- **Topics that reference it** (if any, from Step 2)\n\nConfirm:\n\n> I'll delete the workflow **{WorkflowName}** from your agent and push the\n> deletion to Copilot Studio. This will remove it from the live environment.\n> Proceed?\n\nWait for the user to confirm.\n\n## Step 4: Checkpoint\n\nRun in the terminal:\n\n```\npython scripts\u002Fcheckpoint.py \"pre-delete-{WorkflowName}\"\npython scripts\u002Femit_capability.py workflow_delete\n```\n\nTell the user: \"Saved a backup of your current agent files.\" The\n`emit_capability.py` line records anonymous usage telemetry (best-effort,\nnon-blocking); it needs no user-facing message and never fails the step.\n\n## Step 5: Delete the Local Files\n\nDelete the entire workflow folder: `{agent.folder}\u002Fworkflows\u002F{folder-name}\u002F`\n\nIf the user also chose to delete referencing topics (from Step 2), delete\nthose topic files as well.\n\nVerify the files are gone.\n\n## Step 6: Dry Run\n\nRun in the terminal:\n\n```\npython scripts\u002Fpush.py --dry-run\n```\n\nShow the user the diff summary.\n\n## Step 7: Push to Copilot Studio\n\nAsk the user: \"Ready to push this deletion to your environment?\"\n\nWhen confirmed, run:\n\n```\npython scripts\u002Fpush.py --yes\n```\n\n**If the push fails:**\n- Show the error output.\n- Offer: **Retry** or **Revert** (`python scripts\u002Fcheckpoint.py --revert`).\n\n## Step 8: Verify\n\nAfter a successful push, tell the user:\n\n> ✅ **{WorkflowName}** has been deleted from your agent.\n>\n> Remember to **Publish** your agent to make the change live.\n>\n> [Open Copilot Studio](https:\u002F\u002Fcopilotstudio.microsoft.com\u002F)\n\n## Step 9: Offer Next Steps\n\n- \"Would you like to delete anything else?\"\n- \"Type `\u002Fscan` to check for broken references.\"\n- \"Type `\u002Fmenu` to see all available commands.\"\n",{},"main","a1b1bbb8aaa2435985ea2242cf836acf31b8a390","solutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fdelete",19,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-11 23:53:33",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill delete",{"tool":37,"command":38},"bunx","bunx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill delete",{"tool":40,"command":41},"pnpm","pnpm dlx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill delete","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fdelete\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"scripts\u002Ftree_gen.py","SCRIPT","脚本",18938,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Ftree_gen\u002Fscripts\u002Ftree_gen.py",[52,60,67,74,82,88],{"skillNo":53,"name":54,"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":55,"categories":56,"keywords":57,"publishedAt":18},"01M6PJDNK6N62M11V5WPFY8PK0","servicenow-da","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fconnect\u002Fservicenow-da\u002FSKILL.md",[],[58,59],"servicenow","servicenow da",{"skillNo":61,"name":62,"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":63,"categories":64,"keywords":65,"publishedAt":18},"01M6PJDHJHJYWRPB3NFKY8J7SY","servicenow-da-itsm","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fconnect\u002Fservicenow-da-itsm\u002FSKILL.md",[],[58,66],"servicenow da itsm",{"skillNo":68,"name":69,"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":70,"categories":71,"keywords":72,"publishedAt":18},"01M6PJD93VBG12YV42JC80VTQJ","servicenow-da-hrsd","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fconnect\u002Fservicenow-da-hrsd\u002FSKILL.md",[],[58,73],"servicenow da hrsd",{"skillNo":75,"name":76,"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":77,"categories":78,"keywords":79,"publishedAt":18},"01M69BAFGZ25JSN9W1GMP16NHD","ESS-Diagnostics-Skills","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Ftools\u002FESS-Diagnostics-Skills\u002FSKILL.md",[],[80,81],"diagnostics","ESS Diagnostics Skills",{"skillNo":83,"name":84,"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":85,"categories":86,"keywords":87,"publishedAt":18},"01M69BADVK3HC5BCARHN74EEGJ","update","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Fupdate\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"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":91,"categories":92,"keywords":98,"publishedAt":18},"01M69BAC4GJCHR0MS5DWEK5JRC","test","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fworkflows\u002Ftest\u002FSKILL.md",[93],{"categoryNo":94,"categoryName":95,"taxonomyType":96,"taxonomyTypeDesc":97},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[90]]