bootstrap-api-keys

Installation
SKILL.md

Bootstrap API Keys

Add complete API key management to a Phoenix 1.8 app — schema, context, LiveView UI, and Bearer token auth plug.

Prerequisites

Verify before starting:

  1. Phoenix 1.8 app with phx.gen.auth completed
  2. DaisyUI installed
  3. A parent association exists for scoping keys (e.g., users, account_users, or accounts table)

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.

Phase 0: Discovery — Check What Already Exists

CRITICAL: Before generating anything, audit the target app to understand what's already in place. Search for each component and track what exists vs what's missing. Only create what's missing.

Installs
3
GitHub Stars
1
First Seen
May 21, 2026