Creates and configures Orchard Core CMS web applications. Covers project creation, module setup, recipe parameters, multi-tenant configuration, and Program.cs setup.
Ships in orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an Orchard Core expert. Generate project setup instructions and configuration for Orchard Core web applications.
net11.0) only: install the .NET 11 SDK, set <TargetFramework>net11.0</TargetFramework>, and host on the ASP.NET Core 11 runtime.dotnet new templates or manual project creation.Program.cs file configures Orchard Core services and middleware..csproj file.ConfigurationSchema.json files, so Visual Studio offers IntelliSense and validation for the OrchardCore sections of appsettings.json, including known database providers, setup recipes, time zones, and cultures.# Install the Orchard Core templates
dotnet new install OrchardCore.ProjectTemplates
# Create a new CMS web application
dotnet new occms -n {{ProjectName}}
cd {{ProjectName}}
# Run the application
dotnet run
Create a new ASP.NET Core web application:
dotnet new web -n {{ProjectName}}
cd {{ProjectName}}
# Add the Orchard Core CMS package
dotnet add package OrchardCore.Application.Cms.Targets --version 3.*
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOrchardCms();
var app = builder.Build();
app.UseStaticFiles();
app.UseOrchardCore();
app.Run();
var builder = WebApplication.CreateBuilder(args);
builder.Services
.AddOrchardCms()
.AddSetupFeatures("OrchardCore.AutoSetup")
.ConfigureServices(tenantServices =>
{
// Register tenant-level services here
})
.Configure((app, routes, services) =>
{
// Configure tenant-level middleware here
});
var app = builder.Build();
app.UseStaticFiles();
app.UseOrchardCore();
app.Run();
Add NuGet packages for the modules you need. All modules — whether from OrchardCore directly, Lombiq, or any community source — must be installed in the web project (the startup project of the solution):
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net11.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="OrchardCore.Application.Cms.Targets" Version="3.*" />
<!-- Third-party modules are also added to the web project -->
<PackageReference Include="Lombiq.HelpfulExtensions.OrchardCore" Version="1.*" />
</ItemGroup>
</Project>
To add a local CMS module to the web project (your own or any third-party module):
<ItemGroup>
<!-- Reference a local module project in the web project -->
<ProjectReference Include="../MyModule/MyModule.csproj" />
<ProjectReference Include="../ThirdParty.Module/ThirdParty.Module.csproj" />
</ItemGroup>
After running the application, navigate to / to access the setup screen:
If OrchardCore:DatabaseProvider is configured, the provider is fixed and
cannot be changed on the Setup screen. If the provider requires a connection
string, it remains available unless both OrchardCore:DatabaseProvider and
OrchardCore:ConnectionString are configured; in that case the connection
string is also fixed and is not editable. Setup requires a connection string
only when the selected provider needs one and no saved value exists.
Configure the cultures offered by the setup screen under OrchardCore:Setup (the 3.x name OrchardCore_Setup is deprecated):
{
"OrchardCore": {
"Setup": {
"DefaultCulture": "en",
"SupportedCultures": [ "en", "fr", "de", "es" ]
}
}
}
An empty DefaultCulture uses the operating system culture; the invariant culture is not supported.
During setup, recipes can read the setup values with [js: parameters('Name')]: SiteName, AdminUserId, AdminUsername, AdminEmail, AdminPassword, DatabaseProvider, DatabaseConnectionString, and DatabaseTablePrefix. Read tenant or host configuration with [js: configuration('Key', 'default')], for example [js: configuration('Admin:AdminUrlPrefix', 'Admin')] for OrchardCore:Admin:AdminUrlPrefix.
{
"steps": [
{
"name": "Settings",
"SiteName": "[js: parameters('SiteName')]",
"SuperUser": "[js: parameters('AdminUserId')]"
}
]
}
Configure automatic setup in appsettings.json under OrchardCore:AutoSetup (see orchardcore-auto-setup):
{
"OrchardCore": {
"AutoSetup": {
"AutoSetupPath": "",
"Tenants": [
{
"ShellName": "Default",
"SiteName": "{{SiteName}}",
"SiteTimeZone": "America/New_York",
"DatabaseProvider": "Sqlite",
"RecipeName": "Blog",
"AdminUsername": "admin",
"AdminEmail": "[email protected]",
"AdminPassword": "{{SecurePassword}}"
}
]
}
}
}
Recipe files that setup writes to disk go through ITempDirectoryProvider, so set OrchardCore:TempDirectory:Path when the system temp volume is small (see orchardcore-temp-file-storage).
The Blog recipe sets up a complete blogging site with:
# Create a project and run it
dotnet new occms -n MyBlogSite
cd MyBlogSite
dotnet run
# Navigate to https://localhost:5001
# Select the "Blog" recipe during setup
Place recipe files in the Recipes folder of your module:
{
"name": "{{RecipeName}}",
"displayName": "{{DisplayName}}",
"description": "{{Description}}",
"author": "{{Author}}",
"website": "{{Website}}",
"version": "1.0.0",
"issetuprecipe": true,
"categories": ["default"],
"tags": [],
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Contents",
"OrchardCore.ContentTypes",
"OrchardCore.Title",
"OrchardCore.Alias",
"OrchardCore.Autoroute",
"OrchardCore.Html",
"OrchardCore.Menu",
"OrchardCore.Navigation",
"OrchardCore.Themes",
"OrchardCore.Admin",
"OrchardCore.Settings",
"TheTheme",
"TheAdmin"
],
"disable": []
},
{
"name": "Themes",
"Site": "TheTheme",
"Admin": "TheAdmin"
}
]
}
OrchardCore_AutoSetup to AutoSetup and OrchardCore_Setup to Setup under the OrchardCore section; the old names are deprecated but still read.Official Orchard Core videos shown on the documentation page:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/orchardcore:orchardcore-setupfrom orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin orchardcore140 skills in this plugin
/orchardcore-adminGuidance for the Orchard Core admin panel, including admin controllers and routes, admin menu registration with AdminNavigationProvider, ocat editor forms grouped in cards, admin pages rendering Model.Editor, the UI text casing standard, TheAdmin layout and menu colors, admin branding, the Navbar shape, the Ctrl+K quick navigation palette and QuickNavigationSource, AdminSettings such as MenuBehavior, ShowBreadcrumb, DisplayQuickNavigation, DisplayTitlesInTopbar and ActionsLayout, the AdminDashboard shape, settings pages, and admin filters and zones. Use this skill when requests mention the Orchard Core admin panel, TheAdmin, admin controllers, admin menu registration, an icon on an admin menu item, the AdminSettings recipe step, quick navigation, navigation menu behavior, the admin URL prefix, UI text casing. Strong matches include OrchardCore.Admin, AdminSettings, AdminPermissions, AdminOptions, AdminAttribute, SiteDisplayDriver, IDisplayManager./orchardcore-admin-dashboardSkill for creating admin dashboard widgets in Orchard Core. Covers the DashboardWidget stereotype, DashboardPart position and sizing, the built-in HtmlDashboardWidget, ContentsMetadata and ContentsTags widget types, custom widget content types via recipe or migration, arranging widgets in Manage Dashboard mode, widget template customization, provisioning widgets with recipes, dashboard permissions, the DashboardBreadcrumbProvider Dashboard ancestor, and the AdminDashboardContent shape used when the feature is disabled. Use this skill when requests mention Orchard Core Admin Dashboard, Create and Configure Dashboard Widgets, Enabling Admin Dashboard, Widget Configuration Properties, dashboard widget recipes, Dashboard breadcrumb, or related implementation, setup, or troubleshooting work. Strong matches include OrchardCore.AdminDashboard, DashboardPart, DashboardBreadcrumbProvider, AccessAdminDashboard, ManageAdminDashboard.Other plugins' skills for the same job