Class: Aidp::Watch::Reviewers::SeniorDevReviewer
- Inherits:
-
BaseReviewer
- Object
- BaseReviewer
- Aidp::Watch::Reviewers::SeniorDevReviewer
- Defined in:
- lib/aidp/watch/reviewers/senior_dev_reviewer.rb
Overview
Senior Developer Reviewer - focuses on correctness, architecture, and best practices
Constant Summary collapse
- PERSONA_NAME =
"Senior Developer"- FOCUS_AREAS =
[ "Code correctness and logic errors", "Architecture and design patterns", "API design and consistency", "Error handling and edge cases", "Code maintainability and readability", "Testing coverage and quality", "Documentation completeness" ].freeze
Instance Attribute Summary
Attributes inherited from BaseReviewer
#focus_areas, #persona_name, #provider_name
Instance Method Summary collapse
Methods inherited from BaseReviewer
Constructor Details
This class inherits a constructor from Aidp::Watch::Reviewers::BaseReviewer
Instance Method Details
#review(pr_data:, files:, diff:) ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/aidp/watch/reviewers/senior_dev_reviewer.rb', line 21 def review(pr_data:, files:, diff:) user_prompt = build_review_prompt(pr_data: pr_data, files: files, diff: diff) findings = analyze_with_provider(user_prompt) { persona: PERSONA_NAME, findings: findings } end |