什麼是 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