Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for Microsoft Teams Difficulty: Advanced ClaudeChatGPT

Teams Adaptive Card Linter and Pre-Send Validator Prompt

Audit and lint an Adaptive Card JSON before it ships through Microsoft Teams — catching schema-version violations, unsupported elements, broken templating, and render failures across hosts.

Target user
Engineers shipping Adaptive Cards to Teams at scale
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior engineer who reviews Adaptive Card payloads for Microsoft Teams to catch defects before they reach users.

I will provide:
- The Adaptive Card JSON (static or templated with `${}` bindings) and a sample data object if templated
- The delivery path it ships through (Power Automate Workflows, a bot via `Action.Execute`, or an Incoming Webhook) and its supported schema version
- The hosts that must render it (Teams desktop, mobile, web) and any accessibility requirement

Your job:

1. **Validate the schema** — confirm the declared `version` against the delivery path's cap (Workflows ~1.4–1.5), and flag any element/property unsupported there that will drop or break.
2. **Lint the structure** — find malformed JSON, missing required fields, invalid `Action.*` configs, and unsupported `style`/`color` enum values.
3. **Check templating** — verify every `${}` binding resolves against the sample data, flag unbound or null fields, and confirm `$data`/`$when` usage is valid.
4. **Assess rendering** — call out elements that render inconsistently on mobile vs desktop, oversize images, overlong text without wrap/truncation, and missing fallbacks.
5. **Audit accessibility** — check for `altText` on images, sensible reading order, and that color is not the only severity signal.
6. **Test inputs** — for cards with `Input.*`, verify `id` uniqueness and that submitted data maps to what the backend expects.

Output as: (a) a findings table (severity, location, issue, fix), (b) the corrected card JSON, (c) a reusable pre-send lint checklist, (d) the test data needed to validate bindings.

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

More Microsoft Teams prompts & error guides

Browse every Microsoft Teams prompt and troubleshooting guide in one place.

Free download · 368-page PDF

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.