Real Skill packageSource verifiedClawHub registry

golang-refactoring

Golang refactoring — the safe, at-scale process for restructuring existing Go code: a coverage-adaptive safety net, tool-driven behavior-preserving transforms (gopls Rename/Inline/Extract, `gofmt -r`, `eg`, `gopatch`, `go/analysis` fixers), the Fowler catalog mapped to Go, breaking import cycles, moving types across packages, and a human-in-the-loop workflow of small stacked PRs on a refactoring branch. Apply when code is hard to maintain, a function/type has grown too large, a code smell needs fixing, adding a fe…

Identity and source

Publisher attributionSamuel Bertheregistry owner unverified by skillvetai
Functional categoryDocuments, PDF & Presentationsautomatically inferred · 54% rule confidence
Package forminstruction bundle7 recorded files
Canonical sourceClawHub registryclawhub:samber:golang-refactoring
Open canonical source ↗

Platform declarations

These states come from the source or distribution context. None of the entries below are SkillVetAI compatibility test results.

OpenClawnative officialProvenance: registry distribution

Independent structural checks

These checks parse the fixed package against dated platform rules. They do not execute the Skill or verify task behavior.

Claude Codepasses structure
Checker 0.1.0 · agent-skills-2026-08-13+claude-code-docs-2026-08-13 · 8/22/2026.claude/skills/golang-refactoring

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenAI Codexpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+codex-docs-2026-08-13 · 8/22/2026.agents/skills/golang-refactoring

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

OpenClawpasses structure
Checker 0.1.0 · agent-skills-2026-08-13+openclaw-docs-2026-08-13 · 8/22/2026skills/golang-refactoring

Runtime, accounts, dependencies, permissions, network behavior and task quality remain untested.

Installation and inspection

This command is recorded from the source ecosystem and resolves the registry's latest release. The fixed release shown on this page should be inspected before adoption.

clawhub install @samber/golang-refactoring
clawhub inspect @samber/golang-refactoring --version 1.1.0

Security evidence

SkillVetAI static result: no findings detected

This automated, non-executing scan is bound to this release hash. It is not a safety certification and may contain false positives or false negatives.

Status
completed
Coverage
full text content
Files
7 / 7 inspected as text
Checked
8/22/2026, 1:06:23 PM
Scanner
0.1.3
Policy
1.0.3
2 inferred permission indicators
  • network access — automatically inferred
  • filesystem write — automatically inferred
2 dependency and API indicators
  • api: clawhub.ai
  • api: github.com
External clawhub result: clean

This is registry-supplied evidence for the recorded release, not an independent SkillVetAI scan. Check the canonical source for the full report, scanner versions, scope, and current moderation state.

Evidence checked
8/22/2026, 3:13:01 AM
Release binding
Matches this record
  • vt: clean
  • skillspector: clean
  • llm: clean

Recorded files

The catalog stores hashes and an inventory summary for change detection. It does not republish the package contents.

Package content hashsha256:1081cdfbb60de3c3c4bff728f4af8b419bdb08ad1ffdc9f6953bf37273bce338
Show up to 7 recorded paths
  • references/catalog.md
  • references/go-tooling.md
  • references/safety-net.md
  • references/structural.md
  • references/workflow.md
  • skill-card.md
  • SKILL.md

Source changelog

golang-refactoring v1.1.0 - Expanded documentation with detailed persona, thinking mode, orchestration rules, and strong guidance on workflows, tool use, and approval gates. - Clarified scope: behavior-preserving, tool-driven refactoring with staged, human-reviewed, small PRs; specific coverage on blast radius mapping, safety net requirements, and commit atomicity. - Added explicit mode definitions (Plan, Execute, Simple-sweep, Review) and hard rules for PR composition (never mix structural/behavioral changes; sequential vs. parallel refactoring). - Outlined concrete tool dependencies and setup; referenced other Go code skills to target related restructuring/modernization needs. - Enforced explicit user approval steps through environment question tools for safe, irreversible orchestration.