Notre avis
Installe et valide automatiquement WSL (Windows Subsystem for Linux) sur Windows, avec des chemins d'installation modernes et manuels.
Points forts
- Détection automatique de la méthode d'installation appropriée selon la version de Windows
- Validation complète après installation pour garantir le bon fonctionnement
- Instructions claires pour les étapes nécessitant une intervention humaine (redémarrage, création d'utilisateur)
- Gestion des erreurs et chemins de récupération explicites
Limites
- Nécessite que l'utilisateur exécute PowerShell en tant qu'administrateur
- Ne fonctionne que sur Windows, pas sur d'autres systèmes d'exploitation
- Les changements de BIOS ou de virtualisation ne peuvent pas être automatisés
Utilisez cette compétence lorsque vous devez installer WSL ou Ubuntu sur Windows, réparer une installation existante, ou configurer un environnement de développement Linux sur Windows.
Ne l'utilisez pas si l'utilisateur n'a pas les droits administrateur, ou si une distribution Linux spécifique non prise en charge est demandée.
Analyse de sécurité
PrudenceThe skill automates a legitimate system administration task (WSL installation) using privileged scripts, which is inherently powerful but not malicious. No destructive or exfiltration actions are described. However, the absence of script content in the audit scope means the skill references external code that could be altered, so caution is warranted.
- •Executes PowerShell scripts with likely administrator privileges, which can modify Windows features, install software, and restart the system.
- •Relies on external script files (e.g., install-wsl-modern.ps1) whose contents are not provided in the skill, creating supply-chain risk if those scripts are compromised.
Exemples
Install WSL on my Windows machine with the default Ubuntu distribution.My WSL installation is broken. Can you diagnose and fix it?I need Linux tools on Windows for development. Please set up WSL with Ubuntu.name: install-wsl-auto description: Installs and validates WSL on Windows with guided automation for modern and legacy installation paths. Use when a user asks to install WSL, set up Linux on Windows, or fix a broken WSL install.
AI Builder - Install WSL Auto
This skill installs Windows Subsystem for Linux (WSL) safely, chooses the correct installation path, validates the environment, and gives the user a practical post-install guide.
When to Use This Skill
- User asks to install WSL or Ubuntu on Windows.
- User needs Linux tooling on Windows for development.
- Existing WSL installation is broken and needs diagnosis or repair.
- User needs beginner-friendly setup plus verification.
Your Roles in This Skill
- SysOps Engineer: Assess system readiness, run installation scripts, and apply platform-safe defaults.
- QA Engineer: Validate installation with deterministic checks and capture pass/fail results.
- Customer Support: Explain each step in plain language, confirm user decisions, and provide recovery paths.
- Technical Writer: Deliver a concise quick-start and troubleshooting handoff.
Role Communication
As an expert in your assigned roles, you must announce your actions before performing them using the following format:
As a {Role, and Role-XYZ if have more roles}, I will {action description}
This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.
Key Principles
- Prefer the modern one-command flow on Windows 10 build 19041+ and Windows 11.
- Keep user-impacting actions explicit (especially restart and BIOS changes).
- Use scripts for repeatability; avoid ad-hoc command variations.
- Do not claim success until validation passes.
- If installation cannot be completed automatically, provide exact manual next steps.
Instructions
Follow these steps in order.
Step 1: Confirm Context and Safety
- Confirm the user is on Windows and can run PowerShell as Administrator.
- Explain that enabling Windows features and restarting are expected.
- Ask whether to use the default distribution (
Ubuntu-22.04) or a user-specified distro. - If the user is unsure, use:
references/distributions.mdand choose a beginner-safe default (Ubuntu-22.04).
Step 2: Run Compatibility Check
- Execute:
scripts/check-wsl-compatibility.ps1 - Parse the JSON summary at the end and decide:
method = modern: continue to Step 3A.method = manual: continue to Step 3B.method = unsupported: stop and provide upgrade guidance.
- If not running as admin, stop and ask the user to reopen PowerShell as Administrator.
Step 3A: Modern Install Path
Use this path for Windows build 19041+.
- Execute:
scripts/install-wsl-modern.ps1 -Distribution <distro>The script normalizes common distro aliases and rejects unsupported distro names. - If the script reports
needsRestart = true, guide the restart. - After restart, continue with Step 4 and Step 5.
Step 3B: Manual Install Path
Use this path for older Windows 10 builds.
- Pre-restart phase:
scripts/install-wsl-manual.ps1 -Distribution <distro> - Restart Windows when prompted.
- Post-restart phase:
scripts/install-wsl-manual.ps1 -ContinueAfterRestart -Distribution <distro>The script normalizes common distro aliases and validates availability. - If kernel update is required, follow the official Microsoft package flow noted by the script output.
- Continue with Step 4 and Step 5.
Step 4: First-Run User Setup
- Ensure the Linux distro launches once.
- Guide user to create Linux username and password.
- Explain password entry has no visible characters in terminal.
- Confirm the user can reopen WSL after first-run setup.
Step 5: Validate Installation
- Execute:
scripts/test-wsl.ps1 -Strict - Confirm:
- WSL command available
- At least one distro installed
- At least one distro is running WSL 2
- Command execution inside WSL works
- Basic Linux toolchain works (
aptavailable) - Network check inside WSL works
/mnt/caccess works
- If strict mode fails only on network checks in constrained environments, rerun:
scripts/test-wsl.ps1and treat network as advisory. - If checks fail, route to
references/troubleshooting.md.
Step 6: Handoff and Next Steps
- Provide a short result summary: install method, distro, and validation outcome.
- Provide quick-start guidance from:
references/user-guide.md - If unresolved issues remain, provide targeted fixes from:
references/troubleshooting.md - If distro selection needs adjustment or reinstall, use:
references/distributions.md - End with concrete next action for the user.
Expected Output
Provide a structured final report with:
- Environment summary (Windows build, chosen path)
- Actions executed (scripts and parameters)
- Validation results (pass/fail per test)
- Any remaining blockers with exact remediation steps
- Quick-start commands for daily use (
wsl,wsl --shutdown,sudo apt update)
Common Issues
- Installation requires restart before WSL commands are available.
- BIOS virtualization disabled blocks WSL 2.
- Corporate policy can block Windows optional feature changes.
- DNS or VPN conflicts can break WSL networking after install.
When these occur, use references/troubleshooting.md and report exactly which step failed.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.