Add Node.js and WASM skill templates to skill create#29
Open
mduongvandinh wants to merge 1 commit intoRightNow-AI:mainfrom
Open
Add Node.js and WASM skill templates to skill create#29mduongvandinh wants to merge 1 commit intoRightNow-AI:mainfrom
mduongvandinh wants to merge 1 commit intoRightNow-AI:mainfrom
Conversation
openfang skill create now generates proper entry point templates for node (stdin JSON processing with async/await) and wasm (wasm32-wasi with serde_json). The manifest entry path is set correctly per runtime instead of always defaulting to src/main.py. Unknown runtimes now generate a full Python template as fallback instead of a stub comment.
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.
Summary
openfang skill createnow generates proper templates for Node.js and WASM runtimesentrypath being hardcoded tosrc/main.pyregardless of runtimeChanges
async/awaitandfor awaitstdin chunkswasm32-wasiwithserde_jsonand build instructionsentryfield now correctly set per runtime (src/main.py,src/index.js,src/lib.rs)Test plan
cargo build --workspace --libpassescargo clippy -p openfang-cli --all-targets -- -D warningszero warningscargo fmt --all --checkcleanFiles changed
crates/openfang-cli/src/main.rs(+85, -9)