Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

NestJS API endpoints

Adds NestJS endpoints with proper validation, status codes and the traps that break startup fixed.

Claude's review

8/10 Detailed NestJS feature guidance with validation styles, DI startup errors and route-order traps.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Add or change HTTP endpoints in a NestJS application - modules, controllers and services, request validation (Zod or another Standard Schema library with @Body({ schema }), or class-validator DTOs), status codes, error response bodies, request IDs, versioning and Server-Sent Events. Use when adding or changing endpoints in a NestJS application.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: nestjs-feature
description: Add or change HTTP endpoints in a NestJS application - modules, controllers and services, request validation (Zod or another Standard Schema library with @Body({ schema }), or class-validator DTOs), status codes, error response bodies, request IDs, versioning and Server-Sent Events. Use when adding or changing endpoints in a NestJS application.
license: MIT
---

# Adding a feature to a NestJS app

## Where code goes

- Controllers do HTTP only (params, one service call, status codes); services hold the rules and know nothing about HTTP; repositories hold the queries. Never return ORM entities or rows: map to a response type.
- One module per feature (`src/notes/` holds its module, controller, service, repository, DTOs, policy and tests), never per layer. Export only what others inject.
- To read another feature's table, register its repository in your own module (`TypeOrmModule.forFeature([Note])`, or import the Drizzle table) instead of importing the other feature's module: that's how circular module dependencies start.
- Avoid `@Global()`, always for feature modules; no catch-all `SharedModule`.
- DTO classes end in `Dto` (`CreateNoteDto`), one per use case (create, update, response).
- Never block the event loop: CPU-heavy work goes to a queue worker or `worker_threads`.

All 49 conventions, with what to avoid: [references/structure.md](references/structure.md).

## The shape of a feature

Write the files directly; each is small:

```typescript
// src/notes/notes.module.ts
@Module({ controllers: [NotesController], providers: [NotesService], exports: [NotesService] })
export class NotesModule {}

// src/notes/notes.controller.ts: HTTP only (params, status codes, which service call)
@Controller('notes')
export class NotesController {
  constructor(private readonly notes: NotesService) {}
  @Get(':id') findOne(@Param('id', { schema: id }) noteId: number, @CurrentUser() user: User) { return this.notes.findOne(user.id, noteId); }
}

// src/notes/notes.service.ts: rules and data access; throws Nest exceptions (NotFoundException, ...)
@Injectable()
export class NotesService { ... }
```

...

From nestjs's repository, MIT licence.

Related skills

  • Checked

    HTTP API design review

    Designs or reviews HTTP endpoints, auth, pagination and versioning, so API changes do not break your clients.

    by AmazingAng 770
    7/101 credit
  • Checked

    Supabase auth and database

    Builds with Supabase auth, database, storage and edge functions while avoiding common security traps.

    by supabase 3.2k
    8/101 credit
  • Checked

    AWS schema conversion

    Runs AWS DMS Schema Conversion projects to move database schemas between engines and convert SQL to match.

    by aws 3.7k
    7/101 credit
  • Checked

    Reversible database migrations

    Writes safe, reversible migrations for Postgres, Prisma, Django and others, so tables change without downtime.

    by affaan-m 314k
    8/101 credit
  • Checked

    Firebase Done Right

    Builds Firebase apps with safe security rules, data models that scale and reliable Cloud Functions.

    by ericrisco 691
    7/101 credit
  • Checked

    MySQL and MariaDB tuning

    Guides MySQL and MariaDB schema, indexes, EXPLAIN plans and replication, so your database runs smoothly.

    by ericrisco 691
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added