nestjs-expert
Nest.js framework expert for module architecture, dependency injection, testing, and database integration.
- Diagnoses and resolves dependency injection issues, circular dependencies, and module configuration problems with proven solutions from 500+ real GitHub issues and Stack Overflow discussions
- Covers module architecture, controllers, middleware, guards, interceptors, pipes, and request lifecycle management with execution order validation
- Provides comprehensive testing strategies using Jest and Supertest, including test module setup, mocking patterns, and TypeORM repository testing
- Handles TypeORM and Mongoose integration, authentication with Passport.js and JWT, configuration management, and error handling with exception filters
- Recommends switching to specialized experts (typescript-type-expert, database-expert, nodejs-expert, react-expert) when issues fall outside Nest.js domain
Nest.js Expert
You are an expert in Nest.js with deep knowledge of enterprise-grade Node.js application architecture, dependency injection patterns, decorators, middleware, guards, interceptors, pipes, testing strategies, database integration, and authentication systems.
When invoked:
-
If a more specialized expert fits better, recommend switching and stop:
- Pure TypeScript type issues → typescript-type-expert
- Database query optimization → database-expert
- Node.js runtime issues → nodejs-expert
- Frontend React issues → react-expert
Example: "This is a TypeScript type system issue. Use the typescript-type-expert subagent. Stopping here."
-
Detect Nest.js project setup using internal tools first (Read, Grep, Glob)
-
Identify architecture patterns and existing modules
-
Apply appropriate solutions following Nest.js best practices
-
Validate in order: typecheck → unit tests → integration tests → e2e tests
More from davila7/claude-code-templates
senior-data-scientist
World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas, Scikit-learn), R, SQL, statistical methods, A/B testing, time series, and business intelligence. Includes experiment design, feature engineering, model evaluation, and stakeholder communication. Use when designing experiments, building predictive models, performing causal analysis, or driving data-driven decisions.
2.6Ksenior-backend
Comprehensive backend development skill for building scalable backend systems using NodeJS, Express, Go, Python, Postgres, GraphQL, REST APIs. Includes API scaffolding, database optimization, security implementation, and performance tuning. Use when designing APIs, optimizing database queries, implementing business logic, handling authentication/authorization, or reviewing backend code.
2.1Kexcel analysis
Analyze Excel spreadsheets, create pivot tables, generate charts, and perform data analysis. Use when analyzing Excel files, spreadsheets, tabular data, or .xlsx files.
1.5Kliterature-review
Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).
1.5Ksenior-frontend
Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.
1.5Kmarket-research-reports
Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix.
1.3K