Skip to main content

api-patterns

Connect Query patterns for API calls. Use when working with mutations, queries, or data fetching.

소스 정보

저장소
redpanda-data/console
최근 소스 활동
2026년 2월 17일 19:13
감지된 SKILL.md 언어
영어
스타
4,336
포크
431

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
5 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
api-patterns
description
Connect Query patterns for API calls. Use when working with mutations, queries, or data fetching.
# API Patterns Make API calls with Connect Query and handle responses properly. ## Activation Conditions - Making API calls - Using Connect Query hooks - Cache invalidation - Mutations and optimistic updates - Toast notifications for errors ## Quick Reference | Action | Rule | |--------|------| | Fetch data | `use-connect-query.md` | | After mutation | `api-invalidate-cache.md` | | Handle errors | `api-toast-errors.md` (use `formatToastErrorMessage` in onError) | | Protobuf files | `protobuf-no-edit.md` | ## Key Locations | Location | Purpose | |----------|---------| | `/src/react-query/` | Connect Query hooks | | `/src/protogen/` | Generated protos (DO NOT EDIT) | Regenerate protos: `task proto:generate` (from repo root) ## Rules See `rules/` directory for detailed guidance on queries, mutations, cache invalidation, and error handling.
GitHub에서 보기