Skip to content
cccskills
FreePublished on GitHub

nestjs-scaffold

Scaffold de API NestJS production-ready con módulos por feature, DI, ValidationPipe global, Prisma/Drizzle, guards de auth y testing. Usar para iniciar un backend NestJS nuevo.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

nestjs-scaffold — NestJS API Scaffolder

MANDATORY WORKFLOW

Antes de generar cualquier código, completar estos pasos en orden.

Step 0: Gather Requirements

  1. Nombre del servicio (kebab-case)
  2. Transport: REST (default) / GraphQL / microservicio
  3. ORM: Prisma (default) / Drizzle / TypeORM
  4. DB: PostgreSQL (default) / MySQL
  5. Auth: JWT + refresh (default) / OAuth / ninguna
  6. Deploy: Docker (default) / Railway / AWS ECS

Step 1: Crear base

npm i -g @nestjs/cli
nest new <name> --package-manager pnpm
cd <name>
nest g module users && nest g controller users && nest g service users

Step 2: Estructura (feature modules — NO por capa)

src/
  users/   { users.module.ts, users.controller.ts, users.service.ts, dto/, entities/ }
  auth/    { auth.module.ts, jwt.strategy.ts, guards/, decorators/ }
  common/  { filters/, interceptors/, pipes/ }
  config/  { config.module.ts, env.validation.ts }
  main.ts

Step 3: Bootstrap no negociable (main.ts)

app.useGlobalPipes(new ValidationPipe({ whitelist: true, forbidNonWhitelisted: true, transform: true }));
app.useGlobalFilters(new AllExceptionsFilter());
app.enableShutdownHooks();           // graceful shutdown
app.enableVersioning({ type: VersioningType.URI });

Step 4: Defaults

  • Constructor injection siempre; cero ModuleRef.get() en runtime
  • DTOs decorados (class-validator) en todos los endpoints
  • Guards declarativos para auth/authz
  • ConfigModule con validación de env (Joi/Zod) al boot
  • Migraciones versionadas, synchronize: false
  • Health check (@nestjs/terminus) + structured logging (pino)
  • Tests: Test.createTestingModule (unit) + supertest (e2e)

Step 5: Verificar

npm run build + npm run test. Revisar contra la rule nestjs-code y el skill nestjs-best-practices. Build + tests verdes → scaffold READY.

Stack Defaults

ComponenteDefault
FrameworkNestJS 10+
ORMPrisma
DBPostgreSQL
AuthJWT + refresh tokens
Validaciónclass-validator + ValidationPipe
TestingJest + supertest
DeployDocker

Inspirado en las skills NestJS de kadajett/agent-nestjs-skills y giuseppe-trisciuoglio/developer-kit. Adaptado al formato Arcane.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill