Przejdź do treści
Biblioteka skilli
Sprzedaż i obsługa klienta · Automatyzacja

commerce-inventory

/commerce-inventory

Zarządza stanami magazynowymi, korektami zapasów i przepływami rezerwacji.

Licencja
MIT
Ostatnia zmiana repozytorium
22.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zarządza stanami magazynowymi, korektami zapasów i przepływami rezerwacji.

Oryginalny opis (EN)

Use when managing stock levels, inventory adjustments, or reservation workflows.

Jak działa

  1. Inventory Concepts
  2. Inventory Item Structure
  3. Inventory Operations
  4. Reservation Structure
  5. Transaction Types
  6. Stock Level Alerts
  7. Common Workflows
  8. Multi-Location Inventory
  9. Reservation Expiration
  10. Common Errors
Sekcje z nagłówków SKILL.md, w oryginale · 218 linii, 693 słów
Podgląd SKILL.md
---
name: commerce-inventory
description: Use when managing stock levels, inventory adjustments, or reservation workflows.
---

# Commerce Inventory Skill

Domain knowledge for inventory management, stock tracking, and reservation systems.

## Inventory Concepts

### Stock Quantities

| Quantity | Description | Formula |
|----------|-------------|---------|
| `onHand` | Physical units in warehouse | Actual count |
| `allocated` | Reserved for orders | Sum of reservations |
| `available` | Can be sold | onHand - allocated |

### Key Formula
```
Available = On-Hand - Allocated
```

### Example
```
On-Hand:    100 units (physical inventory)
Allocated:   25 units (reserved for orders)
Available:   75 units (can be sold)
```

## Inventory Item Structure

```javascript
{
  id: "uuid",
  sku: "WIDGET-001",
  name: "Premium Widget",
  description: "High quality widget",

  // Quantities
  totalOnHand: 100,
  totalAllocated: 25,
  totalAvailable: 75,

  // Thresholds
  reorderPoint: 20,
  reorderQuantity: 50,

  // Location breakdown
  locations: [
    { locationId: "warehouse-1", onHand: 60, allocated: 15 },
    { locationId: "warehouse-2", onHand: 40, allocated: 10 }
  ],

  createdAt: "2024-01-15T10:30:00Z",
  updatedAt: "2024-01-15T12:00:00Z"
}
```

## Inventory Operations

### Adjustments

| Type | Quantity | Use Case |
|------|----------|----------|
| Positive | +N | Received shipment, found inventory |
| Negative | -N | Damaged, lost, shrinkage |

Always document reason:
- "Received shipment PO-12345"
- "Damaged in warehouse - 3 units"
- "Cycle count correction"
- "Promotional giveaway"

### Reservations

Reservation lifecycle:
```
[Available] ──► [Reserved] ──► [Confirmed] (deducted)
                    │
                    └──────────► [Released] (returned)
```

| Action | Effect |
|--------|--------|
| Reserve | Available ↓, Allocated ↑ |
| Confirm | Allocated ↓, OnHand ↓ |
| Release | Allocated ↓, Available ↑ |

## Reservation Structure

```javascript
{
  id: "uuid",
  sku: "WIDGET-001",
  quantity: 5,

  referenceType: "order",
  referenceId: "order-uuid",

  status: "pending",  // pending, confirmed, released, expired

  expiresAt: "2024-01-15T11:00:00Z",
  createdAt: "2024-01-15T10:45:00Z"
}
```

## Transaction Types

| Type | Description |
|------|-------------|
| `adjustment_in` | Manual increase |
| `adjustment_out` | Manual decrease |
| `sale` | Sold (order fulfilled) |
| `return` | Returned from customer |
| `transfer_in` | Received from location |
| `transfer_out` | Sent to location |
| `reservation` | Stock reserved |
| `release` | Reservation released |

## Stock Level Alerts

| Level | Condition | Action |
|-------|-----------|--------|
| `ok` | Available > reorderPoint | Normal |
| `low` | Available ≤ reorderPoint | Consider reorder |
| `critical` | Available ≤ reorderPoint/2 | Urgent reorder |
| `out` | Available = 0 | Stop selling |

## Common Workflows

### Receive Inventory
```
1. get_stock(sku) - Check current levels
2. adjust_inventory(sku, +quantity, "Received PO-12345")
3. Verify new levels
```

### Order Fulfillment
```
1. reserve_inventory(sku, qty, "order", orderId)
2. [Process order...]
3. confirm_reservation(reservationId)
   OR
   release_reservation(reservationId) if cancelled
```

### Cycle Count
```
1. get_stock(sku) - Get system count
2. Physical count
3. If different:
   adjust_inventory(sku, difference, "Cycle count correction")
```

### Write Off Damaged
```
1. get_stock(sku) - Check current
2. adjust_inventory(sku, -damaged, "Damaged - [details]")
3. Document with photos (external)
```

## Multi-Location Inventory

When using multiple warehouses:

```javascript
// Total stock
totalOnHand: 100

// By location
locations: [
  { locationId: "east", onHand: 60 },
  { locationId: "west", onHand: 40 }
]
```

Operations can specify location:
- Reserve from specific location
- Adjust specific location
- Transfer between locations

## Reservation Expiration

Default: 15 minutes (900 seconds)

Expired reservations:
- Automatically released
- Stock returns to available
- Associated order may need attention

Custom expiration:
```javascript
reserve_inventory({
  sku: "WIDGET-001",
  quantity: 5,
  referenceType: "order",
  referenceId: "uuid",
  expiresInSeconds: 3600  // 1 hour
})
```

## Common Errors

| Error | Cause | Solution |
|-------|-------|----------|
| `SKU not found` | Invalid SKU | Create inventory item |
| `Insufficient stock` | Not enough available | Check levels, adjust |
| `Reservation expired` | Timed out | Create new reservation |
| `Already confirmed` | Duplicate confirm | No action needed |
| `Negative stock` | Over-adjustment | Verify physical count |

## Best Practices

1. **Always check before adjust** - View current levels first
2. **Document all changes** - Include reason in every adjustment
3. **Use reservations** - Don't directly deduct for orders
4. **Monitor reorder points** - Set appropriate thresholds
5. **Regular cycle counts** - Verify physical vs system
6. **Handle expiration** - Clean up expired reservations

Wersje

W bazie nie ma innych skilli o nazwie commerce-inventory.

Migawka bazy z 13.11.2026 · wersja paczki ddcfe7ae9b20 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100spree-inventory
    Zarządza stanami magazynowymi w Spree 6: liczniki, lokalizacje, ruchy, rezerwacje przy checkoutcie, backordery i synchronizację z ERP lub WMS.
  • 100commerce-orders
    Zarządza cyklem życia zamówień, przepływami realizacji i przejściami statusów zamówień.
  • 90d365-commerce
    Przegląda Dynamics 365 Commerce w handlu omnichannel: POS Store Commerce, e-commerce, Commerce Scale Unit, katalogi, ceny i rabaty, widoczność zapasów, w statycznym przeglądzie.
  • 100commerce-analytics
    Analizuje wyniki sprzedaży, metryki klientów i kondycję zapasów oraz generuje prognozy.
  • 100warehouse-optimization
    Doradza w optymalizacji magazynu i zapasów w e-commerce: analiza kondycji zapasów, zapas bezpieczeństwa, punkty zamówienia, analiza ABC i koszty realizacji dla modeli takich jak Amazon FBA, 3PL i dropshipping.
  • 90managing-ecommerce-inventory
    Prowadzi zarządzanie zapasami w e-commerce tak, by wynik dało się prześledzić, niezależnie zrecenzować i bezpiecznie przekazać innemu agentowi.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.