skills/cli/umbraco-models-builder/SKILL.md
Trigger and inspect ModelsBuilder source generation
npx skillsauth add albanist/umbraco_cli umbraco-models-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
PREREQUISITE: Read
../umbraco-shared/SKILL.mdfor auth, global flags, and security rules.
umbraco models-builder <command> [flags]
| Command | Description |
|---------|-------------|
| models-builder dashboard | Get dashboard: mode, modelsNamespace, outOfDate flag, last error |
| models-builder status | Get out-of-date status: Current | OutOfDate | Unknown |
umbraco models-builder dashboard
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --fields | string | — | Limit response fields |
umbraco models-builder status
Safety: Always use
--dry-runfirst. Remove the flag only after verifying the dry-run output.
| Command | Description |
|---------|-------------|
| models-builder build | Trigger source generation (SourceCodeManual / SourceCodeAuto only) |
umbraco models-builder build
POSTs to /models-builder/build. Pre-checks the dashboard mode so non-source-generating modes (InMemory, Nothing) fail with a clear message instead of an opaque server error. With --wait, polls status until Current or --timeout elapses. --dry-run runs the dashboard/mode pre-checks and returns the planned POST without triggering generation.
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --dry-run | bool | false | Run dashboard/mode pre-checks and return the planned POST without triggering generation; incompatible with --wait |
| --poll-interval | duration | 1s | How often to poll status when --wait is set |
| --timeout | duration | 1m0s | How long to wait when --wait is set (e.g. 30s, 2m) |
| --wait | bool | false | Poll status after triggering the build until it reports Current or --timeout elapses |
Safe pattern:
# 1. Dry run first
umbraco models-builder build --dry-run
# 2. Execute
umbraco models-builder build
# Browse subcommands
umbraco models-builder --help
# Inspect a specific endpoint schema
umbraco schema models-builder.<method>
tools
Umbraco Automate operations (event-driven workflow automation)
development
Webhook management (the Management API's outbound event notifications)
development
Backoffice user management (accounts, state, groups, API credentials)
tools
Backoffice user group management (permission sets)