Nano Banana Pro
Agent skill for nano-banana-pro
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Aiex is a sophisticated distributed AI-powered Elixir coding assistant currently in Phase 6 of a 9-phase development roadmap. The project has built extensive distributed infrastructure using pure OTP primitives and is now implementing the core AI assistant application logic that provides actual coding assistance capabilities. Aiex leverages Elixir's strengths in concurrency, fault tolerance, and distributed computing to create a production-ready AI coding assistant.
Aiex has completed 5 major phases and now has sophisticated distributed infrastructure in place:
What's Missing: The actual AI assistant logic that provides coding assistance (analysis, generation, explanation, refactoring).
mix deps.get - Install dependenciesmix compile - Compile the projectmake dev - Quick development start (runs iex -S mix)make release - Build production releasemake test - Run test suitemix test - Run all testsmix test test/aiex_test.exs - Run specific test filemix test test/aiex_test.exs:5 - Run test at specific linemix test --only integration - Run integration tests onlymix test --exclude integration - Skip integration testsmix format - Format code according to Elixir standardsmix format --check-formatted - Check if code is properly formattedmix dialyzer - Run static analysis (if configured)iex -S mix - Start interactive Elixir shell with project loadedaiex start-iex - Start OTP application with interactive shell./aiex help - Test escript CLI interfacecd tui && cargo run - Run Rust TUI clientcd tui && cargo run -- --debug - Run TUI with debug loggingcd tui && cargo test - Run TUI unit testscd tui && cargo fmt - Format Rust codecd tui && cargo clippy - Run Rust lintingmix ai.explain lib/aiex.ex - Test AI explanation functionalitymix ai.gen.module Calculator "arithmetic operations" - Test AI module generation./aiex cli analyze lib/ - Test CLI analysis command./aiex cli create module TestModule "description" - Test CLI creationRUST_LOG=debug ./aiex start-iex - Enable debug logging:observer.start() - Launch Erlang Observer for monitoring (in IEx):recon.proc_count(:memory, 10) - Show top memory processes (in IEx)We use a structured approach combining todo tracking with documentation for implementing AI assistant features.
/notes/features/<number>-<name>.md under ## Plan heading/notes/features/<number>-<name>.md under ## Log heading/notes/features/<number>-<name>.md under ## Conclusion heading/notes/fixes/<number>-<name>.md under ## Issue heading/notes/fixes/<number>-<name>.md under ## Fix heading/notes/fixes/<number>-<name>.md under ## Conclusion headingIMPORTANT: For Phase 6 AI assistant work, always integrate with existing
LLM.ModelCoordinator, Context.Manager, and InterfaceGateway.
When implementing AI engines for the core assistant functionality:
LLM.ModelCoordinator: For distributed AI processing across nodes with circuit breakersContext.Manager: For project understanding and session-aware contextInterfaceGateway: Route AI requests through existing unified interface# Example AI engine structure 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
The architecture follows a distributed OTP design with six main subsystems:
Key architectural principles:
The project follows a 32-week roadmap (see
planning/detailed_implementation_plan.md):
CRITICAL REQUIREMENT: NEVER allow any AI tool to take authorship or co-authorship in commit messages or merge messages. This is a strict project policy.
PROHIBITED in ALL commits and merges:
REQUIRED: All commits and merges must reflect human authorship only. Keep commit messages focused on the technical changes and their purpose, without referencing any tools or assistants used to create them.
Why this matters: This project maintains human authorship integrity and avoids any implication that AI tools are co-authors or contributors to the codebase.
When updating the "Implementation Progress" section in README.md, use this specific format:
Each phase should include:
planning/detailed_implementation_plan.md✅ for completed sections[ ] (unchecked markdown checkbox) for uncompleted sections- ✅ **Section X.Y:** Section Name or - [ ] **Section X.Y:** Section Name### Phase 5: Advanced Chat-Focused TUI Interface (Weeks 15-17) ✅ 100% Complete This phase implements a sophisticated chat-focused Terminal User Interface (TUI)... - ✅ **Section 5.1:** Ratatui Foundation with TEA Architecture - ✅ **Section 5.2:** Multi-Panel Chat Interface Layout - ✅ **Section 5.3:** Interactive Chat System with Message Management - ✅ **Section 5.4:** Focus Management and Navigation System - ✅ **Section 5.5:** Context Awareness and Quick Actions - ✅ **Section 5.6:** Rich Text Support and Syntax Highlighting ### Phase 6: Core AI Assistant Application Logic (Weeks 18-20) ⏳ This phase implements the core AI assistant engines that provide actual coding assistance... - [ ] **Section 6.1:** Core AI Assistant Engines (CodeAnalyzer, GenerationEngine, ExplanationEngine) - [ ] **Section 6.2:** Advanced AI Engines (RefactoringEngine, TestGenerator) - [ ] **Section 6.3:** AI Assistant Coordinators (CodingAssistant, ConversationManager) - [ ] **Section 6.4:** Enhanced CLI Integration with AI Commands - [ ] **Section 6.5:** Prompt Templates and System Integration