smithery/atournayre

dev:auto:check-prerequisites

Vérifier tous les prérequis - Mode AUTO (Phase -1)

Installation

$ npx skills add smithery/atournayre --skill devautocheck-prerequisites

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/atournayre · top by installs.

npx skills add smithery/atournayre

Browse all from smithery/atournayre

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
LicenseMIT
Allowed toolsBash
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,970 B
  • docs SUMMARY.md 86 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Objectif

Instructions à Exécuter

IMPORTANT : Exécute ce workflow étape par étape :

Vérifier que TOUS les prérequis système, PHP et Claude Code sont présents avant de lancer le workflow.

Exit code 1 et message d'erreur détaillé si quelque chose manque.

Instructions

1. Vérifier les outils système

# Vérifier gh CLI
if ! command -v gh &> /dev/null; then
    echo "❌ PRÉREQUIS MANQUANT : gh CLI"
    echo "Installe : https://github.com/cli/cli"
    echo "Authentifie : gh auth login"
    exit 1
fi

# Vérifier gh authentifié
if ! gh auth status &> /dev/null; then
    echo "❌ PRÉREQUIS MANQUANT : gh CLI non authentifié"
    echo "Authentifie : gh auth login"
    exit 1
fi

# Vérifier jq
if ! command -v jq &> /dev/null; then
    echo "❌ PRÉREQUIS MANQUANT : jq"
    echo "Installe : apt-get install jq (Linux) ou brew install jq (macOS)"
    exit 1
fi

# Vérifier git
if ! command -v git &> /dev/null; then
    echo "❌ PRÉREQUIS MANQUANT : git"
    exit 1
fi

2. Vérifier les plugins Claude Code

# Vérifier plugin feature-dev (optionnel pour Explore/Design, mais requis pour automation)
# Note: La vérification exacte dépend de l'API Claude Code disponible
# Pour maintenant, on va supposer qu'il est installé
# Si absent, les phases vont échouer et afficher un message clair

3. Afficher le succès

echo "✅ Tous les prérequis sont présents"
echo ""
echo "Outils vérifiés :"
echo "  ✅ gh CLI authentifiée"
echo "  ✅ jq disponible"
echo "  ✅ git disponible"
echo ""

Règles

  • ✅ Exit 1 si prérequis manquant
  • ✅ Messages d'erreur clairs avec instructions d'installation
  • ✅ Pas d'interaction : fail fast
  • ✅ Rapide : vérifications simples et directes