Module Development Guide
This guide covers external modules that live as separate git repos under MoLOS/external_modules/.
Required Workflow
- Create a new git repo.
- Clone the MoLOS main repo.
- Clone the new module into
MoLOS/external_modules/<ModuleId>. - Open your editor at the MoLOS root.
- Use
MoLOS-Sample-Moduleor another working module as boilerplate. - Copy the boilerplate into the new module git path.
- Run
npm run dev. - Start developing new modules.
Development Map
- Database Schema: Define tables and migrations.
- TypeScript Models: Create type-safe interfaces and inputs.
- Repository Layer: Implement data access logic.
- API Endpoints: Build SvelteKit server routes.
- UI Development: Create routes, components, and stores.
- Module Configuration: Manifest + navigation config.
- LLM Instructions: Exact rules and templates for AI agents.
- AI Integration: Optional AI tools for the Architect Agent.