mongodb-development
Skill275 starsChanged 52 days agoApache-2.0View on GitHub
MongoDB development guidelines with Payload CMS, Mongoose, aggregation pipelines, and TypeScript best practices.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 10 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Use hooks for functionality extension
- Distinctive: line 39
Consider document size constraints during schema design
- Distinctive: line 40
Use transactions for atomic operations
- Very specific: line 46
Avoid any/unknown types
- Distinctive: line 48
Use mapped and conditional types for advanced patterns
- Distinctive: line 53
Write concise, functional code.
- Distinctive: line 54
Use descriptive variable names with auxiliary verbs
- Distinctive: line 55
Prefer async/await over raw Promises
- Distinctive: line 57
Use destructuring for cleaner syntax
- Distinctive: line 63
Use rate limiting for API endpoints
- Distinctive: line 67
Use pagination for large result sets
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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/unknowntypes - 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

