What problem does it solve? Managing roles, assigning menus to roles, and wiring action-button permission codes across a backend admin system and frontend code is error-prone and manual. This Skill chains the full permission workflow—role creation, role-to-menu authorization, action button registration, and data.ts permission field wiring—into one auditable, confirmation-gated process. ## Core Features & Use Cases - Role Management (role-manage): Query and create roles idempotently by code, with preview and planHash confirmation before any write. - Role Authorization (role-assign): Query assignable menus, merge existing menuIds to avoid the backend's full-overwrite behavior, and assign menus with explicit confirmFullReplace confirmation. - Action Attachment (action-attach): Register type=A action buttons (e.g., add/edit/remove/export) to page menus and add matching permission arrays to ActionButtonDesc entries in data.ts, with no template changes required. - Use Case: After generating a customer list page, ask the AI to attach add/edit/delete/export buttons; it registers the permission codes on the backend and updates the toolbar config so BaseToolbar enforces visibility automatically. ## Quick Start Ask the AI to create a role, assign menus to a role, or attach action buttons with permission codes to a specific page menu.