一键导入
frontend-test-enforcement
Mandatory rule requiring a corresponding Vitest/React Testing Library test file for every React component (.tsx) in GitData frontend.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Mandatory rule requiring a corresponding Vitest/React Testing Library test file for every React component (.tsx) in GitData frontend.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Node.js best practices and runtime configuration for GitData-BackEnd.
Catalog of all specialized skills used across the GitData Monorepo project.
Guidelines for mathematically deducing advanced widget data on the backend.
Rules for using both GraphQL and REST APIs simultaneously for GitHub data fetching.
Architecture rules for building UI widgets, supporting i18n locales, and multi-theme logic.
Mandatory rule to keep CSS files inside a styles/ folder relative to their component.
| name | frontend-test-enforcement |
| description | Mandatory rule requiring a corresponding Vitest/React Testing Library test file for every React component (.tsx) in GitData frontend. |
To ensure reliability in the user interface, every UI component file must have a corresponding test file.
.tsx file (React component) MUST have a matching .test.tsx file.tests/ directory located exactly where the original component is. For example, the test for src/components/widgets/MyWidget.tsx must be src/components/widgets/tests/MyWidget.test.tsx.theme-dark/light), and localization (lang props) if applicable.