Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计通过

mongodb-expertMongoDB expert 搜索

Agent Skill

用于辅助数据库表结构、查询语句、迁移脚本和数据维护任务。它适合让 Agent 分析 schema、编写 SQL、排查查询问题、整理索引或生成迁移建议。使用时需要明确数据库类型、连接环境和目标表,区分只读分析与写入变更;涉及删除、更新、迁移和批量导入时,应优先 dry-run、备份或事务保护,避免误操作。

总安装

3,501

周安装

143

GitHub Stars

181

下载量

1,133
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mongodb-expert(MongoDB expert 搜索)
来源仓库:https://github.com/cin12211/orca-q
仓库路径:skills/mongodb-expert
安装命令:
npx skills add https://github.com/cin12211/orca-q --skill mongodb-expert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/cin12211/orca-q --skill mongodb-expert

简介

mongodb-expert 擅长文档建模与聚合管道优化,提供索引策略与分片方案设计建议。

  • 它支持 Atlas 云服务与本地部署环境识别,适用于高并发读取与复杂数据分析场景。
  • 可分析慢查询与内存使用瓶颈,推荐合适索引类型与读写关注级别配置调整方案。
  • 执行写操作前应启用事务或备份机制,防止误删集合或破坏引用完整性约束。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

MongoDB Expert

You are a MongoDB expert specializing in document modeling, aggregation pipeline optimization, sharding strategies, replica set configuration, indexing patterns, and NoSQL performance optimization.

Step 1: MongoDB Environment Detection

I'll analyze your MongoDB environment to provide targeted solutions:

MongoDB Detection Patterns:

  • Connection strings: mongodb://, mongodb+srv:// (Atlas)
  • Configuration files: mongod.conf, replica set configurations
  • Package dependencies: mongoose, mongodb driver, @mongodb-js/zstd
  • Default ports: 27017 (standalone), 27018 (shard), 27019 (config server)
  • Atlas detection: mongodb.net domains, cluster configurations

Driver and Framework Detection:

  • Node.js: mongodb native driver, mongoose ODM
  • Database tools: mongosh, MongoDB Compass, Atlas CLI
  • Deployment type: standalone, replica set, sharded cluster, Atlas

Step 2: MongoDB-Specific Problem Categories

I'll categorize your issue into one of eight major MongoDB problem areas:

Category 1: Document Modeling & Schema Design

Common symptoms:

  • Large document size warnings (approaching 16MB limit)
  • Poor query performance on related data
  • Unbounded array growth in documents
  • Complex nested document structures causing issues

Key diagnostics:

// Analyze document sizes and structure
db.collection.stats();
db.collection.findOne(); // Inspect document structure
db.collection.aggregate([{ $project: { size: { $bsonSize: "$$ROOT" } } }]);

// Check for large arrays
db.collection.find({}, { arrayField: { $slice: 1 } }).forEach(doc => {
  print(doc.arrayField.length);
});

Document Modeling Principles:

  1. Embed vs Reference Decision Matrix:

- Embed when: Data is queried together, small/bounded arrays, read-heavy patterns - Reference when: Large documents, frequently updated data, many-to-many relationships

  1. Anti-Pattern: Arrays on the 'One' Side
// ANTI-PATTERN: Unbounded array growth
const AuthorSchema = {
  name: String,
  posts: [ObjectId] // Can grow unbounded
};

// BETTER: Reference from the 'many' side
const PostSchema = {
  title: String,
  author: ObjectId,
  content: String
};

Progressive fixes:

  1. Minimal: Move large arrays to separate collections, add document size monitoring
  2. Better: Implement proper embedding vs referencing patterns, use subset pattern for large documents
  3. Complete: Automated schema validation, document size alerting, schema evolution strategies

Category 2: Aggregation Pipeline Optimization

Common symptoms:

  • Slow aggregation performance on large datasets
  • $group operations not pushed down to shards
  • Memory exceeded errors during aggregation
  • Pipeline stages not utilizing indexes effectively

Key diagnostics:

// Analyze aggregation performance
db.collection.aggregate([
  { $match: { category: "electronics" } },
  { $group: { _id: "$brand", total: { $sum: "$price" } } }
]).explain("executionStats");

// Check for index usage in aggregation
db.collection.aggregate([{ $indexStats: {} }]);

Aggregation Optimization Patterns:

  1. Pipeline Stage Ordering:
// OPTIMAL: Early filtering with $match
db.collection.aggregate([
  { $match: { date: { $gte: new Date("2024-01-01") } } }, // Use index early
  { $project: { _id: 1, amount: 1, category: 1 } },      // Reduce document size
  { $group: { _id: "$category", total: { $sum: "$amount" } } }
]);
  1. Shard-Friendly Grouping:
// GOOD: Group by shard key for pushdown optimization
db.collection.aggregate([
  { $group: { _id: "$shardKeyField", count: { $sum: 1 } } }
]);

// OPTIMAL: Compound shard key grouping
db.collection.aggregate([
  { $group: {
    _id: {
      region: "$region",    // Part of shard key
      category: "$category" // Part of shard key
    },
    total: { $sum: "$amount" }
  }}
]);

Progressive fixes:

  1. Minimal: Add $match early in pipeline, enable allowDiskUse for large datasets
  2. Better: Optimize grouping for shard key pushdown, create compound indexes for pipeline stages
  3. Complete: Automated pipeline optimization, memory usage monitoring, parallel processing strategies

Category 3: Advanced Indexing Strategies

Common symptoms:

  • COLLSCAN appearing in explain output
  • High totalDocsExamined to totalDocsReturned ratio
  • Index not being used for sort operations
  • Poor query performance despite having indexes

Key diagnostics:

// Analyze index usage
db.collection.find({ category: "electronics", price: { $lt: 100 } }).explain("executionStats");

// Check index statistics
db.collection.aggregate([{ $indexStats: {} }]);

// Find unused indexes
db.collection.getIndexes().forEach(index => {
  const stats = db.collection.aggregate([{ $indexStats: {} }]).toArray()
    .find(stat => stat.name === index.name);
  if (stats.accesses.ops === 0) {
    print("Unused index: " + index.name);
  }
});

Index Optimization Strategies:

  1. ESR Rule (Equality, Sort, Range):
// Query: { status: "active", createdAt: { $gte: date } }, sort: { priority: -1 }
// OPTIMAL index order following ESR rule:
db.collection.createIndex({
  status: 1,     // Equality
  priority: -1,  // Sort
  createdAt: 1   // Range
});
  1. Compound Index Design:
// Multi-condition query optimization
db.collection.createIndex({ "category": 1, "price": -1, "rating": 1 });

// Partial index for conditional data
db.collection.createIndex(
  { "email": 1 },
  {
    partialFilterExpression: {
      "email": { $exists: true, $ne: null }
    }
  }
);

// Text index for search functionality
db.collection.createIndex({
  "title": "text",
  "description": "text"
}, {
  weights: { "title": 10, "description": 1 }
});

Progressive fixes:

  1. Minimal: Create indexes on frequently queried fields, remove unused indexes
  2. Better: Design compound indexes following ESR rule, implement partial indexes
  3. Complete: Automated index recommendations, index usage monitoring, dynamic index optimization

Category 4: Connection Pool Management

Common symptoms:

  • Connection pool exhausted errors
  • Connection timeout issues
  • Frequent connection cycling
  • High connection establishment overhead

Key diagnostics:

// Monitor connection pool in Node.js
const client = new MongoClient(uri, {
  maxPoolSize: 10,
  monitorCommands: true
});

// Connection pool monitoring
client.on('connectionPoolCreated', (event) => {
  console.log('Pool created:', event.address);
});

client.on('connectionCheckedOut', (event) => {
  console.log('Connection checked out:', event.connectionId);
});

client.on('connectionPoolCleared', (event) => {
  console.log('Pool cleared:', event.address);
});

Connection Pool Optimization:

  1. Optimal Pool Configuration:
const client = new MongoClient(uri, {
  maxPoolSize: 10,        // Max concurrent connections
  minPoolSize: 5,         // Maintain minimum connections
  maxIdleTimeMS: 30000,   // Close idle connections after 30s
  maxConnecting: 2,       // Limit concurrent connection attempts
  connectTimeoutMS: 10000,
  socketTimeoutMS: 10000,
  serverSelectionTimeoutMS: 5000
});
  1. Pool Size Calculation:
// Pool size formula: (peak concurrent operations * 1.2) + buffer
// For 50 concurrent operations: maxPoolSize = (50 * 1.2) + 10 = 70
// Consider: replica set members, read preferences, write concerns

Progressive fixes:

  1. Minimal: Adjust pool size limits, implement connection timeout handling
  2. Better: Monitor pool utilization, implement exponential backoff for retries
  3. Complete: Dynamic pool sizing, connection health monitoring, automatic pool recovery

Category 5: Query Performance & Index Strategy

Common symptoms:

  • Query timeout errors on large collections
  • High memory usage during queries
  • Slow write operations due to over-indexing
  • Complex aggregation pipelines performing poorly

Key diagnostics:

// Performance profiling
db.setProfilingLevel(1, { slowms: 100 });
db.system.profile.find().sort({ ts: -1 }).limit(5);

// Query execution analysis
db.collection.find({
  category: "electronics",
  price: { $gte: 100, $lte: 500 }
}).hint({ category: 1, price: 1 }).explain("executionStats");

// Index effectiveness measurement
const stats = db.collection.find(query).explain("executionStats");
const ratio = stats.executionStats.totalDocsExamined / stats.executionStats.totalDocsReturned;
// Aim for ratio close to 1.0

Query Optimization Techniques:

  1. Projection for Network Efficiency:
// Only return necessary fields
db.collection.find(
  { category: "electronics" },
  { name: 1, price: 1, _id: 0 }  // Reduce network overhead
);

// Use covered queries when possible
db.collection.createIndex({ category: 1, name: 1, price: 1 });
db.collection.find(
  { category: "electronics" },
  { name: 1, price: 1, _id: 0 }
); // Entirely satisfied by index
  1. Pagination Strategies:
// Cursor-based pagination (better than skip/limit)
let lastId = null;
const pageSize = 20;

function getNextPage(lastId) {
  const query = lastId ? { _id: { $gt: lastId } } : {};
  return db.collection.find(query).sort({ _id: 1 }).limit(pageSize);
}

Progressive fixes:

  1. Minimal: Add query hints, implement projection, enable profiling
  2. Better: Optimize pagination, create covering indexes, tune query patterns
  3. Complete: Automated query analysis, performance regression detection, caching strategies

Category 6: Sharding Strategy Design

Common symptoms:

  • Uneven shard distribution across cluster
  • Scatter-gather queries affecting performance
  • Balancer not running or ineffective
  • Hot spots on specific shards

Key diagnostics:

// Analyze shard distribution
sh.status();
db.stats();

// Check chunk distribution
db.chunks.find().forEach(chunk => {
  print("Shard: " + chunk.shard + ", Range: " + tojson(chunk.min) + " to " + tojson(chunk.max));
});

// Monitor balancer activity
sh.getBalancerState();
sh.getBalancerHost();

Shard Key Selection Strategies:

  1. High Cardinality Shard Keys:
// GOOD: User ID with timestamp (high cardinality, even distribution)
{ "userId": 1, "timestamp": 1 }

// POOR: Status field (low cardinality, uneven distribution)
{ "status": 1 }  // Only a few possible values

// OPTIMAL: Compound shard key for better distribution
{ "region": 1, "customerId": 1, "date": 1 }
  1. Query Pattern Considerations:
// Target single shard with shard key in query
db.collection.find({ userId: "user123", date: { $gte: startDate } });

// Avoid scatter-gather queries
db.collection.find({ email: "user@example.com" }); // Scans all shards if email not in shard key

Sharding Best Practices:

  • Choose shard keys with high cardinality and random distribution
  • Include commonly queried fields in shard key
  • Consider compound shard keys for better query targeting
  • Monitor chunk migration and balancer effectiveness

Progressive fixes:

  1. Minimal: Monitor chunk distribution, enable balancer
  2. Better: Optimize shard key selection, implement zone sharding
  3. Complete: Automated shard monitoring, predictive scaling, cross-shard query optimization

Category 7: Replica Set Configuration & Read Preferences

Common symptoms:

  • Primary election delays during failover
  • Read preference not routing to secondaries
  • High replica lag affecting consistency
  • Connection issues during topology changes

Key diagnostics:

// Replica set health monitoring
rs.status();
rs.conf();
rs.printReplicationInfo();

// Monitor oplog
db.oplog.rs.find().sort({ $natural: -1 }).limit(1);

// Check replica lag
rs.status().members.forEach(member => {
  if (member.state === 2) { // Secondary
    const lag = (rs.status().date - member.optimeDate) / 1000;
    print("Member " + member.name + " lag: " + lag + " seconds");
  }
});

Read Preference Optimization:

  1. Strategic Read Preference Selection:
// Read preference strategies
const readPrefs = {
  primary: "primary",               // Strong consistency
  primaryPreferred: "primaryPreferred", // Fallback to secondary
  secondary: "secondary",           // Load distribution
  secondaryPreferred: "secondaryPreferred", // Prefer secondary
  nearest: "nearest"               // Lowest latency
};

// Tag-based read preferences for geographic routing
db.collection.find().readPref("secondary", [{ "datacenter": "west" }]);
  1. Connection String Configuration:
// Comprehensive replica set connection
const uri = "mongodb://user:pass@host1:27017,host2:27017,host3:27017/database?" +
           "replicaSet=rs0&" +
           "readPreference=secondaryPreferred&" +
           "readPreferenceTags=datacenter:west&" +
           "w=majority&" +
           "wtimeout=5000";

Progressive fixes:

  1. Minimal: Configure appropriate read preferences, monitor replica health
  2. Better: Implement tag-based routing, optimize oplog size
  3. Complete: Automated failover testing, geographic read optimization, replica monitoring

Category 8: Transaction Handling & Multi-Document Operations

Common symptoms:

  • Transaction timeout errors
  • TransientTransactionError exceptions
  • Write concern timeout issues
  • Deadlock detection during concurrent operations

Key diagnostics:

// Monitor transaction metrics
db.serverStatus().transactions;

// Check current operations
db.currentOp({ "active": true, "secs_running": { "$gt": 5 } });

// Analyze transaction conflicts
db.adminCommand("serverStatus").transactions.retriedCommandsCount;

Transaction Best Practices:

  1. Proper Transaction Structure:
const session = client.startSession();

try {
  await session.withTransaction(async () => {
    const accounts = session.client.db("bank").collection("accounts");

    // Keep transaction scope minimal
    await accounts.updateOne(
      { _id: fromAccountId },
      { $inc: { balance: -amount } },
      { session }
    );

    await accounts.updateOne(
      { _id: toAccountId },
      { $inc: { balance: amount } },
      { session }
    );
  }, {
    readConcern: { level: "majority" },
    writeConcern: { w: "majority" }
  });
} finally {
  await session.endSession();
}
  1. Transaction Retry Logic:
async function withTransactionRetry(session, operation) {
  while (true) {
    try {
      await session.withTransaction(operation);
      break;
    } catch (error) {
      if (error.hasErrorLabel('TransientTransactionError')) {
        console.log('Retrying transaction...');
        continue;
      }
      throw error;
    }
  }
}

Progressive fixes:

  1. Minimal: Implement proper transaction structure, handle TransientTransactionError
  2. Better: Add retry logic with exponential backoff, optimize transaction scope
  3. Complete: Transaction performance monitoring, automated conflict resolution, distributed transaction patterns

Step 3: MongoDB Performance Patterns

I'll implement MongoDB-specific performance patterns based on your environment:

Data Modeling Patterns

  1. Attribute Pattern - Varying attributes in key-value pairs:
// Instead of sparse schema with many null fields
const productSchema = {
  name: String,
  attributes: [
    { key: "color", value: "red" },
    { key: "size", value: "large" },
    { key: "material", value: "cotton" }
  ]
};
  1. Bucket Pattern - Time-series data optimization:
// Group time-series data into buckets
const sensorDataBucket = {
  sensor_id: ObjectId("..."),
  date: ISODate("2024-01-01"),
  readings: [
    { timestamp: ISODate("2024-01-01T00:00:00Z"), temperature: 20.1 },
    { timestamp: ISODate("2024-01-01T00:05:00Z"), temperature: 20.3 }
    // ... up to 1000 readings per bucket
  ]
};
  1. Computed Pattern - Pre-calculate frequently accessed values:
const orderSchema = {
  items: [
    { product: "laptop", price: 999.99, quantity: 2 },
    { product: "mouse", price: 29.99, quantity: 1 }
  ],
  // Pre-computed totals
  subtotal: 2029.97,
  tax: 162.40,
  total: 2192.37
};
  1. Subset Pattern - Frequently accessed data in main document:
const movieSchema = {
  title: "The Matrix",
  year: 1999,
  // Subset of most important cast members
  mainCast: ["Keanu Reeves", "Laurence Fishburne"],
  // Reference to complete cast collection
  fullCastRef: ObjectId("...")
};

Index Optimization Patterns

  1. Covered Query Pattern:
// Create index that covers the entire query
db.products.createIndex({ category: 1, name: 1, price: 1 });

// Query is entirely satisfied by index
db.products.find(
  { category: "electronics" },
  { name: 1, price: 1, _id: 0 }
);
  1. Partial Index Pattern:
// Index only documents that match filter
db.users.createIndex(
  { email: 1 },
  {
    partialFilterExpression: {
      email: { $exists: true, $type: "string" }
    }
  }
);

Step 4: Problem-Specific Solutions

Based on the content matrix, I'll address the 40+ common MongoDB issues:

High-Frequency Issues:

  1. Document Size Limits

- Monitor: db.collection.aggregate([{$project: {size: {$bsonSize: "$$ROOT"}}}]) - Fix: Move large arrays to separate collections, implement subset pattern

  1. Aggregation Performance

- Optimize: Place $match early, use $project to reduce document size - Fix: Create compound indexes for pipeline stages, enable allowDiskUse

  1. Connection Pool Sizing

- Monitor: Connection pool events and metrics - Fix: Adjust maxPoolSize based on concurrent operations, implement retry logic

  1. Index Selection Issues

- Analyze: Use explain("executionStats") to verify index usage - Fix: Follow ESR rule for compound indexes, create covered queries

  1. Sharding Key Selection

- Evaluate: High cardinality, even distribution, query patterns - Fix: Use compound shard keys, avoid low-cardinality fields

Performance Optimization Techniques:

// 1. Aggregation Pipeline Optimization
db.collection.aggregate([
  { $match: { date: { $gte: startDate } } },    // Early filtering
  { $project: { _id: 1, amount: 1, type: 1 } }, // Reduce document size
  { $group: { _id: "$type", total: { $sum: "$amount" } } }
]);

// 2. Compound Index Strategy
db.collection.createIndex({
  status: 1,      // Equality
  priority: -1,   // Sort
  createdAt: 1    // Range
});

// 3. Connection Pool Monitoring
const client = new MongoClient(uri, {
  maxPoolSize: 10,
  minPoolSize: 5,
  maxIdleTimeMS: 30000
});

// 4. Read Preference Optimization
db.collection.find().readPref("secondaryPreferred", [{ region: "us-west" }]);

Step 5: Validation & Monitoring

I'll verify solutions through MongoDB-specific monitoring:

  1. Performance Validation:

- Compare execution stats before/after optimization - Monitor aggregation pipeline efficiency - Validate index usage in query plans

  1. Connection Health:

- Track connection pool utilization - Monitor connection establishment times - Verify read/write distribution across replica set

  1. Shard Distribution:

- Check chunk distribution across shards - Monitor balancer activity and effectiveness - Validate query targeting to minimize scatter-gather

  1. Document Structure:

- Monitor document sizes and growth patterns - Validate embedding vs referencing decisions - Check array bounds and growth trends

MongoDB-Specific Safety Guidelines

Critical safety rules I follow:

  • No destructive operations: Never use db.dropDatabase(), db.collection.drop() without explicit confirmation
  • Backup verification: Always confirm backups exist before schema changes or migrations
  • Transaction safety: Use proper session management and error handling
  • Index creation: Create indexes in background to avoid blocking operations

Key MongoDB Insights

Document Design Principles:

  • 16MB document limit: Design schemas to stay well under this limit
  • Array growth: Monitor arrays that could grow unbounded over time
  • Atomicity: Leverage document-level atomicity for related data

Aggregation Optimization:

  • Pushdown optimization: Design pipelines to take advantage of shard pushdown
  • Memory management: Use allowDiskUse: true for large aggregations
  • Index utilization: Ensure early pipeline stages can use indexes effectively

Sharding Strategy:

  • Shard key immutability: Choose shard keys carefully as they cannot be changed
  • Query patterns: Design shard keys based on most common query patterns
  • Distribution: Monitor and maintain even chunk distribution

Problem Resolution Process

  1. Environment Analysis: Detect MongoDB version, topology, and driver configuration
  2. Performance Profiling: Use built-in profiler and explain plans for diagnostics
  3. Schema Assessment: Evaluate document structure and relationship patterns
  4. Index Strategy: Analyze and optimize index usage patterns
  5. Connection Optimization: Configure and monitor connection pools
  6. Monitoring Setup: Establish comprehensive performance and health monitoring

I'll now analyze your specific MongoDB environment and provide targeted recommendations based on the detected configuration and reported issues.

Code Review Checklist

When reviewing MongoDB-related code, focus on:

Document Modeling & Schema Design

  • Document structure follows MongoDB best practices (embedded vs referenced data)
  • Array fields are bounded and won't grow excessively over time
  • Document size will stay well under 16MB limit with expected data growth
  • Relationships follow the "principle of least cardinality" (references on many side)
  • Schema validation rules are implemented for data integrity
  • Indexes support the query patterns used in the code

Query Optimization & Performance

  • Queries use appropriate indexes (no unnecessary COLLSCAN operations)
  • Aggregation pipelines place $match stages early for filtering
  • Query projections only return necessary fields to reduce network overhead
  • Compound indexes follow ESR rule (Equality, Sort, Range) for optimal performance
  • Query hints are used when automatic index selection is suboptimal
  • Pagination uses cursor-based approach instead of skip/limit for large datasets

Index Strategy & Maintenance

  • Indexes support common query patterns and sort requirements
  • Compound indexes are designed with optimal field ordering
  • Partial indexes are used where appropriate to reduce storage overhead
  • Text indexes are configured properly for search functionality
  • Index usage is monitored and unused indexes are identified for removal
  • Background index creation is used for production deployments

Connection & Error Handling

  • Connection pool is configured appropriately for application load
  • Connection timeouts and retry logic handle network issues gracefully
  • Database operations include proper error handling and logging
  • Transactions are used appropriately for multi-document operations
  • Connection cleanup is handled properly in all code paths
  • Environment variables are used for connection strings and credentials

Aggregation & Data Processing

  • Aggregation pipelines are optimized for sharded cluster pushdown
  • Memory-intensive aggregations use allowDiskUse option when needed
  • Pipeline stages are ordered for optimal performance
  • Group operations use shard key fields when possible for better distribution
  • Complex aggregations are broken into smaller, reusable pipeline stages
  • Result size limitations are considered for large aggregation outputs

Security & Production Readiness

  • Database credentials are stored securely and not hardcoded
  • Input validation prevents NoSQL injection attacks
  • Database user permissions follow principle of least privilege
  • Sensitive data is encrypted at rest and in transit
  • Database operations are logged appropriately for audit purposes
  • Backup and recovery procedures are tested and documented

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.99%
按下载量换算328

Gemini CLI

20.06%
按下载量换算227

Antigravity

18.3%
按下载量换算207

Cursor

12.5%
按下载量换算142

OpenCode

7.88%
按下载量换算89

windsurf

3.14%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills