Files
pkupuk ae9c3c236a
Some checks failed
Deploy to Coolify / deploy (push) Failing after 12m45s
refactor(media): improve image URL handling and add cleanup workflow
- Enhance ImageMedia component to properly handle absolute and relative URLs, avoiding ENV mismatches
- Update next.config.js to filter invalid URLs and add error handling for image remote patterns
- Add new workflow to remove AI-generated inconsistencies from branch diffs
2025-12-13 07:56:37 +08:00

12 lines
789 B
Markdown

---
description: Check the diff against main and remove all AI generated slop introduced in this branch.
---
1. Run `git diff --name-only main...HEAD` to identify the files modified in the current branch.
2. For each modified file, compare it against the version in `main` to identify changes.
3. Review the changes and remove the following "AI slop":
- Extra comments that a human wouldn't add or that are inconsistent with the rest of the file.
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted/validated codepaths).
- Casts to `any` used to get around type issues.
- Any other style that is inconsistent with the file.
4. Report at the end with only a 1-3 sentence summary of what you changed.