Home / jordancoin / ios-skills-collection · skills/martinlasek--swiftui-coding-guideline/SKILL.md · GitHub

swiftui-coding-guideline skillA

swiftui-coding-guideline is agent-read markdown (skill) from jordancoin/ios-skills-collection: SwiftUI coding guidelines covering style, structure, patterns, formatting, and pure-functions methodology. Use when editing or generating SwiftUI code or Swift files containing SwiftUI views, view models, services, or related architecture..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# SwiftUI Coding Guideline

## Overview

Apply these guidelines when working on SwiftUI code. Prefer minimal, readable, and maintainable changes with explicit, testable state transitions.

Use `swift-coding-guideline` as the baseline for cross-cutting Swift language/tooling rules (import hygiene, mutation semantics, enum/file rules, naming, and general formatting). This skill defines SwiftUI- and UI-architecture-specific rules on top of that baseline.

## Priorities (In Order)

1) Minimal changes that solve the problem directly.  
2) Readability over cleverness.  
3) Maintainability over short-term shortcuts.  
4) Clear architecture: each layer owns one responsibility.  
5) Pure, explicit logic with minimal side effects.  
6) Testability via small, injectable dependencies.

## Project Structure

- Prefer feature folders when they improve clarity.
  - Example: `ReadMarkdown/Markdown/View`, `ReadMarkdown/Directory/Controller`
- Keep shared primitives in `ReadMarkdown/Shared/Model` and `ReadMarkdown/Shared/Service`.
- Use a dedicated `Enum` folder for enums.
- Avoid new folders or layers unless they remove real complexity.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add jordancoin/ios-skills-collection/swiftui-coding-guideline@git:20260330.fb568c2
Exact content
mdr add jordancoin/ios-skills-collection/swiftui-coding-guideline@sha256:284bb4f78e858733

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4vtiew2ary4y56l2.svg)](https://markdownregistry.com/a/art_4vtiew2ary4y56l2)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260330.fb568c2 latest2026-03-30 fb568c2 8,626 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8626 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jordancoin/ios-skills-collection · 5 stars · license NOASSERTION · pushed 2026-09-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4vtiew2ary4y56l2
GET https://markdownregistry.com/api/v1/resolve?ref=jordancoin/ios-skills-collection/swiftui-coding-guideline
GET https://markdownregistry.com/api/v1/blob/284bb4f78e858733d4e42c5dacabed3f7fee62add58d4422c88177bfe23838b9

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from jordancoin/ios-skills-collection

AGENTS.md agents
jordancoin/ios-skills-collection · AGENTS.md
git:20260330.32933de · audit A · 5 stars
CLAUDE.md claude
jordancoin/ios-skills-collection · CLAUDE.md
git:20260330.5da680d · audit B · 5 stars
ios-skills-router skill
jordancoin/ios-skills-collection · skills/_router/SKILL.md · Always use when working on any iOS, macOS, Swift, SwiftUI, Xcode, or Apple platform project. Routes to the correct…
git:20260331.9846bee · audit A · 5 stars
CLAUDE.md@skills/adamlyttleapps--aso-appstore-screenshots claude
jordancoin/ios-skills-collection · skills/adamlyttleapps--aso-appstore-screenshots/CLAUDE.md
git:20260330.f4da974 · audit A · 5 stars
aso-appstore-screenshots skill
jordancoin/ios-skills-collection · skills/adamlyttleapps--aso-appstore-screenshots/SKILL.md · Generate high-converting App Store screenshots by analyzing your app's codebase, discovering core benefits, and…
git:20260330.f4da974 · audit A · 5 stars
cleanse skill
jordancoin/ios-skills-collection · skills/andrewgleave--cleanse/SKILL.md · Review code for readability, then simplify it to be easy to follow and understand. Use this skill when the user wants…
git:20260330.1853d9e · audit A · 5 stars
critical-reasoning skill
jordancoin/ios-skills-collection · skills/andrewgleave--critical-reasoning/SKILL.md · Apply critical rationalist epistemology (Popper, Deutsch) to evaluate reasoning, identify errors, and refine…
git:20260330.1853d9e · audit A · 5 stars
writing-for-interfaces skill
jordancoin/ios-skills-collection · skills/andrewgleave--writing-for-interfaces/SKILL.md · Use when someone asks to write, rewrite, review, or improve text that appears inside a product or interface. Examples…
git:20260330.1853d9e · audit A · 5 stars
Code Review Checklist skill
jordancoin/ios-skills-collection · skills/arimunandar--code-review-checklist/SKILL.md · Comprehensive code review guidelines for iOS/Swift covering architecture, performance, security, and best practices
v1.0.0 · audit A · 5 stars
Interview Patterns skill
jordancoin/ios-skills-collection · skills/arimunandar--interview-patterns/SKILL.md · Best practices for gathering requirements using AskUserQuestion before taking action
v1.0.0 · audit A · 5 stars
iOS Performance skill
jordancoin/ios-skills-collection · skills/arimunandar--ios-performance/SKILL.md · Memory management, profiling, optimization techniques, and Instruments usage for high-performance iOS apps
v1.0.0 · audit A · 5 stars
iOS Security skill
jordancoin/ios-skills-collection · skills/arimunandar--ios-security/SKILL.md · iOS security best practices including Keychain Services, biometrics, data protection, network security, and App Attest
v1.0.0 · audit A · 5 stars

Every file in jordancoin/ios-skills-collection

Browse by kind, by grade A, or by owner.