agentsclimarketplace

Mongodb

Skill a5c-ai/babysitter/library/specializations/web-development/skills/mongodb

MongoDB schema design, aggregation pipelines, indexing strategies, and performance.From its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill mongodb

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.2 KB, 189 tokens by cl100k_base, as published. Nobody here has run it

MongoDB Skill

Expert assistance for MongoDB database design and operations.

Capabilities

  • Design document schemas
  • Build aggregation pipelines
  • Create optimal indexes
  • Implement data modeling patterns
  • Configure replication and sharding

Aggregation Pipeline

const results = await collection.aggregate([
  { $match: { status: 'active' } },
  { $group: { _id: '$category', total: { $sum: '$amount' } } },
  { $sort: { total: -1 } },
  { $limit: 10 },
]).toArray();

Indexing

// Compound index
await collection.createIndex({ userId: 1, createdAt: -1 });

// Text index
await collection.createIndex({ title: 'text', content: 'text' });

Target Processes

  • mern-stack-development
  • database-design
  • backend-development

What ships with it: 1 file

339 B alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.