
from swiftbutler13
CLI to analyze, syntax-check, reindent, and split large Swift source files for easier inspection and tooling.
SwiftButler provides a small CLI (butler) that parses Swift source using SwiftSyntax and offers commands to analyze API shape, run fast syntax checks, normalize indentation, and split large generated files into declaration-sized pieces. It helps both humans and coding agents by producing compact, machine-friendly outputs (JSON/YAML/markdown) or by preparing code for targeted edits.
Use SwiftButler when you need a concise view of a module's public API for LLM consumption (analyze), when you want quick syntax feedback in a generation/repair loop (check), to enforce consistent formatting after codegen (reindent), or to break up large files before manual or automated edits (distribute). It's useful in CI checks, local dev workflows, and agent-driven code tasks.
analyze, check, reindent, and distribute are included.Likely compatible with coding assistants and agent runtimes that can invoke CLIs or shell tools (Copilot/Codex-style agents, local scripting agents that can run Homebrew-installed binaries).
SwiftButler is a CLI wrapper skill for analyzing, syntax-checking, reindenting, and distributing Swift source files. The SKILL.md is well-structured with clear command examples and a sensible when-to-use guide. No bundled scripts to test — it's purely a CLI invocation skill. Requires the `butler` binary installed via Homebrew, which limits out-of-the-box usability to macOS/Linux with Homebrew.
butler (installable via Homebrew: brew install cocoanetics/tap/swiftbutler)Clean skill, no security concerns whatsoever. Well-written SKILL.md with proper frontmatter and good command documentation. Niche but genuinely useful for Swift developers working with large codebases or code generation workflows.