GuideOpen

{Solution} - Specification

Last updated: {YYYY-MM-DD} · Scenario: {canvas scenario or n/a} · Deployment plan: .azure/deployment-plan.md

{Solution} — Specification

Last updated: {YYYY-MM-DD} · Scenario: {canvas scenario or n/a} · Deployment plan: [.azure/deployment-plan.md](../.azure/deployment-plan.md)

1. Summary

One paragraph: what is built, for whom, why, and the measurable outcome.

2. Goals and non-goals

Goals: {measurable outcomes}

Non-goals: {explicitly out of scope}

3. Users and scenarios

PersonaScenarioSuccess criteria
{persona}{scenario}{observable outcome}

4. Functional requirements

IDRequirementAcceptance criteria (EARS)Priority
FR-001The system shall {capability} so that {benefit}.When {trigger}, the {component} shall {response}.Must

5. Non-functional requirements

CategoryRequirementMeasure
Performance{e.g. first token < 3 s at p95}{how measured}
SecurityKeyless managed identities; least-privilege RBAC; no secrets in codeRBAC contract rows
Responsible AIFoundry guardrails on; grounded answers cite sources; refusal when evidence is insufficientEvaluation metrics
ObservabilityOpenTelemetry from every component into one Application InsightsCorrelated trace
Privacy and compliance{data classification, residency}{control}
Cost{budget or main drivers}{estimate}

6. Architecture

{Two or three sentences on components, data flow and trust boundaries.}

flowchart LR
  U[User] --> FE[Frontend<br/>React + Vite] --> BE[Backend<br/>FastAPI]
  BE --> AG[Hosted agent<br/>Responses API]
  AG --> TB[Foundry toolbox<br/>skills · MCP · Foundry IQ]
  AG --> M[(Model)]
  FE & BE & AG -. OTel .-> AI[(Application Insights)]

7. Agents

AgentPurposeFrameworkProtocolModelToolbox, skills and toolsGroundingGuardrails
{name}{job}Copilot SDK or MAFResponses{deployment}{toolbox and items}{Foundry IQ source or none}{policy}

8. Components and Azure services

ComponentTechnologyAzure service and SKUIdentity
{frontend}React + ViteContainer Apps (Consumption){uami}

9. Data

Entities, fields, ownership, retention and classification. Name the sample or synthetic data source and where it lives.

Seed rules. For every seeded record a rule reads, freeze the values the rule needs (dates, counts, amounts, window anchors) and each tool's result for that ID, including empty results. Labels and names carry no decision facts.

10. Implementation contract (frozen)

Service names, environment variables, endpoints, protocols, request, response and error schemas, streaming, auth and versions. Change this section before changing any code that depends on it.

Decision rules. Each rule reads only frozen facts or tools in the consuming agent's list, and a decision tool has a frozen derivation. A window names its anchor date; trigger categories are closed lists. Guards, routing and sort keys cover every enum value plus null or invalid agent output. Recompute each scenario's expected outcome from these rules. Tables keep the header's cell count. Describe credentials and Authorization values in words, never as literals.

11. Workstreams

#WorkstreamGoalExclusive filesDepends onAcceptance
1{name}{goal}src/{dir}/**Foundation{checks}

At most four. The phase lead owns the foundation, the contract, shared configuration and integration.

12. Verification plan

RequirementCheckLevelEvidence
FR-001{probe}unit, contract, E2E, evaluation or trace{artifact}

Evaluation: {n} scenarios from section 3 with expected behaviour; metrics: task adherence, groundedness (when grounded) and safety.

13. Assumptions and open questions

#ItemDefault or decisionOwnerStatus
1{assumption}{default taken}{owner}assumed

Source: https://github.com/github/awesome-copilot/blob/main/skills/foundry-agentic-loop/assets/spec-template.md

Author: github, GitHub awesome-copilot. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The GitHub Copilot library holds 3,059 entries. Members can search all of them by meaning and read every one in full.