guardian

Review SwiftUI code for Hexbound design system compliance and architecture rules.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/artosetrov/iron-fist-arena-backend --skill guardian-artosetrov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: guardian
Source: https://github.com/artosetrov/iron-fist-arena-backend/tree/main/.claude/skills/guardian
Command: npx skills add https://github.com/artosetrov/iron-fist-arena-backend --skill guardian-artosetrov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Reviews SwiftUI code to enforce Hexbound's design system compliance, architecture rules, and CLAUDE.md pitfalls before builds.

Core Features & Use Cases

  • Enforces design-system token usage, architecture patterns, and token safety in SwiftUI code.
  • Guides developers to consult CLAUDE.md, theme files, and token references to eliminate hardcoded styles.
  • Supports manual review workflows augmented by automated scanning of key project files (CLAUDE.md, DarkFantasyTheme.swift, ButtonStyles.swift, LayoutConstants.swift, MotionConstants.swift).

Quick Start

Review a SwiftUI file against the project design rules to identify token violations and architecture issues.

Frequently Asked Questions about guardian

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

FAQPage Schema
How do I enforce design system compliance in SwiftUI code?

To enforce design system compliance in SwiftUI code, this Skill reviews your files against project theme tokens and architecture rules to identify hardcoded styles and layout violations. It scans key theme files to guide automated checks and manual review workflows.

Can I automate SwiftUI code reviews to catch hardcoded styles before building?

Yes, you can automate SwiftUI code reviews to catch hardcoded styles before building. This Skill scans your Swift files against design tokens and CLAUDE.md architecture rules, flagging non-compliant patterns and ensuring component reuse before compilation.

What design tokens and files do I need for a SwiftUI architecture review?

For a SwiftUI architecture review, you need CLAUDE.md and core theme files including DarkFantasyTheme.swift, ButtonStyles.swift, LayoutConstants.swift, and MotionConstants.swift. These files provide the token references and design rules required to guide the automated checks.

Does this code review tool work with existing iOS project components?

This code review tool works with existing iOS project components by scanning SwiftUI files to verify token safety and architecture pattern adherence. It requires no external dependencies, relying solely on your project's referenced theme files and CLAUDE.md guidelines.

Why are my SwiftUI layout patterns failing design system checks?

Your SwiftUI layout patterns are failing design system checks because they likely contain hardcoded styles instead of using designated design tokens. This Skill cross-references your code against LayoutConstants.swift and ButtonStyles.swift to identify non-compliant layout patterns.

What is the best way to review SwiftUI code for token safety and architecture rules?

The best way to review SwiftUI code for token safety and architecture rules is to cross-reference files against CLAUDE.md and core theme files. This Skill augments manual review workflows with automated scanning to ensure strict design system compliance.