python First off, thanks for taking the time to contribute!
The following is a set of guidelines for contributing to GitGuard. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
-
Fork the repository on GitHub.
-
Clone your fork locally:
git clone https://github.com/your-username/github-compass.git cd github-compass -
Create a branch for your feature or bugfix:
git checkout -b feature/amazing-feature # or git checkout -b fix/annoying-bug -
Install dependencies and start the dev server:
npm install npm run dev
-
Make your changes.
- TypeScript: We use strict TypeScript. Please avoid using
anyunless absolutely necessary. - Styling: We use Tailwind CSS. Try to stick to utility classes and avoiding custom CSS files where possible.
- Components: We use a composition pattern similar to shadcn/ui. Keep components small, focused, and reusable.
- Linting: Run
npm run lintbefore committing to ensure there are no errors.
-
Push your branch to your fork:
git push origin feature/amazing-feature
-
Open a Pull Request against the
mainbranch of the original repository. -
Describe your changes clearly. usage screenshots or GIFs are highly encouraged for UI changes!
-
Reference issues: If your PR fixes an issue, please link it (e.g., "Fixes #123").
Bugs are tracked as GitHub issues. When filing an issue, please include:
- A clear title and description.
- Steps to reproduce the bug.
- Expected behavior vs. actual behavior.
- Screenshots if applicable.
- Your environment details (OS, Browser, etc.).
We love new ideas! Please open an issue with the "enhancement" label to discuss your idea before implementing it. This ensures we're aligned on the direction and avoids wasted effort.
Thank you for contributing to making GitGuard better!