Repository navigation
fix(skill-creator): support direct execution of package_skill.py and update usage paths - #1681
Kuldeeep18 wants to merge 2 commits into
Conversation
|
Hi @maheshmurag, whenever you have a moment, could you please take a look at this quick fix? It is a small self-contained change (+13/-6) resolving standalone script execution for package_skill.py while preserving existing module imports. All verification steps have been tested and passed. |
…update usage paths
93e57e4 to
f99c58a
Compare
|
Hi @maheshmurag, just following up on this small self-contained fix. I've rebased the branch onto the latest \main\ so it is clean and ready to merge whenever you have a moment. Thank you! |
|
Hi @Kuldeeep18 — thanks for the fix, and for the rebase: the branch now sits on the current
Optional (non-blocking): |
|
Hi @cj-ant, @rlancemartin — gentle follow-up on this standalone execution fix for \package_skill.py. The branch is up to date with latest \main, clean, and has been verified by community reviewers across all execution modes without regression. Whenever you have a moment, could you please take a look for merge? Thank you! |
|
Follow-up re-review at head Since our previous review at Verified
Remaining: none blocking. The optional note from the earlier review still stands (siblings Still LGTM for merge. |
Problem
Running \package_skill.py\ directly as a standalone script (e.g., \python skills/skill-creator/scripts/package_skill.py ) fails with \ModuleNotFoundError: No module named 'scripts.quick_validate'. Additionally, the docstrings and CLI help messages contain outdated references to \utils/package_skill.py\ and \skills/public/....
Root Cause
When executed directly as a script, Python places the script's immediate directory (\skills/skill-creator/scripts) at \sys.path[0], preventing the top-level \scripts\ package from being resolved.
Solution
Verification
Risk
Low. The change is limited to \package_skill.py\ and preserves the existing \scripts.quick_validate\ import. Direct and module execution were both verified successfully.