Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

writing-go

БесплатноБез исполняемых скриптовНе проверен

Go coding conventions. Use when writing, editing, or reviewing Go code.

elentokот elentok★ 25 звёзд на GitHub

Об этом скилле

Writing Go

See also idle-cost-audit for the invariants around timers/polls/subprocesses that keep a long-running process out of deep idle.

Goroutines and channels

  • Every goroutine's blocking channel send or receive must be paired with a select on a done/ctx.Done() case. A bare ch <- v or <-ch with no shutdown escape hatch deadlocks the moment nothing is left to read/write the other end — and in go test, that surfaces as a 10-minute package timeout, not a fast, obvious failure. Applies to worker loops, event senders/receivers, and any goroutine started with go func() { ... }().
  • Any new persistent/long-lived goroutine needs an explicit shutdown-under-timeout test: send the shutdown signal (close done, cancel the context, ...) and assert the goroutine actually exits within a short bound (e.g. via a channel close + select with a timeout, not a bare time.Sleep and hope). Don't rely only on happy-path behavior tests to catch a goroutine that never exits.

Установить writing-go в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл writing-go?

Go coding conventions. Use when writing, editing, or reviewing Go code.

Как установить скилл writing-go?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл writing-go запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить writing-go с