gopherguides

lint-fix

"Finds and fixes Go lint findings while preserving behavior and verifying the result. Use for golangci-lint or formatting failures; do not use for compiler-only failures."

gopherguides 21 2 Updated 6d ago

Resources

1
GitHub

Install

npx skillscat add gopherguides/gopher-ai/lint-fix

Install via the SkillsCat registry.

About this skill

Here's a thinking process: 1. **Analyze the Request:** - **Goal:** Write a 2-3 sentence plain-text summary in English - **Subject:** An AI agent skill for a public software directory - **Source Material:** - Author-provided short description: "Finds and fixes Go lint findings while preserving behavior and verifying the result.

SKILL.md

Lint Fix

Plugin Resource Resolution

<PLUGIN_ROOT> is notation. Replace it with a concrete absolute plugin root
before every resource read or command:

  • Codex: Start from the directory containing the absolute selected
    SKILL.md path, then ascend two directories (skills/<name> to plugin root).
  • Claude Code: Bind it to the injected ${CLAUDE_PLUGIN_ROOT} value.

Read both files completely, then apply the adapter while following the command
body:

  1. <PLUGIN_ROOT>/lib/codex-command-adapter.md
  2. <PLUGIN_ROOT>/commands/lint-fix.md