← 返回 Skills 市场
soponcd

Swiftdata Patterns

作者 soponcd · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
142
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install swiftdata-patterns
功能描述
SwiftData best practices, batch queries, N+1 avoidance, and model relationships for macOS/iOS apps
安全使用建议
This is a documentation-only skill (code examples) for SwiftData patterns and appears internally consistent. It's safe to install from a permissions/credential perspective. As always: review code snippets before copying them into production (placeholders like group.your.app.id must be replaced), and be cautious if you later enable any agent feature that can execute code or access your device file system—those runtime permissions are outside this skill and could change risk.
功能分析
Type: OpenClaw Skill Name: swiftdata-patterns Version: 1.0.0 The skill bundle provides legitimate SwiftData design patterns, performance optimizations, and testing strategies for iOS/macOS development. All code snippets and instructions in SKILL.md are aligned with the stated purpose and follow standard Apple development practices without any indicators of malicious intent or security risks.
能力评估
Purpose & Capability
The name and description (SwiftData best practices, batch queries, N+1 avoidance, model relationships) match the provided SKILL.md content. There are no unrelated required binaries, env vars, or install steps.
Instruction Scope
SKILL.md contains only code examples and guidance for SwiftData usage within iOS/macOS apps (Model definitions, FetchDescriptor patterns, in-memory testing, App Group file-store examples). It does not instruct the agent to read host system files, export secrets, call external endpoints, or perform actions outside of showing code snippets and recommendations.
Install Mechanism
No install spec or code files are included; this is instruction-only, so nothing is downloaded or written to disk by the skill itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. Example code references app-specific paths (App Group ID placeholder) which are normal for app development and not agent-level secrets.
Persistence & Privilege
always is false and the skill does not request persistent system presence or modify other skills or agent-wide settings. Autonomous invocation is allowed by default (not a red flag here) and is proportional for an assistant skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install swiftdata-patterns
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /swiftdata-patterns 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of swiftdata-patterns with best practices and advanced patterns for SwiftData on macOS/iOS: - Covers model design, query optimization, and relationship handling. - Provides batch fetching and N+1 query avoidance techniques. - Includes service layer and in-memory test patterns. - Lists configuration practices for app group and test environments. - Documents common pitfalls, solutions, and performance patterns. - Offers code examples for testing and practical usage scenarios.
元数据
Slug swiftdata-patterns
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Swiftdata Patterns 是什么?

SwiftData best practices, batch queries, N+1 avoidance, and model relationships for macOS/iOS apps. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 142 次。

如何安装 Swiftdata Patterns?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install swiftdata-patterns」即可一键安装,无需额外配置。

Swiftdata Patterns 是免费的吗?

是的,Swiftdata Patterns 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Swiftdata Patterns 支持哪些平台?

Swiftdata Patterns 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Swiftdata Patterns?

由 soponcd(@soponcd)开发并维护,当前版本 v1.0.0。

💬 留言讨论