powerbi-repointing
Repoint Power BI `.pbit` reports to Snowflake during conversion. Collects the `.pbit` folder path from the user and supplies the `--powerbi-repointing` flag…
от sfc-gh-dflippo★ 35 звёзд на GitHub
Установить powerbi-repointing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Power BI Repointing
Load this skill from convert or code-conversion-only only when the user has answered yes to:
"Do you have Power BI reports (
.pbitfiles) you'd like to repoint to Snowflake?"
Workflow
Do the following in order:
- Say to the user (verbatim): "Repointing rewrites the connection in each
.pbitto point at Snowflake and translates any embedded SQL queries to Snowflake syntax." - Ask the user (verbatim): "Please provide the folder path containing your Power BI
.pbitfiles. Only.pbit(Power BI template) files are supported —.pbixis not. If you only have.pbix, see https://github.com/Snowflake-Labs/SC.DDLExportScripts/tree/main/Power%20BI to export.pbit." - Store the user's answer internally as
PBIT_PATH. - Return to the calling skill. When it runs
scai code convert, append--powerbi-repointing <PBIT_PATH>to the command. Do not emit the literal<PBIT_PATH>token to the shell.
Convert Output for Power BI
When --powerbi-repointing is used, scai code convert writes:
- Repointed
.pbitfiles →artifacts/repointing_output/<timestamp>/<pbit_folder_name>/ - Extracted embedded queries →
source/power_bi_sql_queries/ - Converted Snowflake SQL for those queries →
snowflake/power_bi_sql_queries/ - Per-query summary →
reports/SnowConvert/ETLAndBiRepointing.*.csv
Option Reference
| Option | Description |
|---|---|
-p, --powerbi-repointing <PATH> |
Path to folder of Power BI .pbit files to repoint to Snowflake (also rewrites embedded queries to Snowflake-compatible syntax). .pbix files are not supported. |
CHECKPOINT Addendum
After the calling skill's conversion CHECKPOINT, also confirm:
- Repointed
.pbitfiles appear inartifacts/repointing_output/<timestamp>/<pbit_folder_name>/ - Per-query summary appears in
reports/SnowConvert/ETLAndBiRepointing.*.csv
Then return to the calling skill.
Post-Conversion Check: Unsupported Queries
After the conversion CHECKPOINT, scan the repointing report in the scai project:
grep -c "Unsupported" reports/SnowConvert/ETLAndBiRepointing*.csv
If any rows have Status=Unsupported, tell the user:
"SnowConvert successfully repointed your Power BI files, but some embedded queries could not be automatically converted. I can fix these using LLM-based translation. Would you like me to proceed?"
If the user confirms, load ./fixer/SKILL.md to complete the repointing process.
If no unsupported queries remain, the repointing is fully complete.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- fixer/SKILL.md
- fixer/reference/llm-translation-guide.md
- fixer/reference/multi-source-translation-guide.md
- fixer/reference/teradata-m-query-pattern-samples.md
- fixer/reference/validate-dynamic-query.md
- fixer/scripts/_console.py
- fixer/scripts/display-results.py
- fixer/scripts/extract-current-pbit.py
- fixer/scripts/extract-pbit.py
- fixer/scripts/prepare-queries-for-llm.py
- fixer/scripts/reassemble-pbit.py
- fixer/scripts/update-assessment-report.py
- fixer/scripts/verify-output.py
- fixer/scripts/verify-parameters.py
FAQ
Что делает скилл powerbi-repointing?
Repoint Power BI `.pbit` reports to Snowflake during conversion. Collects the `.pbit` folder path from the user and supplies the `--powerbi-repointing` flag for `scai code convert`. Load from `convert` or `code-conversion-only` only when the user confirms they have `.pbit` files.
Как установить скилл powerbi-repointing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл powerbi-repointing запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…