golang-modernize
Modernize Go Code with Current Idioms
Older Go patterns can limit safety, clarity, and maintainability. This skill recommends version-compatible language, library, testing, and tooling improvements.
Instalar com meu Agente
Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.
Review the Skillstore skill "golang-modernize" from https://skillstore.io/skills/samber-golang-modernize.md and its manifest at https://skillstore.io/api/skills/samber-golang-modernize/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.
Recursos legíveis por agentes
Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.
Testar
Usando "golang-modernize". Review this Go 1.22 package for modernization opportunities.
Resultado esperado:
- High priority: remove obsolete loop variable shadow copies and verify concurrent tests.
- Medium priority: replace manual helpers with compatible slices, maps, min, and max APIs.
- Validation: run focused tests, then the complete package test suite.
Usando "golang-modernize". Prepare this service for a Go 1.27 upgrade.
Resultado esperado:
- Check removed GODEBUG settings and JSON decoding behavior before changing the module directive.
- Review deprecated dependencies and confirm replacement feature parity.
- Run module cleanup, tests, linting, and vulnerability checks after approved edits.
Usando "golang-modernize". Modernize our Go testing and CI setup.
Resultado esperado:
- Use deterministic testing APIs where the target version supports them.
- Add modernization linting and vulnerability scanning to CI.
- Keep broad repository changes isolated until maintainers review the results.
Auditoria de segurança
SeguroAll 118 static findings are false positives caused by Markdown backticks, JSON evaluation fixtures, ordinary Go examples, and documentation URLs. No executable scripts, dynamic loading, SQLite data, reconnaissance, prompt injection, or malicious network activity appears in the reviewed files.
Fatores de risco
⚡ Contém scripts (2)
⚙️ Comandos externos (50)
🌐 Acesso à rede (8)
Compartilhar e citar este relatório
Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.
Copiar link do relatório
https://skillstore.io/skills/samber-golang-modernize/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportBadge Markdown
[](https://skillstore.io/skills/samber-golang-modernize?utm_source=security_passport_badge)Badge HTML
<a href="https://skillstore.io/skills/samber-golang-modernize?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/samber-golang-modernize/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Cartão incorporável
<iframe src="https://skillstore.io/embed/skills/samber-golang-modernize.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Citações acadêmicas (APA · BibTeX · CFF)
Citação APA
samber. (2026). golang-modernize security audit report (audit version 1) [Author version 1.5.1]. Skillstore. https://skillstore.io/skills/samber-golang-modernize/audits/1Citação BibTeX
@techreport{samber-samber-golang-modernize-2026,
author = {samber},
title = {golang-modernize security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/samber-golang-modernize/audits/1},
note = {Author version 1.5.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-modernize security audit report (audit version 1)"
version: "1.5.1"
type: report
authors:
- name: "samber"
date-released: "2026-09-06"
url: "https://skillstore.io/skills/samber-golang-modernize/audits/1"
identifiers:
- type: other
value: "skillstore:samber-golang-modernize:audit:1"
description: "Skillstore immutable audit report identifier"
Pontuação do Skillstore
Por que esta pontuação Confiança das evidências: MédioO que você pode criar
Upgrade a Maintained Service
Review an existing service before raising its Go directive and identify required compatibility checks.
Reduce Legacy Patterns
Replace outdated APIs and verbose patterns with compatible standard library features.
Refresh CI Tooling
Add modernization linting, vulnerability checks, tests, and repeatable upgrade validation.
Teste estes prompts
Review this Go file for modernizations compatible with the current go.mod version. Explain each recommendation before editing.
Modernize this Go package using compatible language and standard library features. Run focused tests and summarize behavior changes.
Assess upgrading this module to Go 1.27. Identify breaking changes, dependency concerns, migration steps, and required validation.
Perform a repository-wide modernization audit. Prioritize correctness, deprecated APIs, testing, tooling, and low-risk changes with validation evidence.
Boas práticas
- Confirm the module target version before recommending newer APIs.
- Prioritize correctness and security changes, then readability and gradual cleanup.
- Run focused and complete tests after each approved modernization group.
Evitar
- Do not recommend APIs newer than the module target without an approved version upgrade.
- Do not mix unrelated structural refactoring into a modernization change.
- Do not remove dependencies before checking behavior, release notes, and transitive usage.
Perguntas frequentes
Which Go versions receive detailed coverage?
Does the skill edit code automatically?
Can it upgrade go.mod?
Does it replace structural refactoring help?
Which validation tools can it use?
How are declined recommendations handled?
Detalhes do desenvolvedor
Autor
samberLicença
MIT
Versão do autor
v1.5.1
Revisão da Skillstore
r1
Referência
e5464e662405de6361fdde6b984f9ea865635f64
Atualidade da manutenção
08/09/2026
Uso
1 downloads · 0 visualizações
Estrutura de arquivos