Detect Umbraco projects and identify version, .NET version, and backoffice type
Detects Umbraco projects and identifies version, .NET version, and backoffice type.
/plugin marketplace add twofoldtech-dakota/claude-marketplace/plugin install twofoldtech-dakota-umbraco-analyzer-plugins-umbraco-analyzer@twofoldtech-dakota/claude-marketplaceDetect and classify Umbraco 14-16 projects.
Search for primary indicators (high confidence):
Glob: **/appsettings.json (with "Umbraco" section)
Glob: **/*.csproj (with Umbraco.Cms package)
Glob: **/App_Plugins/**
Glob: **/Program.cs (with .AddUmbraco())
Parse Umbraco.Cms version from .csproj:
<PackageReference Include="Umbraco.Cms" Version="15.1.0" />
Version mapping:
Parse from .csproj:
<TargetFramework>net9.0</TargetFramework>
Or from global.json:
{
"sdk": {
"version": "9.0.100"
}
}
Modern (Lit-based) - v14+:
umbraco-package.json files*.element.ts files@umbraco-cms/backofficeLegacy (AngularJS) - v13 and below:
package.manifest files*.controller.js files| Feature | Detection |
|---|---|
| Content Delivery API | "DeliveryApi" in appsettings.json |
| Block Grid | Block Grid document type usage |
| Custom Property Editors | umbraco-package.json with propertyEditorUi |
| Examine Custom Index | Custom index configuration |
| ModelsBuilder | "ModelsBuilder" in appsettings |
Multi-project solution:
src/
├── Web/ # Main Umbraco project
├── Core/ # Business logic
└── Infrastructure/ # Data access
Single project:
MyUmbracoSite/
├── Controllers/
├── Models/
├── Views/
└── App_Plugins/
Provide detection results in this format:
detection:
cms: Umbraco
version: "15.1"
dotnet: "9.0"
backoffice: "Lit" | "AngularJS" | "Mixed"
features:
- Content Delivery API
- Block Grid
- Custom Property Editors
- ModelsBuilder (API mode)
projectStructure: "Multi-project" | "Single project"
paths:
web: "src/Web"
appPlugins: "src/Web/App_Plugins"
appsettings.json with Umbraco section + Umbraco.Cms packageIf confidence is Low, warn user to verify this is an Umbraco project.
After detection, enable version-specific analysis:
| Version | Enabled Checks |
|---|---|
| 14.x | Lit backoffice, Block Grid |
| 15.x | HybridCache, Content Delivery API v2 |
| 16.x | TipTap, Management API v2 |
After detection, the main analyze command will: