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

claude-skills-collection

AGENTS.md18 starsChanged 56 days agoMITView on GitHub

This file contains shared repository guidance for any coding agent or contributor. Host-specific entry points refer here; the skill content does not depend on a particular agent. This repository is a skills collection focused on Swift and iOS development. Each skill is a self-contained directory with a SKILL.md, a user-facing README.md, and supporting examples or reference material. When adding a new skill, follow the same pattern used by existing skills:

The file

Show its rules and text

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

17 rules. About 0 are common, 8 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Keep core instructions independent of host tool names, slash commands, plugins, and machine-specific paths.

    line 27
  2. Distinctive:

    Keep skill changes scoped: update only the relevant skill folder unless a cross-cutting fix is required.

    line 28
  3. Distinctive:

    Prefer modern Swift patterns in examples (Swift Concurrency, Observation, SwiftData when appropriate).

    line 30
  4. Distinctive:

    Verify code snippets remain coherent and compile-ready when copied into a project.

    line 31
  5. Distinctive:

    Use lowercase kebab-case for new skill directory names.

    line 33
  6. 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 34
  7. Distinctive:

    When adding a new skill, follow the same pattern used by existing skills:

    line 38
  8. Very specific:

    Create skills/<skill-name>/SKILL.md with valid YAML frontmatter containing only name and description.

    line 40
  9. Very specific:

    Add skills/<skill-name>/README.md for user-facing documentation.

    line 41
  10. Very specific:

    Add practical examples under skills/<skill-name>/examples/, or use docs/ and references/ when the skill is primarily a reference package.

    line 42
  11. Very specific:

    Add skills/<skill-name>/agents/openai.yaml for optional OpenAI host UI metadata.

    line 43
  12. Very specific:

    Keep guidance concise, keep SKILL.md under 500 lines, and avoid duplicating large sections between files.

    line 44
  13. Very specific:

    Check that SKILL.md, its README.md, and supporting examples give consistent guidance.

    line 50
  14. Distinctive:

    Verify internal links and referenced files exist.

    line 51
  15. Distinctive:

    Check repository-level skill inventories whenever the set of skills changes.

    line 53
  16. Very specific:

    Run python3 -m unittest discover -s tests -p 'test_*.py', ruby scripts/validate_skills.rb, and git diff --check before handing off changes.

    line 54
  17. Distinctive:

    Keep installation code compatible with Python 3.9 or later and test path, conflict, update, and rollback behavior.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.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
AGENTS.md

AGENTS.md

This file contains shared repository guidance for any coding agent or contributor. Host-specific entry points refer here; the skill content does not depend on a particular agent.

Repository overview

This repository is a skills collection focused on Swift and iOS development. Each skill is a self-contained directory with a SKILL.md, a user-facing README.md, and supporting examples or reference material.

Skills in this repo

  • swiftui-programming-skill - SwiftUI declarative UI development
  • swift-modern-architecture-skill - Swift 6 and iOS 18+ architecture patterns
  • ios-accessibility-skill - VoiceOver, Dynamic Type, and accessibility best practices
  • swift-performance-optimization-skill - Performance profiling and optimization patterns
  • cross-platform-app-development-skill - Multi-platform Apple app strategies
  • swift-unit-testing-skill - Swift Testing and XCTest workflows
  • ios-animation-graphics-skill - SwiftUI animation and graphics techniques
  • memory-leak-diagnosis-skill - ARC, retain cycles, and memory leak diagnosis
  • swift-SpeechAnalyzer-Framework-Expert - SpeechAnalyzer and SpeechTranscriber for on-device transcription on iOS 26+ and macOS 26+
  • swift-concurrency-migration - Structured Swift 6 concurrency migration and diagnostic workflows
  • swiftdata-core-data-migrations - SwiftData and Core Data schema, store, and coexistence migrations
  • app-intents-widgets - App Intents, App Shortcuts, WidgetKit, and system-surface integration
  • iphone-duo-design - Adaptive iPhone Duo layouts, controls, continuity, scenes, camera, and readiness verification

Working conventions

  • Keep core instructions independent of host tool names, slash commands, plugins, and machine-specific paths. Put host setup in docs/agent-compatibility.md or packaging metadata. Describe file reads and validation in terms any capable agent can follow.
  • Keep skill changes scoped: update only the relevant skill folder unless a cross-cutting fix is required.
  • Preserve each skill structure: SKILL.md, README.md, and supporting content in examples/, docs/, or references/ as appropriate.
  • Prefer modern Swift patterns in examples (Swift Concurrency, Observation, SwiftData when appropriate).
  • Verify code snippets remain coherent and compile-ready when copied into a project.
  • State minimum Swift, Xcode, and Apple platform versions when guidance depends on newer APIs. Do not apply one repository-wide deployment target to every skill.
  • Use lowercase kebab-case for new skill directory names. Do not rename an existing published skill without a compatibility and migration plan.
  • When adding, removing, or renaming a skill, update the inventories or structural guidance in AGENTS.md, CLAUDE.md, CODEX.md, and README.md, plus plugin metadata when its description or version is affected.

Adding or updating skills

When adding a new skill, follow the same pattern used by existing skills:

  1. Create skills/<skill-name>/SKILL.md with valid YAML frontmatter containing only name and description. Put positive triggers, exclusions, and scope boundaries in description because hosts use it for implicit activation.
  2. Add skills/<skill-name>/README.md for user-facing documentation.
  3. Add practical examples under skills/<skill-name>/examples/, or use docs/ and references/ when the skill is primarily a reference package.
  4. Add skills/<skill-name>/agents/openai.yaml for optional OpenAI host UI metadata; its default prompt should name $<skill-name>.
  5. Keep guidance concise, keep SKILL.md under 500 lines, and avoid duplicating large sections between files.

Validation checklist

  • Confirm SKILL.md frontmatter parses and contains exactly name and description.
  • Confirm descriptions explain both when the skill should and should not activate.
  • Check that SKILL.md, its README.md, and supporting examples give consistent guidance.
  • Verify internal links and referenced files exist.
  • Review Swift snippets against the minimum versions declared by that skill; use a temporary project when compilation matters and no shared build project exists.
  • Check repository-level skill inventories whenever the set of skills changes.
  • Run python3 -m unittest discover -s tests -p 'test_*.py', ruby scripts/validate_skills.rb, and git diff --check before handing off changes. Run bash scripts/typecheck_examples.sh when Swift examples change, using the declared Apple toolchain.
  • Keep installation code compatible with Python 3.9 or later and test path, conflict, update, and rollback behavior. Preserve existing published identifiers; normalize only installed copies when a host requires strict names.

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.