Toolverse
All skills

api-development

by netalertx

Develop and extend NetAlertX REST API endpoints. Use this when asked to create endpoint, add API route, implement API, or modify API responses.

Installation

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

Installation

Quick info

Author
netalertx
Category
Backend
Views
7

About this skill

Develop and extend NetAlertX REST API endpoints. Use this when asked to create endpoint, add API route, implement API, or modify API responses.

How to use

  1. Zlokalizuj punkt wejścia aplikacji Flask w pliku server/api_server/api_server_start.py — to główny plik, w którym rejestrowane są wszystkie trasy API.
  2. Przygotuj nowy endpoint w katalogu server/api_server/, decydując, czy będzie to operacja na pojedynczym urządzeniu, zbiorowa operacja na liście urządzeń, czy funkcjonalność pomocnicza (np. narzędzia sieciowe, metryki, synchronizacja).
  3. Dodaj autoryzację do każdego endpointa, wymagając nagłówka Authorization: Bearer z tokenem API — pobierz token za pomocą get_setting_value('API_TOKEN').
  4. Zaimplementuj odpowiednią strukturę odpowiedzi: zwróć {"success": true, "data": wynik} dla powodzenia lub {"success": false, "error": "opis błędu"} dla błędu. Wyjątek stanowi legacy endpoint /device/ GET, który zachowuje starą strukturę dla zgodności z interfejsem użytkownika.
  5. Przetestuj endpoint, upewniając się, że zwraca poprawny kod HTTP i strukturę JSON zgodnie z kontraktem odpowiedzi.
  6. Jeśli endpoint zmienia dane, zaktualizuj interfejs użytkownika, aby czytał i zapisywał cache JSON zgodnie z nową trasą API.

Related skills

gog

by openclaw

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Backend
34126

openspec

by ruan-cat

OpenSpec 中文版规范助手 - 规范驱动的 AI 编程开发,帮助初始化、创建提案、编写规格、校验格式并归档变更。触发条件: 当用户提及 openspec、规范文档、需求管理、变更提案、spec-driven development 等关键词时主动调用。

Backend
27122

postgresql-psql

by timelessco

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and

Backend
34173

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109

pdf-to-markdown

by aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions \

Backend
355664

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582