Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

abp-mongodb

Skill by abpframework

Explains ABP MongoDB patterns for C# developers building MongoDB data access in ABP projects. Covers AbpMongoDbContext setup, MongoDbRepository implementations, module configuration, and how MongoDB differs from EF Core.

  • Score 87
  • 14k stars
  • LGPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install abp-mongodb

Built from the published package, never by AI.

git clone --depth 1 https://github.com/abpframework/abp /tmp/abp && mkdir -p ~/.claude/skills && cp -r /tmp/abp/.agents/skills/abp-mongodb ~/.claude/skills/abp-mongodb

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install abp-mongodb in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant the coding patterns for MongoDB in the ABP framework. It shows how to define an AbpMongoDbContext with IMongoCollection properties, map entities to collection names, and implement custom repositories based on MongoDbRepository. It also covers module setup with AddMongoDbContext, the connection string format, and direct collection access through the MongoDB driver.

The skill also explains the differences from EF Core. It says MongoDB needs no migrations, that includeDetails is often ignored because documents embed related data, and that changes must be saved explicitly with UpdateAsync because there is no change tracking. It is intended for developers working in MongoDB projects or implementing MongoDB repositories in ABP.

Written from the project's SKILL.md and checked against it.

What it can do

  • MongoDbContext setupShows how to define an AbpMongoDbContext with IMongoCollection properties and model configuration.
  • Repository implementationShows a custom repository built on MongoDbRepository with query methods.
  • Module configurationShows AddMongoDbContext with AddDefaultRepositories for aggregate roots.
  • Connection stringShows the MongoDB connection string format in appsettings.json.
  • Embedded vs referenced dataExplains when to embed documents in the same record or store a reference by ID.
  • Explicit updatesNotes that entity changes must be saved with UpdateAsync because MongoDB has no change tracking.
  • Direct collection accessShows using the MongoDB driver directly for filters and bulk updates.
  • IndexingShows creating an index from a repository query method.

What you need

  • ABP framework project
  • MongoDB server with a connection string in appsettings.json

Try asking

  • Set up an AbpMongoDbContext with Book and Author collections
  • Write a MongoDbRepository method that finds books by author ID
  • Add a MongoDB index on the Name field of my Book repository

Good to know

  • Avoid includeAllEntities: true, which the source says breaks DDD data consistency.
  • MongoDB has no change tracking, so updates must be saved explicitly.
  • Repositories that use GetQueryableAsync must create indexes in code as shown.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/abp-mongodb/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to abp-mongodb

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

abp-mongodb: common questions

Does ABP MongoDB need migrations?

No. The source says MongoDB is schema-less, so no migrations are needed and entity structure changes are handled automatically.

Do I need to call UpdateAsync after changing an entity in ABP with MongoDB?

Yes. The source says MongoDB does not track entity changes, so the entity must be passed to UpdateAsync explicitly.

Do ABP data filters work with MongoDB?

Yes. The source says ABP data filters such as soft-delete and multi-tenancy work with MongoDB too.

How do I install abp-mongodb?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is abp-mongodb free?

The code is published under the LGPL-3.0 licence. The service it connects to may have its own pricing.

Is abp-mongodb safe to use?

It scores 87 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to abp-mongodb?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

abp-mongodb Install

Add to stack

Loading.