ttb-skill-native-swiftui-components

ttb-skill-native-swiftui-components is a skill for Claude Code, Codex from tqtuan1201/TTBaseUIKit. It costs 55 tokens per session (5,337 once invoked), scanned A, original, MIT.

A guide for building reusable user-interface components with standard SwiftUI, Apple’s framework for describing app screens in code, while following TTBaseUIKit design rules.

In plain words
What is it for?
Use it to create or update reusable SwiftUI components, apply design tokens, support localization, add chainable styling, and fit the project’s architecture.
Why use it?
It helps teams create consistent iOS 14+ components without relying on the project’s custom TTBaseSUI wrappers. It also checks requirements and missing information before code changes begin.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash ttb-skill-shared/scripts/ttb-verify.sh.

Good fit Use it to create or update reusable SwiftUI components, apply design tokens, support localization, add chainable styling, and fit the project’s architecture.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tqtuan1201/TTBaseUIKit
agentmods
npx agentmods add skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ttb-skill-native-swiftui-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components/github.svg)](https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components)
Your own site
<a href="https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ttb-skill-native-swiftui-components

Your own site · 80×15
<a href="https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,337 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.05337
Opus 5 $0.00028 $0.02669
Sonnet 5 $0.00011 $0.01067
Haiku 4.5 $0.00006 $0.00534

Measured 11d ago against content hash f3ec558b0039, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ttb-skill-native-swiftui-components scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Agents/Antigravity/ttb-skill-native-swiftui-components/SKILL.md · 452 lines

How it starts

The opening of the file, as written. The whole thing — 452 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ttb-skill-native-swiftui-components

Build reusable native SwiftUI UI components using 100% standard SwiftUI primitives with TTBaseUIKit design tokens. NO TTBaseSUI wrappers | TTBaseUIKit rules still mandatory | iOS 14+

Mandatory Preflight Execution Gate

Before this skill generates code, refactors, migrates, modifies files, creates architecture, updates UI/navigation, changes dependencies, updates workflows, or changes business logic, run the shared gate:

  • ttb-skill-shared/fragments/ttb-preflight-execution-gate.frag.md
  • ttb-skill-shared/fragments/ttb-cross-functional-analysis-gate.frag.md when component work is part of a feature update, new feature, or bug fix
  • ttb-skill-shared/templates/ttb-clarification-survey.md when confidence is below threshold

Required phase order: Requirement Analysis -> Context Validation -> Ambiguity Detection -> Missing Information Detection -> Survey / Clarification -> Confidence Evaluation -> Execution Approval.

Execution thresholds:

Confidence Action
90-100 Execute directly and state key assumptions
70-89 Execute only with documented low-risk assumptions
<70 Do not execute; ask a concise survey first

Cap confidence at 69 when target module, architecture direction, UIKit/SwiftUI choice, navigation behavior, API/business logic, localization format, state management, dependency info, or ownership is unclear. Parse English, Vietnamese, mixed-language, diacritic-free Vietnamese, and light typos before scoring.

When component work supports a feature update, new feature, or bug fix, analyze as Product Owner, Business Analyst, UX/UI Designer, Solution Architect, Senior Developer, and QA. Compare options across business value, architecture, UI/UX, performance, scalability, maintainability, security, testing, and operations; ask at least 5 value-expansion questions after analysis. If requirements are ambiguous/incomplete, ask at least 6 clarification questions before design/development.

Read the full file on GitHub · 452 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 452 lines · 55 tokens per session scan A f3ec558b0039

Subscribe to this mod's changes

ttb-skill-native-swiftui-components is a skill published in the GitHub repository tqtuan1201/TTBaseUIKit (23 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 5,337 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

swiftui-native-component-design

Use when creating, designing, reviewing, or refactoring a reusable/custom SwiftUI view or component — especially one meant for a design-system module, a shared UI package, or anywhere multiple screens will call into it. Trigger on requests like "build a custom SwiftUI button/toggle/card/rating/badge component"…

alexanderwe/swiftui-native-component-design-skill · 207 tokens

ax-design-ref

Design API reference -- HIG color/background/material system, typography (San Francisco, text styles, Dynamic Type, tracking, leading), SF Symbols complete API (rendering modes, effects, UIKit equivalents, platform matrix), Liquid Glass adoption guide (controls, navigation, windows, icons, migration), accessibility…

Kasempiternal/axiom-v2 · 64 tokens

ax-design

Apple Human Interface Guidelines and SF Symbols -- design decisions, rendering modes, symbol effects/animations, Draw animations (iOS 26), accessibility compliance, and defending HIG decisions in design reviews.

Kasempiternal/axiom-v2 · 41 tokens

swiftui-liquid-glass

Implement or review SwiftUI Liquid Glass for iOS 26+, including glass effects and containers, controls, toolbars, tab bars, morphing transitions, tinting, scroll edges, background extension, and availability fallbacks. Use when adopting the Liquid Glass visual system.

thiennc-tesoglobal/ios-skills · 60 tokens

swiftui-responsive-layout

Diagnose and implement adaptive SwiftUI layouts across iPhone and iPad window sizes, orientation, Dynamic Type, localization, safe areas, keyboard, and multitasking. Use when views clip, overlap, truncate, move off-screen, or depend on brittle fixed frames; route ordinary container selection to…

thiennc-tesoglobal/ios-skills · 76 tokens

ios-accessibility

Implement or audit accessibility for SwiftUI, UIKit, and AppKit, including VoiceOver, Dynamic Type, focus, actions, traversal, contrast, motion preferences, keyboard access, and accessibility testing. Use when accessibility behavior or compliance evidence is in scope.

thiennc-tesoglobal/ios-skills · 54 tokens