Skills
Skill 180 of 200
Build agentic solutions on Microsoft Foundry, GitHub and Azure: hosted agents, toolbox tools and skills, Foundry IQ grounding and a React/FastAPI app.
6 minutes · 1,365 words · 6 sections
Install
npx skills add github/awesome-copilot --skill foundry-agentic-loopnpx skills add github/awesome-copilot/plugin marketplace add github/awesome-copilotThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
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.
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.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.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.| Signal | Mode |
|---|---|
Root AGENTS.md has an Agentic Loop section | Its mode. Switch only when the user confirms, then rewrite the section |
| Canvas prompt or explicit choice | As stated |
| Existing Foundry project selected or named; fast prototype; no deployment pipeline needed | Rapid prototyping: rapid.md (opens in a new tab) |
| Spec, new Foundry project, azd or IaC, CI-ready repo or full Azure deployment | SDD: sdd.md (opens in a new tab) |
| Improve, learn from runs, or the canvas improve prompt | Improve: improve.md (opens in a new tab); 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 active | Its guide (Specify (opens in a new tab), Implement (opens in a new tab), Verify (opens in a new tab) or Deploy (opens in a new tab)) with the SDD defaults (opens in a new tab) |
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 (opens in a new tab) or agents-md-sdd.md (opens in a new tab) 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.
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.gpt-5.4-mini unless the spec needs otherwise. Run the joint placement preflight in foundry-models.md (opens in a new tab) before creating resources. Never hard-code a replacement or silently duplicate a deployment.az containerapp up --name <app> --source <dir> --resource-group <rg> --environment <env>; SDD uses azd (opens in a new tab) 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 (opens in a new tab) only when the solution needs them.| File | Holds |
|---|---|
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 (opens in a new tab)) | The contract |
.azure/deployment-plan.md | Every Azure setting, in both modes (template (opens in a new tab)) |
.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.md | Lessons (template (opens in a new tab)) |
.agentic-loop/runs/<runId>.json | SDD flight records, written by the workflow |
.devcontainer/devcontainer.json | Optional dev container (asset (opens in a new tab)) |
N/A with the reason, never as passed, and never add unused ones to satisfy the checkpoint.active never pass alone; require terminal completion, schema-valid output, execution evidence and correlated traces. Fix with bounded diagnostics, not unchanged redeployments.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.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.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.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 (opens in a new tab) 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.
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.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 6 November 2026.SKILL.md, not by matching a directory convention. 2 distinct layouts observed: .github/skills/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.github/plugin/marketplace.json by GitHub, declaring 207 plugins. It is read for editorial metadata only — never as the skill index, which is always the repository tree./github/awesome-copilot.md, and each skill at its own .md URL.54 files · 340 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 180.
Documentation the agent loads on demand, rather than up front.
Executable code the skill can run.
Templates, schemas and fixtures the skill draws on.
Everything else published alongside the skill.
evals/1 file · 94 KB
evals/fixtures/improve-history/.agentic-loop/runs/3 files · 6 KB
evals/fixtures/improve-history/1 file · 1 KB
evals/fixtures/improve-history/docs/1 file · 2 KB
evals/fixtures/rapid-locked/.azure/1 file · 868 B
evals/fixtures/rapid-locked/4 files · 2 KB
evals/fixtures/sdd-deployed/.agentic-loop/runs/1 file · 3 KB
evals/fixtures/sdd-deployed/.azure/1 file · 2 KB
evals/fixtures/sdd-deployed/1 file · 1 KB
evals/fixtures/sdd-deployed/docs/2 files · 2 KB
evals/fixtures/sdd-paused/.agentic-loop/runs/1 file · 3 KB
evals/fixtures/sdd-paused/1 file · 1 KB
evals/fixtures/sdd-paused/docs/3 files · 3 KB
evals/fixtures/sdd-paused/src/backend/1 file · 172 B
evals/fixtures/sdd-paused/tests/contract/1 file · 208 B
evals/fixtures/team-conventions/1 file · 224 B