agentsclimarketplace

Env setup

Skill GlamgarOnDiscord/claude-saas-blueprint/.claude/skills/env-setup

Configure l'environnement de développement pour un SaaS Next.js + Supabase + Vercel : outils CLI, variables d'env, RTK, vérifications.From its SKILL.md

Install
npx -y skills add GlamgarOnDiscord/claude-saas-blueprint --skill env-setup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 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.

SKILL.md

2.3 KB, 662 tokens by cl100k_base, as published. Nobody here has run it

Instructions

1. Vérification des outils CLI requis

Vérifier que ces outils sont installés, sinon donner la commande d'installation :

OutilVérificationInstall
Node.js LTSnode -v ≥ 20https://nodejs.org
pnpmpnpm -vnpm i -g pnpm
Supabase CLIsupabase -vbrew install supabase/tap/supabase-cli
Vercel CLIvercel -vpnpm i -g vercel
Gitgit -v
RTK (token optimizer)rtk --versionbrew install rtk-ai/tap/rtk && rtk init --global
Python 3.9+python --versionhttps://python.org

2. Variables d'environnement

Créer .env.local à partir de .env.example. Si .env.example n'existe pas, le générer avec ces variables minimales pour un SaaS Supabase :

# App
NEXT_PUBLIC_APP_URL=http://localhost:3000

# Supabase
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
DATABASE_URL=          # pooler port 6543
DIRECT_URL=            # direct port 5432

# Auth (si Better Auth ou NextAuth)
AUTH_SECRET=           # openssl rand -base64 32

# Paiements (si Stripe)
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=

# Emails (si Resend)
RESEND_API_KEY=

# Monitoring
SENTRY_DSN=
NEXT_PUBLIC_POSTHOG_KEY=

Vérifier que .env* est bien dans .gitignore.

3. Configuration Git

git config user.name   # vérifier configuré
git config user.email  # vérifier configuré
git config core.autocrlf false  # Windows : éviter les conflits CRLF

4. Supabase local

supabase start         # Démarrer la DB locale
supabase status        # Vérifier Studio URL + anon key locale

5. Vérification finale

python scripts/project_health.py   # Santé globale
python scripts/rtk_setup.py --check  # RTK actif ?
pnpm install && pnpm dev              # App démarre ?

6. RTK — si non installé

RTK réduit les tokens Claude Code de 60-90%. Installer une fois globalement :

brew install rtk-ai/tap/rtk && rtk init --global
# Windows : winget install rtk-ai.rtk

Doc : docs/integrations/rtk-token-optimizer.md

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,871. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.