Package skill as installable zip (Gitea Actions) #2
Reference in New Issue
Block a user
Delete Branch "ci/skill-zip-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a reproducible way to package the
cycling-trainingskill as a.zipthat installs directly in Claude Desktop / claude.ai (Settings → Skills) or Claude Code.What's here
scripts/build-skill-zip.sh [version]— stagesSKILL.md+README.md+references/+assets/intodist/cycling-training-<version>.zip. The archive's single top-levelcycling-training/folder (SKILL.md at its root) is the layout Claude expects on import. Validates that SKILL.md carriesname/descriptionfrontmatter and fails loudly otherwise. Runs locally too..gitea/workflows/release-skill.yml— Gitea Actions workflow:v*→ builds the zip and attaches it to a Gitea release for that tag (via the Gitea API using the automaticGITHUB_TOKEN).workflow_dispatch→ builds the zip and uploads it as a run artifact..gitignore— ignoresdist/build output.Verified locally
scripts/build-skill-zip.sh v1.0.0produces a valid 15-file zip withcycling-training/as the sole top-level entry. Workflow YAML lint-checks clean.Ops requirements (Gitea side)
catthehacker/ubuntu).GITHUB_TOKENwithcontents:write— granted via the workflow'spermissions:block on Gitea ≥ 1.20.Also in this change
The merged
feat/cycling-training-skillsbranch was deleted (local + remote) before this branch was cut.🤖 Generated with Claude Code
https://claude.ai/code/session_01TqrhBhC3GEcKyaw8RTk8G6