Habilidades golang-lint
📦

golang-lint

v1.4.1 Revisión del contenido r1 Riesgo medio ⚙️ Comandos externos📁 Acceso al sistema de archivos🌐 Acceso a red

Strengthen Go Projects with golangci-lint

Go teams often struggle to choose linters, understand warnings, and manage legacy backlogs. This skill provides practical golangci-lint configuration, triage, suppression, and cleanup guidance.

Compatible con: Codex Code(CC)
📊 72 Adecuado

Instalar con mi Agente

Copia esta solicitud en tu Agente. Incluye la página canónica del Skill y el manifiesto.

Solicitud de agente
Review the Skillstore skill "golang-lint" from https://skillstore.io/skills/samber-golang-lint.md and its manifest at https://skillstore.io/api/skills/samber-golang-lint/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Tu Agente debe seguir mostrando su plan y solicitar cualquier confirmación exigida por la política de seguridad.

Recursos legibles por agentes

Usa estos enlaces cuando un agente de IA, crawler o script necesite contexto limpio en vez de leer la página completa.

Pruébalo

Usando "golang-lint". A bodyclose warning reports an unclosed HTTP response body.

Resultado esperado:

Recommendation: fix it. Close the response body on every successful request path because the warning identifies a real connection leak.

Usando "golang-lint". A long table-driven test triggers funlen.

Resultado esperado:

Recommendation: consider a scoped suppression. Name funlen and explain that test length follows the case table.

Usando "golang-lint". A legacy repository has more than two thousand warnings.

Resultado esperado:

Adopt checks for changed code first, group findings by category, apply reviewed fixes, and reduce the existing backlog in measured stages.

Auditoría de seguridad

Riesgo medio

All 55 static alerts are false positives caused by Markdown, comments, standard configuration paths, defensive security terminology, or repository metadata. One medium-risk semantic issue remains: the installation guidance fetches an unpinned latest executable.

5
Archivos escaneados
814
Líneas analizadas
0
Elementos de revisión
0
Falsos positivos ignorados

Preocupaciones de seguridad confirmadas (1)

Medio
Unpinned Executable Installation
The installation command uses the moving latest version, so later runs can fetch and install different upstream code without review.
SKILL.md line 39 explicitly recommends go install with @latest. Pinning a reviewed version would reduce dependency substitution and reproducibility risk.
Auditado por: codex
Compartir y citar este informe

Comparte el informe de evaluación versionado, la insignia neutral, la tarjeta insertable y las citas. Skillstore presenta evidencias sin decidir si este Skill es seguro.

Abrir el informe versionado
Evaluación de seguridad

Copiar enlace del informe

https://skillstore.io/skills/samber-golang-lint/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Insignia Markdown

[![Skillstore security assessment](https://skillstore.io/badges/skills/samber-golang-lint/security.svg)](https://skillstore.io/skills/samber-golang-lint?utm_source=security_passport_badge)

Insignia HTML

<a href="https://skillstore.io/skills/samber-golang-lint?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/samber-golang-lint/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Tarjeta para insertar

<iframe src="https://skillstore.io/embed/skills/samber-golang-lint.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Citas académicas (APA · BibTeX · CFF)

Cita APA

samber. (2026). golang-lint security audit report (audit version 1) [Author version 1.4.1]. Skillstore. https://skillstore.io/skills/samber-golang-lint/audits/1

Cita BibTeX

@techreport{samber-samber-golang-lint-2026, author = {samber}, title = {golang-lint security audit report (audit version 1)}, institution = {Skillstore}, year = {2026}, number = {1}, url = {https://skillstore.io/skills/samber-golang-lint/audits/1}, note = {Author version 1.4.1} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "golang-lint security audit report (audit version 1)" version: "1.4.1" type: report authors: - name: "samber" date-released: "2026-09-06" url: "https://skillstore.io/skills/samber-golang-lint/audits/1" identifiers: - type: other value: "skillstore:samber-golang-lint:audit:1" description: "Skillstore immutable audit report identifier"

Puntuación de Skillstore

Por qué esta puntuación Confianza de la evidencia: Medio
55
Arquitectura
100
Mantenibilidad
87
Contenido
65
Comunidad
91
Cumplimiento de la especificación

Lo que puedes crear

Configure a New Project

Create a balanced golangci-lint v2 configuration with practical defaults and documented exclusions.

Triage Existing Warnings

Classify lint findings, fix defects, and add justified suppressions only for verified false positives.

Adopt Linting Incrementally

Plan staged cleanup that protects new code while reducing a large legacy warning backlog.

Prueba estos prompts

Explain One Warning
Explain this golangci-lint warning: [warning]. Tell me what it means and whether I should fix or suppress it.
Create a Lint Configuration
Create a golangci-lint v2 configuration for [project type]. Prioritize correctness and security, set practical thresholds, and explain each choice.
Review Suppressions
Review the nolint directives in my Go changes. Identify unsafe suppressions and propose specific directives with clear justifications.
Plan Legacy Cleanup
Design an incremental lint adoption plan for [repository details]. Group independent work, protect new code, and define verification steps.

Mejores prácticas

  • Run lint checks after significant changes and before merging.
  • Fix root causes before adding scoped suppressions with explanations.
  • Pin the golangci-lint version and review all automatic changes.

Evitar

  • Do not use bare nolint directives without a linter name and reason.
  • Do not suppress security or resource findings without strong evidence.
  • Do not apply automatic fixes across a repository without reviewing the diff.

Preguntas frecuentes

Which golangci-lint version does this skill target?
The included configuration targets golangci-lint v2 and uses its version 2 configuration structure.
Can this skill run linters?
Yes. It can guide or run golangci-lint when the tool is installed and command access is available.
Does it create CI workflows?
No. It focuses on linting configuration and local workflows, then refers CI pipeline work to a separate skill.
When should I use nolint?
Use it only after confirming an intentional pattern or false positive. Always name the linter and explain the reason.
Can it help with legacy repositories?
Yes. It recommends checking changed code first and organizing independent warning categories for staged cleanup.
Does automatic fixing remove every warning?
No. Automatic fixes address supported findings only. Review every change and resolve remaining warnings manually.

Detalles del desarrollador

Autor

samber

Licencia

MIT

Versión del autor

v1.4.1

Revisión de Skillstore

r1

Ref.

e5464e662405de6361fdde6b984f9ea865635f64

Actualidad del mantenimiento

8/9/2026

Uso

1 descargas · 0 vistas

Estructura de archivos

Más de samber

Ver todo
Ver todo