AGENT SKILL

quickstart-runner

Follow a supplied full QuickStart Scenario guide and its exact input files from a fresh Discovery project. Use for run this QuickStart, BioPharma, SiPhy, CMS or Bookshelf setup. Check readiness, obtain separate setup and execution approvals, and validate actual outputs. Do not replace the guide with a generated profile or infer permission from examples.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 289
Forks
101

01 前言 Front Matter

name
quickstart-runner
metadata
{ "author": "QuickStart Scenarios contributors", "version": "0.2.0" }
description
Follow a supplied full QuickStart Scenario guide and its exact input files from a fresh Discovery project. Use for run this QuickStart, BioPharma, SiPhy, CMS or Bookshelf setup. Check readiness, obtain separate setup and execution approvals, and validate actual outputs. Do not replace the guide with a generated profile or infer permission from examples.
compatibility
Requires file and command tools and the capabilities stated by the selected full guide. Author-only download preparation uses Python 3.10+.

02 资源文件 5

03 SKILL.md 正文

QuickStart Scenarios runner

This is the shared runner. The original scenario skill remains unchanged with the SiPhy files; this adaptation is separately identified and still awaiting an end-to-end test. The selected full QuickStart Markdown is authoritative. Do not shorten it, rewrite its science/prompt, replace it with a generated manifest/profile, or execute a different scenario because setup is difficult.

Start

  1. Read the full guide the user attached or selected and the adjacent README. If no completed guide exists, say so and stop; do not invent one at runtime.
  2. Identify its exact version, model, default scope, input filenames, skill and native success checks. Only the chosen guide supplies scenario rules.
  3. Inspect the new project and user-supplied file locations. Do not use earlier sessions, environments, cached indexes or another person's project as inputs. Historical output links are reference evidence, never new-run results.

One-time setup

Show One-time setup — computation has not started. Collect independently observable readiness checks: OS/CPU architecture, interpreter version/path, model, required tools/agents, exact input file hashes, space and destination. Show missing/mismatched/unknown items together in normal chat. Do not infer capability activation from files on disk or content readiness from a health dot.

Ask for the guide's dependency selection in its required channel. Ordinary-chat Yes/No stays ordinary chat. Show its full required dependency list even when another check is blocked. Selection is not installation or computation approval. Do not blindly recommend Allow for every host permission prompt.

Python must be obtained from the version/platform-specific publisher source when missing; pip installs Python packages, not the interpreter. Do not silently change pins, install latest, remove another Python, disable TLS or bypass policy. Recheck the actual interpreter after the user resolves a mismatch.

Before installing: verify the supplied archives and complete member manifests, obtain permission for a short new destination and safe extraction, and never overwrite an existing file. Preserve nested paths, original archive bytes, checksum attachments and the full guide. If the guide says the launcher extracts a snapshot itself, leave that archive unopened. An older bundled guide remains at its manifest path but does not override the selected newer guide.

After source/runtime/destination checks pass, separately request installation approval for exactly the guide's set and required transitives, including any unlocked versions. Report the package index without credentials. Use the supplied setup command when one exists; do not invent a duplicate requirements file or partial install. Verify its printed interpreter, package checks and native preflight. Keep approvals scoped to the actual set, version and destination.

For Bookshelf/configuration work, obtain its own appropriate approval and record the exact source/index settings. Agent probes and indexing may use resources; they are not automatically read-only. Required missing rights, bindings or input content stop the run. Publicly visible paper URLs do not waive publisher terms.

Run

Ask autonomous end-to-end versus walk-through when setup is complete. Mode is not consent. Before scientific execution obtain the guide's separate bounded approval with actual scope, resource limits, exclusions and measured historical timing distinguished from estimates. No inherited or example approvals.

Explain every phase: Why / Who / Outputs / Done when / Heads-up; in walk-through mode wait for that phase's confirmation. Follow the guide's exact prompt, responsible parent/specialist roles and sequence. Validate native outputs before handoff. Never use local commands as substitutes for a required agent.

Respect guide-specific exclusions and retry rules. If it records no run-wide retry/time budget, agree one before long work rather than inherit an older skill's policy. No automatic new investigation or workload to diagnose silence. Use host completion notifications and the guide's observation cadence; do not poll aggressively or invent a guarantee from one historical duration.

Honor Stop and safety issues. Preserve failed attempts and checkpoints; do not delete shared resources/locks or restart compute without inspecting ownership and obtaining applicable approval. Do not automatically deploy cloud resources, change grants, publish files or sign in on the user's behalf.

Finish

Check the actual guide-defined output artifacts, native receipts, citations and required human/scientific review. Report environment readiness, workflow completion and scientific acceptance separately. A model's prose, file existence, historical report or metadata record is not proof of execution.

Return real output links and failures/caveats. A native-gate pass does not erase requirement-coverage limitations. Report unrun work as unrun. Do not change the owner's guide or success criteria to make the run pass.

04 同仓库更多 Skills

microsoft
microsoft/discovery

token-estimator-mvp

Estimate AI planning ranges from a work description or explicitly authorized safe project context. Provides coarse class ranges or conditional planning bases without requiring token guesses.

★ 289
microsoft
microsoft/discovery

build-research-paper

Cross-domain / Scientific writing and publication — Build beautifully-formatted, arxiv-ready research paper PDFs from a mix of hand-authored LaTeX and/or markdown + PNG figures, using `tectonic` (default) or `pandoc` (escape hatch). Captures the reusable pattern that research projects keep re-discovering: `report/main.tex` + `references.bib` + `generate_figures.py` + iterative feedback/response scaffolding, all buildable with a single command. WHEN: write a research paper, arxiv submission, prepub, generate PDF from markdown, LaTeX paper, build main.tex, journal manuscript, referee revision, response to referee, resubmission package, publication-quality figures, matplotlib publication style, tectonic build, pandoc build, generate arxiv-ready PDF, bibliography from BibTeX.

★ 289
microsoft
microsoft/discovery

Discovery 示例智能体导入

add-example-agents

从公共的 microsoft/discovery GitHub 仓库将智能体添加到此工作区,方式可以是:(a) 本地方式,用于 Copilot 应用,为每个智能体生成一个 `.agent.md` 伴随文件(以便每个智能体都可通过 `runSubagent` 调用);(b) 通过 `UpsertAgent` 将上游最新来源的智能体添加到 Microsoft Discovery 项目(存在时绑定已有的工具 ARM 资源,缺失时先在 Azure 中构建、推送并注册这些资源);或 (c) 将已添加到本地 Copilot 应用的智能体(来源于其 `.github/agents/<name>.agent.md` 伴随文件;带工具的智能体还带有 `discovery_catalog/<name>/` 文件夹以及本地构建的工具容器,而无工具的智能体仅有伴随文件)提升到指定的 Microsoft Discovery 项目 + Azure,且不再从上游重新获取或刷新。用户每次运行只能从这三个目标中精确选择一个。适用场景:'添加 discovery 智能体''下载 discovery 智能体''安装所有 Microsoft discovery 智能体''从 microsoft/discovery 添加智能体''从 microsoft/discovery 创建 copilot 智能体''将 discovery 智能体部署到 Foundry''将 discovery 智能体部署到 Azure''将本地智能体提升到 Microsoft Discovery''将本地智能体及其容器推送到 Discovery 项目''将本地应用智能体复制到 Azure'。始终将上游仓库 `agents/<name>/` 下每个选中的子文件夹刷新到 `discovery_catalog/<name>/`,使本地目录保持最新(出现新智能体、显现已移除的智能体、应用更新后的内容)。判断智能体是否"已在本地添加"使用 `.github/agents/<name>.agent.md`(Copilot 伴随文件),而非 `discovery_catalog/` 文件夹。对于本地部署,每个生成的 `.agent.md` 都带有延迟的 Docker 引导前言,使智能体仅在首次使用且工具镜像不存在时才构建该镜像。对于 Discovery + Azure 部署,会针对工作区的资源组(RG)通过 `GetDiscoveryTool` 对每个声明的工具进行预检,并**在工具已存在时完全跳过 Docker 构建 / ACR 推送 / AcrPull RBAC**(这在 `mdqacr` 等注册表上的共享目录镜像中很常见);仅构建并注册实际缺失的工具。始终通过 `UpsertAgent` 在选定的 Discovery 项目中创建智能体,并轮询 `GetAgent` 直到 `provisioningState=Succeeded`(MCP 的 `GetAgentOperation` 工具在实践中会返回不透明错误;切勿依赖它)。所有 MCP 调用都通过嵌入在本 SKILL.md 中、并在步骤 4d 期间具体化为 `.vscode/` 的 PowerShell 脚本进行——该技能不依赖同级的辅助文件,也不依赖 VS Code MCP 运行时在会话中途浮现 `mcp_microsoft-dis_*` 工具。通过 `agents action=create` 进行的本地 Discovery 运行时注册是可选的,默认跳过。不要用于:运行已部署的智能体(使用 runSubagent),或编辑单个智能体的提示词(直接编辑 `agent.yaml`)。

AI 工程师智能体开发
★ 289
microsoft
microsoft/discovery

Podman Containerfile 迁移

migrate-podman-containerfile

将 Podman Containerfile 迁移为 Discovery 目录要求的规范 Dockerfile。当 PR 未通过 POL-022 检查、某个工具包含 Containerfile 或 Dockerfile.in,或贡献者要求将 Podman 构建文件转换为 Docker 构建文件时使用。仅在迁移在机械上安全时直接创建 Dockerfile,并拒绝处理存在歧义的预处理或多文件构建。

SRE 工程师云原生计算与容器编排
★ 289
microsoft
microsoft/discovery

Discovery 入门工具包部署

discovery-services-starter-kit-deployer

端到端部署 Discovery 目录中的入门工具包(starter-kit):验证 kit.json 中的 agentRefs、构建并部署每个引用的智能体工具、逐一部署每个引用的智能体,并汇总已部署的智能体/工具以及可直接提供给客户的示例提示词。当用户要求部署 Discovery 入门工具包,或部署 starter-kits/*/kit.json 中列出的所有智能体时使用此技能。

SRE 工程师部署与发布管理
★ 289
microsoft
microsoft/discovery

Discovery 智能体端到端部署

discovery-services-agent-deployer

通过一个命令端到端部署 Discovery 目录中的智能体:发现智能体、在存在工具时构建并绑定该工具、对没有工具的智能体跳过工具相关阶段、部署智能体,并可选择运行验证。当用户要求部署 Discovery 智能体、发布或重建智能体工具镜像、从仓库中的 Dockerfile/tool.yaml 注册 Discovery 工具、恢复失败的部署,或为该目录中的某个智能体生成预演(dry-run)部署计划时使用此技能。

SRE 工程师部署与发布管理
★ 289