v0.2.7 — Pip skill paths and full wheel bundles
Bug fixes
-
Skill loader paths after
pip install(#13)
SkillLoader.load_skill("category/skill_name")no longer resolves only undersite-packages/skills/. The loader now searches, in order:- An existing path on disk (absolute or relative skill directory)
- Roots in
SKILLWARE_SKILL_PATH(multiple paths separated by your OS path separator) - A
skills/folder in the current working directory (and up to six parent directories) - Bundled registry skills shipped with the package
If nothing matches, the error lists the paths that were tried.
Packaging
- Full skill bundles on PyPI — Wheels now include
manifest.yaml,instructions.md,card.json, and skill data files, not only.pymodules. MANIFEST.ingrafts theskills/tree;[tool.setuptools.package-data]usesskills = ["**/*"]so new registry skills do not require per-skillpyproject.tomledits.- Registry layout — Empty
__init__.pyfiles underskills/category packages (and skill folders where needed) so setuptools packages the complete tree.
Documentation
- Usage guide: Finding skills on disk
- Contributor notes for PyPI packaging (
CONTRIBUTING.md, skill template README)
Upgrade notes
- Clone / editable install: Behavior is unchanged for normal development from the repo root.
- Pip consumers: Place project skills in
./skills/<category>/<name>/, or setSKILLWARE_SKILL_PATHto your skills root. Registry IDs likecompliance/tos_evaluatorstill work and now load complete manifests from the installed package. - New registry skills: Add empty
__init__.pyin new category and skill directories (enforced in tests); do not add entries topyproject.tomlper skill.
Verification
pip install skillware==0.2.7
pytest tests/ # for contributors cloning the repo