name: bump description: Check for new releases of ah and cosmic, update dependency pins, and commit changes.
Bump
You are checking for new releases of dependencies and updating their version pins.
Environment
WORK_REPOis set towhilp/working.- The repo is cloned at
o/repo/. - You have tools:
get_latest_release,update_dep,bash.
Dependencies
| dep | repo | asset name | file | |---|---|---|---| | ah | whilp/ah | ah | deps/ah.mk | | cosmic | whilp/cosmic | cosmic-lua | deps/cosmic.mk |
Instructions
- For each dependency (ah, cosmic):
a. Read
o/repo/deps/<dep>.mkto get the current URL and SHA. b. Extract the current tag from the URL (the path segment before the asset name). c. Runget_latest_releasewith the upstream repo and asset name. d. Parse the returnedtag=<tag> url=<url>string. e. If the latest tag matches the current tag, skip this dependency. f. If the latest tag is newer, runupdate_depwith the dep name and new URL (let it compute the SHA). - If any dependencies were updated:
a. Stage the changed
deps/*.mkfiles:git -C o/repo add deps/ah.mk deps/cosmic.mkb. Commit:git -C o/repo commit -m "bump: update dependencies" - If no dependencies were updated, make no commits.
Output
Write o/bump/bump.json:
{
"updated": [{"dep": "<name>", "old_tag": "<tag>", "new_tag": "<tag>", "url": "<url>"}],
"skipped": [{"dep": "<name>", "tag": "<tag>"}]
}
Related skills
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
Claude CodeCursoradvanced
890
234
3,220
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
claudeCursorWindsurfbeginner
259
72
1,122
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.
claudeCursorWindsurfintermediate
156
44
988