create-webroles

Installation
SKILL.md

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" — if it outputs a message, show it to the user before proceeding.

Create Web Roles

Create web roles for a Power Pages SPA site. Web roles define the permissions and access levels for different types of site users.

Non-SPA sites use the same role schema and uniqueness constraints, but their metadata root can be either <projectRoot>/.powerpages-site or a directly opened PAC export.

Site Type Routing

Before reading or executing the workflow below, perform the existing SPA project lookup first:

  • Look for powerpages.config.json in the current directory or immediate subdirectories using the existing file-search patterns.
  • If found, continue with the existing SPA workflow below. Do not change its phases, prompts, gates, file naming, caller-suppress contract, or deployment behavior.
  • Only when that existing SPA lookup finds no powerpages.config.json, run:
Installs
242
GitHub Stars
1.1K
First Seen
Mar 6, 2026