[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AQSP7EV1XGQAA69Y9MJ8Y":3,"skill-same:01M69AQSP7EV1XGQAA69Y9MJ8Y":89},{"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":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":17,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M69AQSP7EV1XGQAA69Y9MJ8Y","dv-overview","Dataverse\u002FPower Platform 总览","Foundational cross-cutting context for Dataverse \u002F Power Platform work — scope and the skill map, the tool-capability reference, the safety rules, and the safe change lifecycle. Use when the user mentions Dataverse, Dynamics 365, Power Platform, CRM, or ERP; load this first for orientation. Specialist skills self-route via their own frontmatter triggers. Finance and Operations \u002F F&O business-data requests also require this skill first, then dv-query for reads.","Dataverse \u002F Power Platform 工作的基础性跨领域上下文——包括范围与技能图谱、工具能力参考、安全规则以及安全变更生命周期。当用户提及 Dataverse、Dynamics 365、Power Platform、CRM 或 ERP 时使用；应首先加载此技能以进行定位。专家技能通过其自身的 frontmatter 触发器自行路由。财务与运营（Finance and Operations \u002F F&O）业务数据请求也需要先加载此技能，然后再使用 dv-query 进行读取。","microsoft\u002FDataverse-skills","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AQ9SHMSQ8KC4EKV8DZW2Y",258,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-overview\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BWKS60NTYJHFE9FQSXGDKS","低代码应用开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"overview","dv overview","self","erp","capability","context","frontmatter","data","Safety","crm","work","route","query","map","skill map","scope","power","dataverse","safe","change","2026-11-10 10:12:30",false,"---\nname: dv-overview\ndescription: Foundational cross-cutting context for Dataverse \u002F Power Platform work — scope and the skill map, the tool-capability reference, the safety rules, and the safe change lifecycle. Use when the user mentions Dataverse, Dynamics 365, Power Platform, CRM, or ERP; load this first for orientation. Specialist skills self-route via their own frontmatter triggers. Finance and Operations \u002F F&O business-data requests also require this skill first, then dv-query for reads.\n---\n\n# Skill: Overview — What to Use and When\n\nLoad this skill first for Dataverse work: scope, tool capabilities, hard rules, and the change lifecycle. It does **not** route; the agent auto-selects and chains specialist skills using their WHEN\u002FDO NOT USE WHEN frontmatter triggers. Users describe tasks in plain English; never ask them to name a skill or command.\n\n---\n\n## What This Plugin Covers\n\nDataverse \u002F Power Platform work for **every persona** — builders and agent devs, data scientists, environment admins, and business users — delivered by specialist skills. The agent loads and routes to these automatically via their frontmatter triggers — you never invoke them by name.\n\n| Area | Skill |\n| --- | --- |\n| Connect, authenticate, configure MCP, verify the environment | `dv-connect` |\n| Schema — tables, columns, relationships, forms, views; inspect existing schema | `dv-metadata` |\n| Data writes — record CRUD, bulk create\u002Fupdate\u002Fupsert, CSV\u002FFK-ordered import, sample data | `dv-data` |\n| Data reads & analytics — OData queries, QueryBuilder, FetchXML (aggregation + N:N joins), DataFrames | `dv-query` |\n| Solution ALM — create, export, import, pack\u002Funpack, post-import validation | `dv-solution` |\n| Finance and Operations X++ — author, build, deploy, DB sync, verify | `erp-xpp` |\n| Finance and Operations UDE developer-database access (JIT SQL) | `erp-sql` |\n| Environment administration — bulk delete, retention\u002Farchival, org & OrgDB settings, recycle bin | `dv-admin` |\n| Security & access — roles, users, application users, business units, self-elevation (PAC CLI) | `dv-security` |\n\n**Model-driven apps:** the building blocks (tables, forms, views) are covered by `dv-metadata`; composing the app shell itself — site map and navigation — is **not yet** a first-class skill.\n\n**Out of scope:**\n\n- **Canvas apps** — a different technology; use `pac canvas` or the maker portal\n- **Power Automate flows** — use the maker portal or the Power Automate Management API\n- **Azure infrastructure** beyond what's needed for service-principal setup\n- **Business Central** or other Dynamics products\n\n---\n\n## Hard Rules\n\nSafety rules (init, auth, env confirmation) are non-negotiable. Tool selection (Rules 1, 2, 4) is capability-based.\n\n### 0. Check Init State First\n\nBefore writing ANY code or creating ANY files, **actively search your callable tools for any tool whose name or description contains `dataverse`** (tools may be registered under environment-specific names like `mcp__dataverse_\u003Corgid>__read_query`, not just generic names). **If any Dataverse MCP tool is found, use it directly — skip the init check and all setup.** MCP auth is host-managed and does not need `.env` or `scripts\u002Fauth.py`. Never declare MCP unavailable based solely on the initially displayed tool list.\n\nIf no MCP tool is found, check for an existing CLI profile — it's the fastest path for data operations:\n\n```bash\ndataverse auth who\n```\n\nIf that shows an active profile with an environment URL, use CLI directly for data operations (see `dv-query`\u002F`dv-data` examples) — no `.env`, `auth.py`, or workspace setup needed. For explicit \"connect\" or \"set up\" requests, run `dv-connect` regardless — it configures MCP, SDK, and PAC.\n\nIf no CLI profile exists, check workspace init:\n\n```bash\nls .env scripts\u002Fauth.py 2>\u002Fdev\u002Fnull\n```\n\n- If BOTH exist: proceed to the task.\n- If EITHER is missing: run `python \u003Cplugin-scripts>\u002Fauth.py --ping`. If it prints `REACHABLE` (exit 0), the workspace is bootable without pip -- confirm the URL and proceed. If `--ping` fails, **run `dv-connect`**.\n\n### 1. Python for scripting; the CLIs and MCP are first-class\n\nPython is the language for automation **logic** (transformation, control flow, retry, CSV). The toolchain (`scripts\u002Fauth.py`, the SDK, skill examples) is Python-based. But MCP tools, the Dataverse CLI (`dataverse`), the Python SDK, and the PAC CLI (`pac`) are all **first-class tool invocations** — use whichever fits. The Dataverse CLI has the same standing as `pac`, which is invoked freely across the solution and metadata skills.\n\n**NEVER:**\n- Write automation *logic* in JavaScript\u002FTypeScript\u002FNode.js (`npm`, `yarn`, `pnpm`, `package.json`, `node_modules\u002F`)\n- Use `@azure\u002Fmsal-node`, `@azure\u002Fidentity`, or any Node.js Azure SDK\n- Implement a bespoke MSAL \u002F device-code flow — auth is `scripts\u002Fauth.py`, `pac auth`, and the Dataverse CLI\n\n**ALWAYS:**\n- Use `pip install` and the Python SDK (`PowerPlatform-Dataverse-Client`) for data and schema logic\n- Use `scripts\u002Fauth.py` for tokens\u002Fcredentials; `azure-identity` (Python) for Azure credential flows\n- Treat the Dataverse CLI (`dataverse`) and `pac` as allowed first-party CLIs\n\n### 2. Pick the surface that fits — capability awareness, not a fixed order\n\nNo mandated tool order. Each surface has a capability profile; pick what fits the job and the surface you are already in — soft defaults, not a required sequence. The full matrix is in **Tool Capabilities** below; the principles:\n\n- Prefer a managed surface (MCP, the Dataverse CLI, or the SDK) over hand-rolled raw OData — they carry auth, paging, retry, and geo routing that raw HTTP re-implements. When MCP can't handle it (bulk >25 records, large reads, advanced schema like forms\u002Fviews\u002FN:N relationships\u002Fglobal option sets\u002Falternate keys, multi-step workflows, analytics, or MCP isn't available), the **Python SDK** is the default.\n- **Raw Web API is the last-resort escape hatch** for surfaces with no managed path (unbound actions like `PublishXml`, global option sets, anything without a first-class SDK\u002FCLI command) — and even then prefer `dataverse api` (managed auth, exit codes) over hand-rolled `urllib`\u002F`get_token`. Forms\u002Fviews are **not** raw-only (SDK `records.create`\u002F`update` on `systemform`\u002F`savedquery`; only `PublishXml` needs `dataverse api`). Aggregation\u002FN:N joins aren't raw-only either: `client.query.fetchxml()` (aggregates + link-entity), or the CLI's `data associate` for N:N writes.\n- If an SDK method fails or a PAC command seems missing, check the relevant skill before hand-rolling raw HTTP.\n\n**Field casing:** `$select`\u002F`$filter` use lowercase logical names (`new_name`). `$expand` and `@odata.bind` use Navigation Property Names that are case-sensitive and must match `$metadata` (e.g., `new_AccountId`). Getting this wrong causes 400 errors. **SDK record payloads:** provide the correct SchemaName casing on `@odata.bind` keys (e.g., `new_AccountId@odata.bind`); the SDK does not auto-correct wrong casing. **Raw Web API calls** (forms, views, metadata): casing is entirely manual — a lowercase `new_accountid@odata.bind` will 400.\n\n**Publisher prefix:** Never hardcode a prefix (especially `new`); query existing publishers and ask the user. The prefix is permanent. See the solution skill's publisher discovery flow.\n\n### 3. Use Documented Auth Patterns\n\nThree entry points, one shared sign-in:\n- **`dataverse auth create`** (Dataverse CLI) writes a shared MSAL token cache. That sign-in serves CLI, MCP proxy, **and** `scripts\u002Fauth.py` via `msal-extensions`.\n- **`scripts\u002Fauth.py`** — Python\u002FSDK auth (service principal → shared CLI cache → device-code). Prefer **`get_client(skill)`** (SDK); `get_plugin_headers(skill, get_token())` is the **fallback for SDK gaps** — both stamp attribution.\n- **`pac auth create`** (PAC CLI) authenticates `pac` for `dv-solution`, `dv-admin`, and `erp-xpp`.\n\n**Telemetry attribution (keep it deterministic):** every request carries a closed-schema `app=dataverse-skills\u002F\u003Cver>;skill=\u003Cskill>;agent=\u003Cagent>` context so the server sees which skill routed each OData call. It is baked in — `get_client(skill)` and `get_plugin_headers(skill, ...)` stamp it on the SDK and raw-HTTP paths; the Dataverse CLI auto-stamps `DataverseCli\u002F\u003Cver>` + the command, and you add the skill with `--context \"app=dataverse-skills\u002F\u003Cver>;skill=\u003Cskill>;agent=\u003Cagent>\"` (the CLI wraps it in parentheses itself — do not pre-wrap). Never modify, omit, or free-form this context — it is a closed schema (allowlisted skill\u002Fagent, no PII).\n\n**NEVER:**\n- Read or parse raw token cache files (e.g., `tokencache_msalv3.dat`) — reuse the cache only through `scripts\u002Fauth.py` \u002F `msal-extensions`\n- Implement your own MSAL device-code flow\n- Hard-code tokens or credentials in scripts\n- Invent a new auth mechanism\n\nIf auth is expired or missing, re-run `dataverse auth create` (or `pac auth create`), or check `.env`. See the `dv-connect` skill.\n\n### 4. Be honest about gaps — don't hallucinate\n\nEach skill documents a tested sequence — follow it when it fits. The skills are the source of truth for the supported, non-deprecated API. If a call fails with `AttributeError`, the installed SDK version may not have it — check the skill's version note and use the documented alternative.\n\n**The honesty guard:** if you hit a gap the skills don't cover, say so and suggest a workaround. **Do not hallucinate an unsupported path** — do not invent a method, parameter, or endpoint that isn't documented. If unsure, say so.\n\n**Connectivity is not auth.** A `login.microsoftonline.com` token can succeed while the org's data-plane domain is unreachable (restricted-egress hosts like ChatGPT Work Mode). Never report a count or result you didn't get from a real call that returned — verify with `python scripts\u002Fauth.py --check`; if it fails, say \"unreachable,\" never a fabricated number. On a constrained host, lead with the SDK, not CLI\u002FMCP. See `dv-connect\u002Freferences\u002Fheadless-hosts.md`.\n\n---\n\n## Tool Capabilities — Which Tool for Which Job\n\nUnderstanding the real limits of each tool prevents hallucinated paths. This is the one piece of context no individual skill owns.\n\n| Tool | Use for | Does NOT support |\n| --- | --- | --- |\n| **MCP Server** | Data CRUD (create\u002Fread\u002Fupdate\u002Fdelete records, batch up to 25 per call), table create\u002Fupdate\u002Fdelete + column add (incl. local choice\u002Fmultiselect + lookup\u002Fcustomer), schema + record inspection via `describe`, metadata search (`search`), data + file-content search (`search_data`, when Dataverse search is enabled), file upload\u002Fdownload | Forms, Views, **global** Option Sets, **N:N** relationships, alternate keys, Solutions (lookup + local choice\u002Fmultiselect columns **are** supported via `create_table`\u002F`update_table`). **Note:** table creation may timeout but still succeed — always `describe` (e.g. `describe('tables\u002F{name}')`) before retrying. Run queries sequentially (parallel calls timeout). Column names with spaces normalize to underscores (e.g., `\"Specialty Area\"` → `cr9ac_specialty_area`). **SQL (`read_query`):** supports `JOIN`, `GROUP BY` (COUNT\u002FSUM\u002FAVG\u002FMIN\u002FMAX), `TOP`, `WHERE`, `ORDER BY`; does NOT support `DISTINCT`, `HAVING`, subqueries, `OFFSET`, `UNION`, `CASE`\u002F`IF`, `CAST`\u002F`CONVERT`, CTE, or date functions. For those, use `client.query.sql()` (also allows `DISTINCT`, \u003C5K rows), `$apply`, or a builder->DataFrame with pandas — see `dv-query`. **Bulk:** MCP `create_record`\u002F`update_record`\u002F`delete_record` batch up to 25 records per call; for larger bulk use the SDK `CreateMultiple` — see `dv-data`. |\n| **Python SDK (`dv-data`)** | Scripted data writes, especially at volume. Record CRUD, upsert (alternate keys), bulk create\u002Fupdate\u002Fupsert (CreateMultiple\u002FUpdateMultiple\u002FUpsertMultiple), CSV import with lookup resolution, file column uploads (chunked >128MB) | global Option Sets, record association (`$ref`), `$apply` aggregation, table\u002Fcolumn\u002Frelationship creation (use `dv-metadata`), custom action invocation |\n| **Python SDK (`dv-query`)** | Bulk reads and analytics. Multi-page record iteration, OData queries (select\u002Ffilter\u002Fexpand\u002Forderby), QueryBuilder fluent API, GUID-free display (formatted values), `$expand` to resolve lookups, **aggregation and N:N joins via `client.query.fetchxml()`** (aggregate FetchXML + link-entity), pandas DataFrame handoff (`client.query.builder(...).execute().to_dataframe()`) for exports, Jupyter notebook snippets | OData `$apply` and N:N `$expand` on the **QueryBuilder** path — use `records.list(expand=...)` for N:N, or `fetchxml()` for aggregates (not raw `urllib`) |\n| **Dataverse CLI (`dataverse`)** | Headless data plane: `data` CRUD, `associate`\u002F`disassociate` (N:N + `$ref`), `data upload`; `api request`\u002F`invoke` (Web API escape hatch); `api list`\u002F`describe` (Custom API discovery) | Metadata\u002Fschema (use SDK — `dv-metadata`), solution ALM (use PAC), forms\u002Fviews; **blocked on ChatGPT web \u002F Codex cloud** (no .NET runtime) — use the SDK |\n| **PAC CLI** | Solution export\u002Fimport\u002Fpack\u002Funpack, ERP X++ SDK install + package scaffold\u002Fcompile\u002Fdeploy\u002FDB sync, environment create\u002Flist\u002Fdelete\u002Freset, auth profile management, plugin updates (`pac plugin push` — first-time registration requires Web API), user\u002Frole assignment (`pac admin assign-user`), add solution components (`pac solution add-solution-component`) | Data CRUD, Dataverse metadata creation (tables\u002Fcolumns\u002Fforms), listing solution components (no `list-components` — query `solutioncomponent` via SDK\u002FCLI); X++ SDK install\u002Fcompile require Windows |\n| **Azure CLI** | App registrations, service principals, credential management | Dataverse-specific operations |\n| **GitHub CLI** | Repo management, GitHub secrets, Actions workflow status | Dataverse-specific operations |\n| **Raw Web API** (last resort) | Only when **no** managed surface exposes the operation — i.e. not doable via MCP, the Python SDK, the Dataverse CLI, or the `dataverse api` escape hatch. Genuine cases: unbound actions like `PublishXml`, global option sets, and similar edge cases (**not** forms\u002Fviews — those are SDK record CRUD on `systemform`\u002F`savedquery`). Even then, prefer `dataverse api` (managed auth + skill attribution) over hand-rolled `urllib`. | Functionally nothing (full OData\u002FMetadataService) — but raw `urllib` bypasses managed auth, paging, retry, and skill attribution, so treat it as the path of last resort |\n\n**Routing:** the table shows what each surface does; the *how to choose* principle (soft defaults, not a fixed order) is Hard Rule 2. MCP tools not in your list? Load `dv-connect`.\n\n**Volume guidance:** CLI `dataverse data create\u002Fquery\u002Fcount` for one-off commands; MCP for up to ~25 records per call or simple filters; the SDK's `CreateMultiple` for larger bulk writes (chunk large sets starting ~1,000 — see `dv-data`) and `dv-query` for bulk reads; SDK `fetchxml()` for aggregation.\n\n**SDK method cheat-sheet** (anti-hallucination, *not* a preference signal): SDK method names are the least discoverable surface, so agents invent them. This maps common ops to the exact call. Each op is equally reachable via MCP\u002FCLI per Hard Rule 2; see the noted skill for the full pattern.\n\n| Operation | SDK call | Skill |\n| --- | --- | --- |\n| Create \u002F update \u002F delete records | `client.records.create()` \u002F `.update()` \u002F `.delete()` (pass a list for bulk) | `dv-data` |\n| Upsert on an alternate key | `client.records.upsert()` | `dv-data` |\n| Query \u002F filter records | `client.records.list(...)` (flat) or `.list_pages(...)` (streaming) | `dv-query` |\n| One record by GUID | `client.records.retrieve(table, guid)` (`None` if missing) | `dv-query` |\n| Aggregation \u002F server-side joins | `client.query.fetchxml(xml)` (aggregates + link-entity) | `dv-query` |\n| Fluent query build (chainable) | `client.query.builder(Table).where(...).execute()` | `dv-query` |\n| Limited SQL read | `client.query.sql(\"SELECT ...\")` | `dv-query` |\n| Load into pandas | `client.query.builder(table).select(...).execute().to_dataframe()` | `dv-query` |\n| Upload to a file column | `client.files.upload(...)` | `dv-data` |\n| Create tables \u002F columns \u002F lookups \u002F N:N | `client.tables.create()` \u002F `.add_columns()` \u002F `.create_lookup_field()` \u002F `.create_many_to_many_relationship()` | `dv-metadata` |\n| Create an alternate key (enables upsert) | `client.tables.create_alternate_key(...)` | `dv-metadata` |\n| Inspect existing schema | `client.tables.list_columns(table)` \u002F `.list_table_relationships(table)` | `dv-metadata` |\n| Create publisher \u002F solution | `client.records.create(\"publisher\" \u002F \"solution\", {...})` | `dv-solution` |\n\n### MCP Availability Check\n\nIf the user's request involves MCP — explicitly or implicitly — search your callable tools for any tool whose name or description contains `dataverse` (same search as Hard Rule 0).\n\n**If MCP NOT available and user explicitly asked for MCP** (\"use MCP to query\"):\n1. **Do NOT silently fall back** to the Python SDK or Web API\n2. Tell the user: \"Dataverse MCP tools aren't configured in this session yet.\"\n3. Load `dv-connect` to set up the MCP server\n4. After MCP is configured, **stop** — the session must restart for MCP tools to appear. Do not proceed with SDK.\n\n**If MCP NOT available and user asked a data question** (\"how many accounts?\"):\n1. Use the CLI (if profile exists) or SDK to answer. Do not block the user.\n2. After answering, offer: \"MCP would handle this conversationally — want me to set it up?\"\n\nThe distinction matters: explicit MCP request → block and set up MCP; implicit question → answer with SDK, offer MCP setup.\n\n**If MCP tools ARE available**, prefer MCP for simple reads\u002Fqueries\u002Fsmall CRUD. Use the SDK only when a script is needed.\n\n---\n\n## The Change Lifecycle — Operate Safely\n\nFor any real change, walk these three steps in order: confirm **where**, confirm the **container**, then persist the **result**.\n\n### Step 1 — Confirm the Environment (MANDATORY)\n\nDataverse work often spans multiple environments (dev, test, staging, prod) and multiple sets of credentials. **Never assume** the active PAC auth profile, values in `.env`, or anything from memory or a previous session reflects the correct target for the current task.\n\n**Before the FIRST operation that touches a specific environment** — creating a table, deploying a plugin, pushing a solution, inserting data — you MUST:\n\n1. Show the user the environment URL you intend to use\n2. Ask them to confirm it is correct\n3. Run `pac org who` to verify the active connection matches\n\n> \"I'm about to make changes to `\u003CURL>`. Is this the correct target environment?\"\n\n**Do not proceed until the user explicitly confirms.** This is the single most important safety check in the plugin. Skipping it risks making irreversible changes to the wrong environment. Once confirmed for a session, you do not need to re-confirm for every subsequent operation in the same session against the same environment.\n\n### Step 2 — Confirm the Solution (before any metadata change)\n\nBefore creating tables, columns, or other metadata, ensure a solution exists to contain the work:\n\n1. Ask the user: \"What solution should these components go into?\"\n2. If a solution name is in `.env` (`SOLUTION_NAME`), confirm it with the user\n3. If no solution exists yet, **load the `dv-solution` skill** and follow its publisher discovery + solution creation flow. Use the SDK — **never raw Web API** — to create publisher and solution records:\n\n```python\n# Quick reference — full pattern with publisher discovery is in dv-solution\npublisher_id = client.records.create(\"publisher\", {\n    \"uniquename\": \"\u003Cname>\", \"friendlyname\": \"\u003Cdisplay>\",\n    \"customizationprefix\": \"\u003Cprefix>\", \"description\": \"\u003Cdesc>\",\n})\nsolution_id = client.records.create(\"solution\", {\n    \"uniquename\": \"\u003CName>\", \"friendlyname\": \"\u003CDisplay>\",\n    \"version\": \"1.0.0.0\",\n    \"publisherid@odata.bind\": f\"\u002Fpublishers({publisher_id})\",\n})\n```\n\n4. Pass `solution=\"\u003CUniqueName>\"` on all SDK calls, or include `\"MSCRM.SolutionName\": \"\u003CUniqueName>\"` header on raw Web API metadata calls.\n\nCreating metadata without a solution means it exists only in the default solution and cannot be cleanly exported or deployed. Always solution-first.\n\n### Step 3 — Pull to Repo (MANDATORY)\n\nAny time you make a metadata change (via MCP, Web API, or the maker portal), **you must** end the session by pulling:\n\n```bash\npac solution export --name \u003CSOLUTION_NAME> --path .\u002Fsolutions\u002F\u003CSOLUTION_NAME>.zip --managed false\npac solution unpack --zipfile .\u002Fsolutions\u002F\u003CSOLUTION_NAME>.zip --folder .\u002Fsolutions\u002F\u003CSOLUTION_NAME>\nrm .\u002Fsolutions\u002F\u003CSOLUTION_NAME>.zip\ngit add .\u002Fsolutions\u002F\u003CSOLUTION_NAME>\ngit commit -m \"feat: \u003Cdescription>\"\ngit push\n```\n\nThe repo is always the source of truth.\n\n---\n\n## Scripts\n\nThe plugin ships `scripts\u002Fauth.py` (Azure Identity token\u002Fcredential acquisition — used by all other scripts and the SDK). Any Web API call beyond a one-off query should be a Python script committed to `\u002Fscripts\u002F`, using `scripts\u002Fauth.py` for tokens. For writes see `dv-data`; queries and analytics see `dv-query`; post-import validation see `dv-solution`.\n\n---\n\n## Windows Scripting\n\nPlatform-specific shell rules (ASCII in `.py`, no multiline `python -c`, PAC PowerShell wrapper, unbuffered background output) live in [`references\u002Fwindows-scripting.md`](references\u002Fwindows-scripting.md). Read it when running on Windows.\n","# Skill: Overview — What to Use and When\n\nLoad this skill first for Dataverse work: scope, tool capabilities, hard rules, and the change lifecycle. It does **not** route; the agent auto-selects and chains specialist skills using their WHEN\u002FDO NOT USE WHEN frontmatter triggers. Users describe tasks in plain English; never ask them to name a skill or command.\n\n---\n\n## What This Plugin Covers\n\nDataverse \u002F Power Platform work for **every persona** — builders and agent devs, data scientists, environment admins, and business users — delivered by specialist skills. The agent loads and routes to these automatically via their frontmatter triggers — you never invoke them by name.\n\n| Area | Skill |\n| --- | --- |\n| Connect, authenticate, configure MCP, verify the environment | `dv-connect` |\n| Schema — tables, columns, relationships, forms, views; inspect existing schema | `dv-metadata` |\n| Data writes — record CRUD, bulk create\u002Fupdate\u002Fupsert, CSV\u002FFK-ordered import, sample data | `dv-data` |\n| Data reads & analytics — OData queries, QueryBuilder, FetchXML (aggregation + N:N joins), DataFrames | `dv-query` |\n| Solution ALM — create, export, import, pack\u002Funpack, post-import validation | `dv-solution` |\n| Finance and Operations X++ — author, build, deploy, DB sync, verify | `erp-xpp` |\n| Finance and Operations UDE developer-database access (JIT SQL) | `erp-sql` |\n| Environment administration — bulk delete, retention\u002Farchival, org & OrgDB settings, recycle bin | `dv-admin` |\n| Security & access — roles, users, application users, business units, self-elevation (PAC CLI) | `dv-security` |\n\n**Model-driven apps:** the building blocks (tables, forms, views) are covered by `dv-metadata`; composing the app shell itself — site map and navigation — is **not yet** a first-class skill.\n\n**Out of scope:**\n\n- **Canvas apps** — a different technology; use `pac canvas` or the maker portal\n- **Power Automate flows** — use the maker portal or the Power Automate Management API\n- **Azure infrastructure** beyond what's needed for service-principal setup\n- **Business Central** or other Dynamics products\n\n---\n\n## Hard Rules\n\nSafety rules (init, auth, env confirmation) are non-negotiable. Tool selection (Rules 1, 2, 4) is capability-based.\n\n### 0. Check Init State First\n\nBefore writing ANY code or creating ANY files, **actively search your callable tools for any tool whose name or description contains `dataverse`** (tools may be registered under environment-specific names like `mcp__dataverse_\u003Corgid>__read_query`, not just generic names). **If any Dataverse MCP tool is found, use it directly — skip the init check and all setup.** MCP auth is host-managed and does not need `.env` or `scripts\u002Fauth.py`. Never declare MCP unavailable based solely on the initially displayed tool list.\n\nIf no MCP tool is found, check for an existing CLI profile — it's the fastest path for data operations:\n\n```bash\ndataverse auth who\n```\n\nIf that shows an active profile with an environment URL, use CLI directly for data operations (see `dv-query`\u002F`dv-data` examples) — no `.env`, `auth.py`, or workspace setup needed. For explicit \"connect\" or \"set up\" requests, run `dv-connect` regardless — it configures MCP, SDK, and PAC.\n\nIf no CLI profile exists, check workspace init:\n\n```bash\nls .env scripts\u002Fauth.py 2>\u002Fdev\u002Fnull\n```\n\n- If BOTH exist: proceed to the task.\n- If EITHER is missing: run `python \u003Cplugin-scripts>\u002Fauth.py --ping`. If it prints `REACHABLE` (exit 0), the workspace is bootable without pip -- confirm the URL and proceed. If `--ping` fails, **run `dv-connect`**.\n\n### 1. Python for scripting; the CLIs and MCP are first-class\n\nPython is the language for automation **logic** (transformation, control flow, retry, CSV). The toolchain (`scripts\u002Fauth.py`, the SDK, skill examples) is Python-based. But MCP tools, the Dataverse CLI (`dataverse`), the Python SDK, and the PAC CLI (`pac`) are all **first-class tool invocations** — use whichever fits. The Dataverse CLI has the same standing as `pac`, which is invoked freely across the solution and metadata skills.\n\n**NEVER:**\n- Write automation *logic* in JavaScript\u002FTypeScript\u002FNode.js (`npm`, `yarn`, `pnpm`, `package.json`, `node_modules\u002F`)\n- Use `@azure\u002Fmsal-node`, `@azure\u002Fidentity`, or any Node.js Azure SDK\n- Implement a bespoke MSAL \u002F device-code flow — auth is `scripts\u002Fauth.py`, `pac auth`, and the Dataverse CLI\n\n**ALWAYS:**\n- Use `pip install` and the Python SDK (`PowerPlatform-Dataverse-Client`) for data and schema logic\n- Use `scripts\u002Fauth.py` for tokens\u002Fcredentials; `azure-identity` (Python) for Azure credential flows\n- Treat the Dataverse CLI (`dataverse`) and `pac` as allowed first-party CLIs\n\n### 2. Pick the surface that fits — capability awareness, not a fixed order\n\nNo mandated tool order. Each surface has a capability profile; pick what fits the job and the surface you are already in — soft defaults, not a required sequence. The full matrix is in **Tool Capabilities** below; the principles:\n\n- Prefer a managed surface (MCP, the Dataverse CLI, or the SDK) over hand-rolled raw OData — they carry auth, paging, retry, and geo routing that raw HTTP re-implements. When MCP can't handle it (bulk >25 records, large reads, advanced schema like forms\u002Fviews\u002FN:N relationships\u002Fglobal option sets\u002Falternate keys, multi-step workflows, analytics, or MCP isn't available), the **Python SDK** is the default.\n- **Raw Web API is the last-resort escape hatch** for surfaces with no managed path (unbound actions like `PublishXml`, global option sets, anything without a first-class SDK\u002FCLI command) — and even then prefer `dataverse api` (managed auth, exit codes) over hand-rolled `urllib`\u002F`get_token`. Forms\u002Fviews are **not** raw-only (SDK `records.create`\u002F`update` on `systemform`\u002F`savedquery`; only `PublishXml` needs `dataverse api`). Aggregation\u002FN:N joins aren't raw-only either: `client.query.fetchxml()` (aggregates + link-entity), or the CLI's `data associate` for N:N writes.\n- If an SDK method fails or a PAC command seems missing, check the relevant skill before hand-rolling raw HTTP.\n\n**Field casing:** `$select`\u002F`$filter` use lowercase logical names (`new_name`). `$expand` and `@odata.bind` use Navigation Property Names that are case-sensitive and must match `$metadata` (e.g., `new_AccountId`). Getting this wrong causes 400 errors. **SDK record payloads:** provide the correct SchemaName casing on `@odata.bind` keys (e.g., `new_AccountId@odata.bind`); the SDK does not auto-correct wrong casing. **Raw Web API calls** (forms, views, metadata): casing is entirely manual — a lowercase `new_accountid@odata.bind` will 400.\n\n**Publisher prefix:** Never hardcode a prefix (especially `new`); query existing publishers and ask the user. The prefix is permanent. See the solution skill's publisher discovery flow.\n\n### 3. Use Documented Auth Patterns\n\nThree entry points, one shared sign-in:\n- **`dataverse auth create`** (Dataverse CLI) writes a shared MSAL token cache. That sign-in serves CLI, MCP proxy, **and** `scripts\u002Fauth.py` via `msal-extensions`.\n- **`scripts\u002Fauth.py`** — Python\u002FSDK auth (service principal → shared CLI cache → device-code). Prefer **`get_client(skill)`** (SDK); `get_plugin_headers(skill, get_token())` is the **fallback for SDK gaps** — both stamp attribution.\n- **`pac auth create`** (PAC CLI) authenticates `pac` for `dv-solution`, `dv-admin`, and `erp-xpp`.\n\n**Telemetry attribution (keep it deterministic):** every request carries a closed-schema `app=dataverse-skills\u002F\u003Cver>;skill=\u003Cskill>;agent=\u003Cagent>` context so the server sees which skill routed each OData call. It is baked in — `get_client(skill)` and `get_plugin_headers(skill, ...)` stamp it on the SDK and raw-HTTP paths; the Dataverse CLI auto-stamps `DataverseCli\u002F\u003Cver>` + the command, and you add the skill with `--context \"app=dataverse-skills\u002F\u003Cver>;skill=\u003Cskill>;agent=\u003Cagent>\"` (the CLI wraps it in parentheses itself — do not pre-wrap). Never modify, omit, or free-form this context — it is a closed schema (allowlisted skill\u002Fagent, no PII).\n\n**NEVER:**\n- Read or parse raw token cache files (e.g., `tokencache_msalv3.dat`) — reuse the cache only through `scripts\u002Fauth.py` \u002F `msal-extensions`\n- Implement your own MSAL device-code flow\n- Hard-code tokens or credentials in scripts\n- Invent a new auth mechanism\n\nIf auth is expired or missing, re-run `dataverse auth create` (or `pac auth create`), or check `.env`. See the `dv-connect` skill.\n\n### 4. Be honest about gaps — don't hallucinate\n\nEach skill documents a tested sequence — follow it when it fits. The skills are the source of truth for the supported, non-deprecated API. If a call fails with `AttributeError`, the installed SDK version may not have it — check the skill's version note and use the documented alternative.\n\n**The honesty guard:** if you hit a gap the skills don't cover, say so and suggest a workaround. **Do not hallucinate an unsupported path** — do not invent a method, parameter, or endpoint that isn't documented. If unsure, say so.\n\n**Connectivity is not auth.** A `login.microsoftonline.com` token can succeed while the org's data-plane domain is unreachable (restricted-egress hosts like ChatGPT Work Mode). Never report a count or result you didn't get from a real call that returned — verify with `python scripts\u002Fauth.py --check`; if it fails, say \"unreachable,\" never a fabricated number. On a constrained host, lead with the SDK, not CLI\u002FMCP. See `dv-connect\u002Freferences\u002Fheadless-hosts.md`.\n\n---\n\n## Tool Capabilities — Which Tool for Which Job\n\nUnderstanding the real limits of each tool prevents hallucinated paths. This is the one piece of context no individual skill owns.\n\n| Tool | Use for | Does NOT support |\n| --- | --- | --- |\n| **MCP Server** | Data CRUD (create\u002Fread\u002Fupdate\u002Fdelete records, batch up to 25 per call), table create\u002Fupdate\u002Fdelete + column add (incl. local choice\u002Fmultiselect + lookup\u002Fcustomer), schema + record inspection via `describe`, metadata search (`search`), data + file-content search (`search_data`, when Dataverse search is enabled), file upload\u002Fdownload | Forms, Views, **global** Option Sets, **N:N** relationships, alternate keys, Solutions (lookup + local choice\u002Fmultiselect columns **are** supported via `create_table`\u002F`update_table`). **Note:** table creation may timeout but still succeed — always `describe` (e.g. `describe('tables\u002F{name}')`) before retrying. Run queries sequentially (parallel calls timeout). Column names with spaces normalize to underscores (e.g., `\"Specialty Area\"` → `cr9ac_specialty_area`). **SQL (`read_query`):** supports `JOIN`, `GROUP BY` (COUNT\u002FSUM\u002FAVG\u002FMIN\u002FMAX), `TOP`, `WHERE`, `ORDER BY`; does NOT support `DISTINCT`, `HAVING`, subqueries, `OFFSET`, `UNION`, `CASE`\u002F`IF`, `CAST`\u002F`CONVERT`, CTE, or date functions. For those, use `client.query.sql()` (also allows `DISTINCT`, \u003C5K rows), `$apply`, or a builder->DataFrame with pandas — see `dv-query`. **Bulk:** MCP `create_record`\u002F`update_record`\u002F`delete_record` batch up to 25 records per call; for larger bulk use the SDK `CreateMultiple` — see `dv-data`. |\n| **Python SDK (`dv-data`)** | Scripted data writes, especially at volume. Record CRUD, upsert (alternate keys), bulk create\u002Fupdate\u002Fupsert (CreateMultiple\u002FUpdateMultiple\u002FUpsertMultiple), CSV import with lookup resolution, file column uploads (chunked >128MB) | global Option Sets, record association (`$ref`), `$apply` aggregation, table\u002Fcolumn\u002Frelationship creation (use `dv-metadata`), custom action invocation |\n| **Python SDK (`dv-query`)** | Bulk reads and analytics. Multi-page record iteration, OData queries (select\u002Ffilter\u002Fexpand\u002Forderby), QueryBuilder fluent API, GUID-free display (formatted values), `$expand` to resolve lookups, **aggregation and N:N joins via `client.query.fetchxml()`** (aggregate FetchXML + link-entity), pandas DataFrame handoff (`client.query.builder(...).execute().to_dataframe()`) for exports, Jupyter notebook snippets | OData `$apply` and N:N `$expand` on the **QueryBuilder** path — use `records.list(expand=...)` for N:N, or `fetchxml()` for aggregates (not raw `urllib`) |\n| **Dataverse CLI (`dataverse`)** | Headless data plane: `data` CRUD, `associate`\u002F`disassociate` (N:N + `$ref`), `data upload`; `api request`\u002F`invoke` (Web API escape hatch); `api list`\u002F`describe` (Custom API discovery) | Metadata\u002Fschema (use SDK — `dv-metadata`), solution ALM (use PAC), forms\u002Fviews; **blocked on ChatGPT web \u002F Codex cloud** (no .NET runtime) — use the SDK |\n| **PAC CLI** | Solution export\u002Fimport\u002Fpack\u002Funpack, ERP X++ SDK install + package scaffold\u002Fcompile\u002Fdeploy\u002FDB sync, environment create\u002Flist\u002Fdelete\u002Freset, auth profile management, plugin updates (`pac plugin push` — first-time registration requires Web API), user\u002Frole assignment (`pac admin assign-user`), add solution components (`pac solution add-solution-component`) | Data CRUD, Dataverse metadata creation (tables\u002Fcolumns\u002Fforms), listing solution components (no `list-components` — query `solutioncomponent` via SDK\u002FCLI); X++ SDK install\u002Fcompile require Windows |\n| **Azure CLI** | App registrations, service principals, credential management | Dataverse-specific operations |\n| **GitHub CLI** | Repo management, GitHub secrets, Actions workflow status | Dataverse-specific operations |\n| **Raw Web API** (last resort) | Only when **no** managed surface exposes the operation — i.e. not doable via MCP, the Python SDK, the Dataverse CLI, or the `dataverse api` escape hatch. Genuine cases: unbound actions like `PublishXml`, global option sets, and similar edge cases (**not** forms\u002Fviews — those are SDK record CRUD on `systemform`\u002F`savedquery`). Even then, prefer `dataverse api` (managed auth + skill attribution) over hand-rolled `urllib`. | Functionally nothing (full OData\u002FMetadataService) — but raw `urllib` bypasses managed auth, paging, retry, and skill attribution, so treat it as the path of last resort |\n\n**Routing:** the table shows what each surface does; the *how to choose* principle (soft defaults, not a fixed order) is Hard Rule 2. MCP tools not in your list? Load `dv-connect`.\n\n**Volume guidance:** CLI `dataverse data create\u002Fquery\u002Fcount` for one-off commands; MCP for up to ~25 records per call or simple filters; the SDK's `CreateMultiple` for larger bulk writes (chunk large sets starting ~1,000 — see `dv-data`) and `dv-query` for bulk reads; SDK `fetchxml()` for aggregation.\n\n**SDK method cheat-sheet** (anti-hallucination, *not* a preference signal): SDK method names are the least discoverable surface, so agents invent them. This maps common ops to the exact call. Each op is equally reachable via MCP\u002FCLI per Hard Rule 2; see the noted skill for the full pattern.\n\n| Operation | SDK call | Skill |\n| --- | --- | --- |\n| Create \u002F update \u002F delete records | `client.records.create()` \u002F `.update()` \u002F `.delete()` (pass a list for bulk) | `dv-data` |\n| Upsert on an alternate key | `client.records.upsert()` | `dv-data` |\n| Query \u002F filter records | `client.records.list(...)` (flat) or `.list_pages(...)` (streaming) | `dv-query` |\n| One record by GUID | `client.records.retrieve(table, guid)` (`None` if missing) | `dv-query` |\n| Aggregation \u002F server-side joins | `client.query.fetchxml(xml)` (aggregates + link-entity) | `dv-query` |\n| Fluent query build (chainable) | `client.query.builder(Table).where(...).execute()` | `dv-query` |\n| Limited SQL read | `client.query.sql(\"SELECT ...\")` | `dv-query` |\n| Load into pandas | `client.query.builder(table).select(...).execute().to_dataframe()` | `dv-query` |\n| Upload to a file column | `client.files.upload(...)` | `dv-data` |\n| Create tables \u002F columns \u002F lookups \u002F N:N | `client.tables.create()` \u002F `.add_columns()` \u002F `.create_lookup_field()` \u002F `.create_many_to_many_relationship()` | `dv-metadata` |\n| Create an alternate key (enables upsert) | `client.tables.create_alternate_key(...)` | `dv-metadata` |\n| Inspect existing schema | `client.tables.list_columns(table)` \u002F `.list_table_relationships(table)` | `dv-metadata` |\n| Create publisher \u002F solution | `client.records.create(\"publisher\" \u002F \"solution\", {...})` | `dv-solution` |\n\n### MCP Availability Check\n\nIf the user's request involves MCP — explicitly or implicitly — search your callable tools for any tool whose name or description contains `dataverse` (same search as Hard Rule 0).\n\n**If MCP NOT available and user explicitly asked for MCP** (\"use MCP to query\"):\n1. **Do NOT silently fall back** to the Python SDK or Web API\n2. Tell the user: \"Dataverse MCP tools aren't configured in this session yet.\"\n3. Load `dv-connect` to set up the MCP server\n4. After MCP is configured, **stop** — the session must restart for MCP tools to appear. Do not proceed with SDK.\n\n**If MCP NOT available and user asked a data question** (\"how many accounts?\"):\n1. Use the CLI (if profile exists) or SDK to answer. Do not block the user.\n2. After answering, offer: \"MCP would handle this conversationally — want me to set it up?\"\n\nThe distinction matters: explicit MCP request → block and set up MCP; implicit question → answer with SDK, offer MCP setup.\n\n**If MCP tools ARE available**, prefer MCP for simple reads\u002Fqueries\u002Fsmall CRUD. Use the SDK only when a script is needed.\n\n---\n\n## The Change Lifecycle — Operate Safely\n\nFor any real change, walk these three steps in order: confirm **where**, confirm the **container**, then persist the **result**.\n\n### Step 1 — Confirm the Environment (MANDATORY)\n\nDataverse work often spans multiple environments (dev, test, staging, prod) and multiple sets of credentials. **Never assume** the active PAC auth profile, values in `.env`, or anything from memory or a previous session reflects the correct target for the current task.\n\n**Before the FIRST operation that touches a specific environment** — creating a table, deploying a plugin, pushing a solution, inserting data — you MUST:\n\n1. Show the user the environment URL you intend to use\n2. Ask them to confirm it is correct\n3. Run `pac org who` to verify the active connection matches\n\n> \"I'm about to make changes to `\u003CURL>`. Is this the correct target environment?\"\n\n**Do not proceed until the user explicitly confirms.** This is the single most important safety check in the plugin. Skipping it risks making irreversible changes to the wrong environment. Once confirmed for a session, you do not need to re-confirm for every subsequent operation in the same session against the same environment.\n\n### Step 2 — Confirm the Solution (before any metadata change)\n\nBefore creating tables, columns, or other metadata, ensure a solution exists to contain the work:\n\n1. Ask the user: \"What solution should these components go into?\"\n2. If a solution name is in `.env` (`SOLUTION_NAME`), confirm it with the user\n3. If no solution exists yet, **load the `dv-solution` skill** and follow its publisher discovery + solution creation flow. Use the SDK — **never raw Web API** — to create publisher and solution records:\n\n```python\n# Quick reference — full pattern with publisher discovery is in dv-solution\npublisher_id = client.records.create(\"publisher\", {\n    \"uniquename\": \"\u003Cname>\", \"friendlyname\": \"\u003Cdisplay>\",\n    \"customizationprefix\": \"\u003Cprefix>\", \"description\": \"\u003Cdesc>\",\n})\nsolution_id = client.records.create(\"solution\", {\n    \"uniquename\": \"\u003CName>\", \"friendlyname\": \"\u003CDisplay>\",\n    \"version\": \"1.0.0.0\",\n    \"publisherid@odata.bind\": f\"\u002Fpublishers({publisher_id})\",\n})\n```\n\n4. Pass `solution=\"\u003CUniqueName>\"` on all SDK calls, or include `\"MSCRM.SolutionName\": \"\u003CUniqueName>\"` header on raw Web API metadata calls.\n\nCreating metadata without a solution means it exists only in the default solution and cannot be cleanly exported or deployed. Always solution-first.\n\n### Step 3 — Pull to Repo (MANDATORY)\n\nAny time you make a metadata change (via MCP, Web API, or the maker portal), **you must** end the session by pulling:\n\n```bash\npac solution export --name \u003CSOLUTION_NAME> --path .\u002Fsolutions\u002F\u003CSOLUTION_NAME>.zip --managed false\npac solution unpack --zipfile .\u002Fsolutions\u002F\u003CSOLUTION_NAME>.zip --folder .\u002Fsolutions\u002F\u003CSOLUTION_NAME>\nrm .\u002Fsolutions\u002F\u003CSOLUTION_NAME>.zip\ngit add .\u002Fsolutions\u002F\u003CSOLUTION_NAME>\ngit commit -m \"feat: \u003Cdescription>\"\ngit push\n```\n\nThe repo is always the source of truth.\n\n---\n\n## Scripts\n\nThe plugin ships `scripts\u002Fauth.py` (Azure Identity token\u002Fcredential acquisition — used by all other scripts and the SDK). Any Web API call beyond a one-off query should be a Python script committed to `\u002Fscripts\u002F`, using `scripts\u002Fauth.py` for tokens. For writes see `dv-data`; queries and analytics see `dv-query`; post-import validation see `dv-solution`.\n\n---\n\n## Windows Scripting\n\nPlatform-specific shell rules (ASCII in `.py`, no multiline `python -c`, PAC PowerShell wrapper, unbuffered background output) live in [`references\u002Fwindows-scripting.md`](references\u002Fwindows-scripting.md). Read it when running on Windows.\n",{"name":5,"description":7},"main","65bb1d3b311d2fd2ba4b9c5918f81712fed43a33",".github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-overview",65,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 08:33:20",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add microsoft\u002FDataverse-skills --skill dv-overview",{"tool":71,"command":72},"bunx","bunx skills add microsoft\u002FDataverse-skills --skill dv-overview",{"tool":74,"command":75},"pnpm","pnpm dlx skills add microsoft\u002FDataverse-skills --skill dv-overview","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-overview\u002FSKILL.md",true,[79,85],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Ferp-target.md","REFERENCE","参考文档",9668,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-overview\u002Freferences\u002Ferp-target.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fwindows-scripting.md",1267,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-overview\u002Freferences\u002Fwindows-scripting.md",[90,116,144,161,178,209],{"skillNo":91,"name":92,"nameZh":17,"description":93,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":51},"01M6PJ8NCTZS7PZ5AVHXERS10A","erp-sql","Temporary Finance and Operations SQL access and bounded physical-table reads for unified development environments (UDEs) only, requiring the environment System administrator (sysAdmin) role. Use when the user explicitly requests direct ERP SQL access, a temporary SQL password, a sqlcmd connection, or a table read in an established ERP SQL workflow.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Ferp-sql\u002FSKILL.md",[],[97,98,34,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],"erp sql","sql","development","operations","requests","password","use","sqlcmd","system","environment","for","only","table","bounded","environments","direct","read","workflow","access",{"skillNo":117,"name":118,"nameZh":119,"description":120,"descriptionZh":121,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":122,"categories":123,"keywords":128,"publishedAt":51},"01M69AR6XKM814KPH4PEEQE7R7","erp-xpp","X++ 代码开发与部署","X++ code development lifecycle for Finance and Operations — scaffold models, author classes, custom services\u002FAPIs, and data entities, install matching SDKs, compile deployable packages, deploy packages, synchronize databases, and verify deployed artifacts. Use when the user explicitly requests creating, building, compiling, packaging, deploying, DB-syncing, or verifying X++ customizations, or an end-to-end ERP code change.","面向 Finance and Operations 的 X++ 代码开发生命周期——搭建模型、编写类、自定义服务\u002FAPI 和数据实体，安装匹配的 SDK，编译可部署包、部署包、同步数据库，并验证已部署的工件。当用户明确要求创建、构建、编译、打包、部署 X++ 自定义项、同步数据库或进行验证，或进行端到端的 ERP 代码变更时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Ferp-xpp\u002FSKILL.md",[124,125],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":126,"categoryName":127,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[129,130,34,131,132,99,107,133,134,135,38,136,137,138,139,50,140,141,142,143],"xpp","erp xpp","compiling","sdks","compile","lifecycle","custom","install","packages","development lifecycle","code","databases","db","packaging","end",{"skillNo":145,"name":146,"nameZh":147,"description":148,"descriptionZh":149,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":156,"publishedAt":51},"01M69AR3MEKCYBD8FEKK80KJ5B","dv-solution","Dataverse 解决方案部署管理","Dataverse solution lifecycle — create, export, import, promote across environments, and validate deployments. Use when the user wants to package customizations, deploy to another environment, or move work between dev \u002F test \u002F prod.","Dataverse 解决方案生命周期——创建、导出、导入、跨环境提升以及验证部署。当用户想要打包自定义配置、部署到其他环境，或在开发\u002F测试\u002F生产环境之间迁移工作成果时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-solution\u002FSKILL.md",[152,153],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":154,"categoryName":155,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[157,158,159,160,48],"dv solution","test","validate","deploy",{"skillNo":162,"name":163,"nameZh":164,"description":165,"descriptionZh":166,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":167,"categories":168,"keywords":175,"publishedAt":51},"01M69AR0SGRQFYSFT071ZAS19V","dv-security","Dataverse 安全权限管理","Security-role assignment, user access, application users, business units, and admin self-elevation in Dataverse environments. Use when the user wants to give someone access, grant a role, become an admin, or add a service principal.","Dataverse 环境中的安全角色分配、用户访问、应用程序用户、业务单元以及管理员自我提权。当用户想要授予某人访问权限、授予角色、成为管理员或添加服务主体时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-security\u002FSKILL.md",[169,172],{"categoryNo":170,"categoryName":171,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",{"categoryNo":173,"categoryName":174,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTFDX7M21YT75733H52N36","身份与访问管理",[176,177,48],"dv security","security",{"skillNo":179,"name":180,"nameZh":181,"description":182,"descriptionZh":183,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":184,"categories":185,"keywords":192,"publishedAt":51},"01M69AQX9TXX472D6Q59RYSMXY","dv-query","Dataverse 数据查询分析","Bulk reads, multi-page iteration, and analytics over Dataverse data. Use when the user wants to read, list, filter, aggregate, group, join, or analyze records — including pandas DataFrame workflows and notebook exploration. Also covers ERP (Finance and Operations \u002F F&O) business-data reads and runtime entity, schema, or action discovery; load dv-overview first, then this skill.","对 Dataverse 数据进行批量读取、多页迭代和分析。当用户想要读取、列出、筛选、聚合、分组、联接或分析记录时使用——包括 pandas DataFrame 工作流和 notebook 探索。还涵盖 ERP（Finance and Operations \u002F F&O）业务数据读取，以及运行时实体、架构或操作发现；请先加载 dv-overview，再加载本技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-query\u002FSKILL.md",[186,189],{"categoryNo":187,"categoryName":188,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":190,"categoryName":191,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[43,193,194,195,196,48,197,198,199,200,201,202,203,113,204,205,103,206,207,208],"dv query","records","analytics","workflows","exploration","iteration","notebook","join","filter","analyze","dataframe","list","discovery","user","bulk","pandas",{"skillNo":210,"name":211,"nameZh":212,"description":213,"descriptionZh":214,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":215,"categories":216,"keywords":219,"publishedAt":51},"01M69AQP3WCSN3K3DCRD0E2PFF","dv-metadata","Dataverse 数据模型设计与查看","Dataverse schema authoring and inspection — tables, columns, relationships, forms, and views. Use when the user wants to define, evolve, or inspect the data model — add a column, create a table, set up a lookup, customize a form, build a view, or list existing columns and relationships.","Dataverse 架构编写与检查——表、列、关系、表单和视图。当用户希望定义、演进或检查数据模型时使用——添加列、创建表、设置查找（lookup）、自定义表单、构建视图，或列出现有的列和关系。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataverse-skills\u002Fblob\u002Fmain\u002F.github\u002Fplugins\u002Fdataverse\u002Fskills\u002Fdv-metadata\u002FSKILL.md",[217,218],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[220,48,221],"dv metadata","customize"]