Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:26:40 +08:00
commit 4c495cb871
11 changed files with 1003 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
---
name: mongodb-usage
description: This skill should be used when user asks to "query MongoDB", "show database collections", "get collection schema", "list MongoDB databases", "search records in MongoDB", or "check database indexes".
---
# MongoDB MCP Usage
Use the MongoDB MCP server to integrate database queries into workflows.
## Read-Only Access
MongoDB MCP is configured in read-only mode. Only queries and data retrieval are supported. No write, update, or delete operations.
## Database Queries
Use `mcp__mongodb__*` tools for:
- Listing databases
- Viewing collection schemas
- Querying collection data
- Analyzing indexes
## Integration Pattern
1. List available databases with `mcp__mongodb__list_databases`
2. Explore collections with `mcp__mongodb__list_collections`
3. Get schema information with `mcp__mongodb__get_collection_schema`
4. Query data as needed for analysis
5. Format results for user consumption
## Environment Variables
MongoDB MCP requires:
- `MONGODB_URI` - Connection string (mongodb://...)
Configure in shell before using the plugin.
## Cost Considerations
- Minimize database calls when possible
- Use schema queries before running analysis queries
- Cache results locally if multiple calls needed
- Prefer aggregation pipelines for complex operations

View File

@@ -0,0 +1,59 @@
---
name: slack-usage
description: This skill should be used when user asks to "search Slack for messages", "find Slack messages about X", "get channel history", "look up conversation in Slack", or "find what someone said in Slack".
---
# Slack MCP Usage
Use the Slack MCP server to integrate Slack message search and channel access into workflows.
## Critical Rules
**Always use `mcp__slack__slack_search_messages` first for all message searches.** Only use `mcp__slack__slack_get_channel_history` when explicitly asked for channel history.
This pattern prioritizes the more efficient search interface and prevents unnecessary full channel scans.
## Search Messages (Recommended)
Use `mcp__slack__slack_search_messages` for finding specific messages:
```
Query: Find messages about deployment status
Tool: mcp__slack__slack_search_messages
Parameters: query="deployment status"
```
**Best for:**
- Keyword searches
- Finding messages from specific users
- Searching across channels
- Time-bounded queries
## Channel History (When Needed)
Use `mcp__slack__slack_get_channel_history` only when user explicitly requests:
- "Get recent messages from #engineering"
- "Show me the channel history"
- "List all messages in this channel"
**Note:** This scans entire channel, so use sparingly.
## Integration Pattern
In commands and agents:
1. Check if user wants search or history
2. Default to `mcp__slack__slack_search_messages` for keywords
3. Use `mcp__slack__slack_get_channel_history` only if explicitly requested
4. Format results clearly with message content and metadata
## Environment Variables
Slack MCP requires:
- `SLACK_BOT_TOKEN` - Bot user token (xoxb-...)
- `SLACK_USER_TOKEN` - User token (xoxp-...)
Configure in shell before using the plugin.