К основному содержанию
скилл CX Codex

add-data-source — скилл для Claude Code: что делает и как установить

Скилл add-data-source проводит через добавление источника данных или коннектора в Canvas App: сам агент этого не умеет, поэтому он ведёт вас в Power Apps Studio, а потом проверяет результат.

MIT ★ 1 167 обновлён 2026-10-29

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add microsoft/power-platform-skills
/plugin install canvas-apps@power-platform-skills
Открыть на GitHub

Что делает add-data-source

Сначала скилл разбирает запрос: список SharePoint, таблица Dataverse, SQL или файл Excel проверяются через list_data_sources, а коннекторы вроде Office 365 Users или Teams — через list_apis. Дальше объясняет шаги в Studio: открыть панель Data, нажать Add data, найти нужное, пройти авторизацию и выбрать таблицу или файл. Работа стоит на паузе, пока вы не подтвердите, что всё добавлено.

Потом идёт проверка. Если источник нашёлся, скилл называет точное имя для формул Power Fx и забирает схему колонок через get_data_source_schema; для коннекторов — список эндпоинтов через describe_api. Не нашёлся — попросит свериться с панелью Data и убедиться, что сессия Studio ещё открыта, после чего проверит снова.

Условие одно: MCP-сервер должен быть подключён к живой сессии соавторства. Без неё проверять нечего, и работа встанет на втором шаге. Вручную скилл не вызывается — он срабатывает на обычную просьбу добавить подключение и приходит в составе плагина canvas-apps.

Какие задачи решает

  • добавить список SharePoint в Canvas App и сразу получить его схему
  • подключить таблицу Dataverse или SQL, не выходя из диалога с агентом
  • убедиться, что новый коннектор действительно виден MCP-серверу
  • узнать точные имена колонок и их типы у добавленного источника
  • вернуться к прерванной задаче после подключения данных

Примеры запросов агенту

  • Добавь в Canvas App источник данных из SharePoint, а потом собери по нему галерею.
  • Подключи таблицу Dataverse и покажи, какие у неё колонки и типы.
  • Нужен коннектор Office 365 Users — добавь его и проверь, что агент его видит.

Как установить add-data-source

1Через маркетплейс плагинов

/plugin marketplace add microsoft/power-platform-skills
/plugin install canvas-apps@power-platform-skills

Команда ставит плагин canvas-apps целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add microsoft/power-platform-skills --skill add-data-source -a claude-code

3Вручную: положить файлы

~/.claude/skills/add-data-source/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/add-data-source/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об add-data-source

Как установить add-data-source в Claude Code?

Выполните /plugin marketplace add microsoft/power-platform-skills, затем /plugin install canvas-apps@power-platform-skills. Скилл приходит в составе плагина canvas-apps.

Что делает add-data-source?

Проводит через добавление источника данных или коннектора в Power Apps Studio, ждёт вашего подтверждения, а затем проверяет подключение инструментами MCP-сервера canvas-authoring и продолжает вашу задачу.

Почему агент не может добавить подключение сам?

Источники данных и коннекторы в Canvas App добавляются только через интерфейс Studio. Скилл даёт шаги и проверяет результат, а само подключение создаёте вы.

Исходный текст

SKILL.md · MIT
---
name: add-data-source
version: 1.0.0
description: Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and continue. USE WHEN the user asks to add a data source, add a connection, add an API, add a connector, connect to SharePoint / Dataverse / SQL / Excel / OneDrive / Teams / Office 365, or any similar request to make new data available to the app. DO NOT USE WHEN the user is asking to list or describe existing data sources — call list_data_sources or list_apis directly instead.
author: Microsoft Corporation
user-invocable: false
allowed-tools: AskUserQuestion, mcp__canvas-authoring__list_data_sources, mcp__canvas-authoring__list_apis, mcp__canvas-authoring__get_data_source_schema, mcp__canvas-authoring__describe_api
---

Data sources, connections, and API connectors cannot be added by the coding agent — they must be added through the Power Apps Studio interface. This skill informs the user, guides them to add the connection in their Studio session, verifies it is available via the MCP server, and then continues with any pending work.

## Phase 0 — Identify the Connection Type

From the user's request, determine what they want to add and how to verify it:

| Request type | Verify with |
|---|---|
| Data source (SharePoint list, Dataverse table, SQL table, Excel file, OneDrive, etc.) | `list_data_sources` |
| API / connector (Office 365 Users, Teams, custom connector, etc.) | `list_apis` |
| Unclear | Both `list_data_sources` and `list_apis` |

Note what the user is trying to add so you can look for it by name in Phase 3.

## Phase 1 — Inform the User

Explain that this step requires action in their Studio session. Tell the user:

- The coding agent cannot add data sources or connections programmatically — this must be done directly in Power Apps Studio.
- To add the connection, follow these steps in their open Studio session:
  1. Open the **Data** panel in the left sidebar
  2. Click **Add data**
  3. Search for the data source or connector they want (e.g., "SharePoint", "Dataverse", "SQL Server", "Office 365 Users")
  4. Follow the authentication prompts and select the specific table, list, file, or dataset
- Once added, the connection will be available to the MCP server and you can continue.

## Phase 2 — Wait for Confirmation

Use `AskUserQuestion` to pause until the user has completed the steps in Studio:

> "Please add the data source or connection in your Power Apps Studio session. Reply here when it's ready and I'll verify the connection before continuing."

Do not proceed until the user confirms they have added it.

## Phase 3 — Verify the Connection

Once the user confirms, call the appropriate MCP tools to check that the connection is now available:

- If the request was for a **data source**: call `list_data_sources`
- If the request was for an **API / connector**: call `list_apis`
- If the type was unclear: call both in parallel

Scan the results for the connection the user added:

**Found** — Confirm to the user that the data source or connection is now visible to the agent. Include the exact name as returned by the MCP tool (this is how it must be referenced in Power Fx formulas). If it is a data source, call `get_data_source_schema` to retrieve its column names and types, and include the schema summary in your response so it is ready for use in edits. Similarly, for APIs/connectors, call `describe_api` to retrieve the available endpoints and their parameters, and include the schema summary in your response.

**Not found** — Inform the user that the connection is not yet visible. Ask them to:
1. Confirm they completed the Studio steps and the connection appears in the Data panel there.
2. Check that their Studio session is still active (the MCP server must be connected to a live coauthoring session).
3. Let you know when ready to try again.

Use `AskUserQuestion` to wait for their follow-up, then re-run Phase 3.

## Phase 4 — Continue

After the connection is confirmed:

- If the user had a pending task (e.g., "add SharePoint as a data source, then build a gallery"), continue with that work now using the verified connection name and schema.
- If adding the connection was the only request, summarize what was confirmed (connection name, type, and schema if applicable) and suggest a natural next step (e.g., building a screen or gallery that uses the new data).

© Microsoft Corporation · MIT · microsoft/power-platform-skills

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
cli-microsoft365-mcp-server pnp MCP-сервер cli-microsoft365-mcp-server для Claude Code и других агентов: переводит текстовый запрос в цепочку команд CLI for Microsoft 365 и выполняет её в тенанте. CX Codex +1 ★ 138звёзд репо PnP PowerShell pnp Позволяет агенту выполнять команды PnP PowerShell и собирать из них скрипты для SharePoint Online, Teams, Entra ID и других сервисов Microsoft 365. CX Codex +1 ★ 10звёзд репо microsoft-onedrive acedatacloud Скилл microsoft-onedrive даёт агенту готовые вызовы Microsoft Graph: список файлов OneDrive и SharePoint, поиск, скачивание, загрузка, ссылки на шаринг. CX Codex +1 219установок microsoft-sharepoint membrane Связывает агента с Microsoft SharePoint через Membrane CLI для работы с сайтами и файлами. Помогает настроить чтение документов или обновление списков. CX Codex +1 1 600установок Microsoft 365 SharePoint mindstone MCP-сервер Microsoft 365 SharePoint открывает агенту SharePoint через Microsoft Graph: находит сайты, читает библиотеки и списки, ищет документы и создаёт ссылки на файлы. CX Codex +1 ★ 14звёзд репо m365-admin VoltAgent Community Субагент m365-admin автоматизирует администрирование Microsoft 365, включая почтовые ящики Exchange, команды Teams, сайты SharePoint и лицензии через Graph API. Пригодится инженерам облачной инфраструктуры. CX Codex 229установок

Из того же набора157

Весь набор →
analyze-objects Скилл analyze-objects для Claude Code анализирует процессы с несколькими типами объектов и задержки между ними. Он подключается к запросам о выполнениях, ведущем объекте или пути процесса. CX Codex +1 ★ 1 167звёзд репо derive-metric Скилл derive-metric для Claude Code помогает получить отсутствующую бизнес-метрику из данных процесса. Он выбирает готовую метрику, сохранённое определение или временный расчёт. CX Codex +1 ★ 1 167звёзд репо add-mcscopilot Скилл add-mcscopilot подключает коннектор Microsoft Copilot Studio к кодовому приложению Power Apps, настраивает вызов агентов и разбирает их ответы. CX Codex +1 ★ 1 167звёзд репо canvas-create-layout Субагент canvas-create-layout для Claude Code проектирует структуру экранов Canvas-приложения до выбора контролов. Он подключается к задаче создания или пересмотра экранов. CX Codex ★ 1 167звёзд репо list-connections Скилл list-connections находит или создаёт подключения Power Platform для мобильных приложений на Expo и React Native. Пригодится при настройке источников данных через CLI. CX Codex +1 ★ 1 167звёзд репо create-flow Скилл create-flow пошагово помогает создать новый поток Power Automate: собирает требования, проверяет подключённые коннекторы и валидирует определение до создания. CX Codex +1 ★ 1 167звёзд репо diagnose-flow Скилл diagnose-flow для Claude Code анализирует упавший запуск Power Automate: строит граф выполнения, находит причину сбоя и предлагает исправление определения. CX Codex +1 ★ 1 167звёзд репо add-connector Скилл add-connector подключает любые коннекторы Power Platform к кодовым приложениям Power Apps, если для них нет отдельного специализированного скилла. CX Codex +1 ★ 1 167звёзд репо

Ещё в каталоге

Спонсоры проекта

Компании, которые помогают держать аналитику открытой