Protection des commandes shell sous Windows
Refuse les commandes Bash et PowerShell qui échouent sous Windows, installe des shims az et ajoute des règles de shell Windows au prompt système.
Comment l'utiliser
Dans Claude Code, lance ces commandes :
/plugin marketplace add wcampbell-dw/claude-plugins /plugin install shell-guard@wcampbell
Présentation
Le code de cette création vit sur le dépôt de son auteur, sous licence MIT-0. Installe-la avec la marche à suivre ci-dessus ou depuis le dépôt.
Refuses Bash and PowerShell commands that break on Windows, installs az shims that skip cmd.exe, and adds Windows shell rules to the system prompt
Description d'origine, en anglais
Refuses Bash and PowerShell commands that break on Windows, installs az shims that skip cmd.exe, and adds Windows shell rules to the system prompt
D'où vient cette fiche
Création de wcampbell, publiée sur wcampbell-dw/claude-plugins sous licence MIT-0.
Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.
