Agent Skills: Assertion Helper

TypeScript assertion function for runtime type narrowing with descriptive error messages. Based on tiny-invariant.

UncategorizedID: andrelandgraf/fullstackrecipes/assert

Install this agent skill to your local

pnpm dlx add-skill https://github.com/andrelandgraf/fullstackrecipes/tree/HEAD/.agents/skills/assert

Skill Files

Browse the full folder contents for assert.

Download Skill

Loading file tree…

.agents/skills/assert/SKILL.md

Skill Metadata

Name
assert
Description
TypeScript assertion function for runtime type narrowing with descriptive error messages. Based on tiny-invariant.

Assertion Helper

To set up Assertion Helper, refer to the fullstackrecipes MCP server resource:

Resource URI: recipe://fullstackrecipes.com/assert

If the MCP server is not configured, fetch the recipe directly:

curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/assert