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:
/bootstrap-accountshas been run (accounts table, account_users table, Account schema, AccountUser schema, Accounts context, AccountContext module, LoadAccount plug, account-scoped router all exist)phx.gen.authcompleted (User schema, UserAuth module exist)- 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.