mongodb-development
MongoDB development guidelines with Payload CMS, Mongoose, aggregation pipelines, and TypeScript best practices.
Best use case
mongodb-development is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
MongoDB development guidelines with Payload CMS, Mongoose, aggregation pipelines, and TypeScript best practices.
Teams using mongodb-development should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/mongodb-development/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How mongodb-development Compares
| Feature / Agent | mongodb-development | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
MongoDB development guidelines with Payload CMS, Mongoose, aggregation pipelines, and TypeScript best practices.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# MongoDB Development You are an expert in MongoDB development with Payload CMS, Mongoose, and Node.js. ## Core Expertise Areas Fullstack TypeScript with Payload CMS, MongoDB, and Node.js, enabling scalable backend services for multiple frontend applications including React Native, Remix.js, and Next.js. ## Technology Stack - **Backend:** Payload CMS, MongoDB, Node.js, Express, TypeScript - **Frontend:** Next.js, React, React Native, Remix.js - **Database:** MongoDB, Mongoose, MongoDB Atlas, aggregation pipelines - **APIs:** RESTful, GraphQL, Webhook integrations ## Key Development Patterns ### Payload CMS Structure - Organize collections by domain/feature in `src/collections/` - Store globals in `src/globals/` - Implement field groups and blocks for content modeling - Use hooks for functionality extension - Employ migrations for schema changes - Handle uploads with proper image processing ### MongoDB Best Practices - Design schemas with strategic indexing for performance - Leverage aggregation pipelines for complex transformations - Implement comprehensive error handling for database operations - Apply validation at both application and database layers - Consider document size constraints during schema design - Use transactions for atomic operations - Implement pagination for large datasets ## TypeScript Standards - Prioritize types over interfaces (except public APIs) - Avoid `any`/`unknown` types - Minimize type assertions (`as`, `!`) - Use mapped and conditional types for advanced patterns - Centralize type exports for reusability ## Code Quality Guidelines - Write concise, functional code; avoid classes - Use descriptive variable names with auxiliary verbs - Prefer async/await over raw Promises - Apply optional chaining and nullish coalescing - Use destructuring for cleaner syntax ## Security & Performance - Implement authentication and authorization - Apply input sanitization for all user data - Use rate limiting for API endpoints - Environment-based configuration management - Optimize queries with proper indexing - Implement caching strategies - Use pagination for large result sets
Related Skills
MongoDB with Mongoose
Database patterns for user data and credentials storage
mongodb-expert
MongoDB document modeling, aggregation pipeline optimization, sharding strategies, replica set configuration, connection pool management, and indexing patterns. Use this skill for MongoDB-specific issues, NoSQL performance optimization, and schema design.
mongodb-crud-operations
Master MongoDB CRUD operations, document insertion, querying, updating, and deletion. Learn BSON format, ObjectId, data types, and basic operations. Use when working with documents, collections, and fundamental MongoDB operations.
MongoDB Best Practices
Expert rules for schema design, indexing, and performance in MongoDB (NoSQL).
monad-development
Builds dapps on Monad blockchain. Use when deploying contracts, setting up frontends with viem/wagmi, or verifying contracts on Monad testnet or mainnet.
mobile-ui-development-rule
General rules pertaining to Mobile UI development. Covers UI/UX best practices, state management, and navigation patterns.
mobile-development
Cross-platform and native mobile development. Frameworks: React Native, Flutter, Swift/SwiftUI, Kotlin/Jetpack Compose. Capabilities: mobile UI, offline-first architecture, push notifications, deep linking, biometrics, app store deployment. Actions: build, create, implement, optimize, test, deploy mobile apps. Keywords: iOS, Android, React Native, Flutter, Swift, Kotlin, mobile app, offline sync, push notification, deep link, biometric auth, App Store, Play Store, iOS HIG, Material Design, battery optimization, memory management, mobile performance. Use when: building mobile apps, implementing mobile-first UX, choosing native vs cross-platform, optimizing battery/memory/network, deploying to app stores, handling mobile-specific features.
miniprogram-development
WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.
minimalist-surgical-development
Use when editing an existing codebase and the goal is minimal, standard, and non-invasive changes - prioritizes simplest solution, standard libraries first, and surgical modification without unsolicited refactors
MCP Widget Development
This skill should be used when the user asks to "build a widget", "create UI component", "ChatGPT UI", "window.openai API", "widget template", "skybridge", "render in ChatGPT", "CSP configuration", or needs guidance on building interactive UI components for OpenAI Apps SDK that render inside ChatGPT.
mcp-development
Model Context Protocol (MCP) server development and AI/ML integration patterns. Covers MCP server implementation, tool design, resource handling, and LLM integration best practices. Use when developing MCP servers, creating AI tools, integrating with LLMs, or when asking about MCP protocol, prompt engineering, or AI system architecture.
local-development
Running functions and web app locally, troubleshooting emulator issues, Storybook. Use when running or debugging locally.