Back to Signal Feed
CodeTracked since May 19, 2026

Fix skills manager ImportError by correcting discovery function import

A wrong function name in the skills manager import caused an ImportError that blocked all skill lifecycle operations; correcting `get_default_skill_directories` to `get_default_skill_dirs` restores `create_skill`, `edit_skill`, `delete_skill`, `patch_skill`, and `write_skill_file` so the feature works again.

PraisonAISkillManagermanager.pydiscovery.py

What Happened

  • A wrong function name in the skills manager import caused an ImportError that blocked all skill lifecycle operations; correcting `get_default_skill_directories` to `get_default_skill_dirs` restores `create_skill`, `edit_skill`, `delete_skill`, `patch_skill`, and `write_skill_file` so the feature works again.
  • A wrong function name in the skills manager import caused an ImportError that blocked all skill lifecycle operations; correcting `get_default_skill_directories` to `get_default_skill_dirs` restores `create_skill`, `edit_skill`, `delete_skill`, `patch_skill`, and `write_skill_file` so the feature works again.
  • 1 evidence item attached for review.

What is Different

Before

Scattered source updates, isolated context, and manual follow-up across multiple feeds.

Now

This is a concrete correctness fix that removes a runtime ImportError by aligning the imported helper name with the actual implementation, which directly restores basic skill management behavior and prevents failed skill operations from halting workflows.

Why Track This

Why It Matters

Developers and operators using PraisonAI skills can now execute add/edit/delete/patch/write skill workflows without import-time crashes, so automation and manual maintenance of agents can proceed instead of failing unexpectedly. The patch swaps the bad import name for the correct one (`get_default_skill_dirs`), and teams should keep an eye on future renames or refactors in skill modules because another import mismatch could reintroduce the same class of outage.

Impact

Developers and operators using PraisonAI skills can now execute add/edit/delete/patch/write skill workflows without import-time crashes, so automation and manual maintenance of agents can proceed instead of failing unexpectedly. The patch swaps the bad import name for the correct one (`get_default_skill_dirs`), and teams should keep an eye on future renames or refactors in skill modules because another import mismatch could reintroduce the same class of outage.

What To Watch Next

  • Watch whether PraisonAI becomes a repeated pattern.
  • Track follow-up changes around AI Debugging and Error Localization.
  • Compare future signals against this evidence trail.
  • Re-check risk flags: watch_for_import_name_regressions, add_regression_tests_for_skill_manager_functions.
Open Topic TimelineOpen Technical EventOpen Original Sourcewatch_for_import_name_regressions / add_regression_tests_for_skill_manager_functions / revalidate_skill_workflows_after_refactors

Supporting Evidence