跳到正文
TakoAPI
返回技能列表

shopping-list-ui

由 ajeenkya 提供

Web & Frontend Development
214下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Reads active.json from the shopping-list skill data directory

  2. 2

    Renders items grouped by category with inline edit and check-off controls

  3. 3

    User adds a new item via the form; POST to /api/shopping writes it to active.json

  4. 4

    User checks off an item; PATCH to /api/shopping/[id] updates its state

  5. 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 或你在用的任意编程智能体里。

链接