본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)48k · #4646

fp-react

하는 일

이 도구는 React로 웹 애플리케이션 코드를 작성하도록 돕습니다. 존재하지 않을 수 있는 데이터, 실패할 수 있는 작업, 로딩 중인 데이터를 다루는 방법에 집중하며, 함수형 프로그래밍 방식을 사용해 코드를 더 체계적이고 신뢰할 수 있게 만듭니다.

사용하는 경우

  • ✓값이 없을 수도 있을 때.
  • ✓작업이 실패할 수 있을 때.
  • ✓로딩, 오류, 성공 상태를 보여 줘야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fp-react/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/fp-react/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“React와 함수형 프로그래밍을 사용해 여러 검증이 필요한 양식을 어떻게 처리하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

`Option`과 `Either` 같은 함수형 프로그래밍 패턴을 사용해 코드의 불확실성을 관리합니다. 이는 흔한 오류를 막고 데이터 흐름을 더 예측 가능하게 만드는 데 도움이 됩니다.

기술 내용 (원본 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 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.
자주 묻는 질문

`Option<T>`란 무엇인가요?

값이 있을 수도, 없을 수도 있다는 것을 나타내는 방법입니다. 없는 값을 쓰려다 생기는 오류를 막아 줍니다.

`Either<E, A>`란 무엇인가요?

오류(E)일 수도 있고 성공(A)일 수도 있는 결과를 나타냅니다. 실패할 수 있는 작업에 유용합니다.

`RemoteData<E, A>`란 무엇인가요?

비동기 작업의 여러 상태, 즉 로딩 중, 오류 발생, 성공을 관리하도록 돕습니다. 사용자 인터페이스를 만들기 쉽게 해 줍니다.

상세 정보

작성자의 원본 설명

Practical patterns for using fp-ts with React - hooks, state, forms, data fetching. Works with React 18/19, Next.js 14/15.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4646
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬