Agent♥︎Age
Catalog

ViewDoctor

Official

by KamnevVladimir · Swift

Local SwiftUI changed/staged checks with compact agent output and multi-module ownership.

ViewDoctor MCP Server

ViewDoctor performs local SwiftUI changed/staged checks by attaching module ownership and scanning SwiftUI code. It maps modules from Swift Package Manager, Tuist, Xcode projects, and common source layouts, then runs checks after human or coding-agent diff changes. Output is available as terminal text, compact agent JSON, full versioned JSON, or SARIF.

🛠️ Key Features

  • SwiftUI diff/stage checking with module ownership attached
  • Module mapping from Swift Package Manager, Tuist, Xcode projects, and common source layouts
  • Multiple output formats: terminal text, compact agent JSON, full versioned JSON, SARIF

🚀 Use Cases

  • Run after a human or coding agent changes a diff
  • Validate SwiftUI diffs and review findings with module ownership context

⚡ Developer Benefits

  • Compact and readable results for local review
  • SARIF support for static-analysis workflows
  • Module-level attribution for warnings (e.g., VD001 with tuist module path)

⚠️ Limitations

  • Focused on SwiftUI changed/staged checks with module mapping; coverage depends on supported module sources and layouts.

Topics

ai-codingmcpsarifstatic-analysisswiftswift-package-managerswiftuituist