This teaches Claude how to work with Umbraco's controller pattern for backoffice customization. Controllers are separate classes that handle logic and lifecycle management for UI elements, things like timers, subscriptions, API calls, and cleanup. The skill includes a workflow that fetches live docs first, then generates TypeScript code extending UmbControllerBase with proper lifecycle methods. Examples cover timer controllers, manual registration, and context access. The practical bit is it shows how to manage side effects cleanly when elements connect and disconnect from the DOM. One thing to note: it explicitly warns against using raw fetch for API calls, pushing you toward generated OpenAPI clients with Umbraco's auth context instead.

skills.sh installs
418
GitHub stars
27
last updated
Aug 21, 2026

Install

$ npx -y skills add umbraco/umbraco-cms-backoffice-skills --skill umbraco-controllers --agent claude-code

Installs into .claude/skills of the current project.

Files

Umbraco Controllers

What is it?

Controllers are separate classes that contain or reuse logic across elements while maintaining connection to an element's lifecycle. A Controller is assigned to a Host Element and supports lifecycle methods (hostConnected, hostDisconnected, destroy) for managing side effects, timers, subscriptions, and cleanup. Controllers can host other controllers, enabling composition and reuse of functionality.

Documentation

Always fetch the latest docs before implementing:

Workflow

  1. Fetch docs - Use WebFetch on the URLs above
  2. Ask questions - Need custom controller? What lifecycle events? What cleanup needed?
  3. Generate code - Implement controller extending UmbControllerBase based on latest docs

Sponsors

Details

Repository
github.com/umbraco/umbraco-cms-backoffice-skills
Category
.NET & C#
First seen
Jun 3, 2026

More from umbraco/umbraco-cms-backoffice-skills

All 76

Recommended

More .NET & C#
1umbraco avatarumbraco-dashboardumbraco/umbraco-cms-backoffice-skillsImplement dashboards in Umbraco backoffice using official docs418skills.sh installs
2syncfusion avatarsyncfusion-blazor-chartssyncfusion/blazor-ui-components-skillsImplement Syncfusion Blazor Chart (SfChart) component for comprehensive data visualization. Use this when creating line charts, bar/column charts, area charts, 411skills.sh installs
3syncfusion avatarsyncfusion-blazor-popupssyncfusion/blazor-ui-components-skillsImplement modal and modeless dialogs using Syncfusion Blazor Dialog component. Use this skill when creating dialogs, popup windows, modal confirmations, custom 410skills.sh installs
4umbraco avatarumbraco-quickstartumbraco/umbraco-cms-backoffice-skillsQuick setup for Umbraco extension development - creates instance, extension, and registers it406skills.sh installs
5umbraco avatarumbraco-extension-registryumbraco/umbraco-cms-backoffice-skillsUnderstand and use extension registry in Umbraco backoffice (foundational concept)403skills.sh installs
6umbraco avatarumbraco-notificationsumbraco/umbraco-cms-backoffice-skillsUnderstand and use notifications in Umbraco backoffice (foundational concept)403skills.sh installs