claude-skills / mongodb-skills
CLAUDE.md8 starsChanged 9 months agoMITView on GitHub
8 production-ready skills extracted from the MongoDB Hackathon Platform. Each skill provides battle-tested patterns for building Next.js + MongoDB applications following MongoDB DevRel conventions. All tools use Python 3.7+ standard library only. No external dependencies.
- Reads credentials
In this repository9 other files it gives its agents.
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 22
All tools use Python 3.7+ standard library only.
- Very specific: line 32
Check that a .env file has all required variables for selected skills.
- Distinctive: line 89
All skills in this collection meet the following standards:
- Distinctive: line 91
Real code, not pseudocode: Every code pattern is extracted from a production application
- Distinctive: line 95
Python tools are deterministic: No LLM/API calls — pure local computation
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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 DevRel Skills
Overview
8 production-ready skills extracted from the MongoDB Hackathon Platform. Each skill provides battle-tested patterns for building Next.js + MongoDB applications following MongoDB DevRel conventions.
Skills Catalog
| Skill | Description | Python Tools |
mongodb-nextjs-scaffold | Next.js + MongoDB + Auth + MUI project bootstrap | brand_color_checker.py, env_checker.py |
mongodb-rbac-middleware | NextAuth v5 with 8-role RBAC and edge middleware | role_matrix_generator.py |
mongodb-email-system | Templated transactional email with DB-backed templates | template_variable_checker.py |
mongodb-atlas-provisioning | Self-service Atlas cluster management via Admin API v2 | atlas_cost_estimator.py |
mongodb-ai-features | AI integration: summarization, RAG pipeline, usage tracking | embedding_cost_estimator.py, chunk_size_analyzer.py |
mongodb-event-platform | Event lifecycle: CRUD, registration, feedback, judging | feedback_form_generator.py |
mongodb-partner-portal | Sponsor/partner management with 5-tier system | tier_report_generator.py |
mongodb-devrel-advisor | Meta-skill: conventions, branding, architecture decisions | (none) |
Python Tool Catalog
All tools use Python 3.7+ standard library only. No external dependencies.
brand_color_checker.py
Validate CSS/theme files against the MongoDB brand palette.
python mongodb-nextjs-scaffold/scripts/brand_color_checker.py path/to/theme.ts
python mongodb-nextjs-scaffold/scripts/brand_color_checker.py path/to/theme.ts --format jsonenv_checker.py
Check that a .env file has all required variables for selected skills.
python mongodb-nextjs-scaffold/scripts/env_checker.py .env --skills scaffold,rbac,email
python mongodb-nextjs-scaffold/scripts/env_checker.py .env --skills all --format jsonrole_matrix_generator.py
Generate a role-to-route permission matrix from an admin-guard configuration file.
python mongodb-rbac-middleware/scripts/role_matrix_generator.py path/to/admin-guard.ts
python mongodb-rbac-middleware/scripts/role_matrix_generator.py path/to/admin-guard.ts --format jsontemplate_variable_checker.py
Parse email templates and report missing or unused variables.
python mongodb-email-system/scripts/template_variable_checker.py path/to/templates/
python mongodb-email-system/scripts/template_variable_checker.py path/to/templates/ --format jsonatlas_cost_estimator.py
Estimate monthly Atlas cost for a cluster configuration.
python mongodb-atlas-provisioning/scripts/atlas_cost_estimator.py --tier M10 --provider AWS --region us-east-1
python mongodb-atlas-provisioning/scripts/atlas_cost_estimator.py config.json --format jsonembedding_cost_estimator.py
Project Voyage AI and OpenAI embedding costs for a given document count and query volume.
python mongodb-ai-features/scripts/embedding_cost_estimator.py --docs 1000 --queries-per-month 5000
python mongodb-ai-features/scripts/embedding_cost_estimator.py --docs 1000 --queries-per-month 5000 --format jsonchunk_size_analyzer.py
Analyze markdown files and recommend optimal chunk sizes for RAG ingestion.
python mongodb-ai-features/scripts/chunk_size_analyzer.py path/to/docs/
python mongodb-ai-features/scripts/chunk_size_analyzer.py path/to/docs/ --format jsonfeedback_form_generator.py
Generate a FeedbackFormConfig JSON document from a simple YAML specification.
python mongodb-event-platform/scripts/feedback_form_generator.py spec.yaml
python mongodb-event-platform/scripts/feedback_form_generator.py spec.yaml --format jsontier_report_generator.py
Generate a partner engagement summary report from partner data.
python mongodb-partner-portal/scripts/tier_report_generator.py partners.json
python mongodb-partner-portal/scripts/tier_report_generator.py partners.json --format jsonQuality Standards
All skills in this collection meet the following standards:
- Real code, not pseudocode: Every code pattern is extracted from a production application
- Architecture decisions documented: Each skill explains WHY, not just WHAT
- Common pitfalls listed: Known gotchas that save hours of debugging
- Self-contained: Each skill can be used independently (dependencies are noted, not required)
- Python tools are deterministic: No LLM/API calls — pure local computation
- Standard library only: Python scripts have zero external dependencies
Related Skills
Skills reference each other where patterns overlap:
mongodb-nextjs-scaffold→ foundation for all other skillsmongodb-rbac-middleware→ depends on scaffold's auth setupmongodb-email-system→ depends on scaffold's DB connectionmongodb-atlas-provisioning→ depends on scaffold + RBACmongodb-ai-features→ depends on scaffold's singleton patternmongodb-event-platform→ depends on scaffold, RBAC, emailmongodb-partner-portal→ depends on scaffold, RBAC, emailmongodb-devrel-advisor→ references all other skills
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.

