shep-ai

Shep Port Extractor — DevOps & Infrastructure agent for Claude Code

DevOps & Infrastructure community

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

Terminal
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 Repository