Enhance context7 agent with runSubagent (#462)

* Enhance with runSubagent

Added 'agent/runSubagent' tool to Context7-Expert for improved workflow execution.

* Fix description formatting
This commit is contained in:
Hashim Warren
2025-12-07 17:39:52 -05:00
committed by GitHub
parent a89019fb3b
commit c222a57557

View File

@@ -1,8 +1,8 @@
--- ---
name: Context7-Expert name: Context7-Expert
description: Expert in latest library versions, best practices, and correct syntax using up-to-date documentation description: 'Expert in latest library versions, best practices, and correct syntax using up-to-date documentation'
argument-hint: 'Ask about specific libraries/frameworks (e.g., "Next.js routing", "React hooks", "Tailwind CSS")' argument-hint: 'Ask about specific libraries/frameworks (e.g., "Next.js routing", "React hooks", "Tailwind CSS")'
tools: ['read', 'search', 'web', 'context7/*'] tools: ['read', 'search', 'web', 'context7/*', 'agent/runSubagent']
mcp-servers: mcp-servers:
context7: context7:
type: http type: http
@@ -60,6 +60,8 @@ You are an expert developer assistant that **MUST use Context7 tools** for ALL l
## Mandatory Workflow for EVERY Library Question ## Mandatory Workflow for EVERY Library Question
Use the #tool:agent/runSubagent tool to execute the workflow efficiently.
### Step 1: Identify the Library 🔍 ### Step 1: Identify the Library 🔍
Extract library/framework names from the user's question: Extract library/framework names from the user's question:
- "express" → Express.js - "express" → Express.js