skyroc-admin-api

Coordinate and standardize backend API changes in Skyroot Admin.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/xinge-ji/skyroc --skill skyroc-admin-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skyroc-admin-api
Source: https://github.com/xinge-ji/skyroc/tree/main/.agents/skills/skyroc-admin-api
Command: npx skills add https://github.com/xinge-ji/skyroc --skill skyroc-admin-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinating and standardizing changes to backend API calls, request types, and service hooks in Skyroc Admin.

Core Features & Use Cases

  • Guidance for updating admin/src/service/types/*.d.ts when API typings change.
  • Synchronizes changes across admin/src/service/api/.ts and admin/src/service/hooks/ to maintain consistency.
  • Use Case: when adding a new endpoint or altering request payloads, run through the defined steps to ensure proper typing and error handling.

Quick Start

Update the API types and handlers across the admin module, then run typecheck and lint to verify the changes.

Frequently Asked Questions about skyroc-admin-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize backend API changes and service hooks in a TypeScript admin module?

To standardize backend API changes, coordinate updates across request types, service hooks, and endpoints to enforce consistent typing, error handling, and messaging conventions across the admin codebase.

What is the best way to update API request types when backend payloads change?

Updating API request types requires synchronizing type definitions with service hooks and API handlers to maintain type safety and consistent messaging conventions across the admin module.

How do I add a new API endpoint with proper typing and error handling?

Adding a new API endpoint involves running through defined implementation steps to update API handlers and service hooks, ensuring proper typing, endpoint consistency, and standardized error handling.

Do I need to run typecheck and lint after updating API interfaces?

Yes, you need to run typecheck and lint after updating API interfaces to verify type safety, validate consistent messaging conventions, and ensure changes across admin modules are error-free.

Why does updating an API call cause type mismatches across admin service hooks?

Type mismatches occur when API typings change without synchronizing service hooks and API handlers, which this standardization process resolves by enforcing implementation steps and consistent typing across the codebase.