/saas-design-principles:permissions-and-settingsfrom saas-design-principles
Guides building RBAC systems with hide/disable/reduce strategies, invitation flows, and settings page architecture.
Ships in saas-design-principles. 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.
Every user should see exactly what they need to get their job done — no more, no less.
All three are needed — choose per feature:
| Strategy | When to Use | Example |
|---|---|---|
| Hide completely | Entire section irrelevant to the role | Admin-only billing section hidden from members |
| Show but disable (with tooltip) | User should know the feature exists — upsell path | Plan-gated feature with "Upgrade to Pro" tooltip |
| Show with reduced functionality | Read access appropriate, write access isn't | View-only dashboard for member role |
Follow WorkOS's practical progression, building incrementally:
Key UX guardrail: Expose permission bundles that map to real product concepts, not 40 atomic checkboxes. Enforce limits like "max 20 custom roles per tenant" to prevent configuration chaos.
Three mechanisms are needed:
Admin enters addresses, sets access level before sending.
For bulk invitations. Support expiration dates and domain restrictions.
Accounts auto-created on first login.
Invitation email must include:
Differentiate onboarding for invited users — they get a shorter, different flow because context already exists.
Clean split between two concerns:
| Settings Type | Belongs To | Examples |
|---|---|---|
| Account settings | The person | Profile, password, notifications, appearance |
| Workspace settings | The organization | Members, billing, integrations, security policies |
Never mix them.
Layout: Sidebar navigation + content area. This is the standard used by GitHub, Linear, and Vercel.
Avoid tab-based settings when there are more than 5–6 categories — tabs don't scale.
Two-column layout (Shopify Polaris pattern):
When reviewing or building permissions and settings:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
rbac, access-control, invitation-flows, settings-ui, admin-panels
13 skills in this plugin
/accessibilityThis skill should be used when the user is building or reviewing accessibility (a11y), WCAG 2.2 AA compliance, keyboard navigation, focus management, screen reader support, ARIA attributes, color contrast, or SPA accessibility. Covers legal requirements, accessible component primitives, and the unique focus challenges of single-page applications./authenticationThis skill should be used when the user is building or reviewing login flows, magic links, SSO (SAML/OIDC), multi-factor authentication (MFA), OTP input fields, password reset, or session management. Covers the modern auth stack hierarchy, MFA fatigue prevention, session expiry UX, and GDPR compliance for authentication./data-tablesThis skill should be used when the user is building or reviewing data tables, pagination, column alignment, bulk actions, sorting, filtering, row selection, or table-to-card responsive patterns. Covers the pagination vs infinite scroll decision, DataTable vs IndexTable patterns, and column default strategy./design-tokensThis skill should be used when the user is building or reviewing theming systems, design tokens, dark mode implementation, CSS custom properties, color naming conventions, or theme switching architecture. Covers the three-tier token model (primitive/semantic/component), purpose-based naming, and the DTCG specification./error-handlingThis skill should be used when the user is building or reviewing error states, validation errors, permission errors (403), session expiry warnings, offline handling, concurrent edit conflicts, rate limiting, or server error (500) recovery flows. Covers the full taxonomy of SaaS failure modes and graceful degradation patterns./form-designThis skill should be used when the user is building or reviewing form validation, inline validation, auto-save vs explicit save patterns, form error messages, multi-step wizards, toggle switches, or input fields. Covers the "reward early, punish late" validation strategy and form UX best practices.npx claudepluginhub oborchers/fractional-cto --plugin saas-design-principlesOther plugins' skills for the same job