Widget Generator
Scaffolds sponsor and promotional widget plugins for the prompts.chat feed with standard or custom React rendering.
- CCM score
- 71 of 100
- skills.sh installs
- 322
- GitHub stars
- 178.8K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full widget workflow: gather configuration, create the widget file, register it, and add sponsor assets
- Includes configuration schemas for basic info, content, categorization, action buttons, sponsors, positioning, and injection logic
- Provides positioning modes (
onceandrepeat) andshouldInjectexamples keyed to feed filters such as search query, category, and item count - Designed for developers adding sponsored or custom interactive cards to the prompts.chat feed system
Install
$ npx -y skills add f/prompts.chat --skill widget-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Widget Generator Skill
This skill guides creation of widget plugins for prompts.chat. Widgets are injected into prompt feeds to display promotional content, sponsor cards, or custom interactive components.
Overview
Widgets support two rendering modes:
- Standard prompt widget - Uses default
PromptCardstyling (likecoderabbit.ts) - Custom render widget - Full custom React component (like
book.tsx)
Prerequisites
Before creating a widget, gather from the user:
| Parameter | Required | Description |
|---|---|---|
| Widget ID | ✅ | Unique identifier (kebab-case, e.g., my-sponsor) |
| Widget Name | ✅ | Display name for the plugin |
| Rendering Mode | ✅ | standard or custom |
| Sponsor Info | ❌ | Name, logo, logoDark, URL (for sponsored widgets) |
Step 1: Gather Widget Configuration
Ask the user for the following configuration options:
Basic Info
- id: string (unique, kebab-case)
- name: string (display name)
- slug: string (URL-friendly identifier)
- title: string (card title)
- description: string (card description)
Details
- Repository
- github.com/f/prompts.chat
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the widget-generator skill do?
The widget-generator skill guides an agent through creating widget plugins for the prompts.chat feed system. Widgets are injected into prompt feeds to show promotional content, sponsor cards, or custom interactive components.
How do I install the widget-generator skill?
Run npx -y skills add f/prompts.chat --skill widget-generator -y in your project to install it. Once installed, the agent can walk you through creating a standard prompt widget or a custom React render widget.
Which widget rendering modes does the skill support?
The skill supports two modes: a standard prompt widget that uses the default PromptCard styling, and a custom render widget that is a full React component. You choose the mode in the configuration step, and the skill then writes the matching widget file.
What inputs does the skill ask for when generating a widget?
The skill asks for a widget ID, a display name and a rendering mode, which are required. It also collects optional sponsor details such as name, logo and URL, along with positioning rules and an injection condition that decides when the widget appears in the feed.
Where does the widget-generator skill sit in its category?
The skill is listed in Frontend and UI Code on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. It stands apart by focusing on building plugin widgets for the prompts.chat feed rather than general interface guidance.
More from f/prompts.chat
All 4Similar to Widget Generator
More Frontend & UI Codejson-render-shadcnvercel-labs/json-render316 installsPre-built shadcn/ui components for json-render. Use when working with @json-render/shadcn, adding standard UI components to a catalog, or building web UIs with
nextjs-use-search-params-suspensewsimmonds/claude-nextjs-skills316 installsPattern for using useSearchParams hook with Suspense boundary in Next.js. Covers the required combination of 'use client' directive and Suspense wrapper when ac
page-layout-builderpatricio0312rev/skills315 installsGenerates complete page layouts and shells for common patterns (dashboard, authentication, settings, CRUD pages) with consistent navigation, layout components,
vscode-workspace-setuppatricio0312rev/skills314 installsConfigures VS Code workspaces with optimal settings, extensions, tasks, and debugging for team consistency. Use when users request "VS Code setup", "workspace s
safe-publishwebflow/webflow-skills313 installsPublish a Webflow site with a plan-confirm-publish workflow. Shows what changed since last publish, runs pre-publish checks, and requires explicit confirmation
react-webalinaqi/maggy312 installsreact web