Add category and per-skill pip extras with manifest sync (#236).#256
Merged
Merged
Conversation
Generate optional dependencies from skill manifests via sync_extras.py, add install guide and loader hints, and standardize docs on per-skill install targets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate optional dependencies from skill manifests via
sync_extras.py, add install guide and loader hints, and standardize docs on per-skill install targets.Description
Closes #236
Implements the category + per-skill optional extras model on one wheel:
scripts/sync_extras.py— regenerates category, per-skill, and[all]rows inpyproject.tomlfrom manifests (--checkfor CI)skillware/core/extras.py— core-dep filtering, extra naming, loader error hintsSkillLoader— missing manifest deps suggestpip install "skillware[category_skill]"(+ category /[all]fallbacks)docs/usage/install_extras.md— canonical install referencetests/test_extras_sync.py, registry-doc guard for skill-specific install linesBreaking (clean break): drops legacy
cliandembeddingsextras;[all]= skill runtime deps only; new meta[agents]for SDK union.Type of Change
Checklist (all PRs)
Refs #236)python -m black --check .andflake8pass locallypytest skills/andpytest tests/pass locally (274 passed)CHANGELOG.mdupdated under[Unreleased]examples/README.mdupdated (per-skill extras on every script row)pytest tests/test_registry_docs.pyNew or updated skill
N/A — packaging/framework/docs only.
Constitution and safety (skills only)
N/A
Related Issues
Refs #235, #236