[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69B9ETWXX4RVCQF06GPSRRK":3,"skill-same:01M69B9ETWXX4RVCQF06GPSRRK":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},"01M69B9ETWXX4RVCQF06GPSRRK","run",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\u002Fevaluations\u002Frun\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Run Evaluation Test Sets\n\nPrepare and run the selected Copilot Studio evaluation test set through the\nshared deployment flow and Power Platform API, or retrieve run results.\n\nExecution requires a configured agent and completed `.local\u002Fconfig.json`.\nCommands run from the `solutions\u002Fess-maker-skills\u002F` directory.\nRead `src\u002Fskills\u002Fevaluations\u002Fexperience-contract.md` and\n`src\u002Fskills\u002Fevaluations\u002Fdeployment-flow.md`. Run includes required deployment;\nnever require a separate typed push command or push the same set twice.\n\n## Intent routing\n\n- **Run \u002F execute test sets or evals** -> follow **Flow A**.\n- **Show evaluation runs \u002F run IDs \u002F results** -> follow **Flow B**.\n- Do not invoke the local evaluation quality validator. This skill executes\n  deployed test cases against the configured Copilot Studio agent.\n\n## Flow A: Start an evaluation run\n\n### Mandatory user-selection gate\n\nA request such as \"run a test set\", \"run evaluations\", or `\u002Frun` authorizes\ndiscovery only. It does not authorize executing any test set.\n\nThe selection flow must use two separate user turns:\n\n1. Run `list-sets --include-local`, display the eligible choices, ask the user to select or\n   confirm one, and **STOP**.\n2. Only after the user's next message explicitly selects or confirms a\n   displayed test set may preparation and the `run-prepared` command proceed,\n   subject to deployment consent and explicit connection selection.\n\nNever start a run in the same turn that discovers the candidates. This remains\nmandatory when there is only one eligible set, when a fuzzy query returns one\nmatch, when a prior conversation mentioned a set, or when local run history\ncontains only one set. Do not infer selection from any of those conditions.\n\n### 1. Discover the test set\n\nIf the user names a test set, run:\n\n```text\npython scripts\u002Fevaluation_runs.py list-sets --include-local --query \"{user text}\"\n```\n\nThis explicit preparation discovery includes workspace and current-agent local\nsets, not unrelated agents. It distinguishes `canPrepare` from\n`currentlyRunnable`, includes `requiresPreparation`, `hasLocalChanges`, exact\n`localFolder`, source, current\u002Fmapped IDs, and `blockedReason`.\n\nShow currently runnable sets and sets that can be prepared as separate states.\n`currentlyRunnable=null` means readiness is unknown: show preparation\u002Fconnection\nchecks pending and the returned `readinessReason`, not \"runnable\".\nDo not call a local\u002Fdirty set deployed or runnable yet. A valid explicitly\ncompleted local review marker may require synchronization before Run; that is\nnot permission to complete a pending review. Show the returned reason.\nFor `canPrepare=false`, show it as unavailable and copy the actual blocker.\nMalformed methods\u002Freview state must not become a legacy runnable exception.\nNever silently choose a fuzzy match. Stop after asking, even for one candidate.\n\nIf the user does not name a test set, run:\n\n```text\npython scripts\u002Fevaluation_runs.py list-sets --include-local\n```\n\nDisplay all returned current-agent\u002Fworkspace candidates with their actual\npreparation state. Ask which eligible exact set to run and stop after asking.\n\nIf no match is returned, show the available sets instead of guessing.\nWorkspace-only sets can be selected for preparation, but cannot start until\nverified deployment. A pending `review_requested` blocks Run until explicitly\ncompleted through Flow R2 and synchronized using the existing backend behavior.\nNative local completion is not a remote review marker, but does not itself\nblock preparation. Never clear a pending tag to run.\n\n### 2. Prepare the selected set and connection\n\nEnter this step only when the current user message explicitly selects or\nconfirms one of the choices displayed in the immediately preceding assistant\nturn.\n\nRetain the selected `localFolder` and source, not a display-name lookup or\npossibly stale deployed ID. Follow the shared deployment admission and preview:\n\n```text\npython scripts\u002Fevaluation_deployment.py preview --set-folder \"{set-folder}\" --action run\n```\n\nShow the exact returned target\u002Fscope\u002Fdiff and obtain approval. Keep its\n`confirmationToken`; preserve any explicit replacement\u002Fdeletion consent as\nspecified in the deployment flow. Do not deploy separately here.\nFor native `deploymentBehavior=new_copy`, explain before consent that the\nexisting insert API creates a new deployed ID and retains the old remote copy.\nCase omissions affect only the new copy, not the old remote set. Start only the\nactual ID returned by preparation; unchanged `reuse` still requires verification.\n\nRequire explicit connection selection, even if only one profile exists or an\nautomatic account match is possible. For both Dataverse and native MinimalBot\nagents, run:\n\n```text\npython scripts\u002Fevaluation_runs.py list-connections\n```\n\nShow returned connected profiles with display name, account name, creator, and\nconnection ID. `matchesSignedInAccount` is context, not permission to select\nautomatically. Ask the user to select with the structured question control and\n**STOP**. A user-supplied explicit connection ID may be carried forward, but the\nrun command must validate it against this environment and connected status.\nDo not silently choose a profile.\n\nIf no connected profile is available, explain the actual prerequisite and\noffer **Retry connection discovery** after repair; stop instead of running.\nMissing, disconnected, or unverified selected profiles block both backends.\nDo not invent a connected status or bypass the existing pending-review gates\nmerely because connection discovery succeeded.\n\nThis mandatory profile is the **Microsoft Copilot Studio** evaluation identity.\nOther tool connections declared by the agent are optional run bindings: include\nan unambiguous connected profile when available, but do not block the whole run\nbecause an unrelated connector such as ServiceNow has no profile. A test case\nthat actually invokes an unavailable connector may fail at runtime; report that\ncase result rather than preventing every evaluation from starting.\n\n### 3. Deploy and start exactly once\n\nOnly after explicit set selection, deployment consent, and connection selection:\n\n```text\npython scripts\u002Fevaluation_runs.py run-prepared --set-folder \"{set-folder}\" --confirmation-token \"{confirmationToken}\" --yes --mcs-connection-id \"{connectionId}\"\n```\n\nAdd `--replace` only if the approved preview used it, and `--force-delete` only\nfor exact approved Dataverse remote deletions, not native copy omissions.\nThis command invokes the shared deployment\nhelper, verifies source\u002Ftarget identity and method\u002Freview admission, then starts\nthe verified deployed set. Do not also call `evaluation_deployment.py deploy`\nor `evaluation_runs.py run` for this same operation.\n\nIf the preview token is stale, preview and confirm again. If deployment fails,\nno run starts: `stage=deployment` is not run success. If deployment succeeded\nbut start failed, `status=run_failed`, `stage=run` and the returned `deployment`\ndescribe distinct outcomes. Report both stages and the returned recovery\n`userGuidance`, not a success link; inspect run history before retrying\nexecution, and do not repeat deployment blindly. For multiple explicitly\nselected sets, retain separate tokens, approvals, and outcomes; never reuse\none set's ID\u002Flink.\n\nEvery run must include a validated `mcsConnectionId`; no anonymous evaluation.\n\nShow the test-set name, run ID, returned initial state and any returned\nprocessed\u002Ftotal case count, and explain that execution continues\nasynchronously. Native HTTP 202 means accepted, not completed; do not invent\nmissing progress fields. Copy the returned `userGuidance`, then include the\noptional navigation link:\n\n> [Open this run in Copilot Studio]({agentStudioUrl}) (optional)\n\nUse the successful command's `agentStudioUrl` with the same link label as\ncompleted results. Use only its new run ID and actual deployed set identity;\nnever build a URL from conversation history or a local slug. If no valid run\nID is returned, do not show success or a run link. If a real run started but\n`agentStudioUrl` is absent\u002Fnull, report the run ID\u002Fstate and that its link is\nunavailable, including the returned `navigationWarning`. Do not fabricate a\nURL, label an overview as run details, retry start for navigation, poll, or\nwait for completion to show the link.\nDo not use the completed-result \"Done\" wording for an in-progress run.\n\nAlways include:\n\n> I've started running your test set in Copilot Studio. This may take 10-15\n> minutes. Return here to view the results when the run is complete; you don't\n> need to open Copilot Studio.\n\nThe successful start command returns this exact text in `userGuidance`. Copy\n`userGuidance` verbatim into the successful start response. This is a hard\npostcondition: never finish a successful run-start turn without it, even when\nthe initial state is already `Completed` or the run finishes unusually quickly.\nIf the command is still pending and has not returned a run ID, do not claim\nthat the run was successfully triggered.\n\nDo not create a local run mapping or results file.\n\n## Flow B: List runs and show results\n\n### 1. List run IDs\n\nRun:\n\n```text\npython scripts\u002Fevaluation_runs.py list-runs\n```\n\nThe script queries the Power Platform `testruns` endpoint and joins each run's\n`testSetId` to the test-set `displayName` returned by the `testsets` endpoint.\nThis is the same behavior for makers, judges, and SMEs; no local run mapping is\nused.\n\nDisplay:\n\n> | # | Test set | Run name | Run ID | State | Cases | Started |\n> |---|---|---|---|---|---|---|\n\nAsk the user to select a run. If they request all tenant-visible history rather\nthan recently discussed runs, use the same `list-runs` command and display all\nreturned entries. Do not show a Target column because the run-history API does\nnot return whether a run used draft or published agent state.\n\n### 2. Retrieve selected results\n\nRun:\n\n```text\npython scripts\u002Fevaluation_runs.py results --run-id \"{runId}\"\n```\n\nUse this existing run skill for results; do not route results to a separate\nresult skill.\n\nWhen the run has completed, the **first line** of the results response must be:\n\n> Done. I ran your test set through [Copilot Studio]({agentStudioUrl}).\n\nUse the `agentStudioUrl` value returned by the `results` command as the link\ntarget, so \"Copilot Studio\" opens this run's results directly in the agent's\nEvaluate view. If `agentStudioUrl` is absent or `null`, render the same\nsentence with \"Copilot Studio\" as plain text (no link). Never fabricate a\ndifferent URL. This line precedes everything below.\n\nAfter the required first line, render completed results in this exact order and\nformat. Replace brace-delimited values with returned or deterministically\nderived data. Preserve the headings, punctuation, blank lines, and table column\norder. Do not prepend a metadata table or repeat the generated-case preview.\n\n```text\n**Eval run complete — {passed} of {total} passed, {failed} failed ({pass-rate}%)**\n\nVerdict: {verdict against the stated target}\n\n**Results by scenario group**\n\n| Group | Cases | Pass | Fail | Pass rate |\n|---|---:|---:|---:|---:|\n| {group} | {cases} | {passed} | {failed} | {pass-rate}% {status-icon} |\n\n**Expected failures**\n\n{evidence-based explanation, or \"No failures were explicitly marked as expected for this run.\"}\n\n{expected-failure table only when explicit expected-failure evidence exists}\n\n**Failure analysis — grouped by root cause**\n\n| # | Root cause category | Cases | Owner | Suggested action | Representative evidence |\n|---:|---|---:|---|---|---|\n| {number} | {category} | {count} ({failure-percentage}%) | {owner} | {action} | {evidence} |\n\n? Pattern: {strongest evidence-based pattern across the failed cases}\n\n**Who needs to do what**\n\n• {owner}: {consolidated corrective actions}\n• Gate: {target and the condition required before promotion}\n\n{one concise question offering the most useful next corrective action}\n```\n\nUse `✅` when a scenario group meets the stated target and `❌` when it does not.\nUse a target returned by the API or configured grader when available; otherwise\nsay that 95% is the reporting target, not an API-provided threshold. The verdict\nmust state whether the run clears that target and identify the concentrated\nfailure area when the evidence supports one. Do not claim promotion readiness\nunless the configured target is cleared.\n\nRender every row returned in `analysis.scenarioGroups`. The script uses the\ntest-set name as a single group when the API supplies no reliable finer-grained\nscenario metadata. Use that fallback rather than inventing categories.\n\nAlways render **Expected failures**. Only classify a failure as expected when\nthe returned run data or selected evaluation metadata explicitly identifies it\nthat way. When explicit groups exist, introduce why they were expected and use:\n\n> | Group | Cases | Pass | Fail | Pass rate |\n> |---|---:|---:|---:|---:|\n\nOtherwise render exactly:\n\n> No failures were explicitly marked as expected for this run.\n\nRender every row returned in `analysis.failureGroups`. The script groups failed\ncases using metric status\u002Fdata plus `errorReason` and `aiResultReason`. Treat\neach category as an evidence-based root-cause hypothesis, not a proven fact.\nUse returned counts, evidence, and suggested actions. Never invent an owner;\nrender `Unassigned` when ownership is unavailable.\n\nBuild **? Pattern** from the largest returned failure group and its percentage\nof failures, adding a cross-group conclusion only when supported by returned\nevidence. Under **Who needs to do what**, consolidate actions by returned owner;\ndo not create people, assignments, ticket numbers, commands, or deadlines.\nRetain per-test-case states, metric statuses\u002Fdata, and error\u002FAI-result reasons\ninternally for follow-up, but do not append another detailed-results table.\n\nAfter completed results, relevant explicit edit or subsequent workflow actions\nmay be offered through the shared experience contract. Never automatically\nrestart a run or repeat deployment after displaying status\u002Fresults.\n\nThe script maps `testCaseId` to local case names using\n`.component-map.json` when available. If no local mapping exists, show the\ntest-case ID rather than inventing a name.\n\nIf the run is still queued or in progress, report its current state and invite\nthe user to request the same run results later. Do not poll indefinitely.\n",{},"main","a1b1bbb8aaa2435985ea2242cf836acf31b8a390","solutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fevaluations\u002Frun",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-14 11:15:28",{"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 run",{"tool":37,"command":38},"bunx","bunx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill run",{"tool":40,"command":41},"pnpm","pnpm dlx skills add microsoft\u002FEmployee-Self-Service-Agent-Developer-Kit --skill run","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Fevaluations\u002Frun\u002FSKILL.md",true,[45],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",1002,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fhugegraph-ai\u002Fblob\u002Fmain\u002Fskills\u002Fhugegraph-schema-designer\u002Fagents\u002Fopenai.yaml",[52,59,67,74,81,89],{"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":58},"01M7DQNXR0NPE3CRMP2FYZVGFH","topic-actions","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FEmployee-Self-Service-Agent-Developer-Kit\u002Fblob\u002Fmain\u002Fsolutions\u002Fess-maker-skills\u002Fsrc\u002Fskills\u002Ftopic-actions\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":60,"name":61,"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":62,"categories":63,"keywords":64,"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",[],[65,66],"servicenow","servicenow da",{"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},"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",[],[65,73],"servicenow da itsm",{"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},"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",[],[65,80],"servicenow da hrsd",{"skillNo":82,"name":83,"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":84,"categories":85,"keywords":86,"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",[],[87,88],"ESS Diagnostics Skills","diagnostics",{"skillNo":90,"name":91,"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":92,"categories":93,"keywords":94,"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",[],[91]]