Skip to main content

when-a-command-exits-non-zero

Use when a command you ran exits with a non-zero status

Informations de source

Dépôt
samugit83/cortex
Dernière activité de la source
20 septembre 2026 à 20:32
Langue détectée de SKILL.md
anglais
Étoiles
1
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
when-a-command-exits-non-zero
description
Use when a command you ran exits with a non-zero status
# Read the whole failure The first line of a failure is rarely the one that explains it. - Read to the end: the cause is usually below the summary, not above it. - A traceback's most useful frame is the last one inside your own package, not the deepest one overall. - Note the exact command and working directory before changing anything, so you can repeat the failure and know that you fixed it rather than moved it. Re-running unchanged to see whether it happens again is cheap, and it separates a real failure from a flaky one.
Voir sur GitHub