用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/edfenton/claude-skills --skill nean-e2e命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Scaffold a pnpm + Turborepo MERN monorepo with Next.js, tooling, tests, CI, and optional GitHub repo creation.
Configure GitHub repository security with branch protection, Dependabot, security scanning, and CI workflows. Integrates with mern-scaffold, nean-scaffold, and iOS projects.
Harden a Vercel deployment with security headers, CSP, bot protection, and deployment configuration
基于 SOC 职业分类
正在显示 SKILL.md
| name | nean-e2e |
| description | Manage Playwright E2E tests for critical user journeys. |
| argument-hint | [--add <journey>] [--run] [--report] [--fix] |
| allowed-tools | Bash, Write, Read, Glob, Grep |
Create, run, and maintain E2E tests for critical user flows using Playwright.
--add <journey> — Create new journey test (e.g., signup-flow, checkout)--run — Run all E2E tests--run <pattern> — Run tests matching pattern--report — Generate and display HTML report--fix — Fix flaky tests with approvalapps/web-e2e/
├── src/
│ ├── journeys/ # User journey tests
│ │ ├── auth.spec.ts # Sign up, sign in, sign out
│ │ ├── onboarding.spec.ts # First-time user flow
│ │ └── <feature>.spec.ts # Feature-specific journeys
│ ├── fixtures/ # Test fixtures and helpers
│ │ ├── auth.fixture.ts # Auth helpers (login as user)
│ │ └── db.fixture.ts # Database seeding
│ └── pages/ # Page Object Models
│ ├── home.page.ts
│ └── settings.page.ts
├── playwright.config.ts # Playwright configuration
└── .env.test # Test environment
auth — Authentication flows (signup, signin, signout, password reset)onboarding — First-time user experience<feature>-crud — Create, read, update, delete for a feature<feature>-workflow — Multi-step workflowscheckout — Payment/purchase flowssettings — User settings and preferences# Run all E2E tests
npm run e2e
# Run specific journey
npm run e2e -- --grep "auth"
# Run in headed mode (watch)
npm run e2e -- --headed
# Run with UI mode
npm run e2e -- --ui
# Generate report
npm run e2e -- --reporter=html && npx playwright show-report
--add)src/journeys/<journey>.spec.ts--run)--fix)data-testid for stable selectorspage.waitForTimeout)// Wait for Angular to stabilize
await page.waitForSelector('app-root:not(.loading)');
// Use data-testid attributes
await page.click('[data-testid="submit-button"]');
// Wait for PrimeNG components
await page.waitForSelector('.p-datatable-tbody tr');
For Playwright setup and patterns, see reference/nean-e2e-reference.md