$npx skillfedfor your agent

swiftdata-code-review

swiftdata-code-review provides intelligent code review tailored to SwiftData model patterns, helping developers validate schema design and follow framework conventions. The skill analyzes your data models for correctness, performance considerations, and alignment with SwiftData best practices, offering actionable feedback on architecture and implementation details.

swiftdata-code-review provides intelligent code review tailored to SwiftData model patterns, analyzing your data models for correctness, performance considerations, and alignment with SwiftData best practices. The skill validates schema design, checks @model and @query decorators, examines relationship definitions and delete rules, reviews concurrency patterns with actors, and audits schema migrations and versioning to offer actionable feedback on architecture and implementation details.

AI-generated summary based on this skill's SKILL.md

74 10 Apache-2.0updated by existential-birds

Decision gist · record as of 2026-07-21

swiftdata-code-review provides intelligent code review tailored to SwiftData model patterns, analyzing your data models for correctness, performance considerations, and alignment with SwiftData best practices. The skill validates schema design, checks @model and @query decorators, examines relationship definitions and delete rules, reviews concurrency patterns with actors, and audits schema migrations and versioning to offer actionable feedback on architecture and implementation details.

manual: git clone https://github.com/existential-birds/beagle → cp -r beagle/plugins/beagle-ios/skills/swiftdata-code-review ~/.claude/skills/swiftdata-code-review
plugins/beagle-ios/skills/swiftdata-code-review/SKILL.md · version 9831c61e

Use it when

  • swiftdata-code-review reviews SwiftData models by examining @model decorator usage, property definitions.
  • Yes.

Verify before relying

Read SKILL.md below before installing (5 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

existential-birds/beagle/swiftdata-code-review · repository language: TypeScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What does swiftdata-code-review analyze in my models?

swiftdata-code-review provides intelligent code review tailored to SwiftData model patterns, analyzing your data models for correctness, performance considerations, and alignment with SwiftData best practices. The skill validates schema design, checks @model and @query decorators, examines relationship definitions and delete rules, reviews concurrency patterns with actors, and audits schema migrations and versioning to offer actionable feedback on architecture and implementation details.

How does swiftdata-code-review review SwiftData models?

swiftdata-code-review reviews SwiftData models by examining @model decorator usage, property definitions, and relationship configurations for correctness. It validates that models follow framework conventions, checks for common design pitfalls, and ensures relationships use appropriate delete rules. The skill also assesses whether your model structure supports efficient querying and proper data persistence patterns aligned with SwiftData best practices.

Can swiftdata-code-review validate SwiftData queries and predicates for performance?

Yes. swiftdata-code-review validates SwiftData queries and predicates for performance by analyzing @query definitions, predicate construction, and filtering logic. The skill identifies inefficient query patterns, checks for unnecessary data fetching, and reviews predicate complexity to help you optimize database access and reduce performance bottlenecks in your SwiftData implementation.

Does swiftdata-code-review check for concurrency issues?

Yes. swiftdata-code-review checks SwiftData concurrency and actor-based operations by reviewing how you structure model access across threads. The skill audits actor isolation, validates main-thread safety in model contexts, and identifies potential data race conditions or blocking operations that could impact app responsiveness and data consistency.

What schema migration issues can swiftdata-code-review audit?

swiftdata-code-review audits SwiftData schema migrations and versioning by reviewing @VersionedSchema usage, migration plans, and version transitions. The skill validates that your migration strategy handles data transformations correctly, checks for proper version sequencing, and ensures delete rules and relationship changes are handled safely during schema evolution.

How does swiftdata-code-review identify relationship and delete rule issues?

swiftdata-code-review identifies SwiftData relationship and delete rule issues by examining @Relationship decorators, delete rule configurations, and cascade behavior. The skill validates that relationships are properly defined with appropriate delete rules (.cascade, .deny, .nullify), checks for orphaned data risks, and ensures relationship decorators align with your data model's integrity requirements.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

SwiftData Code Review

Quick Reference

Issue Type Reference
@Model, @Attribute, @Relationship, delete rules references/model-design.md
@Query, #Predicate, FetchDescriptor, #Index references/queries.md
@ModelActor, ModelContext, background operations references/concurrency.md
VersionedSchema, MigrationStage, lightweight/custom references/migrations.md

Hard gates (before reporting findings)

Run in order; do not assert an issue until the gate for that issue passes.

  1. Scope — pass when: You have the target .swift path(s) and confirmed SwiftData surface in scope (e.g. import SwiftData, @Model, @Query, @ModelActor, VersionedSchema, or migration types). If none apply, stop or narrow scope with one sentence.
  2. Reference — pass when: For each checklist area you

(truncated - see the full file via the links below)

File tree — 5 files
plugins/beagle-ios/skills/swiftdata-code-review/SKILL.md
plugins/beagle-ios/skills/swiftdata-code-review/references/concurrency.md
plugins/beagle-ios/skills/swiftdata-code-review/references/migrations.md
plugins/beagle-ios/skills/swiftdata-code-review/references/model-design.md
plugins/beagle-ios/skills/swiftdata-code-review/references/queries.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Review SwiftData model design for correctness and best practices”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

swift-code-review
by existential-birds · existential-birds/beagle

This skill systematically audits Swift source files for concurrency hazards, including unsafe async/await patterns, actor reentrancy, Sendable conformance gaps, and memory leaks from retain cycles. It establishes Swift language version context upfront, reads full enclosing symbols rather than diffs alone, and applies targeted checklists for error handling, force unwraps, and closure capture semantics before reporting findings.

Apache-2.0updated Jul 2026
★ 74repo stars
Swiftdata
by dpearson2699 · dpearson2699/swift-ios-skills

Swiftdata is a skill that enables agent integration with Swiftdata services. Use this skill to connect your agent to Swiftdata and unlock data handling capabilities within your workflows.

no license declared → metadata onlyupdated Jul 2026
★ 932repo stars
axiom-audit-swiftdata
by CharlesWiltgen · CharlesWiltgen/Axiom

axiom-audit-swiftdata equips AI coding assistants with specialized knowledge to identify problematic patterns in SwiftData model definitions. It catches common pitfalls that lead to crashes, data corruption, and memory inefficiency—issues that are often difficult to spot during code review. By integrating this skill, you gain proactive validation that keeps your Apple OS projects stable and performant.

MITupdated Jul 2026
★ 1,095repo stars
go-code-review
by existential-birds · existential-birds/beagle

Go Code Review systematically audits Go source files against idiomatic patterns, error handling practices, concurrency safety, and common pitfalls. The skill applies version-aware guidance based on your project's Go baseline, covering generics, structured logging, and loop variable semantics. It follows a structured workflow that reads full context, applies targeted checklists, and verifies findings before reporting issues with severity calibration.

Apache-2.0updated Jul 2026
★ 74repo stars
swiftdata-expert-skill
by vanab · vanab/SwiftData-agent-skill

Get specialized guidance on building robust SwiftData architectures for Swift projects. This skill covers schema design, safe concurrency patterns, migration strategies, and CloudKit synchronization—all tailored for AI coding assistants working with SwiftData-first applications.

MITupdated Feb 2026
★ 12repo stars
urlsession-code-review
by existential-birds · existential-birds/beagle

This skill audits URLSession implementations across iOS and macOS projects, checking async/await adoption, proper HTTP status validation, memory lifecycle management, and secure request construction. It validates response handling, resource cleanup, session configuration, and background transfer patterns against a structured checklist. Use it when reviewing code that touches URLSession, URLRequest, URLCache, or URLError APIs.

Apache-2.0updated Jul 2026
★ 74repo stars

More skills python-code-review (Apache-2.0)

Tags
data-persistenceswift-frameworkschema-validationconcurrency-safetyorm-patternsmigration-strategyquery-optimizationrelationship-design