Pos Sales Operations Engineeringのロゴ

Pos Sales Operations Engineering

コミュニティ
peterbamuhigire
pos-sales-operations-engineering

顧客のデフォルト設定、商品と在庫の識別、在庫反映のタイミング、支払い、権限、監査に対応した記録の整合性を保つ必要がある、テナント対応のERP POS、エージェントPOS、手動売上入力のワークフローを実装またはレビューするときに使います。ビジュアルの仕上がりにはdesign engineを使います。

Add to TypingMind

概要

公開者peterbamuhigire
リポジトリchwezi-dev-engine
スキル名pos-sales-operations-engineering
スター
29
フォーク
6
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    peterbamuhigireがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Pos Sales Operations Engineering」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/frontend-ux/pos-sales-operations-engineering
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでPos Sales Operations Engineeringを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にPos Sales Operations Engineeringを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Pos Sales Operations Engineeringは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Pos Sales Operations Engineering」では何ができますか?

顧客のデフォルト設定、商品と在庫の識別、在庫反映のタイミング、支払い、権限、監査に対応した記録の整合性を保つ必要がある、テナント対応のERP POS、エージェントPOS、手動売上入力のワークフローを実装またはレビューするときに使います。ビジュアルの仕上がりにはdesign engineを使います。

TypingMindでPos Sales Operations Engineeringを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Pos Sales Operations Engineeringはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにPos Sales Operations Engineeringをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/frontend-ux/pos-sales-operations-engineeringを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Pos Sales Operations Engineeringを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Pos Sales Operations Engineeringで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもPos Sales Operations Engineeringを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Pos Sales Operations Engineering」は無料ですか?

はい。peterbamuhigireがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇