migrate-to-better-auth
Migrate to Better-Auth
Migrate any auth system to better-auth incrementally. Never rewrite everything at once — plan first, execute one phase at a time.
Depends on:
better-auth/skillsfor setup patterns (npx skills add better-auth/skills). This skill handles the migration layer on top.
Quick Start
- Audit the existing auth setup.
- Prompt the user to select better-auth features.
- Generate a migration plan via
/refactor-codebase. - Execute phases: schema → server config → routes → client → seed data.
Workflow
1. Audit existing auth
Identify: auth library, auth methods, DB schema (tables + column names + types), ORM/adapter, seed files, and framework. Summarize to the user before proceeding.
More from rockclaver/systemcraft
refactor-codebase
Incrementally refactor and rearchitect a codebase toward a scalable structure using a phased plan. Use when the user wants to restructure code, improve architecture, reduce coupling, reorganize modules, or migrate toward a cleaner design without breaking the working system.
16code-graph
Builds and maintains a `.claude/codegraph.md` index of a codebase — a structured map of every module with purpose, key exports, and dependencies — so the agent can navigate any repo by reading one file instead of scanning dozens. Use when starting work on an unfamiliar codebase, when asked to index a repo, when context costs are high from repeated scans, or at the start of any task that will touch multiple files.
15find-code
Locate files and code using grep and shell scripts — never by AI scanning. Returns exact file paths and line numbers so the agent can jump directly to the location. Use whenever the agent needs to find a function, class, variable, import, file, or any pattern in the codebase. Code and file discovery must always be a tool call, never an AI guess.
15dockerize-and-deploy
Dockerize a repository and produce production-grade deployment scripts, a docker-compose setup with properly configured volumes, and a pre-flight validation shell script. Use when the user wants to containerize an app, add Docker support, write a deployment pipeline, set up docker-compose, configure volumes, or deploy to production with Docker.
15grill-me
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
14prd-to-plan
Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in ./plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".
14