This guide provides entry points to AutoLFM's development documentation:
| Document | Purpose |
|---|---|
| Maestro-Architecture.md | Complete guide to the Maestro command bus architecture |
| Best-Practices.md | Lua 5.0 compatibility and development standards |
| ID-System-Reference.md | Registry & IDs - All 92 IDs, state management, and component organization |
| API.md | Public API for external addon integration |
| Home.md | Main documentation hub |
Read Maestro-Architecture.md to understand the command bus architecture that powers AutoLFM.
Read Best-Practices.md for Lua 5.0 compatibility rules and development guidelines.
Read ID-System-Reference.md to understand component organization, state management patterns, and all 92 IDs.
Check API.md for the public API documentation to integrate AutoLFM with other addons.
- Commands (C##): User actions -
Dispatch("Selection.ToggleDungeon", name) - Events (E##): Notifications -
EmitEvent("Selection.Changed") - States (S##): Data store -
GetState("Selection.Mode") - Listeners (L##): Event handlers - registered in Init Handlers only
- Init Handlers (I##): Module initialization with dependencies
User Action → Command → State Change → Event → UI Update
- All components need unique IDs (C01, E01, L01, S01, I01...)
- Listeners ONLY in Init Handlers - never at file load
- States are single source of truth - don't duplicate data
- Commands are the only way to modify state
- Update ID-System-Reference.md when adding components
- Plan - Identify required C/E/L/S/I components
- Logic - Implement business logic and state management
- UI - Create user interface and synchronization
- Listeners - Add event handlers for reactivity
- Registry - Update ID-System-Reference.md with new IDs and state patterns
- Test - Use
/lfm debugto verify registration
AutoLFM/
├── Core/ # Framework (Maestro, Ticker, Events, Utils)
├── Components/ # Reusable components (Debug, MinimapButton)
├── Logic/ # Business logic and state management
├── UI/ # User interface handlers and templates
└── _wiki/ # Documentation
├── Home.md # Documentation hub
├── Installation-Usage.md # User guide and troubleshooting
├── Developer-Guide.md # Developer guide & quick start
├── Maestro-Architecture.md
├── Best-Practices.md
├── ID-System-Reference.md
└── API.md
For detailed information, follow the links to the specific documentation files above.