erp-inventory
Skill0 starsChanged 13 days agoMITView on GitHub
Implement stock ledgers, reservations, warehouse transfers, lot/serial tracking, counts, and valuation handoffs. Use for inventory conservation and availability, not generic database tuning or frontend state.
In this repository68 other files it gives its agents.
- skills/web-development/adapters/copilot-instructions.mdCopilot instructions
- accessibility-auditSkill
- agent-handoffSkill
- ai-tool-securitySkill
- api-designSkill
- audit-loggingSkill
- background-jobsSkill
- bulk-reporting-exportSkill
- changelog-generatorSkill
- ci-cdSkill
- codebase-onboardingSkill
- code-reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- context-privacySkill
- data-import-exportSkill
- debuggingSkill
- dependency-auditSkill
- deprecation-and-migrationSkill
- design-tokensSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- environmental-telemetrySkill
- erp-accountingSkill
- erp-domain-designSkill
- erp-procurementSkill
- erp-salesSkill
- feature-flagsSkill
- forms-and-validationSkill
- frontend-stateSkill
- frontend-ui-engineeringSkill
- git-workflowSkill
- identity-access-managementSkill
- incremental-implementationSkill
- java-code-standardsSkill
- java-deliverySkill
- kerangkaSkill
- mcp-builderSkill
- membership-managementSkill
- observabilitySkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- product-analyticsSkill
- quarkus-observabilitySkill
- quarkus-persistenceSkill
- quarkus-securitySkill
- quarkus-serviceSkill
- quarkus-testingSkill
- responsive-layoutSkill
- rest-api-contractSkill
- saas-billingSkill
- saas-multitenancySkill
- saas-onboardingSkill
- security-hardeningSkill
- shipping-and-launchSkill
- skill-creatorSkill
- skill-evaluationSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 13
Keep physical movements, reservations, and financial valuation distinct but reconcilable.
- Distinctive: line 32
Keep reservations separate from on-hand stock.
- Distinctive: line 42
Test last-unit races, duplicate receipts, transfer failures, partial dispatch, returns, conversions, backdated movements, and count …
≈ “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.
Files
ERP Inventory
Overview
Keep physical movements, reservations, and financial valuation distinct but reconcilable. Availability must remain correct under concurrent fulfillment.
When to use
- Receiving, dispatching, reserving, counting, or transferring stock.
- Tracking units, warehouses, lot/serial ownership, expiry, and inventory valuation sources.
Hand off when
| Need | Skill |
| Purchase receipt authorization and supplier matching | erp-procurement |
| Customer orders, fulfillment, and returns | erp-sales |
| Financial journal posting and valuation reconciliation | erp-accounting |
Process
- Define item type, stock scope, warehouse/location, unit precision and conversions, lot/serial rules, negative-stock policy, availability, and valuation method explicitly.
- Record immutable movements with scoped source keys, quantity/unit, effective time, location, and correction links. Derived balances must reconcile to the movement ledger.
- Keep reservations separate from on-hand stock. Reserve/release atomically under concurrent demand; define which reservation states count against availability.
- Make receipts and dispatches idempotent and cumulative against authorized lines. Fulfillment consumes physical stock and resolves its reservation in a coordinated boundary.
- Model warehouse transfers through stated direct or in-transit stages. Pair source and destination facts; do not make shipped goods simultaneously available at both ends.
- Enforce lot/serial uniqueness, status, company scope, expiry, and exact unit conversion. Physical returns, quarantine, and financial credits are separate authorized transitions.
- Define stock-count cutoff and handling of concurrent movements. Post authorized adjustments, not overwritten balances; coordinate valuation corrections with accounting.
- Test last-unit races, duplicate receipts, transfer failures, partial dispatch, returns, conversions, backdated movements, and count reconciliation.
Red flags
- One mutable stock field, read-then-reserve, or duplicate movements on retries.
- Mixing reserved and on-hand totals or treating a credit note as physical receipt.
- Silent negative stock or backdating that rewrites valuation without reconciliation.
Verification
- Movement totals, reservations, availability, and transfer conservation reconcile.
- Concurrent reservations and repeated source events cannot oversell or double stock.
- Counts, lot/serial rules, corrections, and accounting handoffs preserve history.
References
references/stock-invariants.md- quantities, reservations, and transfer exercises.
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
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.

