go-dt-filepath-refactorer
CommunityMigrate Go path logic to go-dt types safely.
Authormikeschinkel
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Go projects often rely on string-based path and filename handling, which leads to scattered validations and brittle APIs. This skill provides a structured approach to migrate those concerns to go-dt domain types (e.g., Filepath, DirPath), reducing boilerplate and improving safety.
Core Features & Use Cases
- Introduces go-dt types and helpers to standardize path handling.
- Rewrites internal APIs to operate on dt types while preserving behavior.
- Common use cases include replacing filepath.Join, os.ReadFile(string), and string paths with dt wrappers in libraries, services, and CLIs.
Quick Start
Refactor the target module to replace string-based path handling with go-dt types across files while preserving behavior.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: go-dt-filepath-refactorer Download link: https://github.com/mikeschinkel/ai-agent-depot/archive/main.zip#go-dt-filepath-refactorer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.