Evo build diagnosis

From OpenLAIR/OpenSkill · View interactive version

Evo build diagnosis is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Analyzes a Python repository to identify the root causes of build failures, including syntax errors, import errors, test failures, and build configuration issues. Use when diagnosing why a Python project fails to build or pass tests. Scans repository files for syntax errors via ast.parse/compile, pa

How to use this skill

Skill file

Build Diagnosis Skill

This skill analyzes Python repositories to identify root causes of build failures.

When to Use

Workflow

  1. Find the repository using find_repo_path() to locate the project root
  2. Scan for syntax errors using parse_syntax_errors() which uses ast.parse()/compile() on all .py files
  3. Check imports using check_import_availability() to verify all dependencies are installed
  4. Analyze build config using analyze_build_config() to parse pyproject.toml/setup.py/setup.cfg
  5. Run tests using run_tests_and_capture_failures() to execute pytest and parse JUnit XML output
  6. Write report using write_diagnosis_report() to produce failed_reasons.txt

Key Functions

All functions are in scripts/diagnosis.py:

Important Notes

Reference

See references/domain_reference.md for detailed domain knowledge.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.