datasource
CommunityScaffold DataSources for modular Swift apps.
Authorvjr2005
Version1.0.0
Installs0
System Documentation
What problem does it solve?
DataSource scaffolding standardizes and accelerates the creation of data access components (RemoteDataSource, MemoryDataSource, LocalDataSource) and their DTOs, aligning with the Repository pattern to reduce boilerplate and improve testability.
Core Features & Use Cases
- RemoteDataSource: REST API consumption via HTTPClient contracts with async throws.
- MemoryDataSource: In-memory caching using actors for thread safety.
- LocalDataSource: UserDefaults-backed persistence for small local state.
- Use Case: Add a new feature with API integration and a cached layer.
Quick Start
Create a RemoteDataSource for a new API resource along with its MemoryDataSource and DTO to complete the data layer scaffold.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: datasource Download link: https://github.com/vjr2005/Challenge/archive/main.zip#datasource Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.