Logo de Ui Ios

Ui Ios

Comunidade
rshzrh
ui-ios

Gera interfaces SwiftUI para iOS 17+ (iPhone e iPad) sem conteúdo genérico. Use sempre que o usuário pedir para criar, projetar, estruturar, reformular ou aprimorar uma tela SwiftUI, View, sheet, NavigationStack, tab ou qualquer interface iOS. Abrange novos projetos mobile — não substitui nenhuma habilidade existente. São duas fases — primeiro os tokens (com etapa de aprovação) e depois a interface —, ambas condicionadas a uma lista de verificação de autoauditoria, que o modelo DEVE executar antes de afirmar que concluiu.

Add to TypingMind

Visão geral

Publicado porrshzrh
Repositórioui-design-skills
Nome da habilidadeui-ios
Estrelas
5
Forks
0
Arquivos incluídos
11
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 11

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por rshzrh no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Ui Ios no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/rshzrh/ui-design-skills/tree/main/skills/ui-ios
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rshzrh/ui-design-skills.git /tmp/ui-design-skills
mkdir -p .claude/skills
cp -r /tmp/ui-design-skills/skills/ui-ios .claude/skills/ui-ios
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Ui Ios em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Ui Ios automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Ui Ios não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

ui-ios — Slop-Free SwiftUI Skill

You are generating production-grade iOS UI in SwiftUI (iOS 17+) and Swift 5.9+. This skill exists because untouched LLMs produce AI slop: purple→pink LinearGradients, default centered VStack heros, three-card LazyVGrid features, magic numbers everywhere (.padding(13), .cornerRadius(7)), Inter on iOS, glassmorphism on every card, "Get Started" buttons, and the median of every SwiftUI tutorial scraped from GitHub. This skill replaces guesses with constraints.

The non-negotiable rule: NEVER use a buzzword in place of a token. Words like clean, modern, professional, sleek, premium are banned from your reasoning. Every aesthetic choice must trace back to a named anchor recipe in anchors.md and a value in Theme/Tokens.swift.

iOS adds a second non-negotiable: HIG mechanics are strict. 44pt minimum touch targets. SF Symbols only for system icons. Dynamic Type mandatory. Safe area respected. NavigationStack for navigation. .sheet / .fullScreenCover for modal presentation. Swipe-back gesture preserved. Brand has freedom over color, custom typography (with declared system fallback), accent, motion personality, and shape — not over the platform mechanics above.


Workflow (follow in order)

Step 0 — Project scan (decides bootstrap vs extend mode)

Before any other action, check for:

DESIGN_RULES.md                      # at repo root → if exists, you are in EXTEND mode
*/Theme/Tokens.swift                 # → if exists, you are in EXTEND mode
*/Theme/ThemeModifier.swift
.swiftlint.yml                       # check for custom slop rules
  • If DESIGN_RULES.md exists: read it. Read the existing Tokens.swift. Skip to Step 3 (Phase 2: UI). Use only existing tokens. NEVER add new colors/spacing/radii without asking.
  • If Tokens.swift exists but no DESIGN_RULES.md: read tokens, infer the closest matching anchor, ask the user to confirm the inferred anchor, then write DESIGN_RULES.md and proceed to Phase 2.
  • If neither exists: you are in bootstrap mode. Continue to Step 1.

Step 1 — Intake (interactive, bootstrap only)

Use AskUserQuestion to gather, in this order:

  1. Anchor pick — show the 8 recipes from anchors.md (one-line summary each). Note that Apple Music / Podcasts is the most native to iOS and the safest default. Let the user pick 1–3. If 2–3, ask which is primary and which contributes type vs color vs motion.
  2. Ban menu — show the 8 ban patterns from ban-patterns.md with the 3 default-on items pre-checked. Confirm.
  3. Project context:
    • Content density: airy / balanced / dense
    • Primary surface: app / utility / reader / media / form-heavy / game-shell
    • Dark mode: required (default on iOS) / optional / none
    • iPad support: yes / no
    • Brand color (if any): hex value or "derive from anchor"
    • Custom typography: yes (must declare a system font fallback) / no (use SF Pro)

Do NOT ask vibe questions ("how should it feel?"). Ask only the questions above.

Step 2 — Phase 1: tokens (gated)

Generate, in this order:

  1. <App>/Theme/Tokens.swift — enum-based tokens. Use the template at templates/Tokens.swift.tmpl. Required enums: Theme.Color, Theme.Spacing, Theme.Radius, Theme.Font, Theme.Shadow, Theme.Motion.
  2. <App>/Theme/ThemeModifier.swift — EnvironmentKey-driven theme injection so views never reach into Tokens through string literals or hardcoded paths.
  3. Color assets — Background, Surface, Accent, TextPrimary, TextSecondary, semantic (Success, Warning, Danger) — each with Any Appearance and Dark Appearance variants in Assets.xcassets. List the assets the user must add; do not invent hex values without anchor justification.
  4. .swiftlint.yml patch — enable the slop-blocking custom rules from templates/swiftlint.yml.tmpl.
  5. DESIGN_RULES.md at repo root — fill templates/DESIGN_RULES.md.tmpl with the chosen anchors, active bans, token file paths, and verification command.
  6. CLAUDE.md patch — append (do not overwrite): Before any UI/UX work, read and follow DESIGN_RULES.md.

Then run the Token Audit from verification.md and print the PASS/FAIL table to the user. Do not proceed to Phase 2 until the user approves.

Step 3 — Phase 2: UI

Generate the requested screen/View using only values from Theme.*. Follow:

  • component-anatomy.md — exact rules for Button, TextField, List/Form rows, NavigationStack, sheets, ConfirmationDialog, Alert, TabView, ProgressView, ContentUnavailableView, form fields.
  • motion.md — easing curves and durations.
  • copy-voice.md — every string is real, contextual copy. No lorem ipsum, no filler. Honor iOS button conventions (Cancel left, primary right; "Done" capitalized in nav bars).
  • icons-imagery.md — SF Symbols ONLY for system icons. Never Lucide / Phosphor / custom inline SVG when SF Symbols has the glyph.

Then run the UI Audit from verification.md AND swiftlint. Print the audit table. Fix every FAIL before claiming done.


Files in this skill

FileWhen to read
anchors.mdStep 1, before showing the user choices. ALWAYS read fully — never quote from memory.
ban-patterns.mdStep 1, when showing ban menu. Step 2 and 3, when verifying.
component-anatomy.mdStep 3, before writing any View.
motion.mdStep 3, when adding any .animation or withAnimation.
copy-voice.mdStep 3, before writing any user-facing string.
icons-imagery.mdStep 3, when choosing SF Symbols or images.
verification.mdAfter Step 2 (Token Audit) and after Step 3 (UI Audit). MANDATORY — do not skip.
templates/*Use as the basis for the generated files; fill placeholders, never ship as-is.

Hard rules (the model must obey these always)

  1. No magic numbers. Forbidden: .padding(13), .frame(width: 372), .cornerRadius(7), Color(red: 0.2, green: 0.4, blue: 0.6), Color(hex: "#3a4f6b"). Every value must come from Theme.Spacing, Theme.Radius, Theme.Color, Theme.Font, or Theme.Motion. If you need a value that does not exist, ask the user to add it.
  2. No buzzwords in code or comments. Banned strings in your output: clean, modern, professional, sleek, premium, beautiful, elegant (except in copy if the user explicitly asked for those words).
  3. No default-style-tells unless the chosen anchor explicitly allows them. Specifically: no LinearGradient(colors: [.purple, .pink], ...), no [.indigo, .purple], no .ultraThinMaterial on cards (only on chrome — toolbar, sheets — where iOS uses it natively).
  4. No filler copy. No lorem ipsum. No "Lightning fast", "Built for iOS", "Powered by AI", "Get Started", "Beautiful and intuitive".
  5. Touch targets ≥ 44pt on every interactive element. Verify with .frame(minHeight: 44) or .contentShape.
  6. Dynamic Type support is mandatory. Use .font(.body), .font(.headline), Theme.Font.body() — never fixed .system(size: 14) outside Theme.Font. Test at xxxLarge.
  7. Safe area is respected. No .ignoresSafeArea unless intentional and documented inline with a // SAFE-AREA-IGNORE: <reason> comment.
  8. VoiceOver labels on every icon-only Button (.accessibilityLabel("...")).
  9. Dark mode parity. Every Color comes from an asset with both Any/Dark variants OR from Theme.Color. Verify by toggling preview.
  10. SF Symbols only for system iconography. Image(systemName:) always. Custom Image("name") only for brand artwork.
  11. You must run the verification checklist before responding "done". Print the audit table to the user.

What this skill is NOT

  • Not a magic-aesthetic generator. You still have to pick an anchor and follow it.
  • Not a copy generator. Phase 2 stops and asks for real copy when needed.
  • Not a brand-design tool. Logo and brand identity are the user's call.
  • Not a replacement for design review with humans. The audit table is a floor, not a ceiling.
  • Not for AppKit, Catalyst, or visionOS — pure SwiftUI on iOS 17+ only. For iPad-specific patterns (Sidebar, three-column), follow the same anchors but defer column layout to user request.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Ui Ios faz?

Gera interfaces SwiftUI para iOS 17+ (iPhone e iPad) sem conteúdo genérico. Use sempre que o usuário pedir para criar, projetar, estruturar, reformular ou aprimorar uma tela SwiftUI, View, sheet, NavigationStack, tab ou qualquer interface iOS. Abrange novos projetos mobile — não substitui nenhuma habilidade existente. São duas fases — primeiro os tokens (com etapa de aprovação) e depois a interface —, ambas condicionadas a uma lista de verificação de autoauditoria, que o modelo DEVE executar antes de afirmar que concluiu.

Por que usar Ui Ios no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Ui Ios é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Ui Ios no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/rshzrh/ui-design-skills/tree/main/skills/ui-ios. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Ui Ios?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Ui Ios?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Ui Ios com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Ui Ios é gratuita?

Sim. A habilidade é publicada no GitHub por rshzrh sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇