跳到正文
cccskills
免费在 GitHub 公开中文介绍

foundry-agentic-loop

使用 Microsoft Foundry、GitHub 和 Azure 设计并开发智能体解决方案,可选择在现有项目中快速试作、按规格分阶段实现和验证并部署到 Azure,或依据过往运行记录改进流程。

原文查看原文说明

Build agentic solutions on Microsoft Foundry, GitHub and Azure: hosted agents, toolbox tools and skills, Foundry IQ grounding and a React/FastAPI app. Three modes: rapid prototyping in an existing Foundry project; spec-driven development (SDD), where the foundry-agentic-loop-workflow runs Specify, Implement, Verify and Deploy to create the Foundry project and deploy with azd, or one phase runs alone; and Improve, which refines this skill and the workflow from past runs. Use for Agentic Loop requests and canvas actions, or end-to-end agent solutions from architecture to Azure deployment. Not for isolated Azure administration or unrelated UI edits.

github/awesome-copilot星标 40,567(GitHub 40,567 + cccskills 0)
集成工具GitHubAzure

实测评分 未实测

查看安装方法

适用场景

  • 在现有 Foundry 项目中试作
  • 按规格构建智能体应用
  • 验证应用并部署到 Azure
  • 依据过往运行改进流程

中文介绍

功能

协调使用 Microsoft Foundry、GitHub 和 Azure 的智能体解决方案设计与开发。你可以在现有 Foundry 项目中快速试作,也可以为新项目按规格驱动的阶段推进:Specify、Implement、Verify 和 Deploy。Improve 模式会根据过往运行记录改进技能或工作流。解决方案可以组合托管智能体、工具与技能、通过 Foundry IQ 接入知识,以及 React 和 FastAPI 应用。SDD 流程还包括使用 azd 部署到 Azure。

适用场景

适合从智能体架构设计一路推进到应用实现、验证和 Azure 部署。也适用于在现有项目中进行小规模试验,或依据规格书创建包含部署配置的新项目。还可以根据过去的运行记录审视并改进开发流程。

使用示例

  • “在现有 Foundry 项目中试作一个能查询内部文档的智能体。”
  • “按这份规格实现智能体应用,完成验证后部署到 Azure。”
  • “查看过去的运行结果,并将改进落实到这个工作流中。”

注意事项

平台操作需要 microsoft-foundry 技能。SDD 还需要随附的工作流扩展;缺少该扩展时无法启动 SDD。Azure 操作需要相应权限和资源。身份验证、权限授予、费用和安全相关的变更应遵循适用流程。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好资料要求先设置模式再写入工作区,并规定 Azure 权限及敏感变更流程。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足资料要求 `microsoft-foundry`、工作流扩展及适当的 Azure 权限和资源。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(55)

  • SKILL.md12.1 KB
  • assets/agents-md-rapid.md1.1 KB
  • assets/agents-md-sdd.md1.4 KB
  • assets/deployment-plan-template.md3.0 KB
  • assets/devcontainer.json800 B
  • assets/loop-template.md1.3 KB
  • assets/spec-template.md4.0 KB
  • evals/evals.json94.0 KB
  • evals/fixtures/improve-history/.agentic-loop/runs/wr_101.json2.4 KB
  • evals/fixtures/improve-history/.agentic-loop/runs/wr_117.json2.4 KB
  • evals/fixtures/improve-history/.agentic-loop/runs/wr_123.json1.6 KB
  • evals/fixtures/improve-history/AGENTS.md1.4 KB
  • evals/fixtures/improve-history/docs/LOOP.md2.0 KB
  • evals/fixtures/rapid-locked/.azure/deployment-plan.md868 B
  • evals/fixtures/rapid-locked/.env207 B
  • evals/fixtures/rapid-locked/AGENTS.md1.2 KB
  • evals/fixtures/rapid-locked/gitignore41 B
  • evals/fixtures/rapid-locked/README.md1010 B
  • evals/fixtures/sdd-deployed/.agentic-loop/runs/wr_88.json2.6 KB
  • evals/fixtures/sdd-deployed/.azure/deployment-plan.md1.6 KB
  • evals/fixtures/sdd-deployed/AGENTS.md1.4 KB
  • evals/fixtures/sdd-deployed/docs/spec.md1.9 KB
  • evals/fixtures/sdd-deployed/docs/verify.md374 B
  • evals/fixtures/sdd-paused/.agentic-loop/runs/wr_42.json2.9 KB
  • evals/fixtures/sdd-paused/AGENTS.md1.4 KB
  • evals/fixtures/sdd-paused/docs/LOOP.md371 B
  • evals/fixtures/sdd-paused/docs/spec.md1.9 KB
  • evals/fixtures/sdd-paused/docs/verify.md322 B
  • evals/fixtures/sdd-paused/src/backend/routing.py172 B
  • evals/fixtures/sdd-paused/tests/contract/test_routing.py208 B
  • evals/fixtures/team-conventions/AGENTS.md224 B
  • references/azd-layout.md11.3 KB
  • references/build-skills-catalog.md4.8 KB
  • references/check_rbac_preflight.py18.9 KB
  • references/copilot-sdk-foundry.md16.6 KB
  • references/copilot-sdk-with-toolbox.py14.3 KB
  • references/deploy.md4.4 KB
  • references/foundry-hosted-agent.md6.0 KB
  • references/foundry-iq-grounding.md6.8 KB
  • references/foundry-models.md5.2 KB
  • references/foundry-toolbox.md5.5 KB
  • references/hosted-integration-checkpoint.md13.4 KB
  • references/implement.md5.9 KB
  • references/implementation-contract.md3.7 KB
  • references/improve.md5.0 KB
  • references/observability.md5.9 KB
  • references/rapid.md8.9 KB
  • references/rbac-contract.md9.9 KB
  • references/rbac-preflight.md10.3 KB
  • references/reference-architecture.md3.4 KB
  • references/run-skills-catalog.md3.4 KB
  • references/sdd.md11.1 KB
  • references/specify.md4.4 KB
  • references/verify.md5.3 KB
  • scripts/evals.mjs22.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Foundry Agentic Loop

Coordinate the solution and use microsoft-foundry for platform operations. Explicit user choices override defaults. Reuse known context, ask only for missing decisions, read only the references a step needs, and report decisions, blockers and endpoints concisely.

Bootstrap (once per session)

  1. Foundry skill. If microsoft-foundry is unavailable, ask, then install it (copilot plugin install azure@awesome-copilot, or gh skill install microsoft/azure-skills microsoft-foundry --agent github-copilot --scope project) and reload skills.
  2. Canvas and workflow. This plugin ships foundry-agentic-loop-canvas and foundry-agentic-loop-workflow, listed as foundry-agentic-loop:<name> or <name>. Call extensions_manage with operation: "list". Never install extensions from a URL and never edit Copilot settings files. If one is listed under neither name, tell the user which is missing and that it ships with the plugin, then ask before running copilot plugin install foundry-agentic-loop@awesome-copilot; after they approve, call extensions_reload once. If one is disabled, tell the user to re-enable it in their extension settings and continue in a new session: running sessions keep it disabled, even after a reload. If one failed, inspect it and report its log. Without the canvas, continue in Chat; without the workflow, SDD cannot start, so offer rapid prototyping.
  3. Canvas. When work starts from Chat, open it once: open_canvas with canvasId: "foundry-agentic-loop-canvas", instanceId: "foundry-agentic-loop" and input: { mode }. Prompts that begin [Agentic Loop canvas action] come from the canvas; follow their target, approval and resume instructions literally.

Choose the mode

SignalMode
Root AGENTS.md has an Agentic Loop sectionIts mode. Switch only when the user confirms, then rewrite the section
Canvas prompt or explicit choiceAs stated
Existing Foundry project selected or named; fast prototype; no deployment pipeline neededRapid prototyping: rapid.md
Spec, new Foundry project, azd or IaC, CI-ready repo or full Azure deploymentSDD: sdd.md
Improve, learn from runs, or the canvas improve promptImprove: improve.md; measure changes with node scripts/evals.mjs (index, then run --base <commit>; exit 2 means evals are unavailable, so stop)
One named SDD phase, with no run activeIts guide (Specify, Implement, Verify or Deploy) with the SDD defaults

Otherwise ask once with the choices "Rapid prototyping (existing Foundry project)" and "SDD (new project, deployed with azd)".

Lock it in. Before any other workspace write (in the rapid preflight, or just before the SDD workflow starts), upsert the section from agents-md-rapid.md or agents-md-sdd.md into the root AGENTS.md: replace everything between its foundry-agentic-loop begin and end markers, or append it, keeping other content; then read it back. The section routes short commands such as deploy and locks the mode for Chat, the canvas and the workflow. Azure settings go only in .azure/deployment-plan.md, never in AGENTS.md. Improve mode never writes it.

Defaults

  • Agents: Foundry hosted agents exposing the Responses API, Python 3.13, code deployment. Create them through microsoft-foundry's foundry-agent/create/quick-start-hosted.md with the Basic sample, resolved through that skill, never a guessed URL. Use its advanced workflow only when quick-start cannot support a capability, keeping these defaults. Prompt agents only when requested.
  • Framework: the Copilot SDK for agents that use runtime skills (recipe, reference agent); Microsoft Agent Framework for basic agents and explicit workflows. If a workflow also needs skills, clarify. One framework per agent.
  • Models: rapid keeps the Basic sample's model deployment, or verifies and reuses a supplied one; SDD defaults to gpt-5.4-mini unless the spec needs otherwise. Run the joint placement preflight in foundry-models.md before creating resources. Never hard-code a replacement or silently duplicate a deployment.
  • Tools and knowledge: one governed Foundry toolbox for built-in tools, MCP connections and agent skills; agents use its endpoint, not hard-coded tool URLs. Private knowledge uses Foundry IQ through the toolbox, with citations for supported claims and a deterministic insufficient-evidence response; test both. Add Search only when needed. Reuse run skills the user names from the run catalog instead of regenerating them.
  • App: React + Vite, FastAPI and FastMCP (streamable HTTP) on Azure Container Apps. Rapid deploys with az containerapp up --name <app> --source <dir> --resource-group <rg> --environment <env>; SDD uses azd with a microsoft.foundry layer plus a Bicep (AVM) app layer, remoteBuild: true and one ACR pulled by managed identity. Add services from the reference architecture only when the solution needs them.
  • App access: decide it from the data. When everything the app shows is sample, synthetic or deliberately public, default to no end-user sign-in, even for staff users; services still authenticate with managed identities and need no anonymous-session or identity-verification workarounds. When it shows private, sensitive or user-specific data, ask for the access model before deploying and default to internal ingress or Entra sign-in; anonymous access needs explicit approval. With sign-in, the API pre-authorizes the SPA, the spec states how automated browser tests get a user token, and Implement proves that token path as soon as the app registrations exist.
  • Identity and safety: managed identities and least-privilege keyless RBAC (contract; preflight with check_rbac_preflight.py). Check management-plane, data-plane and role-assignment rights separately; subscription Owner does not grant Foundry data-plane roles. Plan roles for identities not yet created and verify actual principals after creation. No credentials in browser code or Git; Foundry guardrails on.
  • Observability: OpenTelemetry from the backend, agents, MCP servers and model calls into one Application Insights connected to the project (observability.md). Sensitive content capture stays off unless approved with redaction and retention controls.

Workspace files

FileHolds
AGENTS.md (root)The mode lock and short-command routes; never Azure settings
README.md (rapid) or docs/spec.md (SDD, from the spec template)The contract
.azure/deployment-plan.mdEvery Azure setting, in both modes (template)
.env (Git-ignored)What the canvas reads: FOUNDRY_PROJECT (full ARM ID, once validated or created), LOCAL_FRONTEND and DEPLOYED_FRONTEND (verified URLs only). Upsert, keep other keys and read back
docs/LOOP.mdLessons (template)
.agentic-loop/runs/<runId>.jsonSDD flight records, written by the workflow
.devcontainer/devcontainer.jsonOptional dev container (asset)

Working rules

  • Contract first. Freeze service names, environment variables, protocols, endpoints, schemas, auth, streaming, errors and versions (implementation-contract.md) before parallel work.
  • Integration first. Pass the hosted integration checkpoint with a minimal agent before building full orchestration, UI or backend: always a model request, plus a toolbox skill load and a safe MCP call only when the architecture needs them. Record excluded capabilities as N/A with the reason, never as passed, and never add unused ones to satisfy the checkpoint.
  • Evidence, not signals. HTTP 200, exit 0 or active never pass alone; require terminal completion, schema-valid output, execution evidence and correlated traces. Fix with bounded diagnostics, not unchanged redeployments.
  • Wait by completion. Provisioning, deployments, role-assignment propagation and agent readiness end when their command or status check says so: run the command synchronously with a long initial wait, or poll its status every 30-60 s against a stated deadline. Never chain fixed sleeps; keep coding while Azure works.
  • Subagents. Before the checkpoint, parallelize only research and preflight. After it, give each worker a bounded goal, exclusive workspace-relative files or folders, skill references, verified context, the contract, acceptance checks and stop conditions. One owner (the coordinator, or the SDD phase lead) holds the contract and the shared files: azure.yaml, infra/, docs/, .env, .azure/, .agentic-loop/, AGENTS.md and the root lockfiles. Keep teams small, avoid recursive delegation, serialize shared Azure mutations and integrate centrally; worker success is not acceptance. Delegation grants no extra approval. Without subagents, work sequentially and say so.
  • Safety. Reuse resources; confirm billable, security or compliance changes; delete without approval only a resource this build created whose provisioning failed; never sign in for the user; never report an unverified deployment as successful.
  • Workspace boundary. Builds stay inside the workspace: read lessons only from its own docs/LOOP.md, scaffold from the Foundry samples and these references, and use code from other folders only when the user names them. Only improve mode reads past runs elsewhere.
  • Work IQ context. Only when the user or a canvas prompt asks for it, query the workiq MCP server before clarifying questions, fold in only the requirements that matter, cite each by source type and confirm them. Never copy confidential content, personal data or secrets into the workspace; if Work IQ is unavailable or needs consent, say so and continue without it.
  • Companions and SDKs. Verify installed SDK APIs against the latest stable release (or the newest stable one the build's package index serves, recording the gap) and lock versions before generating code; package sources beat stale guidance. Consult the build catalog only for needed capabilities; respect pins, ask before installs and route third-party skill defects upstream.

Lessons

Right after a fix is verified (the failing probe or an equivalent boundary check reruns successfully; an edit, commit or deployment alone is not resolution), upsert a lesson in the workspace's docs/LOOP.md from the template before unrelated work, then read it back. Keep user notes, update matching lessons instead of duplicating them, and never include secrets, raw .env values or payloads. The coordinator, or the SDD phase lead, owns writes; workers report evidence. Lessons never authorize skill edits or weaker gates; improve mode applies them with approval.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

扫描现有项目的代码与配置,生成涵盖技术栈、结构、架构、规范、集成、测试和风险的七份文档。为结论标注文件依据和未知项,并指出计划描述与实际实现的差异。

  • 了解陌生代码库
  • 准备项目交接文档
  • 对照设计资料与实际实现
github/awesome-copilot4.1万2026年10月29日 更新

acreadiness-assess

免费有简介

使用AgentRC评估代码仓库对AI智能体的准备情况,并生成可独立打开的HTML报告。查看九个方面的评分和优先改进建议,也可按组织自定评分政策。

  • 引入AI智能体前检查准备情况
  • 根据评估结果安排改进优先级
  • 按组织自定政策评分
github/awesome-copilot4.1万2026年10月29日 更新

使用AgentRC分析项目代码中的语言、框架和开发惯例,生成或更新AI编程代理的指令文件。可集中写入一个文件,也可按主题和项目区域拆分,并在写入前预览改动。

  • 创建VS Code Copilot指令
  • 将开发规则变更写入指令
  • 按单体仓库区域整理规则
github/awesome-copilot4.1万2026年10月29日 更新

acreadiness-policy

免费有简介

按团队或组织标准调整AgentRC准备度评估。可选择或创建JSON策略,调整检查权重、停用无关检查、设置通过率,并在CI流程中设定自动检查门槛。

  • 制定组织共用的评估标准
  • 只评估AI相关的准备情况
  • 调整特定检查项的权重
github/awesome-copilot4.1万2026年10月29日 更新

ad-campaign-analyzer

免费有简介

分析你提供的广告成效数据,找出浪费支出和表现较好的广告,并整理暂停、加预算或继续测试的候选项。还可比较不同平台、评估A/B测试差异,并提出预算调整建议。

  • 找出应暂停的广告或关键词
  • 发现适合增加预算的广告系列
  • 判断A/B测试的数据是否足够
github/awesome-copilot4.1万2026年10月29日 更新

为指定代码文件添加学习注释,解释语法、编程概念和设计选择;可按读者水平调整讲解深度和重复频率,并保持文件结构、编码与语法。

  • 为现有代码添加初学者说明
  • 解释语法或设计选择的原因
  • 按读者经验调整注释内容
github/awesome-copilot4.1万2026年10月29日 更新

查看 github 的全部技能

报告此技能的问题