Agent Skills: 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".

UncategorizedID: ehtbanton/ClaudeSkillsRepo/mongodb-schema-generator

Install this agent skill to your local

pnpm dlx add-skill https://github.com/ehtbanton/ClaudeSkillsRepo/tree/HEAD/mongodb-schema-generator

Skill Files

Browse the full folder contents for mongodb-schema-generator.

Download Skill

Loading file tree…

mongodb-schema-generator/SKILL.md

Skill Metadata

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

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.