umbraco-entry-point

Implement Umbraco backoffice entry points with onInit and onUnload functions.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/1k-off/umbraco-observability-playground --skill umbraco-entry-point-1k-off
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: umbraco-entry-point
Source: https://github.com/1k-off/umbraco-observability-playground/tree/main/.agents/skills/umbraco-entry-point
Command: npx skills add https://github.com/1k-off/umbraco-observability-playground --skill umbraco-entry-point-1k-off

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the need to run reliable initialization logic in the Umbraco backoffice when the application boots, such as registering dynamic UI extensions or loading required libraries, without manually wiring everything elsewhere.

Core Features & Use Cases

  • Backoffice startup initialization: Runs JavaScript after user authentication to perform initialization tasks every time the backoffice starts.
  • Dynamic extension registration: Registers additional backoffice components (e.g., dashboards) programmatically during startup.
  • Optional cleanup: Provides an onUnload hook to release resources when the extension is unloaded.
  • Use case: Add a custom dashboard tile that appears in the backoffice and loads its code only after the backoffice is ready.

Quick Start

Ask the agent to implement an Umbraco backoffice entry point by fetching the latest docs and generating the manifest plus the entry point TypeScript/JavaScript files for the required initialization and (optional) onUnload cleanup.

Frequently Asked Questions about umbraco-entry-point

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

FAQPage Schema
How do I run JavaScript initialization logic when the Umbraco backoffice starts up?

Umbraco backoffice startup initialization is implemented by authoring a backofficeEntryPoint extension manifest and exporting onInit functions to run JavaScript after authentication. This reliably executes setup logic every time the backoffice boots.

How do I dynamically register UI extensions in Umbraco after the backoffice loads?

Dynamic UI extension registration in Umbraco is handled by the onInit hook within a backofficeEntryPoint, allowing you to programmatically register backoffice components like dashboards during startup initialization.

What is an Umbraco backoffice entry point and when do I need one?

An Umbraco backoffice entry point is an extension type that runs JavaScript during backoffice startup. You need it for initialization logic after authentication, such as loading required libraries or registering dynamic UI extensions.

Does Umbraco backoffice entry point support cleanup logic when extensions are unloaded?

Umbraco backoffice entry points support optional cleanup via the onUnload hook. This function releases resources when the extension is unloaded, complementing the onInit initialization logic.

How do I create an umbraco-package.json manifest for a backoffice entry point?

To create an umbraco-package.json manifest for a backoffice entry point, you define a backofficeEntryPoint extension and export compliant onInit and onUnload functions using the official Umbraco extension API types in TypeScript or JavaScript.

Can I use TypeScript to implement Umbraco backoffice entry points?

TypeScript is fully supported for implementing Umbraco backoffice entry points. You export onInit and onUnload functions using the official extension API types to ensure compliant backoffice startup initialization and cleanup.