aether-shards/.agent/rules/data/RULE.md

790 B

description globs
Standards for JSON data structures (Classes, Items, Missions). assets/data/**/*.json**

Data Schema Standards

Itemization

  • IDs: ALL CAPS SNAKE_CASE (e.g., ITEM_RUSTY_BLADE).
  • Files: One file per item/class OR grouped by category. Consistent keys are mandatory.
  • Effects: Use passive_effects array for event listeners and active_ability for granted skills.

Missions

  • Structure: Must match the Mission TypeScript interface.
  • Narrative: Link to narrative/ JSON files via ID. Do not embed full dialogue in Mission JSON.
  • Rewards: Must specify guaranteed vs conditional.

Classes

  • Skill Trees: Use the standard 30-node topology template.
  • Growth: Define base_stats (Lvl 1) and growth_rates.