coeditor
БесплатноБез исполняемых скриптовНе проверенBuild React applications with CopilotKit and LangGraph for AI-powered collaborative editing. Creates production-ready editor applications (text, document, or…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
CopilotKit + LangGraph Collaborative Editor Builder
Build production-ready React applications that combine CopilotKit's AI copilot interface with LangGraph's agentic workflows for intelligent, collaborative editing experiences.
When to Use This Skill
Use this skill when:
- User wants to build an AI-powered editor (text, document, or node-based)
- User mentions "CopilotKit", "LangGraph", "AI copilot", or "collaborative editing"
- User wants to add AI assistance to an existing React application
- User needs real-time state sharing between UI and AI agents
- User wants to build document collaboration features with AI
- User mentions "agentic workflows" or "multi-agent systems" in editing context
Overview
This skill scaffolds applications that combine:
- CopilotKit: React components for AI copilot experiences (chat, suggestions, actions)
- LangGraph: Agent orchestration framework for complex workflows
- React State Management: Shared state between editor UI and AI agents
- Editor Types: Text editors, document editors, or node-based editors
Prerequisites Check
Before starting, verify the following:
Node.js: Version 18.x or higher
node --versionPackage Manager: npm, yarn, or pnpm
npm --versionPython: Version 3.9 or higher (for LangGraph backend)
python3 --versionOpenAI API Key (or other LLM provider):
# Will need to be configured in .env echo "User will need OpenAI API key or alternative LLM provider"
Interactive Requirements Gathering
IMPORTANT: Before scaffolding, ask the user these questions to customize the setup:
1. Editor Type Selection
"What type of editor would you like to build?"
A. Text Editor
- Rich text editing with AI assistance
- Code editor with autocomplete and suggestions
- Markdown editor with AI enhancements
- Best for: Writing tools, code editors, note-taking apps
B. Document Editor
- Structured document editing (like Google Docs)
- Multi-section documents with AI collaboration
- Template-based document creation
- Best for: Documentation tools, report builders, collaborative writing
C. Node-Based Editor
- Visual graph/flow editor with AI assistance
- Workflow builders with intelligent suggestions
- Mind mapping with AI expansion
- Best for: Workflow designers, visual programming tools, diagramming apps
2. LangGraph Agent Configuration
"What type of AI agents do you need?"
Ask the user to describe their use case, then suggest appropriate agents:
Common Agent Types:
- Writing Assistant: Helps with content creation, editing, and refinement
- Code Assistant: Provides code suggestions, explanations, and debugging
- Research Agent: Searches and incorporates external information
- Reviewer Agent: Reviews content and provides feedback
- Summarizer Agent: Creates summaries and extracts key points
- Translator Agent: Translates between languages
- Custom Agents: User-defined specialized agents
Multi-Agent Workflows:
- Ask if they need multiple agents working together
- Determine if agents should run sequentially or in parallel
- Identify handoff points between agents
3. State Management Requirements
"What data needs to be shared between the editor and AI agents?"
Common State Patterns:
- Document State: Content, structure, metadata
- Selection State: Current cursor position, selected text/nodes
- History State: Undo/redo, version tracking
- Collaboration State: Multi-user presence, changes
- Agent State: Current agent task, progress, results
4. Backend Architecture
"How would you like to deploy the LangGraph backend?"
A. Local Development Server
- FastAPI server running locally
- Best for: Development, prototyping
- Setup: Python virtual environment
B. Cloud Deployment
- Deploy to Vercel, Railway, or cloud provider
- Best for: Production, sharing with team
- Setup: Containerized deployment
C. Serverless Functions
- Deploy agents as serverless functions
- Best for: Cost-effective scaling
- Setup: Vercel Functions, AWS Lambda
5. Additional Features
Ask about optional features:
CopilotKit Features:
- Chat interface (CopilotChat)
- Inline suggestions (CopilotTextarea)
- Custom actions (CopilotAction)
- Context providers (document context)
- Keyboard shortcuts
Editor Features:
- Real-time collaboration
- Version history
- Comments and annotations
- Export formats (PDF, Markdown, etc.)
- Templates
- Search and replace
AI Features:
- Streaming responses
- Multi-turn conversations
- Agent memory/context
- Custom prompts/instructions
- Fine-tuned models
Project Structure
Based on user selections, create this structure:
<app-name>/
├── frontend/ # React application
│ ├── src/
│ │ ├── components/
│ │ │ ├── Editor/
Установить coeditor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл coeditor?
Build React applications with CopilotKit and LangGraph for AI-powered collaborative editing. Creates production-ready editor applications (text, document, or node-based) with real-time AI assistance, shared state management, and agentic workflows. Use this skill when users want to build intelligent editing interfaces with AI collaboration features.
Как установить скилл coeditor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coeditor запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic