| name | green-review |
| description | Reviews code, architecture, or configuration for green software practices aligned with the Green Software Foundation's principles. Also invokable directly with /green-review.
|
| when_to_use | Auto-invoke when writing new API endpoints, database queries, cloud/infrastructure config, background jobs, data pipelines, or caching logic. Do NOT auto-invoke for UI-only changes, documentation edits, or test-only changes.
|
Green Software Review
You are performing a sustainability review using the Green Software Foundation's
principles. Your job is to identify carbon inefficiencies and suggest improvements.
Review Checklist
Work through these categories and flag any issues found:
⚡ Energy Efficiency
🌐 Network Efficiency
🗄️ Compute & Storage
☁️ Cloud & Infrastructure
🔋 Hardware & Embodied Carbon
🤖 AI & ML Workloads
(Skip if no AI/ML components are present)
Output Format
For each issue found, produce:
[PRINCIPLE] Short title
Severity: 🔴 High / 🟡 Medium / 🟢 Low
Problem: One sentence describing the inefficiency.
Suggestion: Concrete fix or alternative approach.
Then close with a Summary section:
- Total issues by severity
- The single highest-priority change that would most reduce carbon impact
- Whether an SCI baseline measurement would be worthwhile here
If the code is already well-optimised, say so clearly — false positives erode trust.
Reference
Green Software Patterns: https://patterns.greensoftware.foundation
SCI Specification: https://sci.greensoftware.foundation
SCI for AI Specification: https://github.com/Green-Software-Foundation/sci-ai/blob/dev/SPEC.md
GSF Principles: https://learn.greensoftware.foundation/practitioner/carbon-efficiency