Skip to content

fix(skills): restore the 3 Go generic calls as single code spans - #217

Merged
bketelsen merged 1 commit into
mainfrom
lucilla/remove-code-span-overrides
Nov 6, 2026
Merged

bketelsen merged 1 commit into
mainfrom
lucilla/remove-code-span-overrides

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The docs gates of core (#216), updex (frostyard/updex#493) and std (frostyard/std#99) now ignore link-shaped text inside an inline code span. The vendored Go skills therefore no longer need the split X[T](v) form that kept a generic call out of 1 code span.

This PR restores upstream's single code span for the 3 calls and removes their marked override comments:

  • .agents/skills/golang-error-handling/SKILL.md: errors.AsType[T](err)
  • .agents/skills/golang-safety/SKILL.md: reflect.TypeAssert[T](value)
  • .agents/skills/golang-modernize/references/versions.md: reflect.TypeAssert[T](v)

docs/design/shared-skills.md loses its "Code spans" entry in the overrides list, so a refresh no longer keeps these edits. After the merge, the skills sync carries the 3 lines to the Go repositories. Every consumer gate that checks .agents/skills (updex and std) reads code spans now; the other consumers check only their own docs.

Closes #201.

Risk tier

Risk tier: 1 — 3 lines in vendored skills and 1 design-doc entry. No path in .github/risk-paths.json matches. No script, workflow or skills-sync change.

Docs housekeeping

  • docs/design/shared-skills.md edited in place; cross-links hold

Verification

Coder: the author agent (claude-opus-5.5), no coding subagent: a 4-file text edit.

Cross-review

Reviewer: openai/gpt-6.1-sol.

  • 142651f: Ready. Blocking: none. Each joined call sits in a safe run of the gate (error-handling lines 45-59, safety lines 33-43, versions lines 655-660); no stale reference to the split remains; the consumer gates that check .agents/skills (updex, std) carry the same rule.

The docs gates of core, updex and std now ignore link-shaped text inside
an inline code span (#216, frostyard/updex#493, frostyard/std#99), so the
vendored Go skills no longer need the split `X[T]`(`v`) form. Restore
upstream's single code span in golang-error-handling, golang-safety and
golang-modernize/references/versions.md, drop the 3 marked override
comments, and drop the Code spans entry from the overrides list.

Closes #201.
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 6, 2026
@bketelsen
bketelsen merged commit 756a96d into main Nov 6, 2026
5 checks passed
@bketelsen
bketelsen deleted the lucilla/remove-code-span-overrides branch November 6, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check-docs: ignore link-shaped text in inline code spans without hiding real links

2 participants