umbraco-layout-resolution

Enforce absolute shared master layout paths in Umbraco Prism Razor views.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/jonnymuir/Umbraco.Prism --skill umbraco-layout-resolution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-layout-resolution
Source: https://github.com/jonnymuir/Umbraco.Prism/tree/main/.claude/skills/umbraco-layout-resolution
Command: npx skills add https://github.com/jonnymuir/Umbraco.Prism --skill umbraco-layout-resolution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves common MVC layout resolution failures in Umbraco Prism, specifically when route-hijacked views or RenderControllers fail to correctly locate the shared Master.cshtml layout.

Core Features & Use Cases

  • Layout Normalization: Standardizes the use of absolute paths for shared layouts to prevent MVC probing errors.
  • Workflow Protection: Provides guidance on securing member-facing hubs and resolving content links within the Umbraco ecosystem.
  • Use Case: When a custom member dashboard or workflow page renders without the site's branding or navigation, this skill provides the surgical code adjustments needed to restore the correct layout inheritance.

Quick Start

Apply the umbraco-layout-resolution skill to update the layout path in the specified Razor view to use the absolute shared master path.

Frequently Asked Questions about umbraco-layout-resolution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my Umbraco Prism Razor view fail to find the shared Master.cshtml layout?

Razor layout resolution fails in Umbraco Prism when route-hijacked RenderControllers use relative paths. Enforcing absolute paths for shared master layouts prevents MVC probing errors and restores correct UI rendering.

How do I fix missing branding and navigation on custom member dashboards in Umbraco?

To fix missing branding on Umbraco member dashboards, update the Razor view layout path to use the absolute shared master path. This standardizes layout normalization and ensures consistent UI rendering inheritance.

Does umbraco-layout-resolution work with route-hijacked controllers and member-facing views?

Yes, umbraco-layout-resolution specifically targets route-hijacked controllers and member-facing views in Umbraco Prism. It ensures consistent UI rendering by enforcing specific pathing patterns and member cookie protection for workflows.

What is the best way to normalize shared layouts in Umbraco Prism MVC?

The best way to normalize shared layouts in Umbraco Prism MVC is by standardizing the use of absolute paths for shared layouts. This prevents MVC probing errors and ensures route-hijacked views correctly locate the master layout.

Do I need member cookie protection to secure workflow-related components in Umbraco Prism?

Yes, adhering to member cookie protection is required to secure member-facing hubs and workflow-related components in Umbraco Prism. This ensures content links are resolved safely within the Umbraco ecosystem.