Enables SEO-friendly slugified media folder and file names in Orchard Core. Covers the Media Slugify feature, configuration, transliteration, collision handling, and custom IMediaNameNormalizerService implementations.
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.
None: SKILL.md is the whole skill.
Enable the Media Slugify feature so newly created media folders and files get SEO-friendly, URL-safe names.
OrchardCore.Media.Slugify (depends on OrchardCore.Media).SlugifyMediaNameNormalizerService as the IMediaNameNormalizerService. The Media API (gallery uploads, folder creation) calls it for every new folder and file.The team (2020).jpg in Images & docs becomes the-team-2020.jpg in images-docs, so /media/Images%20&%20docs/The%20team%20(2020).jpg becomes /media/images-docs/the-team-2020.jpg. The file extension is kept.The team (2020).jpg and The Team 2020.jpg); the second upload then collides with the first.Ελληνικά to ellinika) is on by default and controlled by Transliterate.{
"steps": [
{
"name": "Feature",
"enable": [
"OrchardCore.Media.Slugify"
],
"disable": []
}
]
}
OrchardCore:Media:Slugify){
"OrchardCore": {
"Media": {
"Slugify": {
"Transliterate": true
}
}
}
}
Transliterate (default true): true calls ISlugService.SlugifyAndTransliterate; false calls ISlugService.Slugify, which strips characters it cannot keep.OrchardCore__Media__Slugify__Transliterate=false.IShellConfiguration by MediaSlugifyOptionsConfiguration into MediaSlugifyOptions.Replace the normalizer to apply your own naming rules (it is scoped):
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OrchardCore.Media;
using OrchardCore.Modules;
public sealed class LowercaseMediaNameNormalizer : IMediaNameNormalizerService
{
public string NormalizeFolderName(string folderName)
=> folderName.Trim().ToLowerInvariant();
public string NormalizeFileName(string fileName)
=> Path.GetFileNameWithoutExtension(fileName).Trim().ToLowerInvariant() + Path.GetExtension(fileName).ToLowerInvariant();
}
[RequireFeatures("OrchardCore.Media")]
public sealed class Startup : StartupBase
{
// Run after the Media and Media Slugify startups so this registration wins.
public override int Order => 10;
public override void ConfigureServices(IServiceCollection services)
{
services.Replace(ServiceDescriptor.Scoped<IMediaNameNormalizerService, LowercaseMediaNameNormalizer>());
}
}
orchardcore-media CDN settings (Media:CdnBaseUrl) for media delivery.slugify filter is separate and takes no transliterate argument (use the transliterate filter in templates); Media Slugify keeps its Transliterate option.OrchardCore_Media_Slugify section to Media:Slugify (env var OrchardCore__OrchardCore_Media_Slugify__Transliterate becomes OrchardCore__Media__Slugify__Transliterate). The old name is deprecated but still read.Official Orchard Core videos shown on the documentation page:
What SKILL.md sets; muted values are Claude Code's defaults
/orchardcore:orchardcore-media-slugifyfrom 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