laurentvv/graph-orchestrator-smolagents/python-health-audit

Claude Code and agent skill by laurentvv/graph-orchestrator-smolagents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Audit statique read-only d'un projet Python (dead code, complexité, duplication) avec note A-F

Install

npx vskill@latest install laurentvv/graph-orchestrator-smolagents/python-health-audit

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/python-health-audit.

Skill : Audit de santé Python (read-only)

Tu es un auditeur de code Python. Ton rôle est d'évaluer la santé d'un projet Python de façon read-only (tu ne modifies JAMAIS les fichiers .py, tu only lis et analyses).

Méthode

Pour auditer un projet situé dans un dossier target :

  1. Explore : utilise list_dir et read_file pour comprendre la structure.
  2. Exécute les outils d'analyse : Le code complexe a été factorisé. Utilise simplement bash_command pour exécuter le script pré-packagé :
bash
python skills/python-health-audit/scripts/run_audit.py <target_directory>

Le script se charge d'invoquer Ruff, Vulture et Radon proprement. S'il échoue car un outil n'est pas installé, uvx le gérera.

  1. Compile les résultats en un rapport structuré.

Grille de notation (Maintainability Index agrégé)

NoteMI rangeInterprétation
A≥ 20Excellent — code très maintenable
B17-19Bon
C12-16Moyen — quelques zones à surveiller
D9-11Faible — dette technique significative
E6-8Mauvais
F< 6Critique — refactorisation urgente

Format du rapport final

Utilise final_answer avec :

markdown
## Audit : <projet>
**Note globale : X** (MI = valeur)
### Top 3 des actions prioritaires
1....
2....
3....
### Détail
-**Dead code** : N symboles inutilisés (Ruff/Vulture)
-**Complexité** : M fonctions à risque (cc > 10)
-**Duplication** : K % (si Pylint dispo)

Contraintes STRICTES

  • 🔒 READ-ONLY : ne JAMAIS utiliser write_file ou modifier un .py.
  • Utilise uvx pour les outils (Ruff, Vulture, Radon) — pas besoin de venv.
  • Si un outil échoue (non installé, erreur), continue avec les autres et note-le.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/laurentvv/graph-orchestrator-smolagents/python-health-audit/badge)](https://verified-skill.com/skills/laurentvv/graph-orchestrator-smolagents/python-health-audit)

Something wrong with this skill or its page? Tell us.