ワンクリックで
css-modules
Guidelines for implementing CSS Modules in Next.js components for better maintainability and scoped styling.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Guidelines for implementing CSS Modules in Next.js components for better maintainability and scoped styling.
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 | css-modules |
| description | Guidelines for implementing CSS Modules in Next.js components for better maintainability and scoped styling. |
Next.js provides built-in support for CSS Modules. To maintain a clean directory structure and standard modularity, complex CSS should be extracted to CSS Module files (.module.css).
styles/ subdirectory within the component's folder.src/components/[category]/styles/[ComponentName].module.css.src/app/[page]/styles/[PageName].module.css.PascalCase or kebab-case matching the component name..module.css extension..tsx file:
import styles from './styles/MyComponent.module.css';className={styles.className} syntax.clsx: className={${styles.base} ${styles.active}}.src/components/products/
├── ProductCard.tsx
└── styles/
└── ProductCard.module.css
ProductCard.tsximport styles from './styles/ProductCard.module.css';
export default function ProductCard() {
return (
<article className={styles.card}>
<h3 className={styles.title}>Product Title</h3>
</article>
);
}