This Claude skill provides a comprehensive blueprint of the Kalahari software architecture, detailing core singletons, coordinator patterns, and system-wide design principles. It serves as an essential reference for developers to perform deep code analysis, maintain structural integrity, and implement new features following established patterns like Command, Observer, and Composite.
Use Cases
Developer Onboarding: Quickly educate new engineers on the project's directory structure, naming conventions, and the roles of core singleton managers.
Code Analysis & Navigation: Use the detailed class maps to locate specific logic, such as theme management in core/ or UI orchestration in gui/.
Standardized Feature Implementation: Follow step-by-step guides for adding new UI panels, dialogs, or core modules to ensure consistency with the existing codebase.
Architectural Compliance: Verify that new code contributions adhere to the established Command pattern for actions and the Observer pattern for resource updates.
Security & Plugin Auditing: Reference the Plugin Security section to understand and maintain Ed25519 signature verification and trusted key management.
name
architecture-patterns
description
Kalahari architecture patterns and key classes. Use for code analysis and design.
Architecture Patterns
1. Key Classes
Core Singletons
Class
Location
Role
SettingsManager
core/settings_manager.h
Singleton, JSON config persistence
ArtProvider
core/art_provider.h
Singleton, icons, colors, QAction creation
IconRegistry
core/icon_registry.h
Singleton, icon registration and caching
ThemeManager
core/theme_manager.h
Singleton, theme loading, palette management
CommandRegistry
gui/command_registry.h
Singleton, central QAction owner, getAction(), updateActionState()