بنقرة واحدة
development-guidelines
General code style, development workflow, and build/quality tools for nhl-recap.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
General code style, development workflow, and build/quality tools for nhl-recap.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | development-guidelines |
| description | General code style, development workflow, and build/quality tools for nhl-recap. |
This skill provides general guidance on the code style, development workflow, and tools used across the nhl-recap project.
as (e.g., as any, as TeamRecord) to bypass type checking.if checks, typeof, instanceof) to handle optional or union types.any or unknown.! (non-null assertion).Pick, Omit, and Partial to create derivative types instead of duplicating or casting.Record<K, V> for mapping keys to values.{ showGamesLeft: true } instead of true). This improves call-site readability and makes the code more extensible.package.json scripts/dependencies, tsconfig.json options).package.json).nvm use to set the correct version before running npm commands.npm run check # Run all checks (format, lint, type-check, test)
npm run format # Format code
npm run lint # Lint JavaScript/TypeScript and SASS
npm run ts # Type-check TypeScript
npm test # Run tests
npm run build # Build application
Use npm run check by default; use individual scripts only when you have a specific reason to.
Guidelines for git usage and commit messages in nhl-recap.
Guidelines for triggering and managing deployments using GitHub Actions and local scripts.
Guidelines for API integration, environment variables, mocking, and utilities in nhl-recap.
Guidelines for documentation standards and project-specific README files in nhl-recap.
Guidelines for Service Worker and PWA functionality in nhl-recap.
Guidelines for creating and modifying UI components and styles in nhl-recap.