shopping-list-ui
bởi ajeenkya
Web & Frontend DevelopmentTóm tắt
Web UI for the shopping-list skill.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- Second Brain portal (Next.js) installed and running locally
Cài đặt
clawhub install ajeenkya/shopping-list-uiChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.