| name | umb-reset |
| description | Reset all Umbraco website work back to defaults. Use when asked to clean, reset, or undo generated Umbraco site work. |
Undo all Umbraco work to reset to defaults
This skill may be a no-op on an already-empty site — run the Step 0
pre-check first and stop early if there is nothing to reset.
Follow the steps below in exact order. Deletion order matters — content must be removed before templates, and templates before document types.
Step 0 — Pre-check: is a reset even needed? (Umbraco MCP)
Before deleting anything, check whether the site already looks empty:
- Call
get-all-document-types.
- If it returns zero document types (no non-folder document types and no
document-type folders), the site is already at defaults. Report that the site
is already empty and STOP here — do NOT run Steps 1–7.
- If one or more document types exist, continue with the full reset below.
Document types are the backbone of all content, templates, and schema, so their
absence reliably indicates an empty site.
Step 1 — Delete all Content (Umbraco MCP)
- Call
get-document-root to list root documents.
- For each document, call
move-document-to-recycle-bin with its ID.
- Call
empty-recycle-bin to permanently delete all trashed documents.
Step 2 — Delete all Media (Umbraco MCP)
- Call
get-media-root to list root media items.
- For each media item, call
move-media-to-recycle-bin with its ID.
- Call
empty-media-recycle-bin to permanently delete all trashed media.
Step 3 — Delete all Templates (Umbraco MCP)
- Call
get-template-root to list all templates.
- For each template, call
delete-template with its ID.
Step 4 — Delete all Document Types (Umbraco MCP)
- Call
get-all-document-types to list all document types.
- For each document type (non-folder), call
delete-document-type with its ID.
- For each document type folder, call
delete-document-type-folder with its ID.
Step 5 — Delete all Stylesheets (Umbraco MCP)
- Call
get-stylesheet-root to list all stylesheets.
- For each stylesheet, call
delete-stylesheet with its path.
Step 6 — Filesystem cleanup (PowerShell script)
Run the pre-built cleanup script:
& ".github/skills/umb-reset/reset-filesystem.ps1"
This script:
- Deletes all files in
src/MyProject/wwwroot/css/
- Deletes custom partial views in
src/MyProject/Views/Partials/ (preserves blockgrid/blocklist/singleblock)
- Deletes generated template
.cshtml files in src/MyProject/Views/ (preserves _ViewImports.cshtml and _ViewStart.cshtml)
Step 7 — Verify
Confirm all trees are empty:
get-document-root returns 0 items
get-media-root returns 0 items
get-template-root returns 0 items
get-all-document-types returns 0 items