umbraco-global-context

Implement global contexts in the Umbraco backoffice using the Context API.

4|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/albanist/umbraco_CLI --skill umbraco-global-context-albanist
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: umbraco-global-context
Source: https://github.com/albanist/umbraco_CLI/tree/main/skills/extensions/umbraco-global-context
Command: npx skills add https://github.com/albanist/umbraco_CLI --skill umbraco-global-context-albanist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the creation and management of global contexts within the Umbraco backoffice, providing a centralized and type-safe layer for sharing data and functions across the entire application session.

Core Features & Use Cases

  • Global State Management: Share data and functions accessible throughout the backoffice session.
  • Cross-Extension Communication: Facilitate communication and coordination between different Umbraco extensions.
  • Centralized Services: Implement and expose services that are needed globally.
  • Use Case: Imagine needing to share the currently logged-in user's preferences or a global notification service across multiple custom sections of the Umbraco backoffice. This skill helps implement such a mechanism.

Quick Start

Use the umbraco-global-context skill to fetch the latest documentation for implementing global contexts in Umbraco.

Frequently Asked Questions about umbraco-global-context

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

FAQPage Schema
How do I share global state across Umbraco backoffice extensions?▼

Sharing global state in the Umbraco backoffice requires implementing global contexts that provide a centralized, type-safe layer for data and functions across the entire application session.

What is the best way to manage centralized services in the Umbraco backoffice?▼

The best way to manage centralized services in the Umbraco backoffice is by implementing global contexts, which expose globally needed services and facilitate cross-extension communication using Umbraco's Foundation.

How does cross-extension communication work in Umbraco?▼

Cross-extension communication in Umbraco works by utilizing global contexts to coordinate and share type-safe data and functions between different custom backoffice extensions within the same session.

Can I use TypeScript to ensure type safety for Umbraco global contexts?▼

Yes, you can use TypeScript to ensure type safety for Umbraco global contexts, as the implementation supports sharing type-safe data and functions across the backoffice session.

When do I need a global context in Umbraco backoffice development?▼

You need a global context in Umbraco backoffice development when you require centralized state management, such as sharing logged-in user preferences or a global notification service across multiple custom sections.