Convert a JSON test plan into production-ready Playwright TypeScript files (spec, page object, fixtures). Reads the latest plan in <output_dir>/<app>/plans/ unless a specific PLAN path is given. Use after /plan-tests, or when the user says "generate the tests", "write the spec for plan X".
Diagnose and rewrite a failing Playwright spec. Reads the spec + a captured error log, classifies the root cause, and writes a fixed file plus a healing report. Use when the user says "heal this test", "fix the broken spec", or pastes Playwright failure output.
Generate a structured JSON test plan for one feature of the configured app. Reads the user's app profile and writes the plan to <output_dir>/<app>/plans/<feature>-<timestamp>.json. Use when the user asks to "plan tests for X", "draft test cases for X", or kicks off a new feature's QA work.
Run the full QA pipeline end-to-end for one feature — plan, generate, then sync. Use when the user says "run the full pipeline for X", "automate end-to-end QA for feature X", or wants one-shot test creation + sync.
Copy generated and healed test files from the plugin's output directory into the user's target repo. Honours the user's sync.config.json mappings. Use when the user says "sync the tests", "push generated tests to the app repo", or after /generate-tests.