Tag: backend
TRPC Router Implementation Guide
A guide for implementing and modifying TRPC routers, focusing on middleware-based model injection and standardised procedure patterns.
CLI Backend Integration Testing Workflow
This tool facilitates end-to-end verification of backend API changes, allowing developers to test TRPC routers, services, and models via the LobeHub CLI against a local development server. It guides the process from server startup and authe…
Managing Baserow Integrations and Services
This skill guides the implementation of new or updated service and integration types within the Baserow platform. It requires coordinating changes across the backend (Python models, service/integration subclasses) and the frontend (React co…
Node.js Backend AI Model Integration Skill
This skill facilitates calling various AI models for text and image generation directly from Node.js backends, CloudRun, or serverless functions using the CloudBase SDK. It enforces a mandatory two-step preflight process to ensure resource …
Raw HTTP API Client for CloudBase Services
This skill enables direct interaction with CloudBase platform APIs using raw HTTP requests, bypassing the need for platform-specific SDKs. It is ideal for non-Node backends, integration scripts, or environments requiring direct consumption …
Node.js Server-Side Authentication for CloudBase
This skill provides Node.js backend capabilities for managing server-side identity within CloudBase. It allows developers to read the caller's identity, look up user profiles, or issue custom login tickets to integrate external user systems…
Node.js Backend AI Model Integration Skill
This skill enables secure, server-side integration of various AI models into Node.js backends, supporting functions like text generation, image creation, and agent orchestration via the CloudBase SDK. It is designed for cloud functions and …
Guide to building tRPC server routers
This guide outlines best practices for developing tRPC routers, focusing on using middleware to inject database models into the context and structuring procedures for efficient query and mutation handling. It also demonstrates how to aggreg…
cli backend integration testing workflow
This skill provides a structured workflow for performing end-to-end integration testing of LobeHub's backend services, allowing developers to validate changes to TRPC routers, models, and APIs using the dedicated CLI against a local develop…
Injecting default user settings via environment variables
This skill enables the injection of default user settings by defining server-side environment variables. It provides the necessary boilerplate to integrate these variables into the global server configuration and user store state management…
Backend Python Code Review Skill
This skill performs automated reviews of Python backend code to identify security vulnerabilities, performance bottlenecks, and violations of architectural best practices. It supports analysing code snippets, specific files, or pending chan…
Creating or Updating Baserow Integrations and Services
This skill guides developers through the full lifecycle of creating or updating custom Baserow service and integration types. It details the necessary backend and frontend steps, including model updates, subclassing, and registration across…
Creating Baserow In-App Notification Patterns
This skill guides the implementation of robust in-app notifications within Baserow, covering both backend and frontend requirements. It details necessary patterns for notification lifecycle management, including target definition, event han…
Generate focused unit tests for backend logic
This skill generates focused unit tests specifically designed for backend and utility logic. It assists developers in ensuring robust coverage for core application functions.
Python Backend API Development Skill
Implements robust server-side logic, APIs, and database operations using Python 3.12+, specializing in FastAPI, SQLAlchemy, and Pydantic. This skill enforces best practices including strict typing, comprehensive testing, and adherence to RE…
Designing Reusable Convex Components
This skill facilitates the creation of reusable Convex components with isolated tables, clear boundaries, and app-facing wrappers. It provides a structured workflow for managing component shapes, authentication, and cross-boundary function …