.prompts/code_freshness.md
This document provides instructions for an AI assistant to analyze this repository against the Dart and Flutter style guide (.prompts/llm.md) and log opportunities for improvement.
The AI assistant must follow these steps exactly:
logs in the repository root.logs directory named YYYY-MM-DD_HH-MM-SS-freshness-scores.md, where YYYY-MM-DD_HH-MM-SS is the current timestamp.pubspec.yaml files within the repository. Each directory containing a pubspec.yaml should be considered a separate project.For each project directory identified in the previous step, perform the following:
Check for Dart Files:
.dart file.Analyze Git History:
git log to find the most recent commit to a .dart file within that project's directory made by a human (i.e., not a bot).git log -1 --author='^(?!.*bot).*$' --pretty="format:%ad" --date=short -- ./**/*.dart
Read and Assess Code:
.dart files within the project directory (recursively)..prompts/llm.md.const constructors, collection literals).Log Findings:
---
**Sample**: `path/to/sample`
**Last Human Commit**: `YYYY-MM-DD` or "No human commits found"
**Assessment Date**: `YYYY-MM-DD`
**Summary of Style Guide Adherence**:
A brief, one-paragraph summary of how well the project adheres to the style guide. Mention its strengths and weaknesses in general terms.
**Opportunities for Improvement**:
- A concrete, actionable bullet point describing a specific area for improvement.
- Another actionable bullet point.
- A third bullet point, if applicable. Focus on providing clear, specific, and helpful recommendations.
---