Architecture Reviewer

0•

Enforces adherence to PRISM architectural patterns by validating the implementation of Runner and Trainer classes during refactoring.

Maintain structural integrity and consistency across your codebase by enforcing the PRISM target architecture. This skill specializes in reviewing Python code to ensure it correctly implements the Template Method pattern for experiment runners and the Strategy pattern for training algorithms. By providing a comprehensive checklist for inheritance, hook methods, and separation of concerns, it helps developers avoid common anti-patterns like overriding template methods or mixing environment setup with data loading. It is an essential tool for ensuring that new components remain testable, modular, and aligned with project-specific design standards.

Key Features

01Ensures consistent naming conventions and type hinting
02Enforces Template Method structure for experiment workflows
030 GitHub stars
04Validates AbstractRunner and AbstractTrainer pattern implementations
05Verifies proper usage of hook methods and return types
06Identifies architectural anti-patterns and concern leakage

Use Cases

01Implementing new experiment runners or training strategies
02Reviewing pull requests for compliance with the REFACTORING_DESIGN_DOCUMENT
03Refactoring procedural research code into modular object-oriented patterns