minecraft-inventory-transactions
Skill1 starsChanged 58 days agoMITView on GitHub
Implement Minecraft item transfers, crafting commits, loadout swaps, trades and optional economy effects with loss/duplication protection.
In this repository46 other files it gives its agents.
- minecraft-coworkerSkill
- minecraft-evidenceSkill
- minecraft-subagentsSkill
- minecraft-commands-permissionsSkill
- minecraft-dependency-detectionSkill
- minecraft-platform-detectionSkill
- minecraft-project-contextSkill
- minecraft-schedulingSkill
- minecraft-version-compatibilitySkill
- minecraft-version-detectionSkill
- minecraft-configurationSkill
- minecraft-persistenceSkill
- minecraft-recipes-lootSkill
- minecraft-datapacksSkill
- minecraft-performanceSkill
- minecraft-release-recoverySkill
- minecraft-crafting-automationSkill
- minecraft-creative-buildingSkill
- minecraft-entity-aiSkill
- minecraft-exploration-contentSkill
- minecraft-gameplay-designSkill
- minecraft-game-sessionsSkill
- minecraft-items-equipmentSkill
- minecraft-movement-abilitiesSkill
- minecraft-survival-simulationSkill
- minecraft-teams-socialSkill
- minecraft-crossplaySkill
- minecraft-permission-providersSkill
- minecraft-plugin-apisSkill
- minecraft-proxy-securitySkill
- minecraft-bedrock-addonsSkill
- minecraft-data-generationSkill
- minecraft-network-payloadsSkill
- minecraft-hostingSkill
- minecraft-animation-soundSkill
- minecraft-bitmap-fontsSkill
- minecraft-item-modelsSkill
- minecraft-pack-deliverySkill
- minecraft-agentSkill
- minecraft-task-classifierSkill
- minecraft-testingSkill
- minecraft-hud-localizationSkill
- minecraft-claimsSkill
- minecraft-map-designSkill
- minecraft-schematicsSkill
- minecraft-world-generationSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
If outcomes are ambiguous, preserve an unresolved claim for reconciliation rather than blindly repeating delivery or compensation.
- Distinctive: line 19
Test full destinations, exact/partial stacks, duplicate activation, cancelled events, disconnect and interruption between effects.
- Distinctive: line 27
Read references/durable-trades.md when handling the detailed cases above.
- Very specific: line 31
Read contract.json for applicability and required outputs.
≈ “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
Item transfers and atomic effects
Identify all stores affected and one authoritative owner for each effect. Use native inventory operations and existing providers first; add a durable journal only when required failure guarantees justify it.
- Validate actor, session, exact item identity, amount and destination capacity at commit. Client text, lore and previewed prices are not trusted state.
- Account for partial insertion and preserve the exact remainder. Define what happens when a destination fills, an actor logs out or a feature disables.
- Serialize conflicting operations and reject stale/replayed requests. An inventory event cancellation is not itself a database transaction.
- Distinguish ordinary in-thread rollback from crash durability. External providers, inventories and databases rarely share one atomic commit.
- If outcomes are ambiguous, preserve an unresolved claim for reconciliation rather than blindly repeating delivery or compensation.
- Currency is optional. Creative loadouts, crafting reservations, reward chests and player trades still require item conservation and clear ownership.
Verification
Test full destinations, exact/partial stacks, duplicate activation, cancelled events, disconnect and interruption between effects. State which recovery boundaries are proven.
Example request
A loadout swap overwrites items when inventory is full; preserve both equipment and remainder.
Focused reference
Read references/durable-trades.md when handling the detailed cases above.
Contract and evidence
Read contract.json for applicability and required outputs; REFERENCE.md for evidence and version limits. No listed verified release means resolve the target before generation. examples/scenario.md contains a documented evaluation prompt, not proof that an agent passed.
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.

