agentleFS
nikolaj-latnikolaj-lat/World-Puppeteer/.claude/skills/items/SKILL.md

items

Skill17 starsChanged 5 months agoMITView on GitHub

Schema and rules for creating items

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Must match itemSettings.currencyName for stacking

    line 43
  2. Very specific:

    Add "Readable" to itemSettings.itemCategories in tabs/settings.json.

    line 48

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

Items

Edit tabs/items.json.

Required Fields

FieldRequirement
nameMust match object key exactly
categoryMust be in itemSettings.itemCategories (armor, consumable, etc.)
descriptionBrief flavor text describing the item's appearance and nature
bonusesArray of bonuses - use [] if item is not equipable

Conditional Fields

FieldWhen to Include
slotRequired for equippable items
mediaContentRequired for readable items - the text content to display
imageUrlOptional URL for the item's image
imageFocusX, imageFocusY, imageZoomOptional crop/focus adjustments for the item's image

Never Include

Omit these fields (calculated at runtime):

  • uuid, quantity, equippedSlot

Item Types

Consumables

  • category: "Consumable", no slot
  • Always bonuses: []

Currency

  • category: "Currency", no slot
  • Must match itemSettings.currencyName for stacking
  • Always bonuses: []

Readable

  • category: "Readable", no slot
  • Add "Readable" to itemSettings.itemCategories in tabs/settings.json; like every category, it must be listed there
  • Include mediaContent with the text to display
  • Always bonuses: []

bonuses Format

Array of stat modifications applied when item is equipped.

{ type: "stat", variable: "damage", value: 5 }     // +50% damage
{ type: "stat", variable: "armor", value: 100 }    // 10% incoming damage reduction
{ type: "attribute", variable: "strength", value: 2 }  // +2 to attribute
{ type: "skill", variable: "stealth", value: 1 }   // +1 to skill
{ type: "resource", variable: "health", value: 10 }  // +10 max health

Format: { type: "stat" | "attribute" | "skill" | "resource", variable: string, value: number }

For type: "stat", only damage and armor are valid variable values. Armor reduces incoming damage by value / 1000 (capped at 90%).

Schema

interface ItemDefinition {
  name: string
  category: string
  description: string
  bonuses: ItemBonus[]
  slot?: string
  mediaContent?: string
  imageUrl?: string
  imageFocusX?: number
  imageFocusY?: number
  imageZoom?: number
}

interface ItemBonus {
  type: 'resource' | 'stat' | 'attribute' | 'skill'
  variable: string
  value: number
}

Reference

For detailed documentation, see items-reference.md.

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.