feat: add standard testing scaffolding to python_skill template (#19)#38
Merged
rosspeili merged 3 commits intoARPAHLS:mainfrom Apr 21, 2026
Merged
Conversation
…HLS#19) This update introduces a pytest-based test_skill.py stub, aligns manifest.yaml with core parameters/outputs standards, and ensures all mandatory boilerplate files (including instructions.md) are present in the template.
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.
[Feat]: Add standard testing scaffolding to the python_skill template
Description
This PR implements the standard testing scaffolding for the
python_skilltemplate as requested in Issue #19. By providing a pre-configuredtest_skill.pyin the boilerplate, we encourage Test-Driven Development (TDD) for all future community skill contributions.Key Changes:
templates/python_skill/test_skill.py. This provides apyteststub that validates skill execution against the output schema defined inmanifest.yaml.manifest.yamltemplate to includeparameters(JSON Schema),constitution, andrequirementsfields, aligning it withloader.pyand current framework standards.instructions.mdto the template and refinedskill.pyto ensure all mandatory files are present and follow best practices.CONTRIBUTING.mdto mandatetest_skill.pyfor all new skills.README.mdarchitecture diagram.docs/TESTING.mdwith instructions for running skill-local tests.Type of Change
Checklist
manifest.yamlin the template.env_varsare explicitly documented in the manifest.SkillLoadersuccessfully loads this module without missing dependency errors.Related Issues
Fixes #19