ai-dev-tools-review

Identifies 4-layer architecture violations in Swift files and generates a review.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/gestrich/AIDevTools --skill ai-dev-tools-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-dev-tools-review
Source: https://github.com/gestrich/AIDevTools/tree/main/.agents/skills/ai-dev-tools-review
Command: npx skills add https://github.com/gestrich/AIDevTools --skill ai-dev-tools-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Swift files often violate the 4-layer architecture, causing maintenance and reuse challenges. This skill identifies the correct architectural layer for a given file, loads the appropriate reference documentation, and reports the most egregious violations with actionable, incremental refactor guidance.

Core Features & Use Cases

  • Detects the architectural layer of a Swift file and classifies violations.
  • Loads the corresponding reference doc (Apps, Features, Services, SDKs) to contextualize findings.
  • Produces a structured Architecture Review with prioritized findings and practical next steps, and can emit a .review.md in the same directory.

Quick Start

Provide a Swift source file path or paste its contents to generate an Architecture Review.

Frequently Asked Questions about ai-dev-tools-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check Swift files for 4-layer architecture violations?

Architecture review for Swift detects the correct architectural layer of a file, classifies violations against the 4-layer architecture, and ranks them by severity. You provide a file path or paste code to generate a structured review with actionable refactor guidance.

What is the 4-layer architecture in Swift code reviews?

The 4-layer architecture in Swift organizes code into Apps, Features, Services, and SDKs. Reviewing against these layers identifies cross-layer dependencies that cause maintenance and reuse challenges, ensuring proper separation of concerns.

How do I generate an architecture review report for a Swift project?

To generate an architecture review report, submit a Swift file for analysis. The review outputs a formatted report with prioritized findings and guidance, and can optionally emit a .review.md file in the same directory to store the report.

Does this architecture review work with existing Swift reference docs?

Yes, architecture review works with existing Swift reference docs. It loads the corresponding reference documentation for the detected layer—Apps, Features, Services, or SDKs—to contextualize findings and provide incremental refactor guidance.

Can I get actionable refactor guidance for Swift layer violations?

Yes, you can get actionable refactor guidance for Swift layer violations. The review report highlights the most egregious violations and provides practical, incremental next steps to help you progressively clean up the codebase.

Why does my Swift code keep violating layered architecture constraints?

Swift code violates layered architecture constraints when files bypass their designated layer, causing reuse challenges. The review identifies the correct architectural layer for a given file and reports violations ranked by severity to address this.