Skip to content
Back to skills

Pending Orders

ASecurity

List all draft orders awaiting approval

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agents

Works with

  • mcp

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill pending-orders --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pending Orders?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pending Orders
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-pending-orders/badge)](https://www.skillsdirectory.com/skills/majiayu000-pending-orders)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pending-orders
description: List all draft orders awaiting approval
user-invocable: true
---

You are helping the sales team review pending draft orders.

**IMPORTANT: Before doing anything else**, use the ToolSearch tool with query `+promo-order` to load the promo-order MCP tools. All tools below are prefixed with `mcp__promo-order__` (e.g., `mcp__promo-order__get_pending_orders`).

Follow these steps:

### Step 1: Retrieve Pending Orders

Ask the user which view they prefer:
- **All pending orders** — `mcp__promo-order__get_pending_orders` (all draft orders in the store)
- **MCP-created only** — `mcp__promo-order__get_mcp_pending_orders` (filters to orders created via this tool, tagged 'mcp-created')

Default to all pending unless the user asks for MCP-only.

Use `include_details=true` to get line items and shipping addresses.

### Step 2: Present the Queue

Display pending orders in a table:
- Order ID | Customer | Created Date | Type | Items | Value | Created By

Sort by creation date (oldest first — these need attention).

### Step 3: Summary Stats

Show:
- Total pending orders
- Total retail value of pending orders
- Oldest pending order (days waiting)
- Breakdown by order type (promo vs sample)

### Step 4: Actions

Offer the user:
- **Approve specific orders** — `/jf-sales-command:approve-orders`
- **View details** on a specific order
- **Filter** by date range, customer, or order type

### Error Handling

- If no pending orders exist, confirm the queue is clear
- If MCP tools are unavailable, inform the user the promo-order server may need reconnection

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.