什么是 widget-generator?
为提示生成可定制的小部件插件。聊天提要系统 来源:f/prompts.chat。
为提示生成可定制的小部件插件。聊天提要系统
通过命令行快速安装 widget-generator AI 技能到你的开发环境
来源:f/prompts.chat。
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.
| 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) |
| Widget not showing | Check shouldInject logic, verify registration in index.ts | | TypeScript errors | Ensure imports from ./types, check sponsor object shape | | Styling issues | Use Tailwind classes, match existing widget patterns | | Position wrong | Remember positions are 0-indexed, check repeatEvery value |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/f/prompts.chat --skill widget-generator为提示生成可定制的小部件插件。聊天提要系统 来源:f/prompts.chat。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/f/prompts.chat --skill widget-generator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/f/prompts.chat