Notre avis
Valide les scripts Fish après modification en exécutant une vérification syntaxique et de formatage.
Points forts
- Automatise la validation des fichiers .fish pour éviter les erreurs de syntaxe.
- Utilise fish_indent pour garantir un formatage cohérent.
- S'intègre au flux de modification pour une correction rapide.
Limites
- Ne fonctionne qu'avec le shell Fish.
- Ne valide pas les fichiers gérés par des plugins (ex: _tide_).
- Requiert que fish et fish_indent soient installés.
Utilisez cette compétence après chaque édition d'un fichier .fish dans config/fish/.
Évitez de l'utiliser pour des fichiers provenant de plugins tiers ou pour des scripts non Fish.
Analyse de sécurité
SûrThe skill only runs fish syntax and formatting checks on designated .fish files, using safe commands (--no-execute and --check) and rewriting formatting. No destructive or exfiltrating actions.
Aucun point d'attention détecté
Exemples
Edit config/fish/functions/myfunc.fish to add a new function and then validate it.Run validation on all .fish files in config/fish/ and fix any formatting issues.I just modified config/fish/config.fish and it broke. Validate it and fix any errors.name: fish-validate description: >- Validate fish scripts after editing. Apply when writing or modifying any .fish file in config/fish/. user-invocable: false allowed-tools: Bash, Read
After editing any .fish file in config/fish/, validate it:
1. Syntax check
fish --no-execute <file>
If syntax check fails, fix the issue before proceeding.
2. Format check
Run fish_indent to verify formatting:
fish_indent --check <file>
If formatting differs, apply it:
fish_indent -w <file>
Key files to never validate
- Files inside
config/fish/functions/prefixed with_tide_(managed by the tide prompt plugin)
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.