← ClaudeAtlas

muggle-test-importlisted

Bring existing tests and test artifacts INTO Muggle Test — from Playwright, Cypress, PRDs, Gherkin feature files, test-plan docs, Notion exports, or any source. TRIGGER when the user wants to import, migrate, load, or convert existing test files or docs into Muggle Test — import my playwright tests, migrate from cypress to muggle, upload my PRD to muggle, turn this feature file into muggle test cases, or any .spec.ts/.cy.js/.feature/.md file plus muggle. DO NOT trigger for running or replaying scripts, scanning a site, generating new tests from scratch, or checking results.
multiplex-ai/muggle-ai-works · ★ 16 · Testing & QA · score 63
Install: claude install-skill multiplex-ai/muggle-ai-works
# Muggle Test Import > Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-test-import"`. This skill migrates existing test artifacts into Muggle Test. It reads your source files, structures them into use cases and test cases, gets your approval, then creates everything in a Muggle Test project via the API. ## Preferences Gates run per `preference-gates/README.md`. | Preference | Step | Decision it gates | |------------|------|-------------------| | `autoLogin` | 4 | Reuse saved credentials when auth is required | | `autoSelectProject` | 5 | Reuse last-used Muggle Test project for this repo | | `suggestRelatedUseCases` | 8a | Suggest related use cases after import | | `suggestRelatedTestCases` | 8b | Suggest related test cases after import | ## Concepts - **Use case**: A high-level feature or user workflow (e.g., "User Registration", "Checkout Flow") - **Test case**: A specific scenario within a use case (e.g., "Register with invalid email", "Complete checkout with Visa card") --- ## Step 1 — Identify source files Ask the user which files to analyse. Accept glob patterns, directory paths, or individual files. Common sources: | Source type | Typical patterns | |---|---| | Playwright | `**/*.spec.ts`, `**/*.test.ts`, `e2e/**` | | Cypress | `**/*.cy.js`, `**/*.cy.ts`, `cypress/integration/**` | | PRD / design doc | `*.md`, `*.txt`, `docs/**` | | Other | Any file the user points to | If the user is vague, scan