Setup
Skill xataio/nextjs-claude-code-starter/.claude/skills/setup
Production-ready Next.js + Postgres starter with 6 Claude Code skills. Zero-downtime migrations, instant DB branches, PII-safe prod clones. MIT licensed.
npx -y skills add xataio/nextjs-claude-code-starter --skill setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Connect this project to your Xata account, initialize pgroll and run migrations
SKILL.md
1.2 KB, as published. Nobody here has run it
Setup Xata project
Connect this project to your Xata account and database.
Steps
-
Authenticate with Xata (if not already logged in):
xata auth login -
Initialize the project:
xata initFollow the prompts to select your organization, project and branch.
-
Get the connection string:
xata branch url -
Create
.env.localwith the connection string:echo "DATABASE_URL=<paste connection string>" > .env.local -
Initialize pgroll (one-time setup):
xata roll init -
Run all migrations:
xata roll start migrations/001_create_users.yaml xata roll complete xata roll start migrations/002_add_role.yaml xata roll complete xata roll start migrations/003_add_teams.yaml xata roll complete -
Verify the setup:
psql $(xata branch url) -c "SELECT * FROM users;"
Notes
- The
xata initcommand creates a.xatafolder with configuration - Connection strings include credentials — never commit
.env.local xata roll initonly needs to run once per database