Repository navigation
feat(skills): vendor 20 Go skills from samber/cc-skills-golang and sync them to Go repositories (T927a) - #200
Merged
Merged
Conversation
…nc them to Go repositories (T927a)
…monMark, and test empty lists (core#200 cross-review)
…ne (core#200 re-review 1)
…core#200 re-review 2)
…ore#200 re-review 3)
…in vendored docs (T928b)
bketelsen
approved these changes
Nov 6, 2026
This was referenced Nov 6, 2026
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brian chose T927a "Curated, via core sync" (2026-11-05). Core now vendors 20 general Go skills from samber/cc-skills-golang (MIT) at
bb1d43d98a3f8ab639a0042f90d0ec524e39a477, and the skills sync delivers them only to Go repositories..agents/skills/golang-*/(20 dirs): upstreamSKILL.md+ linkedreferences/, the upstreamLICENSE, and an attribution line (repo, full SHA).evals/andassets/dropped, exceptgolang-cli/assets/examples/(a separate Go module the skill links 12 times; gofmt-clean).AGENTS.md,frostyard-go-repoand core's ADRs win.grep -rn "Frostyard override" .agents/skills/golang-*lists every edit..github/skills-sync.json: new optionalgroupsmember."@go"=frostyard-go-repo+ the 20 skills. The 8 Go consumers (updex, chairlift, pilothouse, repogen, clix, std, intuneme, firn) now carry["@go"]; snosi and lab are unchanged. Selection rule: the repositories that already gotfrostyard-go-repo(all 8 confirmed Go bygh api …/languages).scripts/sync-skills.sh: expands@groupnames, and resolves every repository before the first clone, so an unknown group stops the run with nothing pushed.scripts/check-docs.mjsis unchanged (the code-span parser was dropped, T928b; follow-up check-docs: ignore link-shaped text in inline code spans without hiding real links #201). Its link pattern reads a Go generic call in inline code as a link, so 3 such calls in the vendored docs are split intoX[T]and a code span for the arguments, each with a marked<!-- Frostyard override -->comment.docs/design/shared-skills.mdgets "Vendored Go skills" (picks, omissions, overrides, description budget, refresh procedure);skills-sync-operations.mddocumentsgroups;AGENTS.mdandfrostyard-onboard-reponame the@gogroup.ADR-0026 needs no amendment:
skills-sync.jsonstays the single config of defaults plus per-repository extras, and a group only names a set of extras. The sync to consumers runs after the merge.Picks and omissions
Picks (20): code-style, naming, error-handling, concurrency, context, testing, stretchr-testify (pilothouse uses it directly), lint, modernize, safety, security, performance, troubleshooting, structs-interfaces, data-structures, documentation, cli, spf13-cobra, project-layout, dependency-management.
Omitted (26), each with one reason in the design doc: benchmark (performance covers the method; its CI part adds tools and workflows), gopls (needs an MCP server or a Claude plugin), refactoring (stacked PRs, which squash merges forbid), continuous-integration (Dependabot auto-merge and an AI review workflow), DI ×4 and samber-* ×7 (unused), graphql/grpc/swagger, database, observability (unused), spf13-viper (only clix uses it), design-patterns (overlap, leans on DI), how-to (writes into agent files), pkg-go-dev, popular-libraries, stay-updated.
Overrides
allowed-toolsfront matter removed (it pre-approvesBash(git:*),Bash(curl:*)in Claude Code); description pointers to unvendored skills removed andsamber/cc-skills-golang@golang-x→golang-x; tools pinned in mise (ADR-0043), notgo install …@latest/go get -tool/brew; gate ismake verify/check/ci(ADR-0044); a suggested third-party module (samber/*etc.) needs the owner's approval; Claude orchestration hints yield to the session's rules.frostyard-go-repo; nosamber/oops/samber/slog-*.integration-testing.md): live tests self-skip on<PRODUCT>_LIVE_*(ADR-0038), no//go:build integration; assertion style follows the repository.linter-reference.md): the repository's.golangci.yml(from updex) decides; upstream config not vendored; no extra Makefile targets.tooling.md):go.modfull1.x.yis the only Go pin, bumped with golangci-lint as one change; SHA-pinned actions (ADR-0021); no AI review workflow (ADR-0020).project-docs.md,library.md):frostyard-repo-docsshape (ADR-0025);CONTRIBUTING.mdstays a symlink (ADR-0029); noCHANGELOG.md, nollms.txtwithout approval; install docs name the APT repository (ADR-0055).config.md,directory-layouts.md): clix and the SDK-first layout; nopkg/, no Viper layering; skip the checklist step that writes an always-load directive intoAGENTS.md/CLAUDE.md.automated-updates.md): tools in mise, nottooldirectives; nothing auto-merges (ADR-0042).#readme→#readmemd,#delivery→#distribution, troubleshooting./SKILL.md→../SKILL.md(upstream links that do not resolve).Description budget
The 20 descriptions total 10,437 characters (upstream 12,195 for the same 20). A Go repository's session loads them; a core session loads them too, since they live in core's
.agents/skills/.Risk tier
Risk tier: 3 —
risk:high: the PR touches 2 risk paths..github/skills-sync.json(the repositories the sync writes to): the consumer list is unchanged (same 10 keys); 8 Go repositories get@goin place offrostyard-go-repo, which the group still contains, so no consumer loses a skill. The sync opens normal PRs in those repositories and pushes to no default branch.scripts/sync-skills.sh(writes to other repositories): the only change is how the skill list is computed. Clone, containment, auth, branch and PR code is untouched (scripts/lib/*unchanged). The config shape is validated first (exactly 1 JSON document, string arrays, object members, no nested group); every repository's list then resolves before the first clone; invalid JSON, a wrong shape or an unknown group stops the run with::error::and exit 1 (a jq failure was hidden by a process substitution before); a consumer with an empty list is left alone. New tests: a group syncs every skill in it with markers; an unknown group in a later repository fails with exit 1 and no clone, push orghcall (a mutation that resolves lazily makes it fail).Docs housekeeping
Verification
make verifygreen locally at2132c53:link_integrity: 1.000(1732 links),bash_syntax: 6/6,corrections: 16 lines, 333 tests passc0421fe:scripts/sync-skills.shandscripts/check-docs.mjsreverted to base, tests kept →not ok"docs gate ignores a link-shaped inline code span…", "a repository entry naming a group syncs every skill in the group", "a repository entry naming an unknown group fails the run before any clone". Mutations at the fix commit: plainmapfile(empty-list guard removed), the old strip regex, a prefix push matcher, and lazy group resolution each make a named test fail.c0421fe: 4 blocking findings (escaped backticks in the code-span strip, config shape validation, untested empty list, a vacuous push assertion) fixed in2132c53with tests and 4.memory/corrections.jsonllines; finding 5 (budget off by 2) fixed.2132c53: 2 blocking findings (backticks paired across adjacent headings; an empty file or a stream of 2 JSON documents passed the preflight) fixed with tests and 2 corrections lines. With the previous head's scripts and the new tests:not ok"docs gate does not pair backticks across 2 adjacent headings", "a config that is empty…", "a config that holds 2 JSON documents…".make verify: 336 pass.c6e47a9: 1 blocking finding (a wrapped code span's closer read as a new opener hid the link after it).stripCodeSpansnow strips only in blank-line-separated runs whose every line pairs all its backtick runs, and leaves any other run unstripped (all its links checked). New test "docs gate checks a link after a code span that wraps over 2 lines" fails with the previouscheck-docs.mjs.make verify: 338 pass, corrections 19 lines (append-only vsorigin/main).3562205(last in the budget): 1 blocking finding (a backtick pair across a GFM table cell boundary hid a link). Fixed inc2a5b85: a line with an unescaped|, or a<that may open HTML or an autolink, leaves its run unstripped; tests "docs gate checks a link when a backtick pair crosses a table cell boundary / an HTML attribute" fail with the previouscheck-docs.mjs.make verify: 340 pass, corrections 20 lines. Brian authorized 1 more re-review (T928a): it found 1 blocker in the parser (an email autolink with a backtick).37a14e3:scripts/check-docs.mjsandtest/docs-integrity.test.mjsequal the base again; the 4 check-docs lines of feat(skills): vendor 20 Go skills from samber/cc-skills-golang and sync them to Go repositories (T927a) #200 leave.memory/corrections.jsonl(4 sync-skills lines stay; append-only vsorigin/main); the 3 generic calls are split as above. The parser findings are in check-docs: ignore link-shaped text in inline code spans without hiding real links #201.make verify: link_integrity 1.000 (1729 links), 331 pass, corrections 16 lines. The parser's revert test no longer applies: the parser change is gone.git apply -p2 --directory=.agents/skills --rejectapplied an upstream golang-testing diff cleanly around the override block