Bibliothèque › Skills

Skill

Conception anti-erreur rendant les mauvais usages impossibles

Conçoit des interfaces et schémas rendant l'erreur impossible en rendant les états invalides inexprimables dans le code.

Comment l'utiliser

  1. Télécharge le skill (fichier .zip).
  2. Dans Claude (appli ou site) : ouvre les Paramètres, rubrique Skills, et importe le .zip.
  3. Dans Claude Code : décompressez le dossier dans ~/.claude/skills/ (tous vos projets) ou .claude/skills/ (un seul projet).
  4. Claude l'utilise de lui-même quand ta demande correspond à sa description.

Le contenu

Le contenu est réservé aux abonnés

Compris dans SuperPrompt : copiez, téléchargez et installez toutes les fiches, avec les six agents métier x10. 7 jours gratuits, puis 97 € par an, résiliable en trois clics.

Ce skill contient aussi 5 fichiers annexes (references/hazard-catalog.md, references/lang-python.md, references/lang-rust-go.md, references/lang-typescript.md…). Récupère le dossier complet sur le dépôt d'origine.

Description d'origine, en anglais

Mistake-proof code so misuse cannot be expressed, rather than warning against it. Use when designing an interface, schema, or state machine and the user wants it hard to get wrong ("make invalid states unrepresentable", "so callers cannot screw it up", "type-safe API", "pit of success"); when auditing existing code for footguns ("what could bite us here", "what is easy to misuse", "poka-yoke this repo", "review this diff for ways to get it wrong"); or when a bug has recurred and the fix must close the class rather than the case ("make sure this never happens again", "this is the third time"). Especially for money, auth, permissions, deletion, migrations, and pipelines where failure is silent. Classifies every finding by what happens when the mistake occurs and how the device notices, which is what keeps it from collapsing into generic code review.

D'où vient cette fiche

Création de github, publiée sur github/awesome-copilot sous licence MIT.

Le contenu est reproduit tel quel, dans le respect de sa licence. Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.