Individual skill

orchardcore-users-roles

Skill for managing users, roles, and permissions in Orchard Core. Covers login, registration, and external authentication settings recipes, persistent authentication cookies, email confirmation resend, ILoginFormEvent and ILogoutFormEvent, the User Loggedout workflow event, RegistrationOptions and ExternalLoginOptions through IOptionsMonitor, external login scripts, rate-limited user endpoints, Users and Roles configuration sections, role recipes with PermissionBehavior, ViewRoles, UsersPermissions, and permission checks in code and Liquid. Use this skill when requests mention Orchard Core Users & Roles, Login Settings, Remember me, Email Confirmation, Logout events, Defining Custom Permissions, Checking Permissions, or closely related Orchard Core implementation, setup, extension, upgrade, or troubleshooting work. Strong matches include OrchardCore.Users, OrchardCore.Roles, OrchardCore.Users.Registration, OrchardCore.Users.ExternalAuthentication, IAuthorizationService, UsersPermissions, and LoginSettings.

src/CrestApps.AgentSkills/orchardcore/orchardcore-users-roles/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 Users & Roles - Prompt Templates

## Manage Users, Roles, and Permissions

You are an Orchard Core expert. Generate code and configuration for user management, roles, and permissions.

### Guidelines

- Enable `OrchardCore.Users` and `OrchardCore.Roles` for user and role management.
- Declare permissions in a static `*Permissions` class and expose them through an `IPermissionProvider` (see `orchardcore-permission-providers`).
- Create permission descriptions with `LocalizationSource.Create("...", typeof(MyPermissions))`.
- Use `IAuthorizationService.AuthorizeAsync(User, permission)` for permission checks and `has_permission` in Liquid.
- Reference built-in user permissions through `OrchardCore.Users.UsersPermissions` and role permissions through `OrchardCore.Roles.RolesPermissions`.
- Customize login, logout, registration, and password recovery with `ILoginFormEvent`, `ILogoutFormEvent`, `IRegistrationFormEvents`, and `IPasswordRecoveryFormEvents`.