The skill misrepresents its capabilities by lacking detailed explanations for
Claims to do
next-safe-action Advanced Features: | Feature | Use Case | |---|---| | [Bind arguments](./bind-arguments.md) | Pass extra args to actions via `.bind()` (e.g., resource IDs) | | [Metadata](./metadata.md) | Attach typed metadata to actions for use in middleware | | [Framework errors](./framework-errors.md) | Handle redirect, notFound, forbidden, unauthorized in actions | | [Type utilities](./type-utilities.md) | Infer types from action functions and middleware |
Actually does
This skill describes advanced usage of `next-safe-action` focusing on server-side callbacks (`onSuccess`, `onError`, `onSettled`, `onNavigation`) within action definitions. It demonstrates interacting with a database (e.g., `db.post.create`), invalidating caches, logging errors, and recording metrics. It also covers an option to re-throw server errors.
npx skills add https://github.com/next-safe-action/skillsThe skill's description and overview table claim to cover 'bind arguments', 'metadata schemas', 'framework errors', and 'type inference utilities', but the provided content only details 'Server-Level Action Callbacks' and 'throwServerError'. The other features are merely listed without explanation or examples.
Description: 'Use when working with bind arguments, metadata schemas, framework errors... type inference utilities...'. Content only provides details for 'Server-Level Action Callbacks' and 'throwServerError'.
[](https://mondoo.com/ai-agent-security/skills/github/next-safe-action/skills/safe-action-advanced)<a href="https://mondoo.com/ai-agent-security/skills/github/next-safe-action/skills/safe-action-advanced"><img src="https://mondoo.com/ai-agent-security/api/badge/github/next-safe-action/skills/safe-action-advanced.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/next-safe-action/skills/safe-action-advanced.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.