/powerplatform-core:dataverse-schemafrom powerplatform-core
Creates and modifies Dataverse schema metadata — tables, columns, lookups, choices, alternate keys, forms, views, form ribbon, event handlers, and table icons. Useful for schema design before metadata exists.
Ships in powerplatform-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill owns Dataverse schema work: turning a requirement into tables, columns, lookups, alternate keys, forms, views, the form-level ribbon, and table icons, and applying those changes through the shared SDK metadata helpers. It is the metadata branch of the powerplatform-core orchestrator — start there to discover repo context (scripts/discover_context.py), confirm the target solution and publisher prefix, and pick the lightest surface. Keep every change solution-scoped: add or update only the scoped components in the target unmanaged solution or selected patch; that does not mean defaulting to a whole-solution import.
Prefer supported, source-controlled metadata APIs and the helpers below over hand-edited customizations.xml. Edit raw form/ribbon/view XML only when the task explicitly requires it or when the unpacked solution already stores that artifact as XML.
For row create/update/upsert and standalone query authoring (OData/FetchXML/"List rows"), use the data-operations skill instead. For entity-level command bars, new buttons/commands, or new display rules, that exceeds the form-ribbon helper — see the workflow note below.
The Python helpers live in the plugin's scripts/ directory at the plugin root, not inside this skill folder. Resolve the plugin root and invoke a helper like this (use $CODEX_PLUGIN_ROOT, also exposed as $PLUGIN_ROOT, when running under Codex; if installed standalone, the scripts/ folder sits beside this bundle):
python "$CLAUDE_PLUGIN_ROOT/scripts/create_table.py" --spec ./table.json --auth-dialogpython "$CODEX_PLUGIN_ROOT/scripts/create_table.py" --spec ./table.json --auth-dialogDesign helpers (offline planning — take --spec plus optional --repo-root / --output, no live write):
design_dataverse_schema.py — turn a structured requirement into resolved logical/schema names, alternate-key candidates, relationship definitions, starter FetchXML/OData, and helper-ready specs for create_table.py, create_field.py, and create_lookup.py.Live metadata helpers (each takes --spec — a JSON object or a path to a JSON file — plus shared auth flags: --environment-url/--target-url, --username, --tenant-id, --auth-dialog, --auto-validate, --auth-flow {auto,devicecode,interactive}, --force-prompt, --verbose):
create_table.py — create a table (primary name, ownership, notes/activities/audit).create_field.py — create a column (string, memo, integer, decimal, money, boolean, datetime, choice, multiselect, etc.). For an auto-number column, create a string field and pass autoNumberFormat (e.g. "T-{SEQNUM:5}" or "{DATETIMEUTC:yyyyMMdd}-{SEQNUM:4}"); design_dataverse_schema.py also accepts type: "autonumber" as shorthand (which requires autoNumberFormat).create_lookup.py — create a lookup relationship between two tables.Computed columns (formula / calculated / rollup) are not created by this helper — deliberately. Power Fx formula columns are authored only in the Power Apps maker portal (Microsoft does not support defining the formula in code), and classic calculated/rollup columns depend on an unsupported hand-authored WWF XAML definition that silently produces an Invalid, read-only column when malformed. create_field.py therefore rejects a computed request (type: formula|calculated|rollup, a computed sub-object, or a raw sourceType/formulaDefinition) with a redirect. The supported headless path: author the column once in the maker portal, add it to the unmanaged solution, and move it between environments via solution import (solution-alm-delivery / deploy_solution.py). Formula columns are the modern choice over calculated/rollup for new work.
update_main_form.py — update a named main form's layout (tabs, sections, field placement, subgrids).update_form_events.py — register form script libraries and event handler bindings on a form.patch_form_xml.py — targeted systemform.formxml patch operations (replace header/body fragments, insert XML, set element attributes) on a named form; also accepts --repo-root.patch_form_ribbon.py — targeted form-level RibbonDiffXml patch operations on a named form; also accepts --repo-root.update_view.py — update a named view's FetchXml and/or LayoutXml (columns, widths, sort, filter).set_table_icon.py — set a custom table's icon metadata from existing image web resources.design_dataverse_schema.py to produce reviewable names, alternate keys, relationships, and query examples. Treat it as a design layer, not a deployment shortcut. If the task is "create a field" with no detail, ask for the data type and whether it belongs on forms, views, or automation filters.update_main_form.py for layout, update_form_events.py for library/handler registration, and patch_form_xml.py for targeted XML fragment patches. Target the smallest XPath and fragment that satisfies the requirement.FetchXml (records and sort) and LayoutXml (visible columns) together when the request changes both data and presentation. Ensure any referenced image web resources or JavaScript functions are part of the same solution change.patch_form_ribbon.py for targeted form-level command changes. For subgrid command visibility/enablement, prefer static command definitions plus JavaScript CustomRule in a web resource; avoid XML ValueRule for selected-row field or status logic unless that exact rule shape is already proven on the target live grid.set_table_icon.py with existing image web resources. Do not invent image files — if the user does not provide assets, ask for them; confirm whether both classic and unified interface entries need updates.powerplatform-core orchestrator before any live metadata write (create, update, patch, icon, or import). Stop if any required field is missing.--auth-dialog) so the user confirms the target URL and selects the working solution before execution; warn when the requested target does not match the active PAC profile. Treat DEV as the working environment and TEST as validation. Do not touch production.Entities/<entity>/RibbonDiff.xml and related web resources, bump version, import, targeted publish, read-back) and ask before accepting the broader blast radius.Read the shared references at the plugin's references/ directory for depth:
references/dataverse-design.md — requirement-to-schema design, alternate keys, and query-shape planning before metadata execution.references/dataverse-metadata.md — tables, columns, relationships, forms, views, icons, and app/sitemap exposure.references/queries-and-xml.md — FetchXml/LayoutXml, view XML, form/ribbon XML, and direct solution XML editing rules.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub satriotsubasa/powerplatform-core --plugin powerplatform-core12 skills in this plugin
/code-appsUse for Power Apps Code Apps - the pro-code model where a standalone Vite-built React/Vue/TS single-page app uses the `@microsoft/power-apps` client library and is pushed into a Power Platform environment with no server to manage. Covers scaffolding from the official Vite template, initializing with `power.config.json`, adding Dataverse data sources that generate typed model/service files, local dev, building, and pushing via `npx power-apps push` (npm CLI) or legacy `pac code push`. Trigger whenever the user mentions a code app, `power.config.json`, `@microsoft/power-apps`, `pac code` / `power-apps` CLI, a `CodeApp/` folder, or wants to build, run, or push a custom SPA into Power Platform, even if no helper is named. Not for PCF controls embedded in model-driven forms (use pcf-and-web-resources) or Canvas/maker apps.
/custom-connectorsUse to DESIGN Power Platform custom connectors and integration wrappers - review an OpenAPI/Swagger description, choose the auth shape (API key, OAuth2, basic, none), inventory operations, and decide whether to expose an API as a direct custom connector or behind an Azure Function / API facade. Produces a connector name, auth approach, operation summaries, a recommended pattern, suggested environment variables, and solution-aware connection-reference guidance. Trigger whenever the user mentions a custom connector, OpenAPI/Swagger for Power Platform, connecting a flow or app to an external/REST API, an integration wrapper or facade, or whether an Azure Function should front an integration, even if no helper is named. Design-first - it does not publish the connector. Not for authoring the flow that calls it (use power-automate-flows) or server-side Dataverse logic (use plugins-server-extensions).
Other plugins' skills for the same job