ui-customization

nadeemsangrasi's avatarfrom nadeemsangrasi

Customize ChatKit layout, theme, and presentation for RAG textbook chatbot with proper styling and textbook theme integration.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 17, 2025

When & Why to Use This Skill

This Claude skill provides a specialized solution for customizing ChatKit layouts and themes, specifically optimized for RAG-powered textbook chatbots. It automates the integration of academic-focused design elements, technical typography, and essential RAG UI components like source citations and confidence indicators to create a professional, readable, and trustworthy educational interface.

Use Cases

  • Scenario 1: Developing an AI tutor that requires a dedicated sidebar for 'Sources' and clear metadata display to maintain academic integrity and transparency.
  • Scenario 2: Enhancing a technical chatbot's readability by implementing specialized formatting for complex mathematical equations and multi-language code blocks.
  • Scenario 3: Rebranding a standard ChatKit interface to match the specific visual hierarchy, color palette, and typography of a digital textbook or educational platform.
nameUI Customization
descriptionCustomize ChatKit layout, theme, and presentation for RAG textbook chatbot with proper styling and textbook theme integration.

UI Customization

Instructions

  1. Customize ChatKit layout and theme:

    • Add sidebar with "Sources" section
    • Implement Math/Code formatting support
    • Match textbook theme colors and typography
    • Improve layout spacing and visual hierarchy
  2. Integrate textbook theme elements:

    • Use colors consistent with textbook design
    • Apply proper typography for technical content
    • Include styling for code blocks and equations
    • Maintain readability for technical content
  3. Add RAG-specific UI elements:

    • Display source citations clearly
    • Show confidence indicators
    • Add metadata display for retrieved content
    • Include visual indicators for RAG responses
  4. Maintain ChatKit functionality:

    • Don't break internal component states
    • Preserve existing user interactions
    • Maintain accessibility standards
    • Keep performance optimizations
  5. Follow Context7 MCP documentation:

    • Follow ChatKit component architecture
    • Use deterministic patch protocols
    • Include proper error handling
    • Document all styling changes

Examples

Input: "Customize ChatKit for textbook RAG interface" Output: Updates UI components and styles to match textbook theme with proper source citation display.