site-modernizer-workspace

Delete stale mock repositories and build artifacts between Astro benchmark iterations.

1|Updated May 17, 2026
One-click install
npx skills add https://github.com/mykcs/myk-skills --skill site-modernizer-workspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: site-modernizer-workspace
Source: https://github.com/mykcs/myk-skills/tree/main/website-improve/benchmarks/site-modernizer
Command: npx skills add https://github.com/mykcs/myk-skills --skill site-modernizer-workspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill unit prevents benchmark runs for site modernization workflows from being contaminated by leftover build artifacts, cloned mock repositories, and installed dependencies.

Core Features & Use Cases

  • Automated benchmark workspace hygiene: Defines cleanup requirements after each benchmark iteration to remove mock-repo directories, outputs/dist build artifacts, and node_modules inside mock repos.
  • Reproducible evaluation environments: Supports reliable, repeatable modernization benchmarks across multiple iterations by ensuring each run starts from a clean state.
  • Use Case: When iterating on an Astro modernization workflow over 20+ benchmark iterations, use this workspace cleanup rule to avoid stale dist/ outputs and cross-run file contamination that would invalidate results.

Quick Start

Add or run the cleanup commands immediately after each benchmark iteration completes to delete mock-repo directories, */outputs/dist/ artifacts, and */node_modules/ within mock repos.

Frequently Asked Questions about site-modernizer-workspace

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

FAQPage Schema
How do I keep site modernization benchmarks reproducible across multiple iterations?

To keep site modernization benchmarks reproducible, you must enforce deterministic workspace cleanup by deleting mock-repo directories, outputs/dist build artifacts, and node_modules after each iteration completes. This prevents cross-run file contamination from invalidating results.

Why does my Astro modernization benchmark produce inconsistent outputs between runs?

Inconsistent outputs occur when stale build artifacts and leftover node_modules from previous iterations contaminate the workspace. Removing directories matching mock-repo, outputs/dist, and node_modules after each run ensures each iteration starts from a clean state.

What is the best way to clean up build artifacts between automated evaluation loops?

The best way to clean up build artifacts between automated evaluation loops is to run deterministic workspace cleanup commands immediately after each iteration completes, targeting mock-repo directories, outputs/dist artifacts, and node_modules to enforce workspace hygiene and generate repeatable outputs.

When do I need to delete node_modules and dist folders during Astro modernization testing?

You need to delete node_modules and dist folders during Astro modernization testing immediately after each benchmark iteration completes. This removes cloned mock repositories and installed dependencies, ensuring the next modernization scenario starts from a clean, uncontaminated workspace.

Can I run 20 or more modernization benchmark iterations without contaminating the workspace?

You can run 20 or more modernization benchmark iterations without workspace contamination by applying cleanup rules that delete mock-repo directories, outputs/dist artifacts, and node_modules right after each iteration completes to maintain deterministic, repeatable evaluation environments.