agentleFS
NgducokNgducok/Minecraft-skills/skills/data/minecraft-inventory-transactions/SKILL.md

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.

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
  1. Distinctive:

    If outcomes are ambiguous, preserve an unresolved claim for reconciliation rather than blindly repeating delivery or compensation.

    line 14
  2. Distinctive:

    Test full destinations, exact/partial stacks, duplicate activation, cancelled events, disconnect and interruption between effects.

    line 19
  3. Distinctive:

    Read references/durable-trades.md when handling the detailed cases above.

    line 27
  4. Very specific:

    Read contract.json for applicability and required outputs.

    line 31

≈ “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

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.

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.