원클릭으로
modular-architecture
Guidelines for maintaining a modular architecture in FinanzApp Frontend
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Guidelines for maintaining a modular architecture in FinanzApp Frontend
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
Guidelines for frontend component and E2E testing in FinanzApp.
Component organization and modern React principles for the FrontEnd.
Catalog of all specialized skills used across the FinanzApp project (Frontend & Backend).
Reglas obligatorias para garantizar la accesibilidad web (A11y) en FinanzApp. Sigue estándares WCAG 2.1 para usuarios con discapacidad visual y navegación por teclado.
Guidelines for cross-layer testing (Hooks + UI + Services) using real logic and MSW for network interception.
| name | modular-architecture |
| description | Guidelines for maintaining a modular architecture in FinanzApp Frontend |
This project follows a strict modular architecture to ensure scalability and maintainability.
Type Separation:
src/types/.type aliases instead of interface unless extending is strictly necessary.Service Layer:
src/services/) should only contain API calls and data transformation logic.src/types/.Hooks Layer:
src/hooks/) should encapsulate reusable logic, state, and side effects.src/utils/.Components:
src/components/, src/app/) should focus on UI and interaction.src/types/.Directory Structure:
src/types/: Centralized type definitions.src/services/: API integration services.src/hooks/: Custom React hooks for logic and state.src/components/: Reusable UI components.src/app/: Next.js App Router pages and layouts.src/lib/: Third-party library configurations (e.g., Axios client).When adding a new feature (e.g., "Orders"):
src/types/order.types.ts.src/services/OrderService.ts importing those types.src/hooks/useOrders.ts to manage state and fetch data using the service.src/components/orders/ using the hook and types.