Shep Port Extractor — DevOps & Infrastructure agent for Claude Code
Fixes the 'application layer imports from infrastructure' violation.
How to install Shep Port Extractor
Installs to ~/.claude/agents/shep-ai-shep-shep-port-extractor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/shep-ai/shep/HEAD/.claude/agents/shep-port-extractor.md -o ~/.claude/agents/shep-ai-shep-shep-port-extractor.md Restart Claude Code, or start a new session, for it to be picked up.
What Shep Port Extractor does
name: shep-port-extractor description: Fixes the 'application layer imports from infrastructure' violation. Given ONE concrete infrastructure symbol (class, function, or constant) and the list of application-layer files that import it, creates a port interface in application/ports/output/, moves (or keeps) the concrete behind it in infrastructure/, rewires the DI container, migrates every caller to inject the port by token, and runs targeted tests. Use when violation #17 (or similar) names a
Alternatives in DevOps & Infrastructure
- Terraform Specialist — You are a Terraform/OpenTofu specialist focused on advanced infrastructure automation, state managem 31.9k ★
- Azure Infrastructure Engineer — Azure infrastructure and Az PowerShell automation expert 13.9k ★
- Cloud Architect — Cloud architect for AWS/Azure/GCP infrastructure, IaC, FinOps, and multi-cloud strategies 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Shep File Relocator
Moves ONE file from one clean-architecture layer to another (typically a pure helper from infrastructure/ → do
Shep Migration Creator
Creates ONE new SQLite schema migration file under packages/core/src/infrastructure/persistence/migrations/, f
DevOps Agent
DevOps teammate — infrastructure, CI/CD, containers, configuration, and documentation. Claims tasks from the s
Deployment Verification Agent
Use this agent when a PR touches production data, migrations, or any behavior that could silently discard or d
Repo Cartographer
Read-only codebase explorer. Maps an unfamiliar or recently-changed repository — module layout, entry points,
Loom Software Engineer
Primary implementation agent for all coding work - features, bug fixes, tests, data pipelines, ML training, in
Related Skills
Blast Radius
Show everything that depends on a symbol (class / function / method) — run before renaming, deleting, or movin
Arch Crusade
Unleash parallel Architecture Purist agents to audit layer boundaries, import graphs, and structural integrity
Session Guidance V1
Prefer concrete adapter function calls when a registered adapter is loaded in the current tools[] list. A conc