Individual skill
orchardcore-admin-edit-views
Skill for writing Orchard Core admin editor views with the ocat CSS classes. Covers Edit views for content parts and fields, field editor variants, part and field settings editors, site settings editors, workflow activity and deployment step Fields.Edit views, and full admin edit pages, plus the ocat-wrapper, ocat-label, ocat-label-required, ocat-end, ocat-end-offset, ocat-start, ocat-limited-wrapper and ocat-limited classes and their layout rules, content-part-wrapper and field-wrapper classes, asp-validation-class-for and validation messages, hints and the Hint_Admin shape, editor tabs, cards and columns, and horizontal admin form layouts. Use this skill when requests mention Orchard Core admin edit views, admin forms, Edit.cshtml, Fields.Edit.cshtml, Settings.Edit.cshtml, ocat classes, replacing mb-3 or form-group in admin views, or field hints. Strong matches include TheAdmin, ocat-wrapper, Hint_Admin, ContentPartDisplayDriver, ContentTypePartDefinitionDisplayDriver, SiteDisplayDriver.
plugins/orchardcore/skills/orchardcore-admin-edit-views/SKILL.md
Source commit d86d04f234b1b2bd8145368a2544490f9d557596
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- 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.
- agent-skills Repository topic
- ai Repository topic
- ai-agents-framework Repository topic
- dotnet Repository topic
- mcp Repository topic
- mcp-server Repository topic
- orchardcore Repository topic
- writing Derived category
- operations Derived category
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 21,377 bytesSKILL.mdcore · 21,377 bytesreferences/admin-edit-views-examples.mddoc · 13,893 bytes
Read excerpt
# Orchard Core Admin Edit Views
Every admin view that edits something (a content part or field, a settings group, a workflow activity, a deployment step, or a module's own entity) lays out its rows with the static `ocat-` (Orchard Core Admin Theme) CSS classes. TheAdmin styles them as a stacked Bootstrap form; a custom admin theme can restyle every editor (for example as a horizontal form) by overriding the classes, without touching any view.
- Use `ocat-*` only in admin views. **Never** in front-end views (Login, Register, ForgotPassword, or anything rendered by the site theme).
- Do not use Bootstrap-only row markup (`mb-3`, `form-group`, `form-label`) for admin field rows, and do not use the `@Orchard.GetWrapperClasses()`-style helpers (removed in Orchard Core 3.0).
- Admin pages that list items are not edit views; they render `<admin-list>` (see `orchardcore-admin-lists`).
## Which Views This Covers
| Editor | Produced by | View file |
|---|---|---|
| Content part editor | `ContentPartDisplayDriver<TPart>.Edit` with `GetEditorShapeType(context)` | `Views/{Part}.Edit.cshtml` |
| Content field editor | `ContentFieldDisplayDriver<TField>.Edit` with `GetEditorShapeType(context)` | `Views/{Field}.Edit.cshtml` |