name: ‘step-02-select-framework’ description: ‘Select Playwright or Cypress and justify choice’ nextStepFile: ‘{skill-root}/steps-c/step-03-scaffold-framework.md’
Choose the most appropriate framework and document the rationale.
{communication_language}CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise.
Use {detected_stack} from Step 1 to guide framework selection.
If {detected_stack} is frontend or fullstack (browser-based testing):
Default to Playwright unless strong reasons suggest Cypress.
Playwright recommended when:
Cypress recommended when:
If {detected_stack} is backend (no browser-based testing):
Select the framework matching the project language:
If {detected_stack} is fullstack:
Select both a browser-based framework (Playwright/Cypress) AND the appropriate backend framework for the detected language.
Respect config.test_framework if explicitly set (not "auto").
State the selected framework and reasoning.
Save this step’s accumulated work to {outputFile}.
{outputFile} does not exist (first save), create it with YAML frontmatter: ---
stepsCompleted: ['step-02-select-framework']
lastStep: 'step-02-select-framework'
lastSaved: '{date}'
---
Then write this step’s output below the frontmatter.
{outputFile} already exists, update:
'step-02-select-framework' to stepsCompleted array (only if not already present)lastStep: 'step-02-select-framework'lastSaved: '{date}'Load next step: {nextStepFile}