fp-ts-react
यह क्या करती है
यह टूल React से वेब एप्लिकेशन बनाने में मदद करता है, वह भी ज़्यादा व्यवस्थित और सुरक्षित प्रोग्रामिंग तरीके से, खासकर जानकारी और डेटा को संभालने में। इसमें state, forms और डेटा लोड करने के लिए काम के patterns मिलते हैं।
कब इस्तेमाल करें
- ✓React ऐप बनाते समय और डेटा संभालने में ज़्यादा सुरक्षा चाहिए हो तब।
- ✓डेटा लाते समय अलग-अलग loading, error या success स्थिति दिखानी हो तब।
- ✓ऐसे forms बनाने हों जिनमें एक साथ कई जानकारी की जाँच करनी हो।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fp-ts-react/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपनी React ऐप में state मैनेज करने के लिए functional programming patterns कैसे इस्तेमाल करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह `fp-ts` जैसी libraries इस्तेमाल करता है, जो ऐसे data structures और functions बनाती हैं जो code को व्यवस्थित रखने में मदद करते हैं। इससे पहले से अंदाज़ा लगाना आसान होता है कि आगे क्या होगा, और गलतियाँ कम होती हैं, खासकर उस डेटा के साथ जो फेल हो सकता है या मौजूद नहीं हो सकता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Functional Programming in React
Practical patterns for React apps. No jargon, just code that works.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use This Skill
- When building React apps with fp-ts for type-safe state management
- When handling loading/error/success states in data fetching
- When implementing form validation with error accumulation
- When using React 18/19 or Next.js 14/15 with functional patterns
When to Use What
| Situation | Use |
|---|---|
| Value might not exist | Option<T> |
| Operation might fail (sync) | Either<E, A> |
| Async operation might fail | TaskEither<E, A> |
| Need loading/error/success UI | RemoteData<E, A> |
| Form with multiple validations | Either with validation applicative |
| Dependency injection | Context + ReaderTaskEither |
| Prevent re-renders with fp-ts | useMemo or fp-ts-react-stable-hooks |
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल
`fp-ts` क्या है?
यह एक library है जो JavaScript में functional programming की अवधारणाएँ लाती है, ताकि सुरक्षित और व्यवस्थित code लिखा जा सके।
'type-safe state management' का क्या मतलब है?
इसका मतलब है कि ऐप की जानकारी इस तरह मैनेज की जाए कि system हर जानकारी का type जानता हो, जिससे एक type की जगह दूसरा type इस्तेमाल होने की गलती से बचा जा सके।
React और Next.js के कौन से versions साथ चलते हैं?
यह React 18/19 और Next.js 14/15 के साथ काम करता है।
जानकारी
लेखक का मूल विवरण
Practical patterns for using fp-ts with React - hooks, state, forms, data fetching. Use when building React apps with functional programming patterns. Works with React 18/19, Next.js 14/15.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4651
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।