umbraco-header-apps
Implement header apps in Umbraco backoffice using official docs
How do I install this agent skill?
npx skills add https://github.com/umbraco/umbraco-cms-backoffice-skills --skill umbraco-header-appsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill facilitates the development of Umbraco header apps by providing templates and referencing official documentation. It uses official Umbraco packages and domains, presenting no security risks.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
What does this agent skill do?
Umbraco Header Apps
What is it?
Header apps are single-purpose extensions that appear in Umbraco's top navigation bar, positioned next to the user profile avatar and global search. They provide globally accessible functionality to the Backoffice, such as quick links to documentation, tools, or custom interactive features. Header apps can be simple links or custom interactive components that open modals or perform actions.
Documentation
Always fetch the latest docs before implementing:
- Main docs: https://docs.umbraco.com/umbraco-cms/extend-your-project/backoffice-extensions/extending-overview/extension-types/header-apps
- Foundation: https://docs.umbraco.com/umbraco-cms/extend-your-project/backoffice-extensions/foundation
- Extension Registry: https://docs.umbraco.com/umbraco-cms/extend-your-project/backoffice-extensions/extending-overview/extension-registry
Related Foundation Skills
If you need to explain these foundational concepts when implementing header apps, reference these skills:
-
Umbraco Element: When implementing interactive header apps, explaining UmbHeaderAppButtonElement, or custom elements
- Reference skill:
umbraco-umbraco-element
- Reference skill:
-
Context API: When implementing context access, modals, notifications, or services from header apps
- Reference skill:
umbraco-context-api
- Reference skill:
-
Controllers: When implementing controllers, action handlers, click handlers, or header app behavior
- Reference skill:
umbraco-controllers
- Reference skill:
Workflow
- Fetch docs - Use WebFetch on the URLs above
- Ask questions - What will it do? Simple link or interactive? What icon/label?
- Generate files - Create manifest + element (if interactive) based on latest docs
- Explain - Show what was created and how to test
Minimal Examples
Simple Link Header App (umbraco-package.json)
{
"type": "headerApp",
"alias": "My.HeaderApp",
"name": "My Header App",
"kind": "button",
"meta": {
"label": "Documentation",
"icon": "icon-help",
"href": "https://docs.umbraco.com/"
}
}
Interactive Header App Manifest (manifest.ts)
export const manifests = [
{
type: "headerApp",
alias: "My.Interactive.HeaderApp",
name: "My Interactive Header App",
element: () => import('./header-app.element.js'),
meta: {
label: "Tools",
icon: "icon-tools"
}
}
];
Interactive Header App Element (header-app.element.ts)
import { html, customElement } from '@umbraco-cms/backoffice/external/lit';
import { UmbHeaderAppButtonElement } from '@umbraco-cms/backoffice/header-app';
@customElement('my-header-app')
export class MyHeaderAppElement extends UmbHeaderAppButtonElement {
#onClick() {
// Handle click - open modal, navigate, etc.
console.log('Header app clicked!');
}
render() {
return html`
<uui-button
@click="${this.#onClick}"
label="${this.manifest?.meta?.label}"
compact
>
<uui-icon name="${this.manifest?.meta?.icon}"></uui-icon>
</uui-button>
`;
}
}
export default MyHeaderAppElement;
Common Use Cases
- Quick Links: External documentation, help resources, or admin tools
- Global Actions: Search, notifications, or system-wide operations
- Custom Tools: Integration with external services or custom functionality
That's it! Always fetch fresh docs, keep examples minimal, generate complete working code.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/umbraco/umbraco-cms-backoffice-skills/umbraco-header-apps">View umbraco-header-apps on skillZs</a>