/engineering:pos-sales-operations-engineeringfrom engineering
Implements tenant-aware ERP POS, agent POS, and manual sales-entry workflows with customer defaults, product-to-stock identity, inventory timing, payments, permissions, and audit-safe posting.
Ships in engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill owns the application and service contract for operational point of
sale. It keeps fast sales entry aligned with tenant isolation, finished-stock
truth, manufacturing timing, payment idempotency, permissions, accounting
posting, and evidence. Visual hierarchy and typography remain owned by the
external chwezi-design-engine engine.
Any Chwezi app or system UI work (effective 01 Nov 2026) MUST follow the Chwezi Product Excellence Standard in chwezi-design-engine (resolve via the engine-routing table; never hard-code the path): doctrine/product-excellence-standard.md and skill skills/00-cross-cutting-ops-qa-a11y/chwezi-product-excellence-standard. Engineering gates: product-excellence-engineering-gates.md. Duplicate prevention by idempotency key, queued-versus-confirmed labels, the mobile-money state machine, reconciling totals and contiguous document numbers are hard gates (PX-GATE-01, 02, 03, 13); keypad and tender targets are at least 56 dp with 8 dp spacing (PX-GEOM-009, PX-INTERACT-016). Where this skill and the standard differ, the standard wins.
Load skills/frontend-ux/pos-sales-operations-engineering for implementation
rules together with the external design engine's pos-and-retail-operations
skill for presentation decisions. For money, inventory value, or ledger work,
also route to chwezi-accounting-doctrine and the local accounting-engine.
pos.php, agent-pos.php, or encode-sales.php in an ERP.| Input | Produced by | Required? | Why |
|---|---|---|---|
| Surface inventory and user journeys | Product owner / route audit | required | Separates shop POS, agent POS, and manual encoding |
| Tenant, branch, store, agent, and plant access model | Architecture / security | required | Prevents accidental scope escalation |
| Product-to-finished-stock map | Inventory and manufacturing | required | Identifies the stock item a sale may deduct |
| Recipe and manufacturing posting rules | Manufacturing / accounting | when applicable | Keeps ingredient consumption at manufacture |
| Customer, tender, tax, invoice, and GL mappings | Sales / finance | required | Defines a complete posting boundary |
| Representative fixtures and replay expectations | QA / demo seeding | required | Proves normal, failed, retried, and isolated paths |
| Artefact | Consumed by | Template or acceptance condition |
|---|---|---|
| POS surface contract | Product, design, frontend, QA | Names the three operational pages and the separate order-to-cash workflow |
| Product-stock and manufacturing map | Inventory, manufacturing, sales | Every saleable product has one active finished-stock mapping |
| Default-customer configuration contract | Tenant administration and QA | One server-resolved active customer is shared by all POS surfaces |
| Canonical posting boundary | API, accounting, inventory, audit | One atomic/idempotent service owns invoice, payment, stock, GL, and audit effects |
| Test and evidence bundle | Release owner and finance review | Includes tenant, permission, failure, replay, stock-timing, and reconciliation evidence |
pos.php is the
general shop POS; agent-pos.php posts sales strictly for a sales agent;
encode-sales.php manually records an already-made sale.pos_default_customer_id. Resolve it server-side
on every POS page. Never choose the first active customer or infer a default
from a name containing “cash” or “walk”.skills/product-business/product-discovery/references/feature-planning/references/pos-mandatory-requirements.md.| Condition | Required action | Failure avoided |
|---|---|---|
| Active tenant default exists | Load it in all three POS pages before async catalogue work | Empty or divergent customer attribution |
| Default is absent or inactive | Block the POS interface and show configuration guidance | Unassigned or guessed customer sales |
| Operator selects a named customer | Preserve it through product, sales-point, review, and retry states | Silent reset to Walk-in |
| Product lacks an active 1:1 finished-stock mapping | Hide or reject it and report the data defect | Raw ingredient or phantom stock sale |
| Recipe ingredient is consumed | Post at manufacturing completion | Double consumption at sale |
| Finished stock is sold | Deduct the mapped finished item by batch | Ingredient deduction or negative stock leakage |
| User has branch rights but no plant rights | Keep plant records and job cards inaccessible | Permission transitivity breach |
| Payment response is unavailable | Reconcile by idempotency key before retrying | Duplicate payment or invoice |
| Any journal, stock, or invoice write fails | Roll back the atomic boundary or post an authorised reversal | Partial economic event |
tenant-document-numbering).chwezi-design-engine/skills/06-sector-and-domain-ux/pos-and-retail-operationsskills/architecture/api-design-firstskills/finance-accounting/accounting-engineskills/backend-databases/database-design-engineeringskills/security/vibe-security-skillskills/sdlc-meta/advanced-testing-strategyskills/devops-cloud/reliability-engineeringskills/sdlc-meta/skill-composition-standardsreferences/pos-operations-contract.md — detailed identity, transaction,
permissions, and evidence contract.skills/product-business/product-discovery/references/feature-planning/references/pos-mandatory-requirements.md — session and receipt controls.skills/sdlc-meta/skill-composition-standards/references/test-plan-template.md — test evidence shape.skills/sdlc-meta/skill-composition-standards/references/rollback-plan-template.md — rollback evidence shape.| Category | Artifact | Format | Example |
|---|---|---|---|
| Correctness | POS sale-to-ledger journey evidence | Markdown plus transaction fixtures | customer, stock, payment, posting, retry, reversal, permission, and reconciliation |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pos, erp, sales-entry, tenant-aware, inventory, payment-idempotency
169 skills in this plugin
/accounting-engineUse when designing or implementing double-entry accounting policy and an embedded ledger engine for invoices, payments, stock, balanced postings, mapped accounts, idempotency, reversals, period locks, audit trails, and financial statements./accounting-finance-controllerUse when coordinating accounting and finance implementation reviews, doctrine routing, control evidence, remediation priorities, and release decisions across a software system./advanced-testing-strategyUse when designing or reviewing test strategy for production systems, APIs, mobile apps, SaaS platforms, ERP workflows, and AI-enabled systems. Covers unit, integration, contract, end-to-end, regression, release-gate, and risk-based testing decisions./ai-agent-commercial-operationsUse when pricing, billing, refunding, recognizing revenue, or packaging commercial terms for agentic AI services, or when defining agent SLAs, customer commitments, SLA dashboards, breach credits, and service evidence./ai-agent-compliance-controlsUse when mapping AI agent operations to SOC 2, ISO 27001, HIPAA, audit logs, control testing, attestations, and compliance evidence, including drill-cadence evidence, approval-completeness (PI1.1) gap checks, and signed agent-memory erasure proofs./ai-agent-governance-and-limitsUse when defining agent budgets, step limits, reversibility, blast-radius controls, kill switches, and governance policy for agentic AI systems.npx claudepluginhub peterbamuhigire/chwezi-dev-engine --plugin engineeringOther plugins' skills for the same job