Logo de Pos Sales Operations Engineering

Pos Sales Operations Engineering

Comunidade
peterbamuhigire
pos-sales-operations-engineering

Use ao implementar ou revisar um fluxo de ERP POS, POS para agentes ou registro manual de vendas com suporte a vários locatários, no qual padrões de clientes, identidade entre produtos e estoque, prazos de movimentação do inventário, pagamentos, permissões e lançamentos seguros para auditoria precisam permanecer consistentes. Use the design engine para o refinamento visual.

Add to TypingMind

Visão geral

Publicado porpeterbamuhigire
Repositóriochwezi-dev-engine
Nome da habilidadepos-sales-operations-engineering
Estrelas
29
Forks
6
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por peterbamuhigire no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Pos Sales Operations Engineering no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/frontend-ux/pos-sales-operations-engineering
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/frontend-ux/pos-sales-operations-engineering .claude/skills/pos-sales-operations-engineering
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Pos Sales Operations Engineering em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Pos Sales Operations Engineering automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Pos Sales Operations Engineering não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

POS Sales Operations Engineering

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.

Prerequisites

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.

Use When

  • Building or auditing pos.php, agent-pos.php, or encode-sales.php in an ERP.
  • Defining a tenant-wide Walk-in/default customer and its administrator permission.
  • Connecting products to finished stock, manufacturing recipes, batches, and sale deductions.
  • Consolidating multiple sales writers, payment handlers, or retry paths into one boundary.
  • Testing tenant, branch, sales-agent, plant, stock, invoice, payment, GL, and audit controls together.

Do Not Use When

  • The work is only visual composition, typography, colour, or interaction polish; use the external design engine.
  • The workflow is quotation → customer order → delivery → invoice → payment collection; design that as separate order-to-cash, not POS.
  • The task is a financial statement, statutory rule, or accounting policy judgement; use the accounting doctrine.
  • The task is generic frontend architecture without POS-specific transaction or stock semantics.

Required Inputs

InputProduced byRequired?Why
Surface inventory and user journeysProduct owner / route auditrequiredSeparates shop POS, agent POS, and manual encoding
Tenant, branch, store, agent, and plant access modelArchitecture / securityrequiredPrevents accidental scope escalation
Product-to-finished-stock mapInventory and manufacturingrequiredIdentifies the stock item a sale may deduct
Recipe and manufacturing posting rulesManufacturing / accountingwhen applicableKeeps ingredient consumption at manufacture
Customer, tender, tax, invoice, and GL mappingsSales / financerequiredDefines a complete posting boundary
Representative fixtures and replay expectationsQA / demo seedingrequiredProves normal, failed, retried, and isolated paths

Outputs

ArtefactConsumed byTemplate or acceptance condition
POS surface contractProduct, design, frontend, QANames the three operational pages and the separate order-to-cash workflow
Product-stock and manufacturing mapInventory, manufacturing, salesEvery saleable product has one active finished-stock mapping
Default-customer configuration contractTenant administration and QAOne server-resolved active customer is shared by all POS surfaces
Canonical posting boundaryAPI, accounting, inventory, auditOne atomic/idempotent service owns invoice, payment, stock, GL, and audit effects
Test and evidence bundleRelease owner and finance reviewIncludes tenant, permission, failure, replay, stock-timing, and reconciliation evidence

Non-negotiables

  1. Keep exactly three operational POS surfaces distinct: 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.
  2. Store one tenant-wide default customer, normally Walk-in, in a tenant-scoped configuration key such as 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”.
  3. Allow only super administrators, max administrators, or users with the dedicated tenant configuration permission to change that setting. Validate customer ownership and active status before saving.
  4. If the setting is missing or inactive, stop the POS page before the selling interface opens. Show a clear, localised configuration state and route the authorised user to settings; do not post an unassigned sale.
  5. Sell products, not arbitrary stock items. Each saleable product must map 1:1 to a finished stock item. Ingredients and packaging are not POS catalogue cards.
  6. Manufacturing consumes recipe ingredient stock and produces the finished stock item. Sale posting deducts only that finished stock item. Do not deduct recipe ingredients again at sale.
  7. Use one canonical transaction service or explicit adapters into it. Enforce tenant scope, customer validation, mapped product identity, batch/FEFO availability, price, invoice, payment, stock movement, GL posting, audit lineage, and idempotency in the service boundary.
  8. Keep branch-sales access, sales-agent access, and plant/job access as separate permissions. A user who can view branch sales does not automatically gain plant access.
  9. Treat a timeout as an unknown result. Retry with the same idempotency key and reconcile persisted records before displaying a new success or creating a second invoice.
  10. For fiscal POS deployments, apply the mandatory session-locking and receipt sequence controls in skills/product-business/product-discovery/references/feature-planning/references/pos-mandatory-requirements.md.

Decision rules

ConditionRequired actionFailure avoided
Active tenant default existsLoad it in all three POS pages before async catalogue workEmpty or divergent customer attribution
Default is absent or inactiveBlock the POS interface and show configuration guidanceUnassigned or guessed customer sales
Operator selects a named customerPreserve it through product, sales-point, review, and retry statesSilent reset to Walk-in
Product lacks an active 1:1 finished-stock mappingHide or reject it and report the data defectRaw ingredient or phantom stock sale
Recipe ingredient is consumedPost at manufacturing completionDouble consumption at sale
Finished stock is soldDeduct the mapped finished item by batchIngredient deduction or negative stock leakage
User has branch rights but no plant rightsKeep plant records and job cards inaccessiblePermission transitivity breach
Payment response is unavailableReconcile by idempotency key before retryingDuplicate payment or invoice
Any journal, stock, or invoice write failsRoll back the atomic boundary or post an authorised reversalPartial economic event

Workflow

  1. Inventory the surfaces. Search routes, APIs, JavaScript, services, stored procedures, seeders, reports, and tests. Mark every writer and payment path; retire fake or random-ID writers rather than leaving them as competing authorities.
  2. Write the identity map. Record product ID, finished stock-item ID, recipe ingredient IDs, batch ID, UOM, price, cost, and the direction of each manufacturing and sales movement. Keep customer-facing product identity separate from inventory identity.
  3. Define tenant configuration. Add the setting, permission, settings UI, API validation, audit metadata, and a repeatable demo seeder. Verify the default belongs to the current tenant and is active.
  4. Gate and initialise all pages. Resolve the default before rendering the sale interface or starting asynchronous catalogue calls. Show explicit loading, empty, error, disabled, and configuration-required states.
  5. Consolidate posting. Route normal invoice sales, manual encoding, agent sales, and payment receipt through the canonical service. Preserve the same request/idempotency contract across retries and replay.
  6. Enforce stock timing. Manufacture ingredient-to-finished movements at job completion; sell product-to-finished-stock movements at sale posting; lock and validate the relevant batch quantities in the same transaction.
  7. Verify boundaries. Test tenant and branch scope, sales-agent scope, plant separation, permission changes, inactive defaults, unmapped products, insufficient stock, duplicate keys, payment timeouts, voids, and reversals.
  8. Reconcile evidence. Confirm invoice lines, payments, stock ledger, batch balances, GL journals, customer balance, and audit entries agree. Run the seeder in dry-run/apply/verify modes and prove replay does not duplicate.

Quality Standards

  • Use server-derived tenant context and prepared statements; never trust a tenant ID, customer ID, stock ID, branch ID, or plant ID from the browser.
  • Keep errors solution-bearing and localisable. Never return a green success state before the persisted result is known.
  • Require focused unit/contract tests, a database-backed integration path where possible, PHP/JavaScript syntax checks, and a release evidence record.
  • Keep the implementation separate from the visual system. Hand off spacing, type, colour, touch targets, and visual QA to the design engine.

Anti-Patterns

  • Name heuristic default: selecting the first customer matching “cash”. Fix: resolve the explicit tenant setting and block when invalid.
  • Terminal override: letting a sales-point default silently replace the tenant default. Fix: keep compatibility fields secondary to the tenant key.
  • Raw-stock catalogue: displaying bottles, jars, labels, or ingredients as products. Fix: expose only active product-to-finished-stock mappings.
  • Sale-time recipe deduction: consuming ingredients when a product is sold. Fix: consume ingredients at manufacture and finished stock at sale.
  • Writer sprawl: separate fake sale/payment writers for each screen. Fix: use one canonical transaction boundary and adapters.
  • Permission shortcut: treating branch visibility as plant access. Fix: model and enforce plant permissions separately.
  • Retry duplication: generating a new idempotency key after a timeout. Fix: query the original key and reconcile before retrying.
  • False success: trusting a browser toast without invoice, stock, and GL evidence. Fix: verify persisted records and reconcile the posting.

Read next

  • External chwezi-design-engine/skills/06-sector-and-domain-ux/pos-and-retail-operations
  • skills/architecture/api-design-first
  • skills/finance-accounting/accounting-engine
  • skills/backend-databases/database-design-engineering
  • skills/security/vibe-security-skill
  • skills/sdlc-meta/advanced-testing-strategy
  • skills/devops-cloud/reliability-engineering
  • skills/sdlc-meta/skill-composition-standards

References

  • references/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.

Evidence Produced

CategoryArtifactFormatExample
CorrectnessPOS sale-to-ledger journey evidenceMarkdown plus transaction fixturescustomer, stock, payment, posting, retry, reversal, permission, and reconciliation

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Pos Sales Operations Engineering faz?

Use ao implementar ou revisar um fluxo de ERP POS, POS para agentes ou registro manual de vendas com suporte a vários locatários, no qual padrões de clientes, identidade entre produtos e estoque, prazos de movimentação do inventário, pagamentos, permissões e lançamentos seguros para auditoria precisam permanecer consistentes. Use the design engine para o refinamento visual.

Por que usar Pos Sales Operations Engineering no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Pos Sales Operations Engineering é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Pos Sales Operations Engineering no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/frontend-ux/pos-sales-operations-engineering. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Pos Sales Operations Engineering?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Pos Sales Operations Engineering?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Pos Sales Operations Engineering com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Pos Sales Operations Engineering é gratuita?

Sim. A habilidade é publicada no GitHub por peterbamuhigire sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇