ns-pm-e2e-test-task-generator
About ns-pm-e2e-test-task-generator
A planning skill that produces Markdown task files for end-to-end tests, with Cypress implementation handled separately. It requires a frontend task's data-testid contract and plans coverage across outcomes, access control, and device sizes.
Key features
- 01Generate E2E task files
- 02Require frontend data-testid contract
- 03Plan success, error, and RBAC scenarios
- 04Specify device coverage matrix
- 05Define Cypress spec and command paths
Use cases
- 01Planning E2E coverage for a feature
- 02Checking URL-based access-control scenarios
- 03Preparing Cypress tasks across device sizes
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ nextstage-brasil/ skills --skill ns-pm-e2e-test-task-generatorAfter installing, type/ns-pm-e2e-test-task-generatorin Claude Code to confirm it loaded.
Bundled filesevals/evals.json
Details
From the project READMEE2E Test Task Generator
Planning-phase skill: produce E2E task markdown. Execution-phase: ns-code-e2e-tests.
Boundary
| Phase | Skill |
|---|---|
| Planning (task file) | ns-pm-e2e-test-task-generator |
| Implementation (Cypress code) | ns-code-e2e-tests |
Harness discovery
Load {harness}/rules/e2e-tests-rules.mdc and frontend-rules.mdc when present.
Inputs
- Feature to cover
- Frontend implementation task(s) with data-testid contract
- If contract missing → stop and request frontend task update
E2E project location
Default (greenfield): {product_root}/tests-e2e/ — independent Node package; paths below are relative to that root.
Brownfield: use detected Cypress root (tests-e2e/, legacy testes-cypress/, or frontend/). Do not plan new specs under frontend/cypress/ when no E2E exists yet.
Output highlights
Task file must include:
- Summary and detailed coverage strategy
- E2E root —
tests-e2e/(or detected brownfield path) - data-testid contract table (copied from frontend task — do not invent)
- Spec paths under
tests-e2e/cypress/e2e/device/{desktop|tablet|mobile}/[feature]/(adjust prefix if brownfield) - Command files under
tests-e2e/cypress/support/commands/—shared/,pages/,device/ - Bootstrap note when project has no E2E yet: executor must run
ns-code-e2e-testsPhase 0 before specs - Success, error, and RBAC by URL scenarios
- Device coverage matrix
- Validation criteria: no fixed
cy.wait(N), commands not DOM in specs,@smoke/@regressiontags
Dependencies
Depends on frontend implementation task for the same feature.
Docker note
When E2E runs in container: API URL via host gateway, not localhost inside container — per infra rules when present.
Related skills
ns-code-e2e-tests— write/refactor Cypress codens-sdd-task-generator— frontend tasks with testid contract