원클릭으로
test-enforcement
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | test-enforcement |
| description | Mandatory rule requiring a corresponding test file for every business logic file and UI component. |
To maintain 100% reliability and prevent visual or logic regressions in the FinanzApp Frontend, it is OBLIGATORY that every file containing business logic, services, stores, or UI components has a corresponding test file.
.ts or .tsx file in src/services, src/store, src/utils, src/hooks, or src/components MUST have a matching .test.ts or .test.tsx file.tests/ directory within the same directory as the source file (Except for src/app/, where they remain in the same directory).useAuth.ts, the test file MUST be useAuth.test.ts and reside in a tests/ subdirectory.src/hooks/
├── useAuth.ts
└── tests/
└── useAuth.test.ts
src/app/dashboard/
├── page.tsx
└── page.test.tsx
src/components/common/
├── Button.tsx
└── Button.test.tsx <-- ERROR: Should be in src/components/common/tests/
src/hooks/
├── useAuth.ts
└── useAuth.test.ts <-- ERROR: Should be in src/hooks/tests/
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.
Guidelines for end-to-end testing in FinanzApp using Playwright.