shopping-list-ui
由 ajeenkya 提供
Web & Frontend Development简介
Web UI for the shopping-list skill.
描述
该技能的功能
Web interface that adds a /shopping page to the Second Brain portal. Supports viewing, adding, editing, checking off, and deleting items. The UI shares the same data files as the shopping-list CLI skill, so changes in either are immediately visible in the other.
Because the web UI and CLI skill read and write the same JSON file, there is no manual syncing needed between the two interfaces.
何时使用
- Browsing a categorized shopping list before heading to the store
- Adding groceries from a browser while planning meals for the week
- Checking off items on a phone during a shopping trip
- Editing item names or quantities without switching to the chat interface
- Reviewing items the assistant added during a previous conversation
示例工作流
User navigates to /shopping in the Second Brain portal
- 1
Reads active.json from the shopping-list skill data directory
- 2
Renders items grouped by category with inline edit and check-off controls
- 3
User adds a new item via the form; POST to /api/shopping writes it to active.json
- 4
User checks off an item; PATCH to /api/shopping/[id] updates its state
- 5
User deletes a stale entry; DELETE to /api/shopping/[id] removes it from the file
Updated shopping list reflected immediately in both the web UI and the conversational shopping-list skill
前置要求
- Second Brain portal (Next.js) installed and running locally
安装
clawhub install ajeenkya/shopping-list-ui运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。