next-safe-ac tion · Agent Skills
출처를 확인한 실질적인 문서가 있는 Skill 4개입니다. 카드를 열어 원문, 패키지 구성과 설치 방법을 확인하세요.
safe-action-middleware
Use when implementing middleware for next-safe-action -- authentication, authorization, logging, rate limiting, error interception, context extension, or creating standalone reusable middleware with createMiddleware() or createValidatedMiddleware(). Covers both use() (pre-validation) and useValidated() (post-validation) middleware.
- 1시간 설치 수
- 2
- GitHub Stars
- 0
- 업데이트
- 7월 18일
safe-action-testing
Use when writing tests for next-safe-action actions or hooks -- Vitest patterns for testing server actions directly, middleware behavior, hooks with React Testing Library, validation errors, and server errors
- 1시간 설치 수
- 2
- GitHub Stars
- 0
- 업데이트
- 7월 18일
safe-action-validation-errors
Use when working with validation errors -- returnValidationErrors, formatted vs flattened shapes, custom validation error shapes, throwValidationErrors, or displaying field-level and form-level errors
- 1시간 설치 수
- 2
- GitHub Stars
- 0
- 업데이트
- 7월 18일
safe-action-hooks
Use when executing next-safe-action actions from React client components or building optimistic UI -- useAction, useOptimisticAction, useStateAction, useOptimisticStateAction, status/callbacks (onSuccess/onError/onSettled), execute vs executeAsync, formAction, reset, and queued or serialized mutations such as drag-to-reorder, Kanban boards, overlapping saves, accumulating changes, and shared pending-change lists
- 1시간 설치 수
- 1
- GitHub Stars
- 0
- 업데이트
- 9월 3일
