Mongodb
Skill a5c-ai/babysitter/library/specializations/web-development/skills/mongodb
Babysitter enforces obedience on agentic workforces and enables them to manage extremely complex tasks and workflows through deterministic, hallucination-free self-orchestration
npx -y skills add a5c-ai/babysitter --skill mongodbAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
MongoDB schema design, aggregation pipelines, indexing strategies, and performance.
SKILL.md
1.2 KB, 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