Communitygithub.com

JantonioFC/skillsbank

Componentes de interfaz de usuario para el ciclo de vida de herramientas en React/Next.js, provenientes de ui.inference.sh. Muestra llamadas a herramientas: pendientes, en progreso, con aprobación requerida y resultados.

¿Qué es skillsbank?

Este skill proporciona un conjunto de componentes de interfaz de usuario (UI) para React/Next.js que facilitan la visualización y gestión del ciclo de vida de las llamadas a herramientas de agentes de IA. Es especialmente útil para mostrar estados como pendiente, progreso, aprobación requerida y resultados, permitiendo flujos de trabajo con intervención humana (human-in-the-loop). Los componentes incluyen indicadores de estado, barras de progreso, flujos de aprobación y visualización de resultados. Se integra fácilmente con aplicaciones existentes usando Tailwind CSS y shadcn/ui, y soporta casos de uso como la interfaz de llamadas a herramientas de agentes, MCP (Model Context Protocol) y función calling. El skill está diseñado para ser utilizado en plataformas como Claude Code, Cursor y Codex, y se instala mediante comandos npx.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JantonioFC/skillsbank/tree/HEAD/scripts

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Vista previa

Del README del skill

Componentes de Interfaz de Chat

Documentación

Componentes de Interfaz de Chat

Bloques de construcción de chat de ui.inference.sh.

Componentes de Interfaz de Chat

Inicio Rápido

# Instalar componentes de chat
npx shadcn@latest add https://ui.inference.sh/r/chat.json

Componentes

Contenedor de Chat

import { ChatContainer } from "@/registry/blocks/chat/chat-container"

<ChatContainer>
  {/* los mensajes van aquí */}
</ChatContainer>

Mensajes

import { ChatMessage } from "@/registry/blocks/chat/chat-message"

<ChatMessage
  role="user"
  content="Hola, ¿cómo puedes ayudarme?"
/>

<ChatMessage
  role="assistant"
  content="¡Puedo ayudarte con muchas cosas!"
/>

Entrada de Chat

import { ChatInput } from "@/registry/blocks/chat/chat-input"

<ChatInput
  onSubmit={(message) => handleSend(message)}
  placeholder="Escribe un mensaje..."
  disabled={isLoading}
/>

Indicador de Escritura

import { TypingIndicator } from "@/registry/blocks/chat/typing-indicator"

{isTyping && <TypingIndicator />}

Ejemplo Completo

import {
  ChatContainer,
  ChatMessage,
  ChatInput,
  TypingIndicator,
} from "@/registry/blocks/chat"

export function Chat() {
  const [messages, setMessages] = useState([])
  const [isLoading, setIsLoading] = useState(false)

  const handleSend = async (content: string) => {
    setMessages(prev => [...prev, { role: 'user', content }])
    setIsLoading(true)
    // Enviar a la API...
    setIsLoading(false)
  }

  return (
    <ChatContainer>
      {messages.map((msg, i) => (
        <ChatMessage key={i} role={msg.role} content={msg.content} />
      ))}
      {isLoading && <TypingIndicator />}
      <ChatInput onSubmit={handleSend} disabled={isLoading} />
    </ChatContainer>
  )
}

Variantes de Mensajes

RolDescripción
userMensajes del usuario (alineados a la derecha)
assistantRespuestas de la IA (alineadas a la izquierda)
systemMensajes del sistema (centrados)

Estilización

Los componentes utilizan Tailwind CSS y los tokens de diseño de shadcn/ui:

<ChatMessage
  role="assistant"
  content="¡Hola!"
  className="bg-muted"
/>

Skills Relacionados

# Componente completo de agente (recomendado)
npx skills add inference-sh/skills@agent-ui

# Widgets declarativos
npx skills add inference-sh/skills@widgets-ui

# Renderizado de Markdown
npx skills add inference-sh/skills@markdown-ui

Documentación

Documentación de componentes: ui.inference.sh/blocks/chat

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

JantonioFC/skillsbank

AI-powered image editing with style transfer and object removal

JantonioFC/skillsbank

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

JantonioFC/skillsbank

Analise e auditoria de editais de leilao judicial e extrajudicial. Riscos ocultos, clausulas perigosas, debitos, ocupante e classificacao da oportunidade.

JantonioFC/skillsbank

Embed Photopea in web apps using photopea.js. Covers embedding, file I/O, scripting, exporting, layers, text, filters, and the full Photoshop-compatible API.

JantonioFC/skillsbank

Best practices for Remotion - Video creation in React

JantonioFC/skillsbank

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

JantonioFC/skillsbank

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

JantonioFC/skillsbank

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

JantonioFC/skillsbank

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

JantonioFC/skillsbank

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

JantonioFC/skillsbank

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

JantonioFC/skillsbank

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

JantonioFC/skillsbank

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

JantonioFC/skillsbank

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,'...

JantonioFC/skillsbank

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Lipsync. Capabilities: audio-driven avatars, lipsync videos, talking head generation, virtual presenters. Use for: AI presenters, expla...

JantonioFC/skillsbank

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awarene...

JantonioFC/skillsbank

Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, fole...

JantonioFC/skillsbank

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

JantonioFC/skillsbank

Next.js 16+ and Turbopack — incremental bundling, FS caching, dev speed, and when to use Turbopack vs webpack.

JantonioFC/skillsbank

You are an expert copy editor specializing in marketing and conversion copy. Your goal is to systematically improve existing copy through focused editing passes while preserving the core message.

Skills relacionados