nestjs-expert
Skill12k starsChanged 11 months agoMITView on GitHub
Creates and configures NestJS modules, controllers, services, DTOs, guards, and interceptors for enterprise-grade TypeScript backend applications. Use when building NestJS REST APIs or GraphQL services, implementing dependency injection, scaffolding modular architecture, adding JWT/Passport authentication, integrating TypeORM or Prisma, or working with .module.ts, .controller.ts, and .service.ts files. Invoke for guards, interceptors, pipes, validation, Swagger documentation, and unit/E2E testing in NestJS projects.
- Reads credentials
10 other projects use a version of this, 4 of them edited.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- nafiskabbo/skillstheir own version, first seen Sep 23, 2026
- Aarvion-AI/stackwise-skillstheir own version, first seen Aug 25, 2026
- Leo-Atienza/atlas-claudeedited, first seen Jul 24, 2026
- codeApe-7/ai-agent-workflowGroupedited, first seen Jun 6, 2026
- tranhieutt/software_development_departmenttheir own version, first seen Apr 30, 2026
- ai4brands-design/claude-skillstheir own version, first seen Mar 22, 2026
Who's talking about Jeffallan/claude-skills
- @ponceto91.bsky.social“Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ …”Bluesky · Mar 7, 2026 · 56 likes
- @camilleroux.com“Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, …”Bluesky · Mar 17, 2026 · 9 likes
- @jeffallan.bsky.social“My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply …”Bluesky · Jan 26, 2026 · 5 likes
- @jeffallan.bsky.social“github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our …”Bluesky · Jan 29, 2026 · 3 likes
- @pythonhub.dev“Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your …”Bluesky · Mar 5, 2026 · 2 likes
The biggest 5 of 42 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 42
Talked about on GitHub, Bluesky and Hacker News (42 times).
On GitHub · 35
- Oct 4, 2026claude-code-plugins.github.jeffallan.claude-skills: init at 0.4.18 — sudosubin/agents.nix0 reactions
- Oct 4, 2026chore: sync upstream skills (auto) — marcioaltoe/skills0 reactions
- Oct 3, 2026agent-skills.github.jeffallan.claude-skills: 0.4.16 → 0.4.18 — sudosubin/agents.nix0 reactions
- Sep 29, 2026Add The Fool and The Jury as optional discovery skills — WolvenTech/wolven-harness0 reactions
- Sep 28, 2026agent-skills.github.jeffallan.claude-skills: init at 0.4.16 — sudosubin/agents.nix0 reactions
30 more on GitHub
- Sep 21, 2026feat(skills): ship golang-pro from thismoon — mad01/thismoon0 reactions
- Sep 17, 2026feat(pkgs): add jeffallan/claude-skills plugin — agent-stacks/agent-pkgs0 reactions
- Sep 17, 2026Update skill: /jeffallan-typescript-pro (safe risk) — aiskillstore/marketplace0 reactions
- Sep 7, 2026Safeword's own skill installer doesn't meet the dependency-vetting standard it just added for customers — ArcadeAI/safeword0 reactions
- Jul 18, 2026Solve problem 4 — gaarutyunov/skill-test0 reactions
- Jul 17, 2026Jamison's Recommendations — jpziller/DataMigration0 reactions
- Jul 13, 2026Fix 19 skills misplaced in personal/ despite external origin (bucket-placement drift) — Tyler-Reagan/skills-bank0 reactions
- Jul 9, 2026Register the-fool critical-reasoning managed skill — dennisofficial/atlas0 reactions
- Apr 6, 2026Audit candidate: Jeffallan/claude-skills — xiaolai/nlpm0 reactions · 3 comments
- Mar 22, 2026[BUG] Many skills missing nested files — sickn33/agentic-awesome-skills0 reactions · 1 comment
- Mar 19, 2026feat: prompt manager — gohypergiant/agent-skills0 reactions · 3 comments
- Mar 12, 2026Pixel Agents: pixel-style marketplace, live dashboard, auto-hire, and Next.js CVE fixes — ajay-sai/Pixel-agents0 reactions · 1 comment
- Mar 12, 2026Pixel Market: AI agent marketplace with animated pixel-art characters, AGOR canvas, skills library, and Claude Code plugin — ajay-sai/Pixel-agents0 reactions · 4 comments
- Mar 12, 2026Update ReadMe And SKILL.md — tkestack/tke-skill0 reactions
- Mar 11, 2026Claude skills — nova-firefly/nova-config0 reactions
- Mar 10, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions
- Mar 9, 2026[SUBMISSION] claude-skills — ProSkillsMD/proskills0 reactions · 2 comments
- Mar 9, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions · 4 comments
- Feb 14, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 13, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-golang-pro (low risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-flutter-expert (safe risk) — aiskillstore/marketplace0 reactions
- Feb 5, 2026Add resource: Fullstack Dev Skills — hesreallyhim/awesome-claude-code0 reactions
- Jan 25, 2026feat: add 65 specialized skills to enhance Claude capabilities — stevengaltau-cpu/claude-code-action0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — jqueryscript/awesome-claude-code0 reactions
- Jan 19, 2026Add claude-skills collection and workflow commands — ComposioHQ/awesome-claude-skills0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — VoltAgent/awesome-agent-skills0 reactions
- Jan 19, 2026Adds jeffallan/claude-skills collection and workflow commands — BehiSecc/awesome-claude-skills0 reactions
- Jan 19, 2026[Resource]: jeffallan/claude-skills — hesreallyhim/awesome-claude-code0 reactions · 5 comments
- Jan 19, 2026Recommend: Claude Skills (Fullstack Dev Skills) — hesreallyhim/awesome-claude-code0 reactions · 1 comment
On Bluesky · 6
- Mar 7, 2026Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ github.com/Jeffallan/cl... — @ponceto91.bsky.social56 likes and reposts · 5 replies
- Mar 17, 2026Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, infra, sécu, testing...… — @camilleroux.comsays it tested it9 likes and reposts · 1 reply
- Jan 26, 2026My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply honored to have built something others… — @jeffallan.bsky.social5 likes and reposts
- Jan 29, 2026github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our contributors: github.com/thomassamoul… — @jeffallan.bsky.social3 likes and reposts
- Mar 5, 2026Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert pair programmer.… — @pythonhub.dev2 likes and reposts
1 more on Bluesky
- Feb 10, 2026📦 Jeffallan / claude-skills ⭐ 532 (+33) 🗒 Python 65 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert… — @github-trending.bsky.social1 likes and repost
On Hacker News · 1
- Feb 5, 2026Show HN: Claude Skills. Try vibe engineering instead of vibe coding1 point · 1 comment
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- codeApe-7/ai-agent-workflowGroup★ 17100% same
- Leo-Atienza/atlas-claude★ 4100% same
- d3labs-thomas/claude-code★ 229% same
- usmanmubarak1/ClaudeSkilledAgents★ 036% same
Wrote their own version · 6
- tranhieutt/software_development_department★ 72same name
- xfstudio/skills★ 9same name
- Aarvion-AI/stackwise-skills★ 5same name
- ai4brands-design/claude-skills★ 2same name
- Aver005/agent-skills★ 2same name
- nafiskabbo/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository67 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- atlassian-mcpSkill
- chaos-engineerSkill
- cli-developerSkill
- cloud-architectSkill
- code-documenterSkill
- code-reviewerSkill
- cpp-proSkill
- csharp-developerSkill
- database-optimizerSkill
- debugging-wizardSkill
- devops-engineerSkill
- django-expertSkill
- django-storages-s3Skill
- dotnet-core-expertSkill
- embedded-systemsSkill
- fastapi-expertSkill
- feature-forgeSkill
- fine-tuning-expertSkill
- flutter-expertSkill
- fullstack-guardianSkill
- game-developerSkill
- golang-proSkill
- graphql-architectSkill
- java-architectSkill
- javascript-proSkill
- kotlin-specialistSkill
- kubernetes-specialistSkill
- laravel-specialistSkill
- legacy-modernizerSkill
- mcp-developerSkill
- microservices-architectSkill
- ml-pipelineSkill
- monitoring-expertSkill
- nextjs-developerSkill
- pandas-proSkill
- php-proSkill
- playwright-expertSkill
- postgres-proSkill
- prompt-engineerSkill
- python-proSkill
- rag-architectSkill
- rails-expertSkill
- react-expertSkill
- react-native-expertSkill
- rust-engineerSkill
- salesforce-developerSkill
- secure-code-guardianSkill
- security-reviewerSkill
- shopify-expertSkill
- spark-engineerSkill
- spec-minerSkill
- spring-boot-engineerSkill
- sql-proSkill
- sre-engineerSkill
- swift-expertSkill
- terraform-engineerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 1 is distinctive, and 6 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 180
Use @Injectable() and constructor injection for all services — never instantiate services with new
- Very specific: line 182
Use DTOs for all request/response bodies.
- Very specific: line 184
Document all endpoints with @ApiTags, @ApiOperation, and response decorators
- Very specific: line 185
Write unit tests for every service method using Test.createTestingModule
- Very specific: line 191
Use any type unless absolutely necessary and documented
- Very specific: line 192
Create circular dependencies between modules — use forwardRef() only as a last resort
- Distinctive: line 198
When implementing a NestJS feature, provide in this order:
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
NestJS Expert
Senior NestJS specialist with deep expertise in enterprise-grade, scalable TypeScript backend applications.
Core Workflow
- Analyze requirements — Identify modules, endpoints, entities, and relationships
- Design structure — Plan module organization and inter-module dependencies
- Implement — Create modules, services, and controllers with proper DI wiring
- Secure — Add guards, validation pipes, and authentication
- Verify — Run
npm run lint,npm run test, and confirm DI graph withnest info - Test — Write unit tests for services and E2E tests for controllers
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
| Controllers | references/controllers-routing.md | Creating controllers, routing, Swagger docs |
| Services | references/services-di.md | Services, dependency injection, providers |
| DTOs | references/dtos-validation.md | Validation, class-validator, DTOs |
| Authentication | references/authentication.md | JWT, Passport, guards, authorization |
| Testing | references/testing-patterns.md | Unit tests, E2E tests, mocking |
| Express Migration | references/migration-from-express.md | Migrating from Express.js to NestJS |
Code Examples
Controller with DTO Validation and Swagger
// create-user.dto.ts
import { IsEmail, IsString, MinLength } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class CreateUserDto {
@ApiProperty({ example: 'user@example.com' })
@IsEmail()
email: string;
@ApiProperty({ example: 'strongPassword123', minLength: 8 })
@IsString()
@MinLength(8)
password: string;
}
// users.controller.ts
import { Body, Controller, Post, HttpCode, HttpStatus } from '@nestjs/common';
import { ApiCreatedResponse, ApiTags } from '@nestjs/swagger';
import { UsersService } from './users.service';
import { CreateUserDto } from './dto/create-user.dto';
@ApiTags('users')
@Controller('users')
export class UsersController {
constructor(private readonly usersService: UsersService) {}
@Post()
@HttpCode(HttpStatus.CREATED)
@ApiCreatedResponse({ description: 'User created successfully.' })
create(@Body() createUserDto: CreateUserDto) {
return this.usersService.create(createUserDto);
}
}Service with Dependency Injection and Error Handling
// users.service.ts
import { Injectable, ConflictException, NotFoundException } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { User } from './entities/user.entity';
import { CreateUserDto } from './dto/create-user.dto';
@Injectable()
export class UsersService {
constructor(
@InjectRepository(User)
private readonly usersRepository: Repository<User>,
) {}
async create(createUserDto: CreateUserDto): Promise<User> {
const existing = await this.usersRepository.findOneBy({ email: createUserDto.email });
if (existing) {
throw new ConflictException('Email already registered');
}
const user = this.usersRepository.create(createUserDto);
return this.usersRepository.save(user);
}
async findOne(id: number): Promise<User> {
const user = await this.usersRepository.findOneBy({ id });
if (!user) {
throw new NotFoundException(`User #${id} not found`);
}
return user;
}
}Module Definition
// users.module.ts
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UsersController } from './users.controller';
import { UsersService } from './users.service';
import { User } from './entities/user.entity';
@Module({
imports: [TypeOrmModule.forFeature([User])],
controllers: [UsersController],
providers: [UsersService],
exports: [UsersService], // export only when other modules need this service
})
export class UsersModule {}Unit Test for Service
// users.service.spec.ts
import { Test, TestingModule } from '@nestjs/testing';
import { getRepositoryToken } from '@nestjs/typeorm';
import { ConflictException } from '@nestjs/common';
import { UsersService } from './users.service';
import { User } from './entities/user.entity';
const mockRepo = {
findOneBy: jest.fn(),
create: jest.fn(),
save: jest.fn(),
};
describe('UsersService', () => {
let service: UsersService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [
UsersService,
{ provide: getRepositoryToken(User), useValue: mockRepo },
],
}).compile();
service = module.get<UsersService>(UsersService);
jest.clearAllMocks();
});
it('throws ConflictException when email already exists', async () => {
mockRepo.findOneBy.mockResolvedValue({ id: 1, email: 'user@example.com' });
await expect(
service.create({ email: 'user@example.com', password: 'pass1234' }),
).rejects.toThrow(ConflictException);
});
});Constraints
MUST DO
- Use
@Injectable()and constructor injection for all services — never instantiate services withnew - Validate all inputs with
class-validatordecorators on DTOs and enableValidationPipeglobally - Use DTOs for all request/response bodies; never pass raw
req.bodyto services - Throw typed HTTP exceptions (
NotFoundException,ConflictException, etc.) in services - Document all endpoints with
@ApiTags,@ApiOperation, and response decorators - Write unit tests for every service method using
Test.createTestingModule - Store all config values via
ConfigModuleandprocess.env; never hardcode them
MUST NOT DO
- Expose passwords, secrets, or internal stack traces in responses
- Accept unvalidated user input — always apply
ValidationPipe - Use
anytype unless absolutely necessary and documented - Create circular dependencies between modules — use
forwardRef()only as a last resort - Hardcode hostnames, ports, or credentials in source files
- Skip error handling in service methods
Output Templates
When implementing a NestJS feature, provide in this order:
- Module definition (
.module.ts) - Controller with Swagger decorators (
.controller.ts) - Service with typed error handling (
.service.ts) - DTOs with
class-validatordecorators (dto/*.dto.ts) - Unit tests for service methods (
*.service.spec.ts)
Knowledge Reference
NestJS, TypeScript, TypeORM, Prisma, Passport, JWT, class-validator, class-transformer, Swagger/OpenAPI, Jest, Supertest, Guards, Interceptors, Pipes, Filters
Maintained by @jeffallan, Principal Consultant at Synergetic Solutions
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

