add-event-type

Community

Add a new frontend event type for the feed.

AuthorAppleLamps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill adds a new event type to the frontend feed system with a corresponding React component, enabling display of new agent output types.

Core Features & Use Cases

  • Read current EventType union in frontend/src/App.tsx
  • Define new event interface: type NewEventType = { type: 'new_type'; /* fields */ }
  • Extend EventType union and implement NewTypeBlock component
  • Update rendering logic and WebSocket handling to support the new event

Quick Start

Create the NewEventType interface, add it to EventType, build a NewTypeBlock, and wire it into the feed rendering. Example: add a block for type 'new_type' to render in the UI.

Guardrails

  • Follow existing naming conventions (PascalCase components, snake_case event types)
  • Use Tailwind styling for consistency
  • Ensure TypeScript types are complete (no any)
  • Test with mock events via WebSocket

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-event-type
Download link: https://github.com/AppleLamps/web-term/archive/main.zip#add-event-type

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.