---
name: orchardcore-theme-creator
description: Creates new OrchardCore themes with proper structure, manifest, layouts, and assets. Use when the user needs to create a new theme, customize layouts, or set up frontend assets.
---
# OrchardCore Theme Creator
This skill guides you through creating new OrchardCore themes following project conventions.
## Prerequisites
- OrchardCore repository at `D:\orchardcore`
- .NET SDK 10.0+ installed
- Node.js 22.x and Yarn 4.x (for asset compilation)
## Theme Creation Workflow
### Step 1: Create Theme Directory
```bash
mkdir src/OrchardCore.Themes/YourTheme
cd src/OrchardCore.Themes/YourTheme
```
### Step 2: Create Required Files
Every theme needs these files:
1. **Manifest.cs** - Theme metadata
2. **YourTheme.csproj** - Project file
3. **Views/Layout.cshtml** - Main layout
4. **Views/_ViewImports.cshtml** - Razor imports
### Step 3: Create Manifest.cs
```csharp
using OrchardCore.DisplayManagement.Manifest;
using OrchardCore.Modules.Manifest;
[assembly: Theme(
Name = "Your Theme",
Author = ManifestConstants.OrchardCoreTeam,
Website = ManifestConstants.OrchardCoreWebsite,
Version = ManifestConstants.OrchardCoreVersion,
Description = "Your theme description."
)]
```
**Extending a base theme:**
```csharp
[assembly: Theme(
Name = "Your Theme",
BaseTheme = "TheBlogTheme", // Inherit from base
// ... other properties
)]
```
### Step 4: Create Project File
```xml