ワンクリックで
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.