/syncfusion-javascript:syncfusion-javascript-inline-ai-assistfrom Syncfusion JavaScript UI Controls
Implement the Syncfusion JavaScript Inline AI Assist control. Use this skill ALWAYS and immediately when users mention inline AI assistance, popup AI assist, contextual AI help, AI text editing popups, content summarization with AI, inline content generation, AI-powered text transformation, quick AI commands, AI assist with accept/reject workflow, element-relative AI popups, speech-to-text, voice input, microphone button, Web Speech API, voice prompt, speech recognition, speechToTextSettings, onStart, onStop, transcriptChanged, onError, or any popup-based AI assistance interface. Use this skill immediately for InlineAIAssist component, inline AI component, ej2-interactive-chat InlineAIAssist, contextual AI assistance, AI command popup, response action handling, or AI content editing workflows.
Ships in Syncfusion JavaScript UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Inline AI Assist is a popup-based AI component designed for contextual AI assistance that appears relative to UI elements. It provides intelligent text processing, content transformation, and AI-powered suggestions through a compact popup interface with command shortcuts, response actions, and customizable workflows.
The Inline AI Assist component provides:
relateTo propertyspeechToTextSettings (enable, lang, allowInterimResults, buttonSettings, tooltipSettings) and lifecycle events (onStart, onStop, transcriptChanged, onError); recognized speech is fed back into the promptRequest event📄 Read: references/getting-started.md
@syncfusion/ej2-interactive-chat)relateTo property for element targetingpromptRequest event basics📄 Read: references/inline-assist-configuration.md
prompt property)placeholder property)prompts property)popupWidth, popupHeight)zIndex)target property for custom DOM append)cssClass)enableStreaming)responseMode: Popup/Inline modes)📄 Read: references/command-settings.md
commandSettings.commands)groupBy)popupWidth, popupHeight)itemSelect event for command actions📄 Read: references/inline-toolbar-settings.md
toolbarPosition: Inline/Bottom)itemClick event for toolbar actions📄 Read: references/response-settings.md
itemSelect event for response actions📄 Read: references/ai-service-integrations.md
promptRequest event detailed guide📄 Read: references/templates.md
editorTemplate) - Custom prompt input UIresponseTemplate) - Custom AI response renderingexecutePrompt() method with custom UI📄 Read: references/methods.md
addResponse() - Add AI response to popupshowPopup() - Display the AI assist popuphidePopup() - Close the popupshowCommandPopup() - Open command popup programmaticallyhideCommandPopup() - Close command popupexecutePrompt() - Trigger prompt programmaticallydestroy() - Component cleanup📄 Read: references/events-and-globalization.md
created event - Component initialization completeopen event - Popup openedclose event - Popup closedpromptRequest event - Handle AI prompt requestsenableRtl)📄 Read: references/speech-to-text.md
speechToTextSettings.enable (uses the browser's Web Speech API)speechToTextSettings.lang (e.g. en-US, es-ES, fr-FR)speechToTextSettings.buttonSettings (content, stopContent, iconCss, stopIconCss)speechToTextSettings.allowInterimResultsspeechToTextSettings.tooltipSettings (content, stopContent, position)onStart, onStop, transcriptChanged, onErrorimport { InlineAIAssist } from '@syncfusion/ej2-interactive-chat';
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
// Initialize Inline AI Assist
let inlineAssist: InlineAIAssist = new InlineAIAssist({
relateTo: '#summarizeBtn',
placeholder: 'Ask AI to help...',
promptRequest: (args) => {
// Connect to your AI service
setTimeout(() => {
let response = 'AI-generated summary of the content...';
inlineAssist.addResponse(response);
}, 1000);
},
responseSettings: {
itemSelect: (args) => {
if (args.command.label === 'Accept') {
// Apply the AI response to your content
document.getElementById('content').innerHTML = args.response;
inlineAssist.hidePopup();
} else if (args.command.label === 'Discard') {
// Reject the response
inlineAssist.hidePopup();
}
}
}
});
inlineAssist.appendTo('#inlineAssist');
// Show popup on button click
document.getElementById('summarizeBtn').addEventListener('click', () => {
inlineAssist.showPopup();
});
<button id="summarizeBtn" class="e-btn e-primary">Summarize</button>
<div id="content" contenteditable="true">
Your content here...
</div>
<div id="inlineAssist"></div>
let inlineAssist: InlineAIAssist = new InlineAIAssist({
relateTo: '#improveBtn',
commandSettings: {
commands: [
{ label: 'Summarize', prompt: 'Summarize this content', iconCss: 'e-icons e-collapse-2' },
{ label: 'Shorten', prompt: 'Make this shorter', iconCss: 'e-icons e-shorten' },
{ label: 'Translate', prompt: 'Translate to Spanish', iconCss: 'e-icons e-translate' },
{ label: 'Make Professional', prompt: 'Rewrite professionally', iconCss: 'e-icons e-elaborate' }
]
},
promptRequest: (args) => {
// Handle different commands
callAIService(args.prompt);
}
});
let inlineAssist: InlineAIAssist = new InlineAIAssist({
relateTo: '#editor',
promptRequest: (args) => {
// Get AI response
getAIResponse(args.prompt).then(response => {
inlineAssist.addResponse(response);
});
},
responseSettings: {
itemSelect: (args) => {
if (args.command.label === 'Accept') {
// Apply changes
applyChanges(inlineAssist.prompts[inlineAssist.prompts.length - 1].response);
inlineAssist.hidePopup();
} else if (args.command.label === 'Discard') {
// Discard changes
inlineAssist.hidePopup();
}
}
}
});
let inlineAssist: InlineAIAssist = new InlineAIAssist({
relateTo: '#generateBtn',
enableStreaming: true,
promptRequest: (args) => {
// Stream response from AI service
streamAIResponse(args.prompt, (chunk) => {
inlineAssist.addResponse(chunk);
});
}
});
let inlineAssist: InlineAIAssist = new InlineAIAssist({
relateTo: '#customBtn',
editorTemplate: () => {
return `
<div class="custom-editor">
<textarea id="customPrompt" placeholder="Type your request..."></textarea>
<button id="sendBtn" class="e-btn">Generate</button>
</div>
`;
}
});
document.addEventListener('click', (e) => {
if (e.target.id === 'sendBtn') {
const textarea = document.getElementById('customPrompt');
inlineAssist.executePrompt(textarea.value);
}
});
import { InlineAIAssist, InlinePromptRequestEventArgs } from '@syncfusion/ej2-interactive-chat';
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
let inlineAIAssist: InlineAIAssist = new InlineAIAssist({
relateTo: '#summarizeBtn',
// Enables voice input through the browser's Web Speech API
speechToTextSettings: {
enable: true,
lang: 'en-US',
allowInterimResults: true,
buttonSettings: {
content: 'Start Recording',
stopContent: 'Stop Recording',
iconCss: 'e-icons e-microphone',
stopIconCss: 'e-icons e-microphone-off'
}
},
promptRequest: (args: InlinePromptRequestEventArgs) => {
// Both typed and voice-recognized input flow through this event
setTimeout(() => {
inlineAIAssist.addResponse('For real-time processing, connect the Inline AI Assist component to your preferred AI service.');
}, 1000);
}
});
inlineAIAssist.appendTo('#inlineAssist');
const summarizeBtn: HTMLElement = document.querySelector('#summarizeBtn') as HTMLElement;
if (summarizeBtn) {
summarizeBtn.addEventListener('click', () => {
inlineAIAssist.dataBind();
inlineAIAssist.showPopup();
});
}
enable, lang, allowInterimResults, buttonSettings, tooltipSettings, and lifecycle event handlers (onStart, onStop, transcriptChanged, onError)Add a "Summarize" button next to text content that opens AI assist popup for quick summarization with accept/reject workflow.
Integrate AI-powered text improvement commands (grammar, tone, length) into existing text editors with popup interface.
Provide instant translation popup with language selection commands and response preview before applying.
Generate AI content for empty fields with command shortcuts for different content types (formal, casual, technical).
Add AI assistance for code generation, explanation, or optimization with popup positioned relative to code blocks.
references/ai-service-integrations.md (opens in a new tab)references/command-settings.md (opens in a new tab)references/events-and-globalization.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/inline-assist-configuration.md (opens in a new tab)references/inline-toolbar-settings.md (opens in a new tab)references/methods.md (opens in a new tab)references/response-settings.md (opens in a new tab)references/speech-to-text.md (opens in a new tab)references/templates.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-javascript67 skills in this plugin
/syncfusion-javascript-3d-chartCreate interactive 3D charts in Syncfusion TypeScript and JavaScript. Immediately use this skill when user needs to build 3D visualizations, render 3D column/bar charts, configure 3D rotation and depth, visualize data in three dimensions, customize 3D chart appearance, handle 3D interactions, or implement advanced 3D features. Works with TypeScript (webpack/module-based) and JavaScript (CDN/ES5)./syncfusion-javascript-accordionBuild collapsible navigation panels with the Syncfusion TypeScript Accordion component. Use this skill when implementing vertical accordion menus, expanding/collapsing content panels, multi-step wizards, data-driven panels with dynamic content, tabbed navigation alternatives, or nested hierarchical content structures. Covers initialization, expand modes, animations, icons, templates, styling, data binding, and advanced use cases like form wizards./syncfusion-javascript-accumulation-chartImplements Syncfusion JavaScript accumulation charts (Pie, Doughnut, Funnel, Pyramid) for proportional and percentage-based visualizations. Use when displaying categorical or proportional data. Covers legend and label configuration, interactivity, accessibility, and customization. Works with TypeScript (modules) and JavaScript (CDN/ES5).Other plugins' skills for the same job