fileflow-pathologize

Installation
SKILL.md

Safe File Operations: fileflow & pathologize

Two small, composable spf13 libraries that handle the two things naive file code gets wrong: moving files safely (fileflow) and making names safe (pathologize).

When to Activate

  • Moving, copying, or renaming files — especially across drives/volumes
  • Handling the "destination already exists" case without clobbering data
  • Seeing invalid cross-device link / EXDEV from os.Rename
  • Building a destination path from a filename, user input, or a regex capture
  • Downloaders, extractors, importers, file organizers, upload handlers
  • Anywhere you were about to write os.Rename + io.Copy + filepath.Clean by hand

Why These Over the Standard Library

Installs
81
Repository
spf13/go-skills
GitHub Stars
656
First Seen
Jul 11, 2026
fileflow-pathologize — spf13/go-skills