Automate skill building and packing in CI/CD pipeline
Summary
Automatically build and pack skills into dist/*.skill files on every push to the main branch using the existing GitLab CI/CD pipeline.
Background
Currently, skills need to be manually built and packaged. This should be automated as part of the CI/CD pipeline to ensure:
- Skills are always built with the latest code changes
- Consistent build process across all environments
- Reduced manual effort and potential for human error
- Skills are ready for distribution immediately after merge
Requirements
-
Add a build job to
.gitlab-ci.ymlthat triggers on push tomain - Build all skills in the repository
-
Package skills into
.skillfiles in thedist/directory - Ensure the build job runs after tests pass
- Consider caching dependencies to speed up builds
-
Add artifacts configuration to preserve built
.skillfiles
Acceptance Criteria
-
Pipeline automatically builds skills on every push to
main -
Built
.skillfiles are available indist/directory - Build artifacts are accessible from the pipeline UI
- Build process is documented in the pipeline configuration
- Pipeline fails if skill building fails
Technical Notes
The pipeline should:
- Install necessary dependencies
- Run the skill build/pack command
- Store the resulting
.skillfiles as artifacts - Make artifacts available for download or deployment
Related
This automation will improve the development workflow and ensure skills are always up-to-date with the latest code changes.