]> git.giacomolli.uk - onechat/commit
Name package-level code for its feature
authorAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 15:24:35 +0000 (12:24 -0300)
committerAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 15:24:35 +0000 (12:24 -0300)
commitb64d7548bd9f61921bdc650228642e77c73b0777
treeed7e018a370daa5576e5fcb5419a5c8896c9bac6
parent97729fc59a2fbd73e3f8a424cae4c825f5ba885b
Name package-level code for its feature

The go-code skill now asks for a feature prefix on each package-level
name that belongs to one feature or integration, and on the names of its
files. A name stays generic only when more than one feature uses it. All
the code is in one main package, so every name is visible in every file,
and generic names such as a client, a request, or a poll interval of one
service read as if they belong to all of them.

The skill also asks for unexported names, because an exported name has
no effect in a main package, and for initialisms in one case.
.agents/skills/go-code/SKILL.md