{
  "markdown": "# next-safe-action skills\n\nSkills for the [next-safe-action](https://github.com/next-safe-action/next-safe-action) library, installable via the [Skills CLI](https://github.com/vercel-labs/skills).\n\n## Installation\n\nInstall all skills:\n\n```bash\nnpx skills add next-safe-action/skills --skill '*'\n```\n\nInstall a specific skill:\n\n```bash\nnpx skills add next-safe-action/skills --skill 'safe-action-client'\n```\n\nInstall globally (available across all projects):\n\n```bash\nnpx skills add next-safe-action/skills -g\n```\n\nTarget a specific agent:\n\n```bash\nnpx skills add next-safe-action/skills --agent claude\n```\n\nList available skills:\n\n```bash\nnpx skills add next-safe-action/skills --list\n```\n\n## Available skills\n\n| Skill | Description |\n| --- | --- |\n| `safe-action-client` | Client setup, input/output validation with Standard Schema (Zod, Yup, Valibot), error handling |\n| `safe-action-forms` | Form integration with react-hook-form, native HTML forms, bind arguments, file uploads |\n| `safe-action-middleware` | Middleware, authentication, authorization, logging, rate limiting, reusable standalone middleware |\n| `safe-action-hooks` | React hooks (`useAction`, `useOptimisticAction`, `useStateAction`, `useOptimisticStateAction`), status/callbacks, optimistic UI updates, queued overlapping mutations |\n| `safe-action-tanstack-query` | TanStack Query integration via `mutationOptions()`, `ActionMutationError` handling, optimistic updates, query invalidation |\n| `safe-action-advanced` | Bind arguments, metadata schemas, framework errors, type inference utilities |\n| `safe-action-validation-errors` | Validation error handling, formatted/flattened shapes, field-level and form-level errors |\n| `safe-action-better-auth` | Better Auth adapter for typed authentication/authorization in safe actions |\n| `safe-action-testing` | Testing patterns with Vitest for server actions, middleware, hooks, and error scenarios |\n\n## Structure\n\nEach skill is a directory under `skills/` containing a `SKILL.md` file with the skill's name, description, and content.\n",
  "bytes": 2054,
  "sha": "41e110c8a7d48599a1071a142ff23116567093b1f569709b14e33d387aac25ac",
  "repo_slug": "next-safe-action/skills",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/skl_next_safe_action_skills_safe_action_midd_ee35bd4f/readme"
}