refactor-go

Analyze Go codebases for security, architecture, and quality issues.

1|Updated Aug 16, 2025
One-click install
npx skills add https://github.com/RB-chrismandich/Manifest --skill refactor-go-rb-chrismandich
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: refactor-go
Source: https://github.com/RB-chrismandich/Manifest/tree/main/configs/claude/skills/refactor-go
Command: npx skills add https://github.com/RB-chrismandich/Manifest --skill refactor-go-rb-chrismandich

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go codebases often drift into security gaps, architectural inefficiencies, and inconsistent quality. This Skill provides a structured analysis to identify issues and deliver a prioritized refactoring roadmap that improves safety, readability, and maintainability.

Core Features & Use Cases

  • Automated Go codebase analysis for idioms, security, architecture, and quality
  • Actionable refactoring roadmap with prioritized findings and concrete fixes
  • Integration-ready guidance for linting, testing, and dependency hygiene to improve CI outcomes

Quick Start

Run the refactor-go skill against your Go project to generate a prioritized, actionable refactoring plan.

Frequently Asked Questions about refactor-go

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refactor a Go codebase to fix security gaps and architectural weaknesses?

To refactor a Go codebase, you need to analyze modules, dependencies, and interfaces to identify security gaps and architectural weaknesses. This produces a step-by-step improvement plan with risk levels, suggested fixes, and a phased roadmap for idiomatic Go usage.

What is the best way to analyze a multi-package Go monorepo for code quality?

Analyzing a multi-package Go monorepo involves evaluating modules and dependencies to pinpoint quality issues. The process delivers concrete findings with prioritized fixes, go.mod checks, lint recommendations, and tooling setup to improve maintainability.

Can I use this approach to generate an actionable refactoring roadmap for idiomatic Go?

Yes, you can generate an actionable refactoring roadmap by applying structured analysis to your Go project. It identifies non-idiomatic patterns and delivers a prioritized plan with concrete fixes, linting guidance, and dependency hygiene steps to improve CI outcomes.

Does this Go refactoring analysis include dependency and go.mod checks?

Yes, Go refactoring analysis includes go.mod checks and dependency hygiene evaluation. It assesses your modules and dependencies to deliver actionable guidance for tooling setup, ensuring your project maintains safety, readability, and consistent quality.

When do I need a structured analysis to improve my Go project's architecture?

You need a structured Go analysis when your codebase drifts into inconsistent quality, security gaps, or architectural inefficiencies. It evaluates interfaces and dependencies to produce a prioritized roadmap that restores safety, readability, and maintainability.