搜索

PythonReactSEOPDF
OpenClaw

Haresh Cart Management

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

haresh-sai060 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install haresh-sai06/haresh-cart-management

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明


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

来源信息

Source
github
Repository
openclaw/skills
Path
skills/haresh-sai06/haresh-cart-management
Version
—
Commit
03a55b8a8fdc37bc3620170a5150359761afb410
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
---
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

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.