Loading...
Loading...
> This file must stay **in sync** with `CLAUDE.md`. Whenever you change one, mirror the same change in the other so both tools continue to work correctly.
# Light Manager Air Integration Guidelines > This file must stay **in sync** with `CLAUDE.md`. Whenever you change one, mirror the same change in the other so both tools continue to work correctly. ## Commit Guidelines - Do NOT include "Generated with Claude Code" or similar notes in commit messages - Commit messages should be clear, concise, and descriptive - Use the imperative mood in commit messages (e.g., "Add feature" not "Added feature") - No need for co-author attribution to Claude ## Code Style Guidelines ### General Principles - Maintain clean, readable, and consistent code - Follow the Home Assistant code style guidelines - Keep methods small and focused on a single task - Use type hints where appropriate - Write unit tests for new functionality ### Comments - Write comments in English only - Add comments only when necessary to explain complex logic - Don't comment obvious code - Use docstrings for classes and public methods ### Naming Conventions - Use descriptive names for classes, methods, and variables - Follow Python naming conventions: - snake_case for methods and variables - CamelCase for classes - UPPER_CASE for constants ## Release Process ### Tag and Release Format - Tags should be created without "v" prefix: `1.2.2` (not `v1.2.2`) - The release title should simply be the version number: `1.2.2` ### Creating a Release with GitHub CLI ```bash # Create tag git tag -a 1.2.2 -m "Release 1.2.2 - Brief description" git push origin 1.2.2 # Create release gh release create 1.2.2 --title "1.2.2" --notes "# Light Manager Air Integration 1.2.2 In version 1.2.2 of the Light Manager Air Integration for Home Assistant, the following changes have been made: ## Bug fixes - Description of changes Thank you for your feedback and support. Enjoy the new version!" ```
An AI client and API for WordPress to communicate with any generative AI models of various capabilities using a uniform API. Built on top of the [PHP AI Client](https://github.com/WordPress/php-ai-client), it provides a WordPress-native Prompt Builder, an Admin Settings Screen for credentials, automatic credential wiring, a PSR-compliant HTTP client, and a client-side JavaScript API.
> This file provides instructions for AI agents that read AGENTS.md (GitHub Copilot, Cursor, Windsurf, Cline, Aider, OpenCode, and others).
This document collects ideas and instructions for implementing future improvements. Follow these when adding features or refactoring the code.