{"repo":"aonexyz/HQA","free":true,"listed":false,"github":"https://github.com/aonexyz/HQA","clone":"git clone https://github.com/aonexyz/HQA.git","description":"An AI-powered tool that analyzes and refactors your codebase to H1-level quality. It improves structure, readability, and performance — helping developers write cleaner, more maintainable, and production-ready code effortlessly.","language":"Python","stars":10,"topics":["ai","automation","clean-code","code-quality","developer-tools","machine-learning","productivity","refactoring"],"license":"MIT","category":"dev-tools","readme_excerpt":"H Q A H Q A is a command line tool to level up codebases to HQA (high quality using AI) (local by default). It processes files in a specified directory, creates backups, and applies AI-based improvements to enhance code quality. Installation Recommended: Install using pipx : Install using pip: Simple Example For example: This command processes all Dart files in the ./src directory, creates a backup, and applies AI-based improvements using the default model and API. By default, it assumes the name of the language (as used in Markdown code blocks) is the same as the file extension, in other languages, such as python and JavaScript, you need to specify the language name using -n (e.g., h1-code src py -n python ) OpenAI by default it assumes you have an Ollama server, with the model of llama3.1 . You can change the model using --model option, the URL (for example, to ClosedAI) with --base url option, and api-key using --api key . HQA code quality. H1 code quality defines what clean and clear code means, as understood by an LLM, according to my perspective. You can find the exact system prompt in the ai.py file, but the main points are: No redundant or duplicate code. Comments should be useful and non-trivial. Without commented-out code. limited hallucinations - the AI should not try to explain things it don't understand. minimal documentation (by default, see documentation-level section) - it should create minimal explanation when needed. if really needed, and it won't break your","default_branch":null,"files":null,"tree":[],"storefront":"/r/aonexyz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aonexyz/HQA/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}