name: copilotkit-docs description: This skill should be used when the user asks to "search CopilotKit docs", "look up CopilotKit API", "check CopilotKit documentation", or when any CopilotKit hook, component, or pattern needs to be verified before writing code.
Search CopilotKit Documentation
Look up CopilotKit API patterns, usage examples, or implementation details.
Steps
Take the user's topic or question as the search query.
Search the CopilotKit documentation:
mcp__copilotkit-mcp__search-docs with the queryIf the first search doesn't answer the question, try variant queries:
- Specific property names (e.g., "useCopilotChatSuggestions available")
- Symptom-based queries (e.g., "suggestions only showing once")
Optionally search CopilotKit source code for concrete examples:
mcp__copilotkit-mcp__search-code with repo: https://github.com/CopilotKit/CopilotKit.gitSummarize findings. Note any v1 vs v2 API distinctions — this project uses CopilotKit v1 (1.53.0). Do not mix v1 and v2 imports.
Important
- v1 imports:
@copilotkit/react-core,@copilotkit/react-ui,@copilotkit/runtime - v2 imports have
/v2subpaths — do NOT use these - Always verify patterns against docs before writing integration code
- Only dive into
node_modulessource if the docs don't have the answer