Individual skill

orchardcore-razor

Skill for building Razor views in Orchard Core themes and modules. Covers _ViewImports.cshtml setup, layouts with RenderBodyAsync, RenderSectionAsync and IsSectionDefined, the zone tag helper, shape tag helpers with caching attributes, resource tag helpers, content link and content item tag helpers, media tag helpers, datetime tag helpers, dynamic cache, IOrchardHelper extensions, and title segments. Use this skill when requests mention Orchard Core Razor Views, _ViewImports.cshtml Setup, Minimum Required Directives, _ViewStart.cshtml Conventions, Layout Rendering Patterns, Minimal Layout Template, Razor helpers, or closely related Orchard Core implementation or troubleshooting work. Strong matches include OrchardCore.DisplayManagement.Razor, OrchardCore.ResourceManagement, OrchardCore.Menu, OrchardCore.Contents.TagHelpers, OrchardCore.Media, OrchardCore.DynamicCache, IOrchardHelper, IOrchardDisplayHelper.

plugins/orchardcore/skills/orchardcore-razor/SKILL.md

Read pinned source

Source commit d86d04f234b1b2bd8145368a2544490f9d557596

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
Yes
Observed behavior
Instructions only
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
13
Repository last updated
Oct 21, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Orchard Core Razor Views - Prompt Templates

## _ViewImports.cshtml Setup

Every Orchard Core theme or module should include a `_ViewImports.cshtml` file at the root of its `Views` folder.

### Minimum Required Directives

```cshtml
@inherits OrchardCore.DisplayManagement.Razor.RazorPage<TModel>
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, OrchardCore.DisplayManagement
@addTagHelper *, OrchardCore.ResourceManagement
@addTagHelper *, OrchardCore.Menu