agentleFS
arjitj2arjitj2/swiftui-design-principles/AGENTS.md

swiftui-design-principles

AGENTS.md26 starsChanged 9 months agoMITView on GitHub

This repository contains an agent skill for building polished SwiftUI apps and WidgetKit widgets. The skill is loaded when an agent detects SwiftUI or WidgetKit-related tasks. It provides: The skill is purely instructional — no scripts or build steps required.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 2

    1. VelimirMueller/ai-development-skills★ 7100% same
    2. VelimirMueller/claude-skills★ 7100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

Files
AGENTS.md

SwiftUI Design Principles

This repository contains an agent skill for building polished SwiftUI apps and WidgetKit widgets.

Structure

  • SKILL.md — The skill definition with all design principles
  • metadata.json — Skill metadata (version, author, abstract)
  • LICENSE — MIT license

How the skill works

The skill is loaded when an agent detects SwiftUI or WidgetKit-related tasks. It provides:

  1. A base-4/8 spacing grid to prevent arbitrary padding values
  2. A typography hierarchy using weight differentiation (not just size)
  3. System semantic color usage instead of hardcoded opacity values
  4. Native WidgetKit patterns (Gauge, containerBackground)
  5. A pre-ship checklist for verification

The skill is purely instructional — no scripts or build steps required.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.