AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсОбучениеПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

v.lomtev@airassvet.ru

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиСогласие на обработку ПДн|ИНН 623412173261
    Use Modern Go — Скилл для ИИ-агентов | AI Рассвет

    Use Modern Go

    Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version specific guidance to generated changes.

    Скиллы для разработки#GitHub#jetbrains/go-modern-guidelines#skills.sh
    Скачивания
    4
    В избранном
    0
    Комментарии
    0
    Просмотры
    10

    Установить скилл

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

    npx skills add jetbrains/go-modern-guidelines --skill use-modern-go
    Скачать ZIP
    Версия
    1.0.0+c17350498ae6
    Автор
    Владимир Ломтев
    Репозиторий
    jetbrains/go-modern-guidelines
    GitHub: jetbrains/go-modern-guidelines

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    Modern Go Guidelines CLI

    Always write modern, idiomatic Go code. Use the Modern Go Guidelines CLI as the source of truth for modern Go idioms that may be newer than your knowledge cutoff.

    Command:

    • Linux or macOS: sh "<skill-dir>/scripts/run-tool.sh"
    • Windows PowerShell: & '<skill-dir>\scripts\run-tool.ps1'

    First run and approvals:

    On first use, the wrapper installs the Modern Go Guidelines CLI in a local cache directory.

    Subcommands:

    • list
    • explain

    Before editing Go code:

    1. Call the wrapper's list subcommand for the relevant Go file.

      Prefer passing the file you are about to edit:

      sh "<skill-dir>/scripts/run-tool.sh" list --file-path path/to/file.go
      

      On Windows, use the PowerShell wrapper with the same arguments.

      The CLI resolves the applicable Go version from go.mod, go.work, the local Go toolchain, or an explicit override.

    2. If the target Go version is already known, you may pass it directly:

      sh "<skill-dir>/scripts/run-tool.sh" list --go-version 1.24
      
    3. Read the complete list output before deciding which guidelines apply.

      The list output is ordered newest first. Read the full output because older supported guidelines may still apply.

      Do not pipe the output through head, tail, grep, sed, or any other truncating/filtering command. Important guidelines may otherwise be missed.

    4. Treat returned guidelines as authoritative for modern Go style choices in code you are editing.

      If a guideline applies, follow it even when nearby code or repository convention uses an older pattern. Skip it only when it would not compile, would change behavior, or clearly does not match the edited code. Before skipping a returned guideline that seems relevant, call the wrapper's explain subcommand for that guideline ID.

    Call explain only when a specific guideline may apply and you need the detailed explanation or examples. Request only the guideline IDs you intend to evaluate or apply:

    sh "<skill-dir>/scripts/run-tool.sh" explain sync_waitgroup_go
    

    Multiple guideline IDs may be requested as positional arguments:

    sh "<skill-dir>/scripts/run-tool.sh" explain atomic_types errors_as_type
    

    Do not call explain without guideline IDs. Use list first to discover the short guideline list for the target Go version, then call explain for the specific returned IDs that need more context.

    Требования и возможности

    Источник пакета
    https://github.com/jetbrains/go-modern-guidelines/tree/c17350498ae6a8f50e0d3882cd0d7fc132b5a233/plugin/skills/use-modern-go

    Файлы версии

    ПутьРазмерSHA256
    SKILL.md2612d5f4918c97aa4d8b...
    scripts/run-tool.sh2032a593b2484834fc7d...

    Частые вопросы

    Как установить Use Modern Go?
    Используйте команду npx skills add jetbrains/go-modern-guidelines --skill use-modern-go или скачайте ZIP-архив.
    Можно ли скачать Use Modern Go бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    2ГИС: Карточка организации 2ГИСПолучить подробные данные объекта по идентификатору.2ГИС: Статическая карта 2ГИССформировать PNG-карту с точками, линиями или полигонами.2ГИС: Матрица расстояний 2ГИСРассчитать время и расстояния между наборами точек.2ГИС: Обратное геокодирование 2ГИСНайти адрес и объекты рядом с заданными координатами.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.

    Установить скилл

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

    npx skills add jetbrains/go-modern-guidelines --skill use-modern-go
    Скачать ZIP
    Версия
    1.0.0+c17350498ae6
    Автор
    Владимир Ломтев
    Репозиторий
    jetbrains/go-modern-guidelines
    GitHub: jetbrains/go-modern-guidelines