muxt-refactoring

Official

Refactor Go web routes safely.

Authortypelate
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers safely refactor Go web applications built with Muxt, preventing runtime errors caused by mismatches between route definitions, template names, and Go methods.

Core Features & Use Cases

  • Guided Refactoring: Provides step-by-step instructions for common refactoring tasks like renaming methods, changing route patterns, or moving templates.
  • Coupling Chain Validation: Emphasizes the critical loop of regenerating code and running checks (go generate, muxt check, go test) to maintain integrity.
  • Use Case: When you need to rename a GetUser handler method to FetchUser in your Muxt application, this skill guides you through updating the template definitions, regenerating handlers, and safely renaming the Go method using gopls.

Quick Start

Use the muxt-refactoring skill to safely rename a receiver method in your Muxt codebase.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: muxt-refactoring
Download link: https://github.com/typelate/muxt/archive/main.zip#muxt-refactoring

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.