Expert guidance for developing Aiex, a distributed AI-powered Elixir coding assistant with sophisticated OTP architecture and multi-LLM integration
Expert guidance for developing Aiex, a sophisticated distributed AI-powered Elixir coding assistant. This skill provides context-aware assistance for working with Aiex's advanced OTP architecture, multi-LLM coordination, and distributed infrastructure.
Aiex is a distributed AI coding assistant in Phase 6 of a 9-phase roadmap. The project leverages Elixir's strengths in concurrency, fault tolerance, and distributed computing. Completed infrastructure includes distributed OTP architecture with pg coordination, multi-LLM integration (OpenAI, Anthropic, Ollama, LM Studio), advanced context management, Rust-based TUI, event sourcing with Mnesia, and comprehensive security/sandboxing. Current focus is implementing core AI assistant application logic.
Six main subsystems follow distributed OTP design:
**Always plan before implementing** - NO EXCEPTIONS!
1. **Plan Phase**: Create design in `/notes/features/<number>-<name>.md` under `## Plan` heading
2. **Implementation Phase**: Document findings in `/notes/features/<number>-<name>.md` under `## Log` heading
3. **Testing & Finalization**: Document final design in `/notes/features/<number>-<name>.md` under `## Conclusion` heading
1. **Use TodoWrite/TodoRead**: Track all implementation progress
2. **Plan first**: Refuse to implement until plan is created and reviewed
3. **Use existing infrastructure**: Leverage `LLM.ModelCoordinator`, `Context.Manager`, `InterfaceGateway`
4. **Follow OTP patterns**: Maintain supervision tree and distributed architecture
5. **Comprehensive testing**: Test AI functionality, performance, and integration with mocked LLM responses
6. **Never commit without approval**: Wait for explicit commit instructions
```elixir
defmodule Aiex.AI.CodeAnalyzer do
use GenServer
# Integrate with existing LLM coordination
def analyze_code(file_path, options \\ []) do
context = Context.Manager.get_project_context()
LLM.ModelCoordinator.request(%{
type: :code_analysis,
content: file_content,
context: context,
options: options
})
end
end
```
**CRITICAL**: NEVER allow AI tool attribution in commits or merges.
**PROHIBITED**:
**REQUIRED**: All commits reflect human authorship only. Focus on technical changes and purpose without referencing tools used.
When updating "Implementation Progress" section:
1. **Phase title** with weeks and status (✅ 100% Complete, ⏳ 20%, or ⏳)
2. **Phase description** copied from `planning/detailed_implementation_plan.md`
3. **Section bullet list** with:
- `✅` for completed: `- ✅ **Section X.Y:** Section Name`
- `[ ]` for incomplete: `- [ ] **Section X.Y:** Section Name`
Example:
```markdown
This phase implements the core AI assistant engines...
```
Current phase implements:
1. **Issue Documentation**: Document in `/notes/fixes/<number>-<name>.md` under `## Issue`
2. **Fix Implementation**: Technical details in `/notes/fixes/<number>-<name>.md` under `## Fix`
3. **Resolution Summary**: Learnings in `/notes/fixes/<number>-<name>.md` under `## Conclusion`
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aiex-elixir-ai-assistant-development/raw