Toolverse
All skills

add-nodebridge-handler

by neovateai

Use this skill when adding a new NodeBridge handler to src/nodeBridge.ts, including updating types in src/nodeBridge.types.ts and optionally testing with scripts/test-nodebridge.ts

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
neovateai
Category
Testing
Views
3

About this skill

Use this skill when adding a new NodeBridge handler to src/nodeBridge.ts, including updating types in src/nodeBridge.types.ts and optionally testing with scripts/test-nodebridge.ts

How to use

  1. Otwórz plik src/nodeBridge.ts i zlokalizuj metodę registerHandlers() w klasie NodeHandlerRegistry — tutaj będziesz rejestrować nowy handler.
  2. Dodaj implementację handlera, używając notacji punktowej dla nazwy (np. git.status, session.send). Zawsze pobierz kontekst za pomocą await this.getContext(cwd) i zwróć obiekt z polami success oraz data (lub error w przypadku niepowodzenia).
  3. Przejdź do pliku src/nodeBridge.types.ts i zdefiniuj typy wejściowe (Input) i wyjściowe (Output) dla nowego handlera, umieszczając je w odpowiedniej sekcji kategorii.
  4. Dodaj nowy handler do typu HandlerMap w tym samym pliku, aby zapewnić pełną typizację.
  5. Opcjonalnie przetestuj handler za pomocą skryptu scripts/test-nodebridge.ts, aby zweryfikować poprawność implementacji i komunikacji między UI a backendem.
  6. Upewnij się, że handler obsługuje błędy za pomocą try/catch i zwraca spójny format odpowiedzi — success: true z danymi lub success: false z komunikatem błędu.

Related skills

performing-penetration-testing

by jeremylongshore

This skill enables automated penetration testing of web applications. It uses the penetration-tester plugin to identify vulnerabilities, including OWASP Top 10 threats, and suggests exploitation techniques. Use this skill when the user requests a \

Testing
1546

powershell-windows

by davila7

PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling.

Testing
1074

wcag-audit-patterns

by wshobson

Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.

Testing
1893

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

textual

by KyleKing

Expert guidance for building TUI (Text User Interface) applications with the Textual framework. Invoke when user asks about Textual development, TUI apps, widgets, screens, CSS styling, reactive programming, or testing Textual applications.

Testing
69192

playwright-cli

by microsoft

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

Testing
45103