stenyan[.]dev

JAEN

Agent Skill for Bumping the Go Runtime Version

I wrote the blog post Devin Playbook which bumps the Go version before, but I wanted to have an Agent Skill for this instead of something specific to Devin. So I created one.

https://github.com/stefafafan/skills/blob/e283a151132cd4f379acdefc3f7b26f8a70288cb/skills/go-runtime-updater/SKILL.md

How to Get the Latest Go Version

Originally, I had the agent check https://go.dev/doc/devel/release to determine the latest version, but the agent tended to miss minor revisions and end up with something like go1.26.0 being the latest instead of go1.26.1.

During one session, I noticed the agent was checking the https://pkg.go.dev/std page, so I thought it would be fine to check the standard library version instead.

Articles Referenced for Creating This Skill

I referenced the following article (Japanese) when creating this skill:

go.modのgo directiveは1つ前のメジャーリリースより最新にしないでほしい - Diary of a Perpetual Student