SKILL8.0K installs18.8K

Directives

Pre-built custom directives for json-render — formatting, math, string manipulation, and i18n. Use when working with @json-render/directives, defining custom directives with defineDirective, or adding $format, $math, $concat, $count, $truncate, $pluralize, $join, or $t to specs.

Type
Skill
Author
vercel-labs
Category
Frontend
GitHub stars
18.8K
Installs
8.0K
Last updated
November 2, 2026

Install

npx skills add https://github.com/vercel-labs/json-render --skill directives

Use cases


Frequently Asked Questions

Which built-in directives does this skill cover?

It covers $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t.

Can I write my own directives?

Yes, the skill covers defining custom directives with defineDirective.

Which package do these directives come from?

They ship as part of @json-render/directives.


About this skill

Ships pre-built custom directives for json-render covering formatting, math, string manipulation, and i18n. It documents built-ins like $format, $math, $concat, $count, $truncate, $pluralize, $join, and $t, and how to define your own with defineDirective. Use it when building or extending a json-render spec.

Summary written with AI assistance from the project's public description.


Categories


More from vercel-labs


Similar Skills