axiom-audit-swiftui-architecture

Analyze SwiftUI project architecture to detect anti-patterns and testability issues.

34|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/DengNaichen/Stet --skill axiom-audit-swiftui-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-audit-swiftui-architecture
Source: https://github.com/DengNaichen/Stet/tree/main/.agents/skills/axiom-audit-swiftui-architecture
Command: npx skills add https://github.com/DengNaichen/Stet --skill axiom-audit-swiftui-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill identifies architectural anti-patterns in SwiftUI projects, such as business logic leaking into view bodies, async boundary violations, and untestable code structures that lead to technical debt.

Core Features & Use Cases

  • Architecture Mapping: Automatically maps view-to-model boundaries and dependency injection patterns.
  • Anti-Pattern Detection: Flags critical issues like logic in view bodies, God ViewModels, and improper state management.
  • Health Scoring: Provides a quantitative health score to help teams prioritize refactoring efforts.
  • Use Case: Use this during a code review or sprint planning to identify which parts of your SwiftUI codebase are becoming too monolithic or difficult to unit test.

Quick Start

Run the axiom-audit-swiftui-architecture skill to perform a full architectural audit of the current repository.

Frequently Asked Questions about axiom-audit-swiftui-architecture

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

FAQPage Schema
How do I detect SwiftUI architecture anti-patterns in my codebase?

To detect SwiftUI architecture anti-patterns, you can audit your project to automatically identify business logic leaking into view bodies, God ViewModels, and improper state management that causes technical debt.

What is the best way to separate business logic from SwiftUI view bodies?

Separating business logic from SwiftUI view bodies requires mapping view-to-model boundaries and dependency injection patterns. An architectural audit identifies where logic leaks into views and guides structural refactoring for separation of concerns.

How do I assess SwiftUI testability issues in a complex codebase?

Assessing SwiftUI testability issues involves analyzing your codebase to detect untestable structures and improper state management. An architectural health assessment identifies which parts of your project are becoming too difficult to unit test.

Can I automate technical debt identification for SwiftUI projects during code review?

You can automate technical debt identification for SwiftUI projects during code review by running an architectural audit. It detects anti-patterns and provides a quantitative health score to help teams prioritize refactoring efforts.

Does this architectural audit work for complex SwiftUI codebases requiring structural refactoring?

This architectural audit works for complex SwiftUI codebases requiring structural refactoring. It maps dependency injection patterns, flags async boundary violations, and targets monolithic structures to improve testability and separation of concerns.