skyroc-admin-components

Reorganize and refactor Skyroc Admin UI components under admin/src directories.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams reorganize and refactor Skyroc Admin UI components to improve maintainability, consistency, and reusability across pages, layouts, and features.

Core Features & Use Cases

  • Reorganize admin/src/components, admin/src/features, admin/src/layouts, admin/src/pages to create clearer structure.
  • Create new components, split pages, and refactor hooks and component collaboration.
  • Ensure exports entry (index.ts) are updated to reflect changes and maintain type safety.

Quick Start

Refactor Skyroc Admin UI by reorganizing components under admin/src (components, features, layouts, pages) and updating export structure in index.ts.

Frequently Asked Questions about skyroc-admin-components

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

FAQPage Schema
How do I refactor React admin UI components for better reuse?

To refactor React admin UI components for reuse, reorganize files under admin/src by splitting pages, extracting shared components, and updating index.ts exports to maintain type safety and structural consistency.

What's the best way to split admin pages into smaller React components?

The best way to split admin pages into smaller React components is to extract functional UI sections into dedicated files under admin/src/features, ensuring clear props, stable import order, and updated error boundaries.

How do you update exports in index.ts when reorganizing admin components?

Updating exports in index.ts when reorganizing admin components requires reflecting the new file paths for components, layouts, and pages to maintain correct type safety and ensure seamless import collaboration.

Can I refactor admin hooks and component coordination without breaking imports?

Yes, you can refactor admin hooks and component coordination without breaking imports by maintaining stable import order, reusing common components, and ensuring the index.ts export entries are correctly updated to reflect structural changes.

Does this component refactoring approach enforce functional components with clear props?

Yes, this component refactoring approach enforces the use of functional components with clear props across admin/src/components, features, layouts, and pages to improve maintainability and ensure consistent UI reuse.