--- name: Review Python Architecture description: Run an evidence-based architectural code review using the Python Architect Reviewer agent and python-code-reviewer skill. agent: Python Architect Reviewer --- # Instructions Execute a comprehensive, evidence-based code review of the target codebase. ## Target Scope - **Review Target:** ${{input:target_path:./}} - **Source Root:** `src/` - **Docs Root:** `docs/` - **Focus Areas:** FastAPI endpoints, NiceGUI components, SQLModel persistence, asyncio workers, Pydantic V2 models, and OpenRouter provider adapters. ## Execution Rules 1. Map repository layout, dependency manifests, and configuration files from the project root before inspecting modules. 2. Read real code modules under `src/` (or the specified target path); cite exact file paths and line ranges for every finding. 3. Validate issues using terminal tools (`ruff check`, `pytest`, `ty`) where appropriate. 4. Check for duplication, divergent implementations, and extractable helpers. 5. Format the entire review following the standardized 6-section template defined in the `python-code-reviewer` skill. 6. Write the final report as a Markdown file to `./docs/code-review-${{current_date}}.md`.