/markdoc:create-markdoc-tagfrom markdoc
Creates or updates custom Markdoc tags with attributes, children, transforms, and components. Useful for adding callouts, tabs, or other content elements.
Ships in markdoc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Find the application's tag registrations, renderer, and installed Markdoc version. Reuse a suitable existing tag when possible. Follow its schema module and component conventions, including those supplied by a framework adapter.
Fetch the hosted tag, attribute, and rendering docs for the schema and component examples needed by the task. Consult nodes or functions when adding an override or custom function. Check documented APIs against the installed package version.
render: 'Callout' requires a Callout entry in the
components map, even when the source uses {% callout %}.render: false for attributes that should remain document data.children contains AST node types such as paragraph, list, and tag,
rather than custom tag names or component names.node.transformAttributes(config) and node.transformChildren(config)
to retain declared attributes and transformed children. Return a renderable
value such as Markdoc.Tag and keep the input AST unchanged.Validate and render a valid use with the real application config. Check an invalid attribute or child shape and confirm the expected diagnostic. Exercise defaults and any custom transform, then run the application's relevant checks. Include its build when adding a component or changing schema loading.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/setup-markdocInstall or integrate @markdoc/markdoc into an application, including parsing, validation, transformation, and HTML or React rendering./write-markdocWrite or edit Markdoc documents using an application's tags, variables, conditionals, and partials. Use for content authored in Markdoc, not generic Markdown editing.npx claudepluginhub markdoc/markdoc --plugin markdocOther plugins' skills for the same job