Directus AI Assistant Integration
БесплатноБез исполняемых скриптовНе проверенBuild AI-powered features in Directus: chat interfaces, content generation, smart suggestions, and copilot functionality
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Directus AI Assistant Integration
Overview
This skill provides comprehensive guidance for integrating AI assistants into Directus applications. Build intelligent chat interfaces, content generation systems, context-aware suggestions, and copilot features using OpenAI, Anthropic Claude, and other AI providers. Implement real-time communication, vector search, RAG (Retrieval Augmented Generation), and natural language interfaces.
When to Use This Skill
- Building AI chat interfaces in Directus panels
- Implementing content generation workflows
- Creating smart autocomplete and suggestions
- Adding natural language query interfaces
- Building AI-powered content moderation
- Implementing semantic search with embeddings
- Creating AI copilot features for users
- Setting up RAG systems with vector databases
- Building conversational interfaces
- Implementing AI-driven automation
Architecture Overview
AI Integration Stack
┌─────────────────────────────────────┐
│ Directus Frontend │
│ (Vue 3 Chat Components) │
└────────────┬────────────────────────┘
│ WebSocket / REST
┌────────────▼────────────────────────┐
│ Directus Backend │
│ (AI Service Layer) │
├─────────────────────────────────────┤
│ • Request Queue │
│ • Context Management │
│ • Token Optimization │
│ • Response Streaming │
└────────────┬────────────────────────┘
│
┌────────────▼────────────────────────┐
│ AI Providers │
├─────────────────────────────────────┤
│ • OpenAI (GPT-4, Embeddings) │
│ • Anthropic (Claude) │
│ • Cohere (Reranking) │
│ • Hugging Face (Open Models) │
└─────────────────────────────────────┘
│
┌────────────▼────────────────────────┐
│ Vector Database │
│ (Pinecone/Weaviate/pgvector) │
└─────────────────────────────────────┘
Process: Building AI Chat Interface
Step 1: Create Chat Panel Extension
<!-- src/ai-chat-panel.vue -->
<template>
<div class="ai-chat-panel">
<div class="chat-header">
<div class="chat-title">
<v-icon name="smart_toy" />
<span>AI Assistant</span>
</div>
<div class="chat-actions">
<v-button
v-tooltip="'Clear conversation'"
icon
x-small
@click="clearChat"
>
<v-icon name="clear_all" />
</v-button>
<v-button
v-tooltip="'Export conversation'"
icon
x-small
@click="exportChat"
>
<v-icon name="download" />
</v-button>
</div>
</div>
<div class="chat-messages" ref="messagesContainer">
<transition-group name="message-fade">
<div
v-for="message in messages"
:key="message.id"
class="message"
:class="message.role"
>
<div class="message-avatar">
<v-icon
:name="message.role === 'user' ? 'person' : 'smart_toy'"
/>
</div>
<div class="message-content">
<div class="message-text" v-html="renderMarkdown(message.content)"></div>
<div class="message-metadata">
<span class="message-time">{{ formatTime(message.timestamp) }}</span>
<span v-if="message.tokens" class="message-tokens">
{{ message.tokens }} tokens
</span>
</div>
<div v-if="message.suggestions" class="message-suggestions">
<v-chip
v-for="suggestion in message.suggestions"
:key="suggestion"
clickable
@click="sendMessage(suggestion)"
>
{{ suggestion }}
</v-chip>
</div>
</div>
</div>
</transition-group>
<div v-if="isTyping" class="typing-indicator">
<span></span>
<span></span>
<span></span>
</div>
<div v-if="streamingResponse" class="streaming-message">
<div class="message-content">
<div class="message-text" v-html="renderMarkdown(streamingResponse)"></div>
</div>
</div>
</div>
<div class="chat-input">
<div class="input-container">
<v-textarea
v-model="inputMessage"
placeholder="Type your message..."
:disabled="isProcessing"
@keydown.enter.prevent="handleEnter"
auto-grow
:rows="1"
:max-rows="4"
/>
<div class="input-actions">
<v-menu placement="top">
<template #activator="{ toggle }">
<v-button
v-tooltip="'Add context'"
icon
x-small
@click="toggle"
>
<v-icon name="attach_file" />
Установить Directus AI Assistant Integration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Directus AI Assistant Integration?
Build AI-powered features in Directus: chat interfaces, content generation, smart suggestions, and copilot functionality
Как установить скилл Directus AI Assistant Integration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Directus AI Assistant Integration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic