skills/cli/umbraco-template/SKILL.md
Template operations
npx skillsauth add albanist/umbraco_cli umbraco-templateInstall 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 template <command> [flags]
| Command | Description |
|---------|-------------|
| template get <id> | Get template by ID |
| template root | Get root templates |
| template search | Search templates |
umbraco template get <id>
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --fields | string | — | Limit response fields |
umbraco template root
umbraco template search
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --params | string | — | Query parameters as JSON |
| --query | string | — | Search query |
Safety: Always use
--dry-runfirst. Remove the flag only after verifying the dry-run output.
| Command | Description |
|---------|-------------|
| template create | Create template |
| template update <id> | Update template |
umbraco template create
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --dry-run | bool | false | Validate request without executing |
| --json | string | — | Create payload as JSON |
| --print-template | bool | false | Print an annotated JSON skeleton; substitute placeholders before passing to --json |
Safe pattern:
# 1. Dry run first
umbraco template create --dry-run
# 2. Execute
umbraco template create
umbraco template update <id>
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| --dry-run | bool | false | Validate request without executing |
| --json | string | — | Update payload as JSON |
Safe pattern:
# 1. Dry run first
umbraco template update <id> --dry-run
# 2. Execute
umbraco template update <id>
# Browse subcommands
umbraco template --help
# Inspect a specific endpoint schema
umbraco schema template.<method>
development
Trigger and inspect ModelsBuilder source generation
tools
Umbraco Forms operations (read-only)
tools
Tree navigation helpers
tools
Umbraco CLI: Shared patterns for authentication, global flags, and safety rules.