Run authoring T-SQL for Fabric warehouses and SQL endpoints from CLI.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "sqldw-authoring-cli" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/skills-for-fabric/main/skills/sqldw-authoring-cli/SKILL.md 2. Save it as ~/.claude/skills/sqldw-authoring-cli/SKILL.md 3. Reload skills and tell me it's ready
Generate CLI-ready T-SQL for Microsoft Fabric Data Warehouse: first create table sales.orders with order_id, customer_id, order_date, and amount columns; then add a status column and create a primary key on order_id. Output in execution order with brief comments.
An executable T-SQL script to create and alter the table in the correct order.
Generate a Fabric Warehouse T-SQL loading script that ingests Parquet files from an ADLS path into dbo.fact_sales using COPY INTO, including basic error handling and row count checks before and after loading.
A data loading script with COPY INTO, validation steps, and basic fault handling.
Write T-SQL for a Fabric SQL endpoint to merge data from staging.customer_updates into dbo.customers using MERGE for inserts and updates. Include an explicit transaction, rollback on errors, and guidance for handling concurrency conflicts.
A complete script including MERGE, transaction control, rollback handling, and concurrency guidance.
Update Check — ONCE PER SESSION (mandatory) The first time this skill is used in a session, run the check-updates skill before proceeding.
- GitHub Copilot CLI / VS Code: invoke the
check-updatesskill.- Claude Code / Cowork / Cursor / Windsurf / Codex: compare local vs remote package.json version.
- Skip if the check was already performed earlier in this session.
CRITICAL NOTES
- To find the workspace details (including its ID) from workspace name: list all workspaces and, then, use JMESPath filtering
- To find the item details (including its ID) from workspace ID, item type, and item name: list all items of that type in that workspace and, then, use JMESPath filtering
| Task | Reference | Notes |
|---|---|---|
| Finding Workspaces and Items in Fabric | COMMON-CLI.md § Finding Workspaces and Items in Fabric | Mandatory — READ link first [needed for finding workspace id by its name or item id by its name, item type, and workspace id] |
| Fabric Topology & Key Concepts | COMMON-CORE.md § Fabric Topology & Key Concepts | |
| Environment URLs | COMMON-CORE.md § Environment URLs | |
| Authentication & Token Acquisition | COMMON-CORE.md § Authentication & Token Acquisition | Wrong audience = 401; read before any auth issue |
| Core Control-Plane REST APIs | COMMON-CORE.md § Core Control-Plane REST APIs | Includes pagination, LRO polling, and rate-limiting patterns |
| OneLake Data Access | COMMON-CORE.md § OneLake Data Access | Requires storage.azure.com token, not Fabric token |
| Definition Envelope | ITEM-DEFINITIONS-CORE.md § Definition Envelope | Definition payload structure |
| Per-Item-Type Definitions | ITEM-DEFINITIONS-CORE.md § Per-Item-Type Definitions | Support matrix, decoded content, part paths — REST specs, CLI recipes |
| Job Execution | COMMON-CORE.md § Job Execution | |
| Capacity Management | COMMON-CORE.md § Capacity Management | |
| Gotchas, Best Practices & Troubleshooting (Platform) | COMMON-CORE.md § Gotchas, Best Practices & Troubleshooting | |
| Tool Selection Rationale | COMMON-CLI.md § Tool Selection Rationale | |
| Authentication Recipes | COMMON-CLI.md § Authentication Recipes | az login flows and token acquisition |
Fabric Control-Plane API via az rest | COMMON-CLI.md § Fabric Control-Plane API via az rest | Always pass --resource; includes pagination and LRO helpers |
OneLake Data Access via curl | COMMON-CLI.md § OneLake Data Access via curl | Use curl not az rest (different token audience) |
| SQL / TDS Data-Plane Access | COMMON-CLI.md § SQL / TDS Data-Plane Access | sqlcmd (Go) connect, query, CSV export |
| Job Execution (CLI) | COMMON-CLI.md § Job Execution | |
| OneLake Shortcuts | COMMON-CLI.md § OneLake Shortcuts |
…
Inspect Fabric alerts, notifications, and automated actions via read-only API calls.
Monitor, inspect, and query Fabric Dataflows Gen2 through a read-only CLI.
Query Fabric Eventhouse data, analyze time series, and monitor ingestion health.
Migrate Databricks notebooks, jobs, and paths into Microsoft Fabric.
List, inspect, and validate Microsoft Fabric Eventstream topology and configuration.
Ask natural-language questions about Power BI reports and get business answers.
Run read-only T-SQL queries on Fabric warehouse and lakehouse data.
Analyze Fabric warehouse performance via CLI and get optimization recommendations.
Author and manage Fabric Dataflows Gen2 with preview and refresh via CLI.
Build Fabric Spark workflows, author notebook code, and manage lakehouse resources.
Run DAX queries and inspect Fabric Power BI semantic model metadata.
Create, update, and publish Microsoft Fabric Eventstream topologies via REST APIs.