$npx -y skills add microsoft/skills-for-copilot-studio --skill lookup-schemaLook up Copilot Studio YAML schema definitions. Use when the user asks about schema structure, element properties, or how to use a specific YAML kind.
| 1 | # Lookup Schema Definition |
| 2 | |
| 3 | Look up and explain a Copilot Studio YAML schema definition. |
| 4 | |
| 5 | ## Instructions |
| 6 | |
| 7 | 1. Run the schema lookup script to find the definition: |
| 8 | ```bash |
| 9 | node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js lookup $ARGUMENTS |
| 10 | ``` |
| 11 | |
| 12 | 2. If the definition is not found, search for similar definitions: |
| 13 | ```bash |
| 14 | node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js search $ARGUMENTS |
| 15 | ``` |
| 16 | |
| 17 | 3. If the definition contains `$ref` references that need resolution, use: |
| 18 | ```bash |
| 19 | node ${CLAUDE_SKILL_DIR}/../../scripts/schema-lookup.bundle.js resolve $ARGUMENTS |
| 20 | ``` |
| 21 | |
| 22 | 4. Present the schema definition in a readable format, explaining: |
| 23 | - What the element does (from the description) |
| 24 | - Required properties |
| 25 | - Optional properties and their types |
| 26 | - Any related definitions that might be useful |
| 27 | |
| 28 | ## Example |
| 29 | |
| 30 | User: `/lookup-schema SendActivity` |
| 31 | |
| 32 | Response should include the full schema definition and explain how to use it in YAML. |