rxjs-like-a-pro
Installation
SKILL.md
RxJS Like a Pro
This skill helps you write RxJS code that is idiomatic, composable, and free of common pitfalls. The core
philosophy: keep logic in the observable chain. Every time you reach for .subscribe(), ask whether the
work could instead be expressed as a transformation inside .pipe().
Reference files
For detailed examples and patterns, read the relevant reference file:
references/loading-state-patterns.md— Deriving loading/error state in the chain, thewithLoadingStatecustom operator, and usingscanto preserve previous results across loading states. Read when working with async data fetching that needs loading indicators.references/massive-observable.md— How to refactor bloatednew Observable()constructors into small focused pieces. Read when you see anew Observablecallback longer than ~10 lines.references/inner-observable-chains.md— Building rich inner observable sequences with timing, delays, and animation phases. Read when composing multi-step async sequences or replacingsetTimeoutpatterns.references/custom-operators.md— How to write inline and extracted custom operators withOperatorFunction. Read when extracting reusable stream logic.