typescript-frontend-patterns
CommunityStandard patterns for MSI-a React admin UI.
Software Engineering#typescript#react#web-development#coding-standards#pattern-library#frontend-patterns#admin-panel
Authorpepeccz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TypeScript and React patterns to standardize and accelerate MSI-a admin panel development, ensuring consistent architecture and easier onboarding.
Core Features & Use Cases
- API Client Pattern: Singleton pattern with generic CRUD methods and token management.
- Types Pattern: Domain-structured interfaces and re-usable type definitions for admins, users, cases, and related entities.
- Custom Hook Pattern: Data fetching hooks with loading, error handling, and refetch capabilities.
- Context Pattern: Auth and global app state via React Context with a safe provider.
- Form State Pattern: Robust form state management with immutable updates and change tracking.
- Constants & Utilities: Centralized constants and helper utilities to avoid magic numbers and repetitive logic.
Quick Start
Import the ApiClient singleton and implement a sample hook that fetches data using the provided patterns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: typescript-frontend-patterns Download link: https://github.com/pepeccz/msi-a/archive/main.zip#typescript-frontend-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.