scaffolding

scaffolding is a skill for Claude Code, Codex from troyjthomas/ios-agent-skills. It costs 68 tokens per session (1,100 once invoked), scanned A, original, MIT.

A first-pass app-building guide that creates every screen and navigation path with placeholder content.

In plain words
What is it for?
Use it after creating an Xcode project to set up SwiftUI views, tabs, navigation stacks, folders, and tappable screen flows.
Why use it?
It gives a new app a complete structure to test before real data, styling, and storage are added.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code.

Good fit Use it after creating an Xcode project to set up SwiftUI views, tabs, navigation stacks, folders, and tappable screen flows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/troyjthomas/ios-agent-skills/scaffolding
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add troyjthomas/ios-agent-skills --skill scaffolding
Clone the repo
git clone --depth 1 https://github.com/troyjthomas/ios-agent-skills

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 scaffolding

README.md
[![agentmods](https://agentmods.dev/badge/skills/troyjthomas/ios-agent-skills/scaffolding/github.svg)](https://agentmods.dev/skills/troyjthomas/ios-agent-skills/scaffolding)
Your own site
<a href="https://agentmods.dev/skills/troyjthomas/ios-agent-skills/scaffolding"><img src="https://agentmods.dev/badge/skills/troyjthomas/ios-agent-skills/scaffolding/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 scaffolding

Your own site · 80×15
<a href="https://agentmods.dev/skills/troyjthomas/ios-agent-skills/scaffolding"><img src="https://agentmods.dev/badge/skills/troyjthomas/ios-agent-skills/scaffolding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,100 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.00068 $0.01100
Opus 5 $0.00034 $0.00550
Sonnet 5 $0.00014 $0.00220
Haiku 4.5 $0.00007 $0.00110

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

Security

Grade A, and why

scaffolding 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 10d 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.

skills/scaffolding/SKILL.md · 123 lines

How it starts

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

Scaffolding

Build the entire app structure in one pass. Every screen, every navigation path, placeholder content everywhere. No detail, no styling, no data. Just the bones.

When to Use

  • You just created your Xcode project and dropped in CLAUDE.md + APP_SPEC.md
  • You're starting a fresh rebuild of an existing app
  • You have your spec and are ready for the first Claude Code session

Prerequisites

  • Xcode project created (File > New > App, SwiftUI, SwiftData)
  • CLAUDE.md in project root
  • APP_SPEC.md in project root
  • Git initialized, initial commit made
  • Claude Code running in the project directory

The Prompt

One prompt. One session. One output.

Read CLAUDE.md and APP_SPEC.md. Build the full app skeleton.

Every screen from the spec should exist as a SwiftUI view with
placeholder content. Set up the tab navigation (if applicable),
NavigationStacks, and all navigation paths between screens.

No real data. No styling. No custom components. No persistence.
Just the structure so I can tap through every screen in the simulator.

Create the file structure defined in CLAUDE.md. Each view goes
in the correct directory.

What Claude Code Should Produce

File Structure

[AppName]/
├── [AppName]App.swift          (entry point with tab view or root navigation)
├── ContentView.swift           (root view with tab bar or initial navigation)
├── Models/                     (empty, populated later)
├── Components/                 (empty, populated later)
├── Views/
│   ├── Projects/
│   │   ├── ProjectsHomeView.swift
│   │   ├── ProjectDetailView.swift
│   │   └── NewProjectSheet.swift
│   ├── Explore/
│   │   ├── ExploreView.swift
│   │   └── ExploreDetailView.swift
│   └── Settings/
│       ├── SettingsView.swift
│       └── [SubSettingsViews].swift
└── Assets.xcassets/

Each View Should Contain

  • A NavigationStack wrapper (if it's a root tab view)
  • Placeholder text: "Projects Home" or "Settings will go here"
  • Navigation links/sheets wired to their destinations with placeholder triggers
  • The correct toolbar items (even if they're just Text placeholders)

Read the full file on GitHub · 123 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. 10d ago First seen · 123 lines · 68 tokens per session scan A 10bdac841efb

Subscribe to this mod's changes

scaffolding is a skill published in the GitHub repository troyjthomas/ios-agent-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 68 tokens to every session and 1,100 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-31.

Related

Other skills, from other repositories

swiftui-animation

Implement, diagnose, or review SwiftUI motion using explicit and scoped implicit animations, springs, transitions, PhaseAnimator, KeyframeAnimator, matched geometry or navigation zoom, SF Symbol effects, and custom Animation types. Use when views should animate on state changes, insertion, removal, navigation, or…

dpearson2699/swift-ios-skills · 77 tokens

swiftui-gestures

Implement, review, or improve SwiftUI gesture handling. Use when adding tap, long press, drag, magnify, or rotate gestures, composing gestures with simultaneously/sequenced/exclusively, managing transient state with @GestureState, resolving parent/child gesture conflicts with highPriorityGesture or…

dpearson2699/swift-ios-skills · 92 tokens

focus-engine

Implements keyboard, directional, and scene-level focus behavior across SwiftUI and UIKit. Use when managing @FocusState, defaultFocus, focused values, focusable interactions, focus sections, tvOS geometric focus and Siri Remote navigation, watchOS Digital Crown input, visionOS connected-device focus versus gaze…

dpearson2699/swift-ios-skills · 98 tokens

swiftui-layout-components

Build SwiftUI layouts using stacks, grids, lists, scroll views, forms, and controls. Covers VStack/HStack/ZStack, LazyVGrid/LazyHGrid, List with sections and swipe actions, ScrollView with ScrollPosition and scroll-driven reveal surfaces, Form with validation, Toggle/Picker/Slider, .searchable, and overlay patterns.…

dpearson2699/swift-ios-skills · 101 tokens

swiftui-webkit

Embeds and controls web content in SwiftUI with WebKit for SwiftUI, including WebView, WebPage, navigation policies, JavaScript execution, observable page state, link interception, local HTML or data loading, and custom URL schemes. Use when building iOS 26+ article/detail views, help centers, in-app documentation, or…

dpearson2699/swift-ios-skills · 87 tokens

apple-design

Apple's fluid-interface craft on the web: spring damping and response, velocity handoff, momentum projection on a flick, rubber-banding at a boundary, interruptible motion the user can grab mid-flight, translucent materials and backdrop blur, letter-spacing and leading by size. Use for iOS-grade feel, sheets and drag.

ericrisco/rsc-harness · 68 tokens