Applies n8n's RBAC scope decorators to REST endpoints. Use when creating a new @RestController, adding any @Get/@Post/@Put/@Patch/@Delete route to an existing controller, or reviewing endpoint authorization. Every authenticated endpoint must be gated by @ProjectScope or @GlobalScope.
$npx -y skills add n8n-io/n8n --skill protect-endpointsInstalls into the current project.
Run `npx skills use "https://github.com/n8n-io/n8n" --skill "n8n-io/n8n/protect-endpoints"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/n8n-io/n8n" that are relevant to the current task. Run `npx skills add "https://github.com/n8n-io/n8n"` and select the relevant skills, then follow their instructions.