Agent skill

mongodb-schema-generator

Generate MongoDB/Mongoose schema files with validation, indexes, and virtuals. Triggers on "create mongodb schema", "generate mongoose model", "mongo schema", "mongoose model for".

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/mongodb-schema-generator-ehtbanton-claudeskillsrepo

SKILL.md

MongoDB Schema Generator

Generate Mongoose schema files with validation, indexes, virtuals, and methods.

Output Requirements

File Output: *.model.ts or *.schema.ts Format: Valid Mongoose TypeScript Standards: Mongoose 8.x with TypeScript

When Invoked

Immediately generate a complete Mongoose schema with validation and indexes.

Example Invocations

Prompt: "Create MongoDB schema for blog posts" Output: Complete post.model.ts with validation, indexes, and virtuals.

Didn't find tool you were looking for?

Be as detailed as possible for better results