Contributing
Hey there! Thanks for your interest in helping out with FoodSavr. We're building this in the open and love getting input from the community.
This is a pretty casual project, but to keep things organized and ensure quality, we have a few guidelines.
The Golden Rule: Small, Focused, Issue-Driven Changes
We don't accept pull requests that aren't linked to an existing issue.
Before you write any code, please check the Issues tab to see if there's a relevant ticket. If not, open one! This lets us discuss the proposed change, agree on the approach, and make sure it aligns with the project's goals before you spend time on it.
The best contributions are small, focused, and solve one problem at a time.
Our Workflow
- Find or Create an Issue: This is your starting point.
- Fork the Repo: Get your own copy of the project.
- Create a Branch:
git checkout -b feature/your-cool-ideaorfix/that-annoying-bug. - Write Code & Make Small Commits: Do your thing!
- Submit a Pull Request: Link it to the issue you're solving.
A Note on AI-Assisted Contributions
It's 2026, we know a lot of code is written with help from AI. That's awesome! We just ask that you stay in the driver's seat. To help us understand the context of your changes, please include the following in your Pull Request description:
- Author-By: Your Name/Handle
- Model-Used: (e.g., Gemini, Copilot, etc.)
- Summary: A quick, concise summary of what you did.
We also love to see a brief "Proof of Experience". This isn't about having a Ph.D. in computer science. It's just a sentence or two explaining why you're familiar with the area you're changing. For example:
"I've worked with Flutter's
go_routerin a few other projects, so I have a good handle on the routing logic here." or "I noticed this UI bug on my own device and have experience with responsive layouts in Flutter."
This helps us trust that the change is well-informed.
Style & Structure
Consistency is key. Before submitting, make sure your code vibes with the rest of the project. Check out these guides:
- Code Style: We follow Effective Dart guidelines.
- Folder Structure: Take a look at how the
lib/directory is layered (interfaces/,models/,repositories/,services/,views/,widgets/), with feature-specific code underfeatures/. We try to keep a clean separation between data, domain, and presentation layers.