resource-api
CommunityFaster Angular data with promise-based resources
Authorsatish-krishna
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The Skill provides a promise-based data layer for Angular that eliminates RxJS and centralizes async data fetching with resource(), enabling automatic refetch, loading and error state handling, and easy state management.
Core Features & Use Cases
- Promise-based resource() API for automatic data loading and a single source of truth.
- Support for loading, value, and error states with safe guards (isLoading, hasValue, hasError).
- Reactive parameters via a params function and signals to trigger refetch.
- Tools for testing with HttpClientTestingModule and mock data scenarios.
Quick Start
Create an Angular service that uses resource() to fetch data with a default value and exposes a reload() to refresh.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: resource-api Download link: https://github.com/satish-krishna/sigil/archive/main.zip#resource-api 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.