TopRank Skills

Home / Claw Skills / 其他 / Haresh Cart Management
Official OpenClaw rules 15%

Haresh Cart Management

 name: haresh cart management description: "Manage shopping cart operations via n8n webhook integration" user invocable: true

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Haresh Cart Management 技能。 若已安装,则直接安装 Haresh Cart Management 技能。

Overview

Skill Key
haresh-sai06/haresh-cart-management
Author
haresh-sai06
Source Repo
openclaw/skills
Version
-
Source Path
skills/haresh-sai06/haresh-cart-management
Latest Commit SHA
03a55b8a8fdc37bc3620170a5150359761afb410

Extracted Content

SKILL.md excerpt

---
name: haresh-cart-management
description: "Manage shopping cart operations via n8n webhook integration"
user-invocable: true
---

# Cart Management Skill

## Purpose
Handles all shopping cart operations including adding items, removing items, and updating quantities.

## When to Use
- User wants to add a product to their cart
- User wants to remove an item from cart
- User wants to change item quantity

## Supported Actions

### Add to Cart
1. Extract product_id from user message
2. Validate product_id format
3. Check quantity (default to 1)
4. Call n8n webhook at http://localhost:5678/webhook/cart-add
5. Confirm success to user

### Remove from Cart
1. Extract product_id to remove
2. Check current quantity
3. If quantity greater than 1, ask user for confirmation
4. Call n8n webhook at http://localhost:5678/webhook/cart-remove
5. ALWAYS confirm with user before removing

### Update Quantity
1. Extract product_id and new quantity
2. Validate quantity is positive integer
3. Call n8n webhook at http://localhost:5678/webhook/cart-update
4. Confirm update to user

## Safety Rules
- NEVER allow negative quantities
- ALWAYS confirm before removing items
- Validate product_id exists before operations

Related Claw Skills