|
| 1 | +# Contributing to Lighthouse AI |
| 2 | + |
| 3 | +First off, thanks for wanting to contribute! Lighthouse AI is an open source project and we welcome help from everyone -- whether you're fixing a typo, adding a cookbook recipe, or tackling a full feature. |
| 4 | + |
| 5 | +## Quick Start |
| 6 | + |
| 7 | +1. **Fork** this repository and **clone** your fork locally. |
| 8 | +2. Create a **branch** for your work: |
| 9 | + ```bash |
| 10 | + git checkout -b my-change |
| 11 | + ``` |
| 12 | +3. Make your changes, test them locally, and commit. |
| 13 | +4. Open a **pull request** against `main`. |
| 14 | + |
| 15 | +That's it. No CLA, no hoops. |
| 16 | + |
| 17 | +## What We're Looking For |
| 18 | + |
| 19 | +All kinds of contributions are valuable. Here are some great places to start: |
| 20 | + |
| 21 | +- **Bug fixes** -- something broken? Fix it and send a PR. |
| 22 | +- **Documentation improvements** -- clearer install instructions, better troubleshooting guides, typo fixes. |
| 23 | +- **New cookbook recipes** -- workflows, prompt templates, or integration examples that help other users. |
| 24 | +- **Test coverage** -- more tests means fewer surprises. |
| 25 | +- **Feature work** -- check the issue tracker for ideas, or propose your own. |
| 26 | + |
| 27 | +If you're new here, look for issues labeled **`good first issue`**. These are scoped, well-defined tasks that are a great way to get familiar with the codebase. |
| 28 | + |
| 29 | +## Code Style |
| 30 | + |
| 31 | +Nothing exotic: |
| 32 | + |
| 33 | +- **Shell scripts** are written in Bash. Use `shellcheck` if you can. |
| 34 | +- **Python** uses standard formatting (we're not picky -- just be consistent with the file you're editing). |
| 35 | +- Keep things readable. Comments are welcome where intent isn't obvious. |
| 36 | + |
| 37 | +## Pull Request Process |
| 38 | + |
| 39 | +1. **Describe your changes** in the PR description. A sentence or two is fine for small changes; more detail helps for larger ones. |
| 40 | +2. **Link related issues** if they exist (e.g. "Fixes #42"). |
| 41 | +3. Make sure existing functionality isn't broken. |
| 42 | +4. A maintainer will review your PR and may suggest changes. We try to be responsive. |
| 43 | + |
| 44 | +## Where to Ask Questions |
| 45 | + |
| 46 | +Not sure about something? Open a thread in [GitHub Discussions](https://github.com/Light-Heart-Labs/Lighthouse-AI/discussions). We're happy to help you figure out the best approach before you write any code. |
| 47 | + |
| 48 | +## License |
| 49 | + |
| 50 | +By contributing to Lighthouse AI, you agree that your contributions will be licensed under the [Apache License 2.0](LICENSE), the same license that covers this project. |
| 51 | + |
| 52 | +--- |
| 53 | + |
| 54 | +Thanks for helping make local AI infrastructure better for everyone. |
0 commit comments