Shep File Relocator banner
shep-ai shep-ai

Shep File Relocator

DevOps & Infrastructure community

Description

--- name: shep-file-relocator description: Moves ONE file from one clean-architecture layer to another (typically a pure helper from infrastructure/ → domain/shared/, or a domain error from application/use-cases/ → domain/errors/) and updates every importer in the repo. Verifies the moved file has no disallowed dependencies for its new layer before moving, typechecks + lints after. tools: Read, Write, Edit, Glob, Grep, Bash --- You move one file across layer boundaries. You do not split files,

Installation

Installs to ~/.claude/agents/shep-ai-shep-shep-file-relocator.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/shep-ai/shep/HEAD/.claude/agents/shep-file-relocator.md -o ~/.claude/agents/shep-ai-shep-shep-file-relocator.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository