-
Notifications
You must be signed in to change notification settings - Fork 0
Create comprehensive CLAUDE.md for AI assistant guidance #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add detailed documentation covering project structure, architecture, coding conventions, configuration options, and common development tasks to help AI assistants work effectively with the codebase. https://claude.ai/code/session_01P1SCPfCt8u8mVZ5yE4tKUi
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive documentation (CLAUDE.md) for AI assistants to understand and work with the Python_Panel codebase. The document covers project structure, architecture, configuration, coding conventions, and common development tasks.
Changes:
- Added CLAUDE.md with detailed guidance on project structure, data flow, and service architecture
- Documented configuration options, API requirements, and available themes
- Included coding conventions, common development tasks, and security best practices
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | Option | Type | Default | Description | | ||
| |--------|------|---------|-------------| | ||
| | `theme` | string | `"autumn"` | UI theme (forest_dark, forest, autumn, glacier, midnight_olive) | | ||
| | `refresh_minutes` | int | `10` | Data refresh interval (min 10 seconds enforced) | |
Copilot
AI
Jan 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description "min 10 seconds enforced" is unclear. Based on the code in app/main.py:29, the actual behavior is that refresh_minutes is converted to seconds and then a minimum of 10 seconds is enforced on the refresh interval. Consider clarifying this as "Minimum refresh interval is 10 seconds regardless of configured value".
| | `refresh_minutes` | int | `10` | Data refresh interval (min 10 seconds enforced) | | |
| | `refresh_minutes` | int | `10` | Data refresh interval in minutes (minimum refresh interval is 10 seconds regardless of configured value) | |
| | `refresh_minutes` | int | `10` | Data refresh interval (min 10 seconds enforced) | | ||
| | `units` | string | `"metric"` | Temperature/wind units (metric or imperial) | | ||
| | `use_winrt_location` | bool | `true` | Enable Windows native geolocation | | ||
| | `live_screen` | bool | `true` | Enable Rich Live screen mode | |
Copilot
AI
Jan 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documented default value for "live_screen" is true, but the actual default in the codebase is False (app/config.py:38). Please update the documentation to reflect the correct default value.
|
|
||
| | Option | Type | Default | Description | | ||
| |--------|------|---------|-------------| | ||
| | `theme` | string | `"autumn"` | UI theme (forest_dark, forest, autumn, glacier, midnight_olive) | |
Copilot
AI
Jan 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documented default value for the "theme" option is "autumn", but the actual default in the codebase is "classic" (app/config.py:29). Additionally, there is no "classic" theme defined in the STYLES dictionary (app/ui/theme.py:8-191), which would cause the application to fail when using the default configuration. Consider updating the documentation to match the actual default or changing the default in config.py to "autumn".
| | Option | Type | Default | Description | | ||
| |--------|------|---------|-------------| | ||
| | `theme` | string | `"autumn"` | UI theme (forest_dark, forest, autumn, glacier, midnight_olive) | | ||
| | `refresh_minutes` | int | `10` | Data refresh interval (min 10 seconds enforced) | |
Copilot
AI
Jan 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documented default value for "refresh_minutes" is 10, but the actual default in the codebase is 15 (app/config.py:30). Please update the documentation to reflect the correct default value.
Add detailed documentation covering project structure, architecture,
coding conventions, configuration options, and common development tasks
to help AI assistants work effectively with the codebase.
https://claude.ai/code/session_01P1SCPfCt8u8mVZ5yE4tKUi