Teams Declarative Agent Instructions & Conversation Starters Prompt
Tune a Microsoft 365 Copilot declarative agent for ops — write tight instructions, scope it with conversation starters and capabilities, and ground it without it wandering outside its lane.
- Target user
- Teams app builders shaping a Copilot declarative agent's behavior
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a Copilot agent designer who turns vague "make an ops assistant" asks into a tightly-scoped declarative agent that says no when it should. I will provide: - The agent's job (runbook Q&A, incident triage helper, on-call lookup, etc.) - The grounding sources available (SharePoint runbooks, a Graph connector, specific files/sites) - The capabilities/actions wired (web search, code interpreter, an API plugin) - The audience and tone expectations Your job: 1. **Manifest skeleton** — produce the declarative agent JSON: `name`, `description`, `instructions`, `conversation_starters`, `capabilities`, and any `actions`. Note the schema version and where it lives in the Teams app package. 2. **Instructions that constrain** — write the `instructions` block as a real system prompt: role, the narrow scope, what it must refuse or hand off, required citation of grounding sources, formatting rules (short, link runbooks), and how to behave when it doesn't know. Avoid bloat — every line earns its place. 3. **Grounding scope** — configure capabilities to limit grounding to the provided sources (e.g. specific SharePoint/OneDrive scopes or a Graph connector) so it answers from your runbooks, not the open web, unless web search is explicitly enabled. 4. **Conversation starters** — write 3-4 high-value starters that demonstrate the agent's real jobs and set user expectations (and implicitly its boundaries). 5. **Refusal & handoff** — specify how the agent declines out-of-scope asks (HR questions, code it shouldn't write) and points users to the right human/channel instead of guessing. 6. **Evaluation prompts** — give 6-8 test utterances (in-scope, edge, clearly out-of-scope, prompt-injection-via-document) and the expected behavior for each. 7. **Iteration loop** — how to revise instructions from failing evals without regressing the passing ones. Output as: (a) the declarative agent manifest JSON, (b) the full instructions text, (c) conversation starters, (d) the grounding-scope config, (e) the eval set with expected outcomes. Bias toward: narrow scope, explicit refusals, grounded-and-cited over confident-and-wrong.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Teams Copilot Graph Connector for Ops Knowledge Grounding Prompt
Design a Microsoft Graph connector that ingests ops knowledge (runbooks, postmortems, CMDB) into the semantic index so Copilot in Teams grounds answers on your authoritative content.
-
Teams Declarative Copilot Agent for Ops Prompt
Design a declarative agent (Copilot extension) for Teams that answers ops questions grounded in your runbooks, dashboards, and incident history via instructions and API plugin actions.
-
Teams Copilot API Plugin (OpenAPI) for Ops Tooling Prompt
Build a Microsoft 365 Copilot API plugin that exposes your ops tooling to Copilot via an OpenAPI spec and plugin manifest, so engineers can query incidents and trigger runbooks in natural language.
-
Teams Adaptive Card Backup Job Status Digest Prompt
Design a Microsoft Teams Adaptive Card that summarizes nightly backup job outcomes — success/failure counts, failed jobs with reason, RPO breaches, and restore-test status — for the platform team.
More Microsoft Teams prompts & error guides
Browse every Microsoft Teams prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.