bootstrap-user-management

Installation
SKILL.md

Bootstrap User Management

Add account member management to a Phoenix 1.8 app that already has multi-tenant accounts set up via /bootstrap-accounts. Provides a LiveView for listing members, inviting users by email, role assignment, and member removal with safety guards.

Prerequisites

Verify before starting:

  1. /bootstrap-accounts has been run (accounts table, account_users table, Account schema, AccountUser schema, Accounts context, AccountContext module, LoadAccount plug, account-scoped router all exist)
  2. phx.gen.auth completed (User schema, UserAuth module exist)
  3. DaisyUI installed

App Name Detection

Detect the app module name from mix.exs (e.g., MyApp) and the OTP app name (e.g., my_app). Replace all occurrences of MyApp/my_app/MyAppWeb/my_app_web in reference templates with the actual names.

Implementation Order

Execute in this exact order. Read the referenced file for each step's code templates.

Installs
3
GitHub Stars
1
First Seen
May 27, 2026