umbraco-example-generator
Audited by Runlayer on Feb 21, 2026
Malicious tool definition detected
Tool: SKILL.md [1/2] Description: --- name: umbraco-example-generator description: Generate testable example extensions and run them in the Umbraco backoffice version: 1.0.0 location: managed allowed-tools: Read, Write, Edit, Glob, Grep, Bash --- # Umbraco Example Generator Generate complete, testable example extensions for the Umbraco backoffice and run them using the Umbraco source's dev infrastructure.
Tool: SKILL.md [2/2] Description: ## Naming Conventions | Item | Convention | Example | |------|------------|---------| | Directory | kebab-case describing feature | `workspace-context-counter` | | Alias prefix | `example.` | `example.workspaceView.counter` | | Element prefix | `example-` | `example-counter-view` | | Context token | `EXAMPLE_` + SCREAMING_CASE | `EXAMPLE_COUNTER_CONTEXT` | --- ## Troubleshooting ### Extension not appearing 1.
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/README.md Description: # Feature Toggle Example A complete, testable example demonstrating workspace context patterns in Umbraco backoffice.
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/feature-toggle-action.ts Description: import { EXAMPLE_FEATURE_TOGGLE_CONTEXT } from './feature-toggle-context.js'; import { UmbWorkspaceActionBase, type UmbWorkspaceAction } from '@umbraco-cms/backoffice/workspace'; export class ExampleFeatureToggleAction extends UmbWorkspaceActionBase implements UmbWorkspaceAction { override async execute() { const context = await this.getContext(EXAMPLE_FEATURE_TOGGLE_CONTEXT);
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/feature-toggle-context.test.ts [1/2]
Tool: examples/workspace-feature-toggle/feature-toggle-context.test.ts [2/2]
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/feature-toggle-context.ts Description: import { UmbContextToken } from '@umbraco-cms/backoffice/context-api'; import { UmbContextBase } from '@umbraco-cms/backoffice/class-api'; import { UmbArrayState } from '@umbraco-cms/backoffice/observable-api'; import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api'; export interface Feature { id: string; name: string; description: string; enabled: boolean; } const DEFAULT_FEATURES: Feature[] =
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/feature-toggle-footer.element.ts Description: import { EXAMPLE_FEATURE_TOGGLE_CONTEXT } from './feature-toggle-context.js'; import { customElement, html, state, LitElement } from '@umbraco-cms/backoffice/external/lit'; import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api'; @customElement('example-feature-toggle-footer') export class ExampleFeatureToggleFooterElement extends UmbElementMixin(LitElement) { @state() private _activeCount = 0; @s
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/feature-toggle-view.element.ts Description: import { EXAMPLE_FEATURE_TOGGLE_CONTEXT, type Feature } from './feature-toggle-context.js'; import { UmbTextStyles } from '@umbraco-cms/backoffice/style'; import { css, html, customElement, state, repeat, LitElement } from '@umbraco-cms/backoffice/external/lit'; import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api'; @customElement('example-feature-toggle-view') export class ExampleFeatureToggleVie
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/index.ts Description: import { UMB_WORKSPACE_CONDITION_ALIAS } from '@umbraco-cms/backoffice/workspace'; export const manifests = [ { type: 'workspaceContext', name: 'Example Feature Toggle Workspace Context', alias: 'example.workspaceContext.featureToggle', api: () => import('./feature-toggle-context.js'), conditions: [ { alias: UMB_WORKSPACE_CONDITION_ALIAS, match: 'Umb.Workspace.Document', }, ], }, { type: 'workspaceAction', kind: 'default', name: 'Exam
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/package-lock.json [1/16]
Tool: examples/workspace-feature-toggle/package-lock.json [2/16]
Tool: examples/workspace-feature-toggle/package-lock.json [3/16]
Tool: examples/workspace-feature-toggle/package-lock.json [4/16]
Tool: examples/workspace-feature-toggle/package-lock.json [5/16]
Tool: examples/workspace-feature-toggle/package-lock.json [6/16]
Tool: examples/workspace-feature-toggle/package-lock.json [7/16]
Tool: examples/workspace-feature-toggle/package-lock.json [8/16]
Tool: examples/workspace-feature-toggle/package-lock.json [9/16]
Tool: examples/workspace-feature-toggle/package-lock.json [10/16]
Tool: examples/workspace-feature-toggle/package-lock.json [11/16]
Tool: examples/workspace-feature-toggle/package-lock.json [12/16]
Tool: examples/workspace-feature-toggle/package-lock.json [13/16]
Tool: examples/workspace-feature-toggle/package-lock.json [14/16]
Tool: examples/workspace-feature-toggle/package-lock.json [15/16]
Tool: examples/workspace-feature-toggle/package-lock.json [16/16]
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/package.json Description: { "name": "@example/workspace-feature-toggle", "version": "1.0.0", "type": "module", "scripts": { "build": "tsc", "test": "web-test-runner", "test:headed": "HEADLESS=false web-test-runner --watch", "test:watch": "web-test-runner --watch", "test:e2e": "npx playwright test --config=tests/playwright.config.ts", "test:e2e:headed": "npx playwright test --config=tests/playwright.config.ts --headed", "test:e2e:ui": "npx playwright test -
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/tests/feature-toggle.spec.ts [1/2] Description: import { test, expect, type Page } from '@playwright/test'; /** * E2E Tests for Workspace Feature Toggle Extension * * These tests verify the feature toggle functionality in the Document workspace.
Tool: examples/workspace-feature-toggle/tests/feature-toggle.spec.ts [2/2]
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/tests/playwright.config.ts Description: import { defineConfig, devices } from '@playwright/test'; import { fileURLToPath } from 'url'; import { dirname, resolve } from 'path'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); // Path to this extension (parent of tests directory) const EXTENSION_PATH = resolve(__dirname, '..'); // Path to Umbraco.Web.UI.Client - use environment variable or default location // Set UMBR
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/tsconfig.json Description: { "compilerOptions": { "target": "ES2022", "module": "ESNext", "moduleResolution": "bundler", "lib": ["ES2022", "DOM", "DOM.Iterable"], "strict": true, "experimentalDecorators": true,
Malicious tool definition detected
Tool: examples/workspace-feature-toggle/web-test-runner.config.mjs Description: import { esbuildPlugin } from '@web/dev-server-esbuild'; import { playwrightLauncher } from '@web/test-runner-playwright'; const headless = process.env.HEADLESS !== 'false'; const slowMo = headless ?