syncfusion/maui-ui-components-skills/syncfusion-maui-smart-text-editor

Claude Code and agent skill by syncfusion/maui-ui-components-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implements and configure the Syncfusion .NET MAUI AI-Powered Smart Text Editor (SfSmartTextEditor). Use when working with SfSmartTextEditor, AI-powered text input, predictive text suggestions, inline or popup suggestions, or UserRole/UserPhrases configurations. Covers suggestion display modes, custom AI services (Claude, DeepSeek, Gemini, Groq), Azure OpenAI integration, and customization options.

Install

npx vskill@latest install syncfusion/maui-ui-components-skills/syncfusion-maui-smart-text-editor

SKILL.md

The same SKILL.md was published earlier as syncfusion/maui-ui-components-skills/syncfusion-maui-smart-text-editor.

Implementing Syncfusion .NET MAUI Smart Text Editor

SfSmartTextEditor is a multiline text input control that accelerates typing with AI-powered predictive suggestions. It integrates with Azure OpenAI, OpenAI, Ollama, or any custom AI service via IChatInferenceService, and falls back to your custom UserPhrases list when AI is unavailable. Suggestions appear inline or as a popup near the caret and can be accepted with Tab or Right Arrow.

When to Use This Skill

  • Add a multiline text input with AI-powered autocomplete to a .NET MAUI app
  • Configure suggestion display as inline (desktop) or popup (touch devices)
  • Integrate Azure OpenAI, OpenAI, Ollama, Claude, DeepSeek, Gemini, or Groq
  • Implement a custom AI service via IChatInferenceService
  • Customize text style, placeholder, suggestion colors, popup background, or character limits
  • Respond to text change events or MVVM commands
  • Apply the liquid glass visual effect to the editor

Component Overview

The SfSmartTextEditor control provides:

  • AI-Powered Predictions: Context-aware completions via Azure OpenAI, OpenAI, Ollama, or custom IChatInferenceService integration
  • Flexible Suggestion Display: Inline mode (desktop-first seamless flow) or Popup mode (touch-first overlay) with platform-specific defaults
  • Offline Fallback: Custom UserPhrases library for AI-free suggestions when network or API is unavailable
  • Smart Context Engine: UserRole property shapes suggestion tone and relevance based on typing scenario
  • Multi-Input Acceptance: Tab/Right Arrow keyboard shortcuts (desktop) and tap/click gestures (all platforms)
  • Character Limit Validation: MaxLength enforcement to prevent input beyond specified constraints
  • Rich Customization: TextStyle, placeholder colors, suggestion preview colors, and popup background styling
  • MVVM Support: Two-way Text binding, TextChanged event, and TextChangedCommand for reactive data flow
  • Modern Effects: Liquid Glass Effect support for translucent designs (iOS/macOS 26+, .NET 10)

Documentation and Navigation Guide

Getting Started

πŸ“„ Read: references/getting-started.md

  • NuGet package installation (Syncfusion.Maui.SmartComponents)
  • Handler registration with ConfigureSyncfusionCore() in MauiProgram.cs
  • AI service registration with ConfigureSyncfusionAIServices()
  • Adding SfSmartTextEditor in XAML and C#
  • Configuring UserRole and UserPhrases for context-aware suggestions
  • Offline fallback behavior when AI is unavailable
Suggestion Display Modes

πŸ“„ Read: references/suggestion-display-modes.md

  • Inline mode β€” suggestion rendered in-place after the caret (desktop-first)
  • Popup mode β€” compact overlay near caret (touch-first, Android/iOS)
  • Platform defaults and when to override them
  • Accepting suggestions with Tab or Right Arrow keys
  • Platform limitations (Tab key not supported on Android/iOS)
Customization

πŸ“„ Read: references/customization.md

  • Setting and data-binding editor text via Text property
  • Font and color via TextStyle (SmartTextEditorStyle)
  • Placeholder text and PlaceholderColor
  • SuggestionTextColor β€” style the suggestion preview text
  • SuggestionPopupBackground β€” background color of popup suggestions
  • MaxLength β€” enforce a character limit
Events

πŸ“„ Read: references/events.md

  • TextChanged event with OldTextValue and NewTextValue
  • XAML event subscription and C# handler pattern
  • TextChangedCommand for MVVM / data-binding scenarios
  • ViewModel command setup example
AI Service Configuration (Azure OpenAI / OpenAI / Ollama)

πŸ“„ Read: references/ai-service-configuration.md

  • Azure OpenAI β€” required NuGet packages, endpoint/key/model configuration
  • OpenAI β€” API key and model setup
  • Ollama β€” self-hosted local model configuration
  • Registering the chat client and ConfigureSyncfusionAIServices() in MauiProgram.cs
  • Choosing the right provider for your scenario
Custom AI Services (Claude / DeepSeek / Gemini / Groq)

πŸ“„ Read: references/custom-ai-services.md

  • IChatInferenceService interface and when to use it
  • Claude AI β€” request/response models, service class, registration
  • DeepSeek β€” chat completions integration and registration
  • Gemini β€” Google AI Studio setup, safety settings, registration
  • Groq β€” low-latency OpenAI-compatible endpoint, registration
  • No need to call ConfigureSyncfusionAIServices() when using custom services
  • Troubleshooting when no suggestions appear
Liquid Glass Effect

πŸ“„ Read: references/liquid-glass-effect.md

  • Prerequisites: .NET 10, macOS 26+ or iOS 26+
  • Wrapping SfSmartTextEditor in SfGlassEffectView
  • Enabling via EnableLiquidGlassEffect="True"
  • Setting Background="Transparent" for correct glass tinting
  • Full XAML and C# examples

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
61
Repository forks
1
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/syncfusion/maui-ui-components-skills/syncfusion-maui-smart-text-editor/badge)](https://verified-skill.com/skills/syncfusion/maui-ui-components-skills/syncfusion-maui-smart-text-editor)

Something wrong with this skill or its page? Tell us.