← ClaudeAtlas

muggle-test-regenerate-missinglisted

Bulk-regenerate test scripts for every test case in a Muggle AI project that has no active script. Scans the project, finds test cases stuck in DRAFT or GENERATION_PENDING, shows the user the list, and on approval kicks off bulk remote script generation via the Muggle Test cloud. Use when the user wants to regenerate missing scripts, fill in missing test scripts, generate scripts for test cases without one, rebuild scripts for stale test cases, or bulk regenerate across a project. Handles discovery, filtering, confirmation, and remote dispatch end-to-end.
multiplex-ai/muggle-ai-works · ★ 16 · Testing & QA · score 66
Install: claude install-skill multiplex-ai/muggle-ai-works
# Muggle Test — Regenerate Missing Test Scripts > Telemetry first step: see [`_shared/telemetry-emit.md`](../_shared/telemetry-emit.md). Use `skillName: "muggle-test-regenerate-missing"`. A bulk maintenance skill for Muggle AI projects. It finds every test case in a project that does **not** currently have an active (ready-to-run) test script, shows the list to the user, and on approval triggers a remote test script generation workflow for each one. Useful after creating a batch of new test cases or when cleaning up a project that has drifted. Execution is **remote only** — Muggle Test's cloud generates the scripts in parallel against the project URL. The user's machine is not involved beyond making API calls. ## Preferences Gates run per `preference-gates/README.md`. | Preference | Step | Decision it gates | |------------|------|-------------------| | `autoLogin` | 1 | Reuse saved credentials when auth is required | | `autoSelectProject` | 2 | Reuse last-used Muggle Test project for this repo | ## Concept: what counts as "no active script" In the Muggle Test data model, a test case carries a status that reflects whether it has a usable script attached: | Status | Meaning | Regenerate? | |:-------|:--------|:-----------:| | `ACTIVE` | Has a generated, ready-to-run script | No — already good | | `DRAFT` | Created but never generated | **Yes** | | `GENERATION_PENDING` | Queued but generation never started | **Yes** | | `GENERATING` | Currently generating | No — generat