didaxis-bulk-cleanup

Deletes all Didaxis Studio programs via REST API after a dry-run confirmation.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/tetianna/ai-assisted-qa-automation-2 --skill didaxis-bulk-cleanup-tetianna
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: didaxis-bulk-cleanup
Source: https://github.com/tetianna/ai-assisted-qa-automation-2/tree/main/.cursor/skills/didaxis-bulk-cleanup
Command: npx skills add https://github.com/tetianna/ai-assisted-qa-automation-2 --skill didaxis-bulk-cleanup-tetianna

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Resetting a shared Didaxis Studio test environment by hand means deleting programs one at a time through the UI. This Skill automates bulk deletion of every program through the REST API, with a mandatory dry run and explicit confirmation to prevent accidental data loss. ## Core Features & Use Cases - Bulk program deletion: Fetches all program UUIDs with GET /api/programs and deletes each one via DELETE /api/programs/<uuid> in a loop. - Safe dry-run workflow: Runs in dry-run mode by default, listing program counts, UUIDs, and names before any deletion occurs; the --confirm flag is required to actually delete. - Flexible authentication: Loads credentials from .env using DIDAXIS_API_TOKEN or DIDAXIS_EMAIL / DIDAXIS_PASSWORD login. - Use Case: Before a demo on a shared Didaxis test environment, ask the agent to remove all programs; review the dry-run list, confirm, and get a report of deleted and failed counts. ## Quick Start Ask the agent to delete all programs from Didaxis Studio, review the dry-run output it shows you, then confirm to proceed with deletion.

Frequently Asked Questions about didaxis-bulk-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delete all programs in Didaxis Studio at once?▼

Run node scripts/delete-all-programs.mjs to perform a dry run that lists every program UUID and name. After reviewing the output, rerun with the --confirm flag to delete all listed programs via the REST API.

How to clean up Didaxis test data after Playwright tests?▼

For per-test cleanup, use the cleanup fixture with trackProgram(uuid) inside Playwright specs so each test deletes only what it created. Use the bulk deletion script only when you explicitly want every program removed from the environment.

What credentials does the Didaxis cleanup script need?▼

The script reads DIDAXIS_URL plus either DIDAXIS_API_TOKEN or DIDAXIS_EMAIL and DIDAXIS_PASSWORD from a .env file. If authentication fails, fix the .env credentials rather than hardcoding tokens.

Can I accidentally delete programs with the bulk cleanup script?▼

The script defaults to a dry run that only lists programs without deleting anything. Deletion happens only when you pass --confirm after reviewing the listed UUIDs and names, so unintended deletion requires explicit opt-in.

When should I not use bulk program deletion?▼

Do not use it for automatic cleanup after a single test run or inside Playwright teardown, since it deletes unrelated programs. Use the per-test cleanup fixture with trackProgram for those scenarios instead.