bateau84/skills

golang-common-practice

Go verification, code-quality posture, and skill-family conventions.

Ver código-fonte

Como usar

  1. Copie o comando e verifique o pacote antes de instalar no seu ambiente de agente.
  2. Consulte no original as ferramentas, credenciais e ambientes necessários.
  3. Descreva os dados de entrada e a entrega esperada; confira a saída com as fontes.
npx skills add https://github.com/bateau84/skills --skill golang-common-practice

Antes de começar

  • A instalação não inclui assinatura de modelo, franquia API ou acesso aos seus arquivos.
  • Estrelas e instalações indicam atividade, não um teste independente de qualidade ou segurança.
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

Go Common Practice

The Go-specific base layer for the golang-* skill family.

Scope

This skill provides engineering guidance for any agent. Follow the user's task, repository conventions, and host permissions; no role hierarchy or orchestration framework is assumed.

Use this skill only to improve the quality and verification of already-authorized Go work.

Inner verification loop

After each coherent implementation change, run the smallest relevant check for changed packages or affected behavior. For example, adapt go test ./path/to/package, go build ./path/to/package, or a configured linter to the actual repository. Broaden to ./..., go vet, race detection, vulnerability scans, fuzzing, or benchmarks when changed behavior, repository policy, or credible material risk makes that coverage necessary.

An unrelated existing warning or optional hardening idea is not a mandate to expand the change. Record what was checked and the limits of those results; do not claim full-suite validation from a focused check.

Do not use automatic fix flags as a substitute for understanding changes.

When conclusions rely on test/build/lint/security/runtime results, record the commands, scope, and observed outcomes in the task summary or the project's verification record. Distinguish unrun checks and limitations from passing results.

Diagnose before fixing

Prefer evidence over intuition. Reproduce and inspect the failure before changing code. When profiling, race detection, static analysis, or runtime tracing is relevant, run the diagnostic first, change one causal factor, then re-check.

Strictness posture

MUST/NEVER/SHOULD in the Go skills express engineering guidance, not additional runtime permissions.

When local accepted architecture intentionally differs from a generic skill recommendation, current repository authority wins. Name the trade-off rather than silently forcing the generic pattern.

Cross-reference style

Sibling skills are referenced by bare local name, for example golang-testing or golang-error-handling.

Load the smallest useful set rather than every Go skill.

Relacionados por tarefa

do mesmo repositório

Mais Skills

Todos os Skills
bateau84
Comunidade

behavioral-spec

Derive bounded, implementation-independent requirements from agreed product intent through goal refinement, coverage lenses, obstacle analysis, provenance tracking, and counterexample checks. Use to select, author, and reconcile Behavioral Requirements (BR), Quality Scenarios (QS), and Obligation Contracts (OC) without expanding scope. Not for concrete API/schema/protocol realization (use architectural-spec) or human-centered stories and scenarios (use user-stories-and-scenarios).

Instalações / 1h
1
GitHub Stars
0
Atualizado
18 de out.
bateau84
Comunidade

desktop-ui-design

Desktop GUI design for native and hybrid applications: platform conventions (macOS HIG, Windows Fluent, GNOME HIG), menus, keyboard shortcuts, window management, session persistence, native vs Electron/Tauri trade-offs, and accessibility APIs. Use for Swift/AppKit, C/WinUI, GTK+, or Electron/Tauri/Flutter desktop design. Add web-ui-design for a web app shipped as a desktop wrapper. Not for browser-only interfaces, terminal applications (use tui-design), or command-line tools (use cli-design).

Instalações / 1h
1
GitHub Stars
0
Atualizado
18 de out.
bateau84
Comunidade

git-commit-discipline

Small coherent commits, explanatory messages, shared-working-tree discipline, and safe undo/recovery. Use when asked to commit, when a diff mixes concerns, when agents share a working tree, or when undoing or recovering Git changes. Not for content conflicts (use git-conflicts).

Instalações / 1h
1
GitHub Stars
0
Atualizado
18 de out.
bateau84
Comunidade

golang-dependency-injection

google/wire, uber-go/dig, uber-go/fx, samber/do, manual constructor injection, and service containers in Go. Use when designing service architecture, setting up dependency injection, refactoring tightly coupled code, or managing singletons and service factories.

Instalações / 1h
1
GitHub Stars
0
Atualizado
18 de out.