agentleFS
fal3fal3/claude-skills-collection/CLAUDE.md

claude-skills-collection

CLAUDE.md18 starsChanged 56 days agoMITView on GitHub

Read AGENTS.md for the shared repository rules before making changes. This file is the Claude Code entry point and carries the same skill inventory. This is a reusable skills collection for coding agents, focused on Swift and iOS development. It contains curated skills that provide specialized expertise across different iOS/Swift domains. Each skill is a self-contained directory with structured documentation and examples or reference material. The repository follows a consistent pattern: Each SKILL.md follows this frontmatter format: New skills use…

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read AGENTS.md for the shared repository rules before making changes.

    line 3
  2. Distinctive:

    When adding a new skill, follow these requirements:

    line 58
  3. Very specific:

    Supporting Material: Add practical examples in examples/, or use docs/ and references/ when the skill is primarily a reference package

    line 63
  4. Distinctive:

    Follow Swift naming conventions (camelCase, PascalCase for types)

    line 65
  5. Distinctive:

    Use modern Swift features (async/await when appropriate)

    line 69
  6. Very specific:

    Host Metadata: Add agents/openai.yaml with a concise display name, short description, and a default prompt that names $<skill-name>

    line 70
  7. Very specific:

    Progressive Disclosure: Keep SKILL.md under 500 lines and link directly to focused examples or references

    line 71
  8. Distinctive:

    All Swift code examples should adhere to:

    line 77
  9. Distinctive:

    Explicit platform baselines: when APIs require particular Swift, Xcode, iOS, macOS, watchOS, or tvOS versions

    line 85
  10. Distinctive:

    When skills include testing patterns:

    line 89
  11. Distinctive:

    Prefer Swift Testing for new unit and integration tests when the target/toolchain supports it

    line 90
  12. Very specific:

    Update SKILL.md and README.md with changes

    line 102
  13. Distinctive:

    Test all code examples for correctness

    line 103
  14. Very specific:

    When adding, removing, or renaming a skill, update the inventories or structural guidance in AGENTS.md, CLAUDE.md, CODEX.md, and README.md.

    line 118
  15. Distinctive:

    Keep core skill procedures usable through ordinary file reads and shell tools.

    line 122

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

Read AGENTS.md for the shared repository rules before making changes. This file is the Claude Code entry point and carries the same skill inventory.

Repository Overview

This is a reusable skills collection for coding agents, focused on Swift and iOS development. It contains curated skills that provide specialized expertise across different iOS/Swift domains. Each skill is a self-contained directory with structured documentation and examples or reference material.

Repository Structure

The repository follows a consistent pattern:

skills/<skill-name>/
├── SKILL.md               # Skill definition with frontmatter and instructions
├── README.md              # User-facing documentation
├── agents/
│   └── openai.yaml        # Optional OpenAI host UI metadata
├── examples/              # Practical code and prompts (when appropriate)
│   ├── prompts.md         # Positive and negative activation fixtures
│   └── *.swift            # Working code examples
├── docs/                  # Optional packaged documentation
└── references/            # Optional deep-dive guides

Available Skills

  1. swiftui-programming-skill - SwiftUI declarative UI development, SF Symbols, state management
  2. swift-modern-architecture-skill - Swift 6 architecture, SwiftData persistence, Observation framework, modern concurrency
  3. ios-accessibility-skill - VoiceOver, Dynamic Type, HIG compliance
  4. swift-performance-optimization-skill - Performance profiling, Instruments usage, memory efficiency
  5. cross-platform-app-development-skill - Multi-platform app strategies
  6. swift-unit-testing-skill - Swift Testing, XCTest, TDD, and test doubles
  7. ios-animation-graphics-skill - SwiftUI Canvas, Lottie animations
  8. memory-leak-diagnosis-skill - ARC, retain cycles, Instruments Leaks tool
  9. swift-SpeechAnalyzer-Framework-Expert - SpeechAnalyzer and SpeechTranscriber for on-device transcription on iOS 26+ and macOS 26+
  10. swift-concurrency-migration - Swift 6 concurrency migration and compiler-diagnostic workflows
  11. swiftdata-core-data-migrations - Safe SwiftData and Core Data schema/store migrations
  12. app-intents-widgets - App Intents, App Shortcuts, WidgetKit, and system surfaces
  13. iphone-duo-design - Adaptive iPhone Duo design, state continuity, scenes, camera, and readiness verification

Working with Skills

Skill File Structure

Each SKILL.md follows this frontmatter format:

---
name: <Skill Name>
description: <What the skill does, when to use it, and when not to use it>
---

New skills use a lowercase kebab-case name matching their directory. Preserve the published name value of an existing skill unless a compatibility plan accompanies the change. Hosts use description for implicit activation, so front-load useful trigger terms and include exclusions.

Creating New Skills

When adding a new skill, follow these requirements:

  1. Frontmatter: Include only name and a scope-rich description
  2. Best Practices Section: Focused, domain-specific best practices
  3. Guidelines Section: Additional domain-specific guidelines with bullet points
  4. Supporting Material: Add practical examples in examples/, or use docs/ and references/ when the skill is primarily a reference package
  5. Code Standards: Code examples must:
    • Follow Swift naming conventions (camelCase, PascalCase for types)
    • Include proper imports
    • Be runnable/compilable where applicable
    • Include explanatory comments where helpful
    • Use modern Swift features (async/await when appropriate)
  6. Host Metadata: Add agents/openai.yaml with a concise display name, short description, and a default prompt that names $<skill-name>
  7. Progressive Disclosure: Keep SKILL.md under 500 lines and link directly to focused examples or references

New skill directories should use lowercase kebab-case. Existing published directories should not be renamed without a compatibility and migration plan.

Code Quality Standards

All Swift code examples should adhere to:

  • Apple's Swift API Design Guidelines
  • SwiftUI best practices for declarative UI code
  • Modern concurrency patterns (async/await, actors) when applicable
  • Memory safety patterns (weak/unowned references, avoiding retain cycles)
  • Accessibility-first design (proper labels, hints, Dynamic Type support)
  • Type safety and clear error handling
  • Explicit platform baselines when APIs require particular Swift, Xcode, iOS, macOS, watchOS, or tvOS versions

Testing Examples

When skills include testing patterns:

  • Prefer Swift Testing for new unit and integration tests when the target/toolchain supports it
  • Retain XCTest for UI automation, performance tests, Objective-C tests, and legacy suites
  • Follow Arrange-Act-Assert structure
  • Include both sync and async test examples
  • Show proper mocking/dependency injection patterns
  • Demonstrate performance testing when relevant

Contributing

Reference CONTRIBUTING.md for contribution guidelines, which include:

  • Fork and pull request workflow
  • Code must follow Apple's Swift and iOS guidelines
  • Update SKILL.md and README.md with changes
  • Test all code examples for correctness
  • For new skills, include complete directory structure

Development Notes

Validation, not an app build

This repository contains documentation and example code snippets, not a runnable app. There is no shared Package.swift or Xcode project; repository scripts validate structure and type-check standalone examples against their declared SDK targets.

Documentation-Focused

The primary artifacts are .md files with embedded Swift code blocks. Code examples are illustrative and designed to be copied into real projects.

Version Management

The plugin manifests carry the collection's semantic version. Individual portable skill frontmatter intentionally contains only name and description.

Repository Synchronization

When adding, removing, or renaming a skill, update the inventories or structural guidance in AGENTS.md, CLAUDE.md, CODEX.md, and README.md. Update plugin metadata when the change affects the plugin description or release version.

Host independence

Keep core skill procedures usable through ordinary file reads and shell tools. Put host-specific installation and invocation details in the compatibility guide. Use the installer for copy or symlink setup; never merge skill trees into existing unrelated directories.

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.