一键导入
testing-standards
Update and run unit and E2E tests after making changes to the site.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update and run unit and E2E tests after making changes to the site.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | testing-standards |
| description | Update and run unit and E2E tests after making changes to the site. |
| paths | ["src/**","e2e/**","__tests__/**","**/*.test.ts","**/*.spec.ts"] |
After making any changes to the site content, structure, or design, you MUST update and run both unit and end-to-end (E2E) tests to ensure no regressions were introduced.
npm test (runs jest)npm run test:watchnpx jest path/to/file.test.tsnpm run test:e2e (runs playwright test)npx playwright test e2e/filename.spec.ts__tests__ or adjacent to components.e2e/ directory.npm test and npm run test:e2e and ensure all tests pass.Deploy PersonalWebsite to OKD/OpenShift and work with infra scripts (okd-setup, ARC). Use when deploying, editing files under infra/, or configuring CI runners on the cluster.
Ensure codebase is formatted with Prettier before submitting a PR.
Personal site development and content.
Use this skill to understand how to perform local development, running, and testing for the PersonalWebsite repository.
Use this skill to understand how website analytics are collected for the PersonalWebsite project via Datadog.
Use this skill to understand how container images are built and pushed for the PersonalWebsite repository.