Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

swift-sharing

БесплатноБез исполняемых скриптовНе проверен

A library for sharing state across your app with persistence and observation support

nonameplumот nonameplum★ 17 звёзд на GitHub20 установок в других каталогах

Об этом скилле

Sharing

Instantly share state among your app's features and external persistence layers, including user

Documentation Structure

Essentials

  • Persistence strategies (Articles/PersistenceStrategies.md): Learn about the various persistence strategies that ship with the library, as well as how to create
  • Mutating shared state (Articles/MutatingSharedState.md): Learn how to mutate shared state in a safe manner in order to prevent race conditions and data loss.
  • Observing changes to shared state (Articles/ObservingChanges.md): Learn how to observe changes to shared state in order to update your UI or react to changes.
  • Dynamic Keys (Articles/DynamicKeys.md): Learn how to dynamically change the key that powers your shared state.
  • Deriving shared state (Articles/DerivingSharedState.md): Learn how to derive shared state to sub-parts of a larger piece of shared state.
  • Reusable, type-safe keys (Articles/TypeSafeKeys.md): Learn how to define keys for your shared state that allow you to reference your data in a statically
  • Initialization rules (Articles/InitializationRules.md): Learn the various ways to initialize shared state, both when using a persistence strategy and
  • Testing (Articles/Testing.md): Learn how to test features that use shared state, even when persistence strategies are involved.
  • Gotchas of @Shared (Articles/Gotchas.md): Learn about a few gotchas to be aware of when using shared state in your application.

Persistence

Custom persistence

Migration guides

Usage Notes

  • Documentation is organized progressively from getting started to advanced topics
  • Start with the Introduction or Getting Started section
  • Consult specific guides for detailed information

License & Attribution

This skill contains content converted from DocC documentation format.

Установить swift-sharing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

Articles/DerivingSharedState.mdArticles/DynamicKeys.mdArticles/Gotchas.mdArticles/InitializationRules.mdArticles/MigrationGuides.mdArticles/MigrationGuides/MigratingTo1.0.mdArticles/MigrationGuides/MigratingTo2.0.mdArticles/MutatingSharedState.mdArticles/ObservingChanges.mdArticles/PersistenceStrategies.mdArticles/Testing.mdArticles/TypeSafeKeys.mdExtensions/AppStorageKey.mdExtensions/FileStorageKey.mdExtensions/InMemoryKey.mdExtensions/Shared.mdExtensions/SharedKey.mdExtensions/SharedReader.mdExtensions/SharedReaderDeprecations.mdExtensions/SharedReaderKey.md

FAQ

Что делает скилл swift-sharing?

A library for sharing state across your app with persistence and observation support

Как установить скилл swift-sharing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл swift-sharing запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить swift-sharing с