Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
swiftdata - Skill - OpenSmartRoute
Skillv1.0.0
swiftdata
SwiftData skills — class inheritance patterns for hierarchical models, type-based querying, polymorphic relationships, and inheritance-vs-enum decisions.
Imported from rshankras/claude-code-apple-skills (skills/swiftdata/SKILL.md). Install upstream with npx skills add rshankras/claude-code-apple-skills --skill swiftdata. Copyright stays with the author.
Paths are relative to THIS file's directory — skills run with cwd set to the
user's project, so resolve each path from this SKILL.md's own location.
Skill
Read
Covers
inheritance
inheritance/SKILL.md
Class inheritance, polymorphic relationships, type-based querying, inheritance-vs-enum
How to Route
Read inheritance/SKILL.md (relative to this file) plus any reference files it lists.
Apply the guidance to the user's code. For broader macOS SwiftData architecture, see also ../macos/swiftdata-architecture/SKILL.md.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install swiftdata and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
{
"ocm": "1",
"id": "rshankras-claude-code-apple-skills-swiftdata",
"kind": "skill",
"name": "swiftdata",
"description": "SwiftData skills — class inheritance patterns for hierarchical models, type-based querying, polymorphic relationships, and inheritance-vs-enum decisions. Use when designing SwiftData model hierarchies.",
"publisher": "rshankras",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"SwiftData skills — class inheritance patterns for hierarchical models, type-based querying, polymorphic relationships, and inheritance-vs-enum decisions. Use when designing SwiftData model hierarchies."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/rshankras/claude-code-apple-skills",
"path": "skills/swiftdata/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/rshankras/claude-code-apple-skills/blob/HEAD/skills/swiftdata/SKILL.md",
"key": "rshankras/claude-code-apple-skills/skills/swiftdata/SKILL.md"
},
"allowed_tools": [
"Read",
"Glob",
"Grep"
]
},
"instructions": "# SwiftData Skills\n\nSwiftData modeling patterns beyond the basics.\n\n## When This Skill Activates\n\nUse this skill when the user:\n- Designs **hierarchical SwiftData models** (class inheritance)\n- Needs **type-based or polymorphic queries**\n- Weighs **inheritance vs enum** for model variants\n\n## Available Skills\n\nPaths are relative to THIS file's directory — skills run with cwd set to the\nuser's project, so resolve each path from this SKILL.md's own location.\n\n| Skill | Read | Covers |\n|-------|------|--------|\n| inheritance | `inheritance/SKILL.md` | Class inheritance, polymorphic relationships, type-based querying, inheritance-vs-enum |\n\n## How to Route\n\n1. Read `inheritance/SKILL.md` (relative to this file) plus any reference files it lists.\n2. Apply the guidance to the user's code. For broader macOS SwiftData architecture, see also `../macos/swiftdata-architecture/SKILL.md`.",
"cost": {
"context_tokens": 222
}
}
Fetch it by URL: GET /api/v1/registry/rshankras-claude-code-apple-skills-swiftdata/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.