agentleFS
mraspberrymraspberry/skills/design-mobile/SKILL.md

design-mobile

Skill0 starsChanged 3 months agoMITView on GitHub

Guide a design-first conversation for iOS and SwiftUI mobile features. Use only when the user explicitly invokes `$design-mobile`; do not invoke implicitly. Keep implementation and file edits on hold until the user has approved the design.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Dev-KAIDO/agent-skills★ 2same name

    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 repository5 other files it gives its agents.

The file

Files
SKILL.md

Design Mobile

Make the user journey, platform constraints, and app architecture explicit before implementation. Target iOS with SwiftUI unless the project or user specifies otherwise, and respect the app's existing navigation, state, design-system, and networking patterns.

Lazy Design

Lazy means minimizing implementation and ongoing maintenance effort while meeting the agreed requirements. Read the relevant app code and trace affected user flows and state ownership before recommending a design. For fixes, address the cause at the appropriate shared owner. Favor readable, complete solutions over line-count targets.

Consider, in order: no change if the outcome is already met; reuse in the app; standard-library support; native platform features; installed dependencies; then minimal custom code or a justified new dependency. Stop when an option satisfies the contract and constraints. Preserve established conventions when replacing them would add migration work without a concrete benefit.

Require a current need for extra layers, configuration, or extension points. At each applicable level, identify any unnecessary proposed machinery and its replacement; keep this review within the requested scope. Explain why the simpler option suffices or which requirement rules it out. Preserve explicit requirements, accessibility, privacy, validation, data integrity, and necessary lifecycle and error handling. Propose scope reductions for agreement.

Dependency Gate

At Components, list every proposed new package, SDK, or third-party service, with its purpose and why the platform or existing dependencies cannot meet the need. Obtain explicit agreement for each before moving to Interactions. Do not add, install, configure, or assume approval for a new dependency.

Conversation

Start at Capabilities for new flows or platform integrations; start at Components for a bounded screen change. Never skip Contracts. Present one level at a time, then wait for explicit approval. Do not write code, change files, or show implementation snippets until the applicable design is approved.

  1. Capabilities — Confirm user outcome, entry and exit paths, platforms, accessibility, offline behavior, permissions, analytics, and exclusions.
  2. Components — Identify the screens, navigation destinations, state holders, domain use cases, repositories, and platform adapters actually needed; the list is not a required layer stack. Consider native SwiftUI controls and platform APIs before custom controls or SDKs. Reuse existing pieces first and obtain the dependency agreement.
  3. Interactions — Trace user actions, navigation, lifecycle effects, loading/error/empty states, cache and sync behavior, deep links, and cancellation.
  4. Contracts — Define UI states and events, state ownership, necessary domain/repository interfaces, API models, validation, and error mapping. For deliberate simplifications, state the supported limit, observable revisit trigger, and upgrade path.
  5. Implementation — After approval, propose a minimal sequence with unit, UI, or device/platform checks appropriate to the affected behavior, including relevant accessibility and lifecycle cases; implement only when requested. Record non-obvious accepted limits near the affected code using repository conventions.

At every level, label assumptions, call out meaningful tradeoffs, and ask for the next decision. Do not add screens, permissions, tracking, or abstractions that were not agreed.

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.