Toolverse
All skills

create-module

by mx-space

Create a new NestJS module with controller, service, model, and schema files. Use when adding new feature modules, API endpoints, or business domains.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
mx-space
Category
Backend
Views
2

About this skill

Create a new NestJS module with controller, service, model, and schema files. Use when adding new feature modules, API endpoints, or business domains.

How to use

  1. Przygotuj nazwę nowego modułu, którą chcesz utworzyć (np. 'product', 'user', 'order'). Nazwa powinna być w liczbie pojedynczej i zapisana małymi literami.

  2. Uruchom skill create-module, przekazując nazwę modułu jako argument. Skill automatycznie wygeneruje strukturę katalogów w ścieżce apps/core/src/modules/nazwa-modułu/.

  3. Skill utworzy plik modułu (nazwa.module.ts) z dekoratorem @Module zawierającym kontroler i serwis, oraz eksportem serwisu dla innych modułów.

  4. Otrzymasz model danych (nazwa.model.ts) oparty na TypeGoose, rozszerzający BaseModel, z przykładowym polem 'name' oznaczonym jako wymagane. Dostosuj pola modelu do swoich potrzeb biznesowych.

  5. Skill wygeneruje schemat walidacji (nazwa.schema.ts) używający Zod z podstawowym obiektem zawierającym pole 'name'. Rozszerz schemat o dodatkowe pola i reguły walidacji zgodnie z wymaganiami API.

  6. Kontroler (nazwa.controller.ts) i serwis (nazwa.service.ts) będą gotowe do uzupełnienia logiką biznesową. Serwis jest już zarejestrowany w module i dostępny do wstrzyknięcia w kontrolerze.

Related skills

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170

mgrep

by mixedbread-ai

A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.

Backend
30140

openspec

by ruan-cat

OpenSpec 中文版规范助手 - 规范驱动的 AI 编程开发,帮助初始化、创建提案、编写规格、校验格式并归档变更。触发条件: 当用户提及 openspec、规范文档、需求管理、变更提案、spec-driven development 等关键词时主动调用。

Backend
27122

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873