一键导入
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 职业分类
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.
| 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.