Toolverse
All skills

router-first-architecture

by parcadei

Router-First Architecture

Installation

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

Installation

Quick info

Author
parcadei
Category
Frontend
Views
27

About this skill

Router-First Architecture

How to use

  1. Zainstaluj umiejętność router-first-architecture w swoim katalogu Claude'a, upewniając się, że masz dostęp do pliku skill-rules.json oraz do routerów domenowych (np. math-router).

  2. Skonfiguruj co-aktivację w pliku skill-rules.json dla każdej umiejętności domenowej, dodając sekcję coActivate wskazującą na odpowiedni router — na przykład dla umiejętności matematycznych dodaj "coActivate": ["math-router"] z trybem "always".

  3. Gdy chcesz wykonać operację w danej domenie, zawsze najpierw wywołaj router z zapytaniem użytkownika — na przykład dla matematyki użyj komendy math-router route "twoje zapytanie", zamiast bezpośrednio wywoływać poszczególne skrypty.

  4. Zaufaj wynikom routera, zwłaszcza jego ocenie pewności (confidence score) — router zwróci dokładną komendę do wykonania lub null jeśli nie znalazł dopasowania.

  5. Jeśli router zwróci null (brak dopasowania), tylko wtedy rozważ obejście routera lub ręczne wybranie narzędzia, ale staraj się tego unikać — zamiast tego rozszerz wzorce triggera w skill-rules.json, aby lepiej pokrywały intencje użytkownika.

  6. Utrzymuj wzorce triggera w skill-rules.json szersze niż wzorce routingu — router powinien gracefully obsługiwać przypadki, które nie pasują do żadnego wariantu, a trigger layer powinien nudować Claude'a do użycia routera dla szerszego zakresu zapytań.

Related skills

apple-reminders

by openclaw

Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.

Frontend
2085

screenshot-to-code

by OneWave-AI

Convert UI screenshots into working HTML/CSS/React/Vue code. Detects design patterns, components, and generates responsive layouts. Use this when users provide screenshots of websites, apps, or UI designs and want code implementation.

Frontend
94209

bubbletea

by hmans

Browse Bubbletea TUI framework documentation and examples. Use when working with Bubbletea components, models, commands, or building terminal user interfaces in Go.

Frontend
2158

markitdown

by K-Dense-AI

Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing. Use when converting documents to markdown, extracting text from PDFs/Office files, transcribing audio, performing OCR on images, extracting

Frontend
75173

theme-factory

by anthropics

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

Frontend
40139

shadcn-ui-setup

by maneeshanif

Install and configure Shadcn/ui component library with Radix UI primitives, Aceternity UI effects, set up components, and manage the component registry. Use when adding Shadcn/ui to a Next.js project or installing specific UI components for Phase 2.

Frontend
23167