본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #5280

native-data-fetching

하는 일

이 도구는 앱을 인터넷에 연결해 정보를 가져오거나 보내도록 도와줍니다. 기본 요청 방법부터 네트워크 문제 처리, 오프라인 사용을 위한 데이터 저장까지 다룹니다.

사용하는 경우

  • ✓웹사이트나 서비스에서 데이터를 가져와야 할 때.
  • ✓인터넷 연결이 없어도 앱이 작동해야 하는 경우.
  • ✓데이터가 제대로 불러와지지 않는 문제를 해결해야 할 때.

스킬 링크

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

AI에게 요청하는 예시

“제 앱에서 API로부터 데이터를 가져오려면 어떻게 해야 하나요?”

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

작동 방식

데이터를 가져오는 가장 좋은 방법, 인기 있는 라이브러리 사용법, 다양한 네트워크 상황에서 앱이 잘 작동하도록 설정하는 방법을 안내합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Expo Networking

You MUST use this skill for ANY networking work including API requests, data fetching, caching, or network debugging.

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

Use this skill when:

  • Implementing API requests
  • Setting up data fetching (React Query, SWR)
  • Using Expo Router data loaders (useLoaderData, web SDK 55+)
  • Debugging network failures
  • Implementing caching strategies
  • Handling offline scenarios
  • Authentication/token management
  • Configuring API URLs and environment variables

Example Invocations

User: "How do I make API calls in React Native?" -> Use fetch, wrap with error handling

User: "Should I use React Query or SWR?" -> React Query for complex apps, SWR for simpler needs

User: "My app needs to work offline" -> Use NetInfo for status, React Query persistence for caching

User: "How do I handle authentication tokens?" -> Store in expo-secure-store, implement refresh flow

User: "API calls are slow" -> Check caching strategy, use React Query staleTime User: "How do I configure different API URLs for dev and prod?" -> Use EXPOPUBLIC env vars with .env.development and .env.production files User: "Where should I put my API key?" -> Client-safe keys: EXPOPUBLIC in .env. Secret keys: non-prefixed env vars in API routes only

User: "How do I load data for a page in Expo Router?" -> See references/expo-router-loaders.md for route-level loaders (web, SDK 55+). For native, use React Query or fetch.

Limitations

  • Use this skill only when the task clearly matches its upstream product or API scope.
  • Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.
  • Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
자주 묻는 질문

‘API 요청’이란 무엇인가요?

앱이 인터넷의 다른 서비스에 정보를 가져오거나 보내 달라고 하는 요청과 같습니다.

네트워크 오류를 처리하는 것이 왜 중요한가요?

연결이 실패해도 앱이 멈추거나 혼란스러운 메시지를 보이지 않도록 해 주므로, 사용자가 더 나은 경험을 할 수 있습니다.

‘캐싱’이란 무엇인가요?

이미 가져온 정보를 잠시 저장해 두어, 다음에 인터넷에서 다시 가져오지 않고도 앱이 더 빠르게 접근할 수 있도록 하는 것입니다.

상세 정보

작성자의 원본 설명

Use when implementing or debugging ANY network request, API call, or data fetching. Covers fetch API, React Query, SWR, error handling, caching, offline support, and Expo Router data loaders (`useLoaderData`).

repo: sickn33/agentic-awesome-skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬