[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADTD3K31ZFQGADGZSYKMWW":3,"skill-same:01M6ADTD3K31ZFQGADGZSYKMWW":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6ADTD3K31ZFQGADGZSYKMWW","mcp-create-adaptive-cards","MCP 自适应卡片创建","Skill converted from mcp-create-adaptive-cards.prompt.md","从 mcp-create-adaptive-cards.prompt.md 转换而来的技能。","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-create-adaptive-cards\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34,35],"MCP","create","mcp create adaptive cards","adaptive","prompt","2026-11-10 10:12:30",false,"---\nname: mcp-create-adaptive-cards\ndescription: 'Skill converted from mcp-create-adaptive-cards.prompt.md'\n---\n\n````prompt\n---\nmode: 'agent'\ntools: ['changes', 'search\u002Fcodebase', 'edit\u002FeditFiles', 'problems']\ndescription: 'Add Adaptive Card response templates to MCP-based API plugins for visual data presentation in Microsoft 365 Copilot'\nmodel: 'gpt-4.1'\ntags: [mcp, adaptive-cards, m365-copilot, api-plugin, response-templates]\n---\n\n# Create Adaptive Cards for MCP Plugins\n\nAdd Adaptive Card response templates to MCP-based API plugins to enhance how data is presented visually in Microsoft 365 Copilot.\n\n## Adaptive Card Types\n\n### Static Response Templates\nUse when API always returns items of the same type and format doesn't change often.\n\nDefine in `response_semantics.static_template` in ai-plugin.json:\n\n```json\n{\n  \"functions\": [\n    {\n      \"name\": \"GetBudgets\",\n      \"description\": \"Returns budget details including name and available funds\",\n      \"capabilities\": {\n        \"response_semantics\": {\n          \"data_path\": \"$\",\n          \"properties\": {\n            \"title\": \"$.name\",\n            \"subtitle\": \"$.availableFunds\"\n          },\n          \"static_template\": {\n            \"type\": \"AdaptiveCard\",\n            \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\",\n            \"version\": \"1.5\",\n            \"body\": [\n              {\n                \"type\": \"Container\",\n                \"$data\": \"${$root}\",\n                \"items\": [\n                  {\n                    \"type\": \"TextBlock\",\n                    \"text\": \"Name: ${if(name, name, 'N\u002FA')}\",\n                    \"wrap\": true\n                  },\n                  {\n                    \"type\": \"TextBlock\",\n                    \"text\": \"Available funds: ${if(availableFunds, formatNumber(availableFunds, 2), 'N\u002FA')}\",\n                    \"wrap\": true\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      }\n    }\n  ]\n}\n```\n\n### Dynamic Response Templates\nUse when API returns multiple types and each item needs a different template.\n\n**ai-plugin.json configuration:**\n```json\n{\n  \"name\": \"GetTransactions\",\n  \"description\": \"Returns transaction details with dynamic templates\",\n  \"capabilities\": {\n    \"response_semantics\": {\n      \"data_path\": \"$.transactions\",\n      \"properties\": {\n        \"template_selector\": \"$.displayTemplate\"\n      }\n    }\n  }\n}\n```\n\n**API Response with Embedded Templates:**\n```json\n{\n  \"transactions\": [\n    {\n      \"budgetName\": \"Fourth Coffee lobby renovation\",\n      \"amount\": -2000,\n      \"description\": \"Property survey for permit application\",\n      \"expenseCategory\": \"permits\",\n      \"displayTemplate\": \"$.templates.debit\"\n    },\n    {\n      \"budgetName\": \"Fourth Coffee lobby renovation\",\n      \"amount\": 5000,\n      \"description\": \"Additional funds to cover cost overruns\",\n      \"expenseCategory\": null,\n      \"displayTemplate\": \"$.templates.credit\"\n    }\n  ],\n  \"templates\": {\n    \"debit\": {\n      \"type\": \"AdaptiveCard\",\n      \"version\": \"1.5\",\n      \"body\": [\n        {\n          \"type\": \"TextBlock\",\n          \"size\": \"medium\",\n          \"weight\": \"bolder\",\n          \"color\": \"attention\",\n          \"text\": \"Debit\"\n        },\n        {\n          \"type\": \"FactSet\",\n          \"facts\": [\n            {\n              \"title\": \"Budget\",\n              \"value\": \"${budgetName}\"\n            },\n            {\n              \"title\": \"Amount\",\n              \"value\": \"${formatNumber(amount, 2)}\"\n            },\n            {\n              \"title\": \"Category\",\n              \"value\": \"${if(expenseCategory, expenseCategory, 'N\u002FA')}\"\n            },\n            {\n              \"title\": \"Description\",\n              \"value\": \"${if(description, description, 'N\u002FA')}\"\n            }\n          ]\n        }\n      ],\n      \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\"\n    },\n    \"credit\": {\n      \"type\": \"AdaptiveCard\",\n      \"version\": \"1.5\",\n      \"body\": [\n        {\n          \"type\": \"TextBlock\",\n          \"size\": \"medium\",\n          \"weight\": \"bolder\",\n          \"color\": \"good\",\n          \"text\": \"Credit\"\n        },\n        {\n          \"type\": \"FactSet\",\n          \"facts\": [\n            {\n              \"title\": \"Budget\",\n              \"value\": \"${budgetName}\"\n            },\n            {\n              \"title\": \"Amount\",\n              \"value\": \"${formatNumber(amount, 2)}\"\n            },\n            {\n              \"title\": \"Description\",\n              \"value\": \"${if(description, description, 'N\u002FA')}\"\n            }\n          ]\n        }\n      ],\n      \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\"\n    }\n  }\n}\n```\n\n### Combined Static and Dynamic Templates\nUse static template as default when item doesn't have template_selector or when value doesn't resolve.\n\n```json\n{\n  \"capabilities\": {\n    \"response_semantics\": {\n      \"data_path\": \"$.items\",\n      \"properties\": {\n        \"title\": \"$.name\",\n        \"template_selector\": \"$.templateId\"\n      },\n      \"static_template\": {\n        \"type\": \"AdaptiveCard\",\n        \"version\": \"1.5\",\n        \"body\": [\n          {\n            \"type\": \"TextBlock\",\n            \"text\": \"Default: ${name}\",\n            \"wrap\": true\n          }\n        ]\n      }\n    }\n  }\n}\n```\n\n## Response Semantics Properties\n\n### data_path\nJSONPath query indicating where data resides in API response:\n```json\n\"data_path\": \"$\"           \u002F\u002F Root of response\n\"data_path\": \"$.results\"   \u002F\u002F In results property\n\"data_path\": \"$.data.items\"\u002F\u002F Nested path\n```\n\n### properties\nMap response fields for Copilot citations:\n```json\n\"properties\": {\n  \"title\": \"$.name\",            \u002F\u002F Citation title\n  \"subtitle\": \"$.description\",  \u002F\u002F Citation subtitle\n  \"url\": \"$.link\"               \u002F\u002F Citation link\n}\n```\n\n### template_selector\nProperty on each item indicating which template to use:\n```json\n\"template_selector\": \"$.displayTemplate\"\n```\n\n## Adaptive Card Template Language\n\n### Conditional Rendering\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"${if(field, field, 'N\u002FA')}\"  \u002F\u002F Show field or 'N\u002FA'\n}\n```\n\n### Number Formatting\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"${formatNumber(amount, 2)}\"  \u002F\u002F Two decimal places\n}\n```\n\n### Data Binding\n```json\n{\n  \"type\": \"Container\",\n  \"$data\": \"${$root}\",  \u002F\u002F Break to root context\n  \"items\": [ ... ]\n}\n```\n\n### Conditional Display\n```json\n{\n  \"type\": \"Image\",\n  \"url\": \"${imageUrl}\",\n  \"$when\": \"${imageUrl != null}\"  \u002F\u002F Only show if imageUrl exists\n}\n```\n\n## Card Elements\n\n### TextBlock\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"Text content\",\n  \"size\": \"medium\",      \u002F\u002F small, default, medium, large, extraLarge\n  \"weight\": \"bolder\",    \u002F\u002F lighter, default, bolder\n  \"color\": \"attention\",  \u002F\u002F default, dark, light, accent, good, warning, attention\n  \"wrap\": true\n}\n```\n\n### FactSet\n```json\n{\n  \"type\": \"FactSet\",\n  \"facts\": [\n    {\n      \"title\": \"Label\",\n      \"value\": \"Value\"\n    }\n  ]\n}\n```\n\n### Image\n```json\n{\n  \"type\": \"Image\",\n  \"url\": \"https:\u002F\u002Fexample.com\u002Fimage.png\",\n  \"size\": \"medium\",  \u002F\u002F auto, stretch, small, medium, large\n  \"style\": \"default\" \u002F\u002F default, person\n}\n```\n\n### Container\n```json\n{\n  \"type\": \"Container\",\n  \"$data\": \"${items}\",  \u002F\u002F Iterate over array\n  \"items\": [\n    {\n      \"type\": \"TextBlock\",\n      \"text\": \"${name}\"\n    }\n  ]\n}\n```\n\n### ColumnSet\n```json\n{\n  \"type\": \"ColumnSet\",\n  \"columns\": [\n    {\n      \"type\": \"Column\",\n      \"width\": \"auto\",\n      \"items\": [ ... ]\n    },\n    {\n      \"type\": \"Column\",\n      \"width\": \"stretch\",\n      \"items\": [ ... ]\n    }\n  ]\n}\n```\n\n### Actions\n```json\n{\n  \"type\": \"Action.OpenUrl\",\n  \"title\": \"View Details\",\n  \"url\": \"https:\u002F\u002Fexample.com\u002Fitem\u002F${id}\"\n}\n```\n\n## Responsive Design Best Practices\n\n### Single-Column Layouts\n- Use single columns for narrow viewports\n- Avoid multi-column layouts when possible\n- Ensure cards work at minimum viewport width\n\n### Flexible Widths\n- Don't assign fixed widths to elements\n- Use \"auto\" or \"stretch\" for width properties\n- Allow elements to resize with viewport\n- Fixed widths OK for icons\u002Favatars only\n\n### Text and Images\n- Avoid placing text and images in same row\n- Exception: Small icons or avatars\n- Use \"wrap\": true for text content\n- Test at various viewport widths\n\n### Test Across Hubs\nValidate cards in:\n- Teams (desktop and mobile)\n- Word\n- PowerPoint\n- Various viewport widths (contract\u002Fexpand UI)\n\n## Complete Example\n\n**ai-plugin.json:**\n```json\n{\n  \"functions\": [\n    {\n      \"name\": \"SearchProjects\",\n      \"description\": \"Search for projects with status and details\",\n      \"capabilities\": {\n        \"response_semantics\": {\n          \"data_path\": \"$.projects\",\n          \"properties\": {\n            \"title\": \"$.name\",\n            \"subtitle\": \"$.status\",\n            \"url\": \"$.projectUrl\"\n          },\n          \"static_template\": {\n            \"type\": \"AdaptiveCard\",\n            \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\",\n            \"version\": \"1.5\",\n            \"body\": [\n              {\n                \"type\": \"Container\",\n                \"$data\": \"${$root}\",\n                \"items\": [\n                  {\n                    \"type\": \"TextBlock\",\n                    \"size\": \"medium\",\n                    \"weight\": \"bolder\",\n                    \"text\": \"${if(name, name, 'Untitled Project')}\",\n                    \"wrap\": true\n                  },\n                  {\n                    \"type\": \"FactSet\",\n                    \"facts\": [\n                      {\n                        \"title\": \"Status\",\n                        \"value\": \"${status}\"\n                      },\n                      {\n                        \"title\": \"Owner\",\n                        \"value\": \"${if(owner, owner, 'Unassigned')}\"\n                      },\n                      {\n                        \"title\": \"Due Date\",\n                        \"value\": \"${if(dueDate, dueDate, 'Not set')}\"\n                      },\n                      {\n                        \"title\": \"Budget\",\n                        \"value\": \"${if(budget, formatNumber(budget, 2), 'N\u002FA')}\"\n                      }\n                    ]\n                  },\n                  {\n                    \"type\": \"TextBlock\",\n                    \"text\": \"${if(description, description, 'No description')}\",\n                    \"wrap\": true,\n                    \"separator\": true\n                  }\n                ]\n              }\n            ],\n            \"actions\": [\n              {\n                \"type\": \"Action.OpenUrl\",\n                \"title\": \"View Project\",\n                \"url\": \"${projectUrl}\"\n              }\n            ]\n          }\n        }\n      }\n    }\n  ]\n}\n```\n\n## Workflow\n\nAsk the user:\n1. What type of data does the API return?\n2. Are all items the same type (static) or different types (dynamic)?\n3. What fields should appear in the card?\n4. Should there be actions (e.g., \"View Details\")?\n5. Are there multiple states or categories requiring different templates?\n\nThen generate:\n- Appropriate response_semantics configuration\n- Static template, dynamic templates, or both\n- Proper data binding with conditional rendering\n- Responsive single-column layout\n- Test scenarios for validation\n\n## Resources\n\n- [Adaptive Card Designer](https:\u002F\u002Fadaptivecards.microsoft.com\u002Fdesigner) - Visual design tool\n- [Adaptive Card Schema](https:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json) - Full schema reference\n- [Template Language](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fadaptive-cards\u002Ftemplating\u002Flanguage) - Binding syntax guide\n- [JSONPath](https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc9535) - Path query syntax\n\n## Common Patterns\n\n### List with Images\n```json\n{\n  \"type\": \"Container\",\n  \"$data\": \"${items}\",\n  \"items\": [\n    {\n      \"type\": \"ColumnSet\",\n      \"columns\": [\n        {\n          \"type\": \"Column\",\n          \"width\": \"auto\",\n          \"items\": [\n            {\n              \"type\": \"Image\",\n              \"url\": \"${thumbnailUrl}\",\n              \"size\": \"small\",\n              \"$when\": \"${thumbnailUrl != null}\"\n            }\n          ]\n        },\n        {\n          \"type\": \"Column\",\n          \"width\": \"stretch\",\n          \"items\": [\n            {\n              \"type\": \"TextBlock\",\n              \"text\": \"${title}\",\n              \"weight\": \"bolder\",\n              \"wrap\": true\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}\n```\n\n### Status Indicators\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"${status}\",\n  \"color\": \"${if(status == 'Completed', 'good', if(status == 'In Progress', 'attention', 'default'))}\"\n}\n```\n\n### Currency Formatting\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"$${formatNumber(amount, 2)}\"\n}\n```\n\n````\n","````prompt\n---\nmode: 'agent'\ntools: ['changes', 'search\u002Fcodebase', 'edit\u002FeditFiles', 'problems']\ndescription: 'Add Adaptive Card response templates to MCP-based API plugins for visual data presentation in Microsoft 365 Copilot'\nmodel: 'gpt-4.1'\ntags: [mcp, adaptive-cards, m365-copilot, api-plugin, response-templates]\n---\n\n# Create Adaptive Cards for MCP Plugins\n\nAdd Adaptive Card response templates to MCP-based API plugins to enhance how data is presented visually in Microsoft 365 Copilot.\n\n## Adaptive Card Types\n\n### Static Response Templates\nUse when API always returns items of the same type and format doesn't change often.\n\nDefine in `response_semantics.static_template` in ai-plugin.json:\n\n```json\n{\n  \"functions\": [\n    {\n      \"name\": \"GetBudgets\",\n      \"description\": \"Returns budget details including name and available funds\",\n      \"capabilities\": {\n        \"response_semantics\": {\n          \"data_path\": \"$\",\n          \"properties\": {\n            \"title\": \"$.name\",\n            \"subtitle\": \"$.availableFunds\"\n          },\n          \"static_template\": {\n            \"type\": \"AdaptiveCard\",\n            \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\",\n            \"version\": \"1.5\",\n            \"body\": [\n              {\n                \"type\": \"Container\",\n                \"$data\": \"${$root}\",\n                \"items\": [\n                  {\n                    \"type\": \"TextBlock\",\n                    \"text\": \"Name: ${if(name, name, 'N\u002FA')}\",\n                    \"wrap\": true\n                  },\n                  {\n                    \"type\": \"TextBlock\",\n                    \"text\": \"Available funds: ${if(availableFunds, formatNumber(availableFunds, 2), 'N\u002FA')}\",\n                    \"wrap\": true\n                  }\n                ]\n              }\n            ]\n          }\n        }\n      }\n    }\n  ]\n}\n```\n\n### Dynamic Response Templates\nUse when API returns multiple types and each item needs a different template.\n\n**ai-plugin.json configuration:**\n```json\n{\n  \"name\": \"GetTransactions\",\n  \"description\": \"Returns transaction details with dynamic templates\",\n  \"capabilities\": {\n    \"response_semantics\": {\n      \"data_path\": \"$.transactions\",\n      \"properties\": {\n        \"template_selector\": \"$.displayTemplate\"\n      }\n    }\n  }\n}\n```\n\n**API Response with Embedded Templates:**\n```json\n{\n  \"transactions\": [\n    {\n      \"budgetName\": \"Fourth Coffee lobby renovation\",\n      \"amount\": -2000,\n      \"description\": \"Property survey for permit application\",\n      \"expenseCategory\": \"permits\",\n      \"displayTemplate\": \"$.templates.debit\"\n    },\n    {\n      \"budgetName\": \"Fourth Coffee lobby renovation\",\n      \"amount\": 5000,\n      \"description\": \"Additional funds to cover cost overruns\",\n      \"expenseCategory\": null,\n      \"displayTemplate\": \"$.templates.credit\"\n    }\n  ],\n  \"templates\": {\n    \"debit\": {\n      \"type\": \"AdaptiveCard\",\n      \"version\": \"1.5\",\n      \"body\": [\n        {\n          \"type\": \"TextBlock\",\n          \"size\": \"medium\",\n          \"weight\": \"bolder\",\n          \"color\": \"attention\",\n          \"text\": \"Debit\"\n        },\n        {\n          \"type\": \"FactSet\",\n          \"facts\": [\n            {\n              \"title\": \"Budget\",\n              \"value\": \"${budgetName}\"\n            },\n            {\n              \"title\": \"Amount\",\n              \"value\": \"${formatNumber(amount, 2)}\"\n            },\n            {\n              \"title\": \"Category\",\n              \"value\": \"${if(expenseCategory, expenseCategory, 'N\u002FA')}\"\n            },\n            {\n              \"title\": \"Description\",\n              \"value\": \"${if(description, description, 'N\u002FA')}\"\n            }\n          ]\n        }\n      ],\n      \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\"\n    },\n    \"credit\": {\n      \"type\": \"AdaptiveCard\",\n      \"version\": \"1.5\",\n      \"body\": [\n        {\n          \"type\": \"TextBlock\",\n          \"size\": \"medium\",\n          \"weight\": \"bolder\",\n          \"color\": \"good\",\n          \"text\": \"Credit\"\n        },\n        {\n          \"type\": \"FactSet\",\n          \"facts\": [\n            {\n              \"title\": \"Budget\",\n              \"value\": \"${budgetName}\"\n            },\n            {\n              \"title\": \"Amount\",\n              \"value\": \"${formatNumber(amount, 2)}\"\n            },\n            {\n              \"title\": \"Description\",\n              \"value\": \"${if(description, description, 'N\u002FA')}\"\n            }\n          ]\n        }\n      ],\n      \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\"\n    }\n  }\n}\n```\n\n### Combined Static and Dynamic Templates\nUse static template as default when item doesn't have template_selector or when value doesn't resolve.\n\n```json\n{\n  \"capabilities\": {\n    \"response_semantics\": {\n      \"data_path\": \"$.items\",\n      \"properties\": {\n        \"title\": \"$.name\",\n        \"template_selector\": \"$.templateId\"\n      },\n      \"static_template\": {\n        \"type\": \"AdaptiveCard\",\n        \"version\": \"1.5\",\n        \"body\": [\n          {\n            \"type\": \"TextBlock\",\n            \"text\": \"Default: ${name}\",\n            \"wrap\": true\n          }\n        ]\n      }\n    }\n  }\n}\n```\n\n## Response Semantics Properties\n\n### data_path\nJSONPath query indicating where data resides in API response:\n```json\n\"data_path\": \"$\"           \u002F\u002F Root of response\n\"data_path\": \"$.results\"   \u002F\u002F In results property\n\"data_path\": \"$.data.items\"\u002F\u002F Nested path\n```\n\n### properties\nMap response fields for Copilot citations:\n```json\n\"properties\": {\n  \"title\": \"$.name\",            \u002F\u002F Citation title\n  \"subtitle\": \"$.description\",  \u002F\u002F Citation subtitle\n  \"url\": \"$.link\"               \u002F\u002F Citation link\n}\n```\n\n### template_selector\nProperty on each item indicating which template to use:\n```json\n\"template_selector\": \"$.displayTemplate\"\n```\n\n## Adaptive Card Template Language\n\n### Conditional Rendering\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"${if(field, field, 'N\u002FA')}\"  \u002F\u002F Show field or 'N\u002FA'\n}\n```\n\n### Number Formatting\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"${formatNumber(amount, 2)}\"  \u002F\u002F Two decimal places\n}\n```\n\n### Data Binding\n```json\n{\n  \"type\": \"Container\",\n  \"$data\": \"${$root}\",  \u002F\u002F Break to root context\n  \"items\": [ ... ]\n}\n```\n\n### Conditional Display\n```json\n{\n  \"type\": \"Image\",\n  \"url\": \"${imageUrl}\",\n  \"$when\": \"${imageUrl != null}\"  \u002F\u002F Only show if imageUrl exists\n}\n```\n\n## Card Elements\n\n### TextBlock\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"Text content\",\n  \"size\": \"medium\",      \u002F\u002F small, default, medium, large, extraLarge\n  \"weight\": \"bolder\",    \u002F\u002F lighter, default, bolder\n  \"color\": \"attention\",  \u002F\u002F default, dark, light, accent, good, warning, attention\n  \"wrap\": true\n}\n```\n\n### FactSet\n```json\n{\n  \"type\": \"FactSet\",\n  \"facts\": [\n    {\n      \"title\": \"Label\",\n      \"value\": \"Value\"\n    }\n  ]\n}\n```\n\n### Image\n```json\n{\n  \"type\": \"Image\",\n  \"url\": \"https:\u002F\u002Fexample.com\u002Fimage.png\",\n  \"size\": \"medium\",  \u002F\u002F auto, stretch, small, medium, large\n  \"style\": \"default\" \u002F\u002F default, person\n}\n```\n\n### Container\n```json\n{\n  \"type\": \"Container\",\n  \"$data\": \"${items}\",  \u002F\u002F Iterate over array\n  \"items\": [\n    {\n      \"type\": \"TextBlock\",\n      \"text\": \"${name}\"\n    }\n  ]\n}\n```\n\n### ColumnSet\n```json\n{\n  \"type\": \"ColumnSet\",\n  \"columns\": [\n    {\n      \"type\": \"Column\",\n      \"width\": \"auto\",\n      \"items\": [ ... ]\n    },\n    {\n      \"type\": \"Column\",\n      \"width\": \"stretch\",\n      \"items\": [ ... ]\n    }\n  ]\n}\n```\n\n### Actions\n```json\n{\n  \"type\": \"Action.OpenUrl\",\n  \"title\": \"View Details\",\n  \"url\": \"https:\u002F\u002Fexample.com\u002Fitem\u002F${id}\"\n}\n```\n\n## Responsive Design Best Practices\n\n### Single-Column Layouts\n- Use single columns for narrow viewports\n- Avoid multi-column layouts when possible\n- Ensure cards work at minimum viewport width\n\n### Flexible Widths\n- Don't assign fixed widths to elements\n- Use \"auto\" or \"stretch\" for width properties\n- Allow elements to resize with viewport\n- Fixed widths OK for icons\u002Favatars only\n\n### Text and Images\n- Avoid placing text and images in same row\n- Exception: Small icons or avatars\n- Use \"wrap\": true for text content\n- Test at various viewport widths\n\n### Test Across Hubs\nValidate cards in:\n- Teams (desktop and mobile)\n- Word\n- PowerPoint\n- Various viewport widths (contract\u002Fexpand UI)\n\n## Complete Example\n\n**ai-plugin.json:**\n```json\n{\n  \"functions\": [\n    {\n      \"name\": \"SearchProjects\",\n      \"description\": \"Search for projects with status and details\",\n      \"capabilities\": {\n        \"response_semantics\": {\n          \"data_path\": \"$.projects\",\n          \"properties\": {\n            \"title\": \"$.name\",\n            \"subtitle\": \"$.status\",\n            \"url\": \"$.projectUrl\"\n          },\n          \"static_template\": {\n            \"type\": \"AdaptiveCard\",\n            \"$schema\": \"http:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json\",\n            \"version\": \"1.5\",\n            \"body\": [\n              {\n                \"type\": \"Container\",\n                \"$data\": \"${$root}\",\n                \"items\": [\n                  {\n                    \"type\": \"TextBlock\",\n                    \"size\": \"medium\",\n                    \"weight\": \"bolder\",\n                    \"text\": \"${if(name, name, 'Untitled Project')}\",\n                    \"wrap\": true\n                  },\n                  {\n                    \"type\": \"FactSet\",\n                    \"facts\": [\n                      {\n                        \"title\": \"Status\",\n                        \"value\": \"${status}\"\n                      },\n                      {\n                        \"title\": \"Owner\",\n                        \"value\": \"${if(owner, owner, 'Unassigned')}\"\n                      },\n                      {\n                        \"title\": \"Due Date\",\n                        \"value\": \"${if(dueDate, dueDate, 'Not set')}\"\n                      },\n                      {\n                        \"title\": \"Budget\",\n                        \"value\": \"${if(budget, formatNumber(budget, 2), 'N\u002FA')}\"\n                      }\n                    ]\n                  },\n                  {\n                    \"type\": \"TextBlock\",\n                    \"text\": \"${if(description, description, 'No description')}\",\n                    \"wrap\": true,\n                    \"separator\": true\n                  }\n                ]\n              }\n            ],\n            \"actions\": [\n              {\n                \"type\": \"Action.OpenUrl\",\n                \"title\": \"View Project\",\n                \"url\": \"${projectUrl}\"\n              }\n            ]\n          }\n        }\n      }\n    }\n  ]\n}\n```\n\n## Workflow\n\nAsk the user:\n1. What type of data does the API return?\n2. Are all items the same type (static) or different types (dynamic)?\n3. What fields should appear in the card?\n4. Should there be actions (e.g., \"View Details\")?\n5. Are there multiple states or categories requiring different templates?\n\nThen generate:\n- Appropriate response_semantics configuration\n- Static template, dynamic templates, or both\n- Proper data binding with conditional rendering\n- Responsive single-column layout\n- Test scenarios for validation\n\n## Resources\n\n- [Adaptive Card Designer](https:\u002F\u002Fadaptivecards.microsoft.com\u002Fdesigner) - Visual design tool\n- [Adaptive Card Schema](https:\u002F\u002Fadaptivecards.io\u002Fschemas\u002Fadaptive-card.json) - Full schema reference\n- [Template Language](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fadaptive-cards\u002Ftemplating\u002Flanguage) - Binding syntax guide\n- [JSONPath](https:\u002F\u002Fwww.rfc-editor.org\u002Frfc\u002Frfc9535) - Path query syntax\n\n## Common Patterns\n\n### List with Images\n```json\n{\n  \"type\": \"Container\",\n  \"$data\": \"${items}\",\n  \"items\": [\n    {\n      \"type\": \"ColumnSet\",\n      \"columns\": [\n        {\n          \"type\": \"Column\",\n          \"width\": \"auto\",\n          \"items\": [\n            {\n              \"type\": \"Image\",\n              \"url\": \"${thumbnailUrl}\",\n              \"size\": \"small\",\n              \"$when\": \"${thumbnailUrl != null}\"\n            }\n          ]\n        },\n        {\n          \"type\": \"Column\",\n          \"width\": \"stretch\",\n          \"items\": [\n            {\n              \"type\": \"TextBlock\",\n              \"text\": \"${title}\",\n              \"weight\": \"bolder\",\n              \"wrap\": true\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}\n```\n\n### Status Indicators\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"${status}\",\n  \"color\": \"${if(status == 'Completed', 'good', if(status == 'In Progress', 'attention', 'default'))}\"\n}\n```\n\n### Currency Formatting\n```json\n{\n  \"type\": \"TextBlock\",\n  \"text\": \"$${formatNumber(amount, 2)}\"\n}\n```\n\n````\n",{"name":5,"description":7},"main","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Fmcp-create-adaptive-cards",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":9,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add github\u002Fawesome-copilot --skill mcp-create-adaptive-cards",{"tool":57,"command":58},"bunx","bunx skills add github\u002Fawesome-copilot --skill mcp-create-adaptive-cards",{"tool":60,"command":61},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill mcp-create-adaptive-cards","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-create-adaptive-cards\u002FSKILL.md",true,[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"package.json","REFERENCE","参考文档",875,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-zip\u002Fpackage.json",[72,80,87,97,124,151],{"skillNo":73,"name":74,"nameZh":17,"description":75,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":81,"name":82,"nameZh":17,"description":83,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":79},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":17,"description":90,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":91,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":98,"name":99,"nameZh":17,"description":100,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":36},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[],[104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123],"supabase rls policies","supabase rls","supabase","rls","project","with","when","review","change","read","write","security","isolation","tables","as","tests","prove","use","users","functions",{"skillNo":125,"name":126,"nameZh":17,"description":127,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":36},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[],[131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],"distribution","skill distribution audit","audit","output","reconcile","release","template","duplicate","investigate","drift","SET","deterministic","installer","for","discovery","comparison","helper","manifest","version","collection",{"skillNo":152,"name":153,"nameZh":17,"description":154,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":155,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":36},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[],[159,160,161,162,163,164,165,144,108,166,167,168,169,170,171,172,121,173,174,175],"code","logicapps custom code net10 migration","migration","custom","Legacy","projects","standalone","deployment","applications","local","azure","worker","upgrades","package","apps","debugging","workflows"]