author-widget
Generates a profile-bits widget on an existing pack: option schema, fetch that consumes a cached integration payload (no HTTP), optional source (prefer omit; name widget.tsx|.md|.mdx|.html), bits-based Takumi-safe template, formats allow-list, md.presets/md.families for md/mdx, examples, and pack-level bitsUsed unioned into the pack Plugin. Use when adding a card, languages yaml option, CSS animation gif/apng, widget.mdx without source, Tailwind tw/className stylesheets, or swapping md.families.code. NOT for authoring a shared bit (author-bit), yaml themes or named palettes (author-palette), new data sources (author-integration), new packs (author-plugin), Action runtime, renderer internals, MCP, Marketplace, flattened plugin_*_*_* inputs, or a second pack for an id already in types.ts.
- Version
- 0.1.0
- License
- MIT
- Compatibility
- Requires the profile-bits repo; OpenSpec plugin-contract, widget-contract, integration-contract, and author-plugin specs; packages/core/src/types.ts.
Pinned to revision 8b4f5d95f258, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/author-widget/SKILL.md
- skills/author-widget/assets/templates/fetch.ts.template
- skills/author-widget/assets/templates/keyframes.css.template
- skills/author-widget/assets/templates/schema.ts.template
- skills/author-widget/assets/templates/stylesheet.css.template
- skills/author-widget/assets/templates/widget.html.template
- skills/author-widget/assets/templates/widget.md.template
- skills/author-widget/assets/templates/widget.mdx.template
- skills/author-widget/assets/templates/widget.tsx.template
- skills/author-widget/evals/evals.json
- skills/author-widget/references/discover-source.md
- skills/author-widget/references/generate.md
- skills/author-widget/references/locks.md
- skills/author-widget/references/md-families.md
Every link opens the file at its source, pinned to the revision this page describes.