agentleFS
hi-donwihi-donwi/Donwi-Skills/skills/erp-sales/SKILL.md

erp-sales

Skill0 starsChanged 13 days agoMITView on GitHub

Implement quote-to-cash orders, fulfillment, invoicing eligibility, customer credit controls, returns, and credit notes. Use for ERP sales documents, not recurring subscription pricing or general-ledger implementation.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check credit exposure using declared open-item, order, and reservation components.

    line 32
  2. Distinctive:

    Test duplicate dispatch, partial fulfillment, credit-limit races, canceled orders, returned goods, invoice retries, and policy-specific …

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ERP Sales and Quote-to-Cash

Overview

Track commercial promises, physical fulfillment, financial claims, and settlement separately while preserving cumulative quantities and issued facts.

When to use

  • Building quotes/orders, partial fulfillment, invoicing, collections, or returns.
  • Enforcing customer terms, credit exposure, source links, and correction flows.

Hand off when

NeedSkill
Recurring subscriptions and payment-provider statesaas-billing
Reservations, physical shipment, and return receiptserp-inventory
Receivables, settlement allocation, and journalserp-accounting

Process

  1. Define company/customer scope, quote expiry, order acceptance, price/tax snapshots, payment terms, credit rules, fulfillment stages, and invoicing eligibility.
  2. Preserve accepted/issued revisions. Repricing and changed delivery terms require authorized amendments; master-data edits must not rewrite issued documents.
  3. Check credit exposure using declared open-item, order, and reservation components. Coordinate competing commitments so concurrent acceptance cannot bypass limits.
  4. Link reservations, partial shipments, and invoices to authorized lines. Enforce cumulative quantities and idempotent operation keys for each legitimate partial action.
  5. Separate fulfillment from invoice issue and settlement. Durable source-linked dispatch coordinates inventory and accounting; a checkout redirect is not payment evidence.
  6. Model return authorization, physical receipt, refund, and credit note separately. Limit cumulative returns/credits, preserve original links, and define disposition.
  7. Reconcile ordered, reserved, shipped, returned, invoiced, credited, and settled quantities/amounts. Record discrepancies rather than overwriting totals to match.
  8. Test duplicate dispatch, partial fulfillment, credit-limit races, canceled orders, returned goods, invoice retries, and policy-specific invoicing or recognition timing.

Red flags

  • One order status standing in for stock, invoice, and payment state.
  • Credits automatically restocking inventory or invoices rewriting accepted prices.
  • Duplicate shipments, cross-company source links, or uncoordinated credit checks.

Verification

  • Authorized source quantities and exact issued amounts survive retries and edits.
  • Credit exposure and partial fulfillment remain correct under concurrent orders.
  • Returns, stock receipts, credit notes, receivables, and settlement reconcile separately.

References

  • references/quote-to-cash.md - lifecycle and cumulative control exercises.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.