project-structure

project-structure is a skill for Claude Code from jpavley/meta-loop-ios. It costs 18 tokens per session (1,824 once invoked), scanned A, original, MIT.

A project-organization guide for iOS apps built with SwiftUI, Apple’s framework for creating app interfaces. It explains where source files, tests, notes, AI instructions, and Xcode project files belong.

In plain words
What is it for?
Use it when setting up, reviewing, or maintaining the directory structure of a SwiftUI app and its tests.
Why use it?
It prevents files and project instructions from being scattered or missing from the Xcode project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the meta-loop-ios plugin — 4 skills, 5 commands shipped together

Good fit Use it when setting up, reviewing, or maintaining the directory structure of a SwiftUI app and its tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jpavley/meta-loop-ios/project-structure
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 jpavley/meta-loop-ios --skill project-structure
Clone the repo
git clone --depth 1 https://github.com/jpavley/meta-loop-ios

Made for: Claude Code.

Or install meta-loop-ios, the plugin that ships this one along with the rest of its 4 skills, 5 commands.

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 project-structure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpavley/meta-loop-ios/project-structure"><img src="https://agentmods.dev/badge/skills/jpavley/meta-loop-ios/project-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,824 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.00018 $0.01824
Opus 5.5 $0.00007 $0.00730
Sonnet 5.5 $0.00004 $0.00365
Haiku 4.5 $0.00002 $0.00182

Measured 1mo ago against content hash 0b686ff5b8c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-structure 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 1mo 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/project-structure/SKILL.md · 147 lines

How it starts

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

Project Structure

How meta-loop artifacts fit into an iOS/SwiftUI Xcode project. Covers directory layout, who creates each file, and what belongs in the Xcode project navigator.

Directory Layout

MyApp/                              # Git repo root
├── MyApp.xcodeproj                 # Xcode project (you create)
├── MyApp/                          # Swift source (you + AI create)
│   ├── MyAppApp.swift
│   ├── ContentView.swift
│   └── Views/
│       └── FeatureView.swift
├── MyAppTests/                     # Test source (you + AI create)
├── CLAUDE.md                       # AI agent file (ml-setup creates, you maintain)
├── PROJECT-NOTES.md                # Session notes (ml-setup creates, you maintain)
├── PROJECT-TODO.md                 # Task tracking (ml-setup creates, you maintain)
├── README.md                       # Project readme (ml-setup creates, you maintain)
├── .claude/                        # Claude Code config (install.sh creates)
│   ├── commands/                   # Slash commands
│   │   ├── ml-setup.md
│   │   ├── ml-wireframe.md
│   │   ├── ml-spec.md
│   │   ├── ml-impl.md
│   │   └── ml-retain.md
│   ├── skills/                     # Reference docs
│   │   ├── meta-loop-methodology/
│   │   │   ├── SKILL.md
│   │   │   └── meta-loop-diagram.png
│   │   ├── wireframe-design/
│   │   │   └── SKILL.md
│   │   ├── view-specifications/
│   │   │   └── SKILL.md
│   │   └── project-structure/
│   │       └── SKILL.md
│   └── settings.json               # MCP servers, permissions (you create)
├── specs/                          # Specifications (ml-setup creates dir)
│   └── views/                      # View specs
│       └── feature-name/           # One directory per feature
│           ├── *-wireframe.png     # You create (drawing tool, one or more)
│           ├── about-this-view.md  # You create (optional context)
│           ├── spec.md             # ml-spec generates
│           └── notes.md            # ml-spec generates, you + AI update
├── supporting-docs/                # App-level context (ml-setup creates dir)
│   └── about-this-app.md          # You create
└── doc/                            # Retained learnings (ml-retain creates dir)
    ├── SHARED-PATTERNS.md          # ml-retain generates (optional)
    └── DECISIONS.md                # ml-retain generates (optional)

Read the full file on GitHub · 147 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. 1mo ago First seen · 147 lines · 18 tokens per session scan A 0b686ff5b8c4

Subscribe to this mod's changes

project-structure is a skill published in the GitHub repository jpavley/meta-loop-ios (3 stars, last pushed 8mo ago), licensed MIT. It adds 18 tokens to every session and 1,824 once invoked, about $0.0001 per session on Opus 5.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

ax-concurrency

Swift 6 concurrency, async/await, @MainActor, actors, Sendable, @concurrent, assumeIsolated, Mutex, Atomic, ownership modifiers, progressive concurrency adoption.

Kasempiternal/axiom-v2 · 40 tokens

ax-networking-ref

Network.framework API reference -- NetworkConnection (iOS 26+), NWConnection (iOS 12+), TLV, Coder, Listener, Browser, Wi-Fi Aware, mobility, security, performance APIs.

Kasempiternal/axiom-v2 · 49 tokens

ax-concurrency-ref

Instruments profiling for async/await, actor contention analysis, thread pool exhaustion detection, Swift Concurrency template workflows, priority inversion diagnosis.

Kasempiternal/axiom-v2 · 31 tokens

ax-swiftui

SwiftUI views, layout, navigation, animations, gestures, architecture, state management, debugging, performance, iOS 26 Liquid Glass.

Kasempiternal/axiom-v2 · 33 tokens

swift-expert

Expert-level Swift development for iOS, macOS with SwiftUI, Combine, and modern Swift 5.9+. Use when the user mentions iOS, macOS, SwiftUI, Combine, async await, or Apple platforms, or when the task involves Modern Swift Features, Basics and Optionals, Functions and Closures, or Structs and Classes.

personamanagmentlayer/pcl · 76 tokens

ios-expert

Expert in iOS development with SwiftUI, UIKit, Combine, and Apple ecosystem integration. Use when the user mentions mobile, Swift, SwiftUI, UIKit, Apple platforms, or Xcode, or when the task involves iOS App Architecture, SwiftUI Fundamentals, UIKit Essentials, or Combine Framework.

personamanagmentlayer/pcl · 64 tokens