6.4 KiB
Contributing to Checkmate
Thanks for your interest in contributing! Checkmate is an open-source, friendly project focused on learning and growth.
We truly appreciate all kinds of contributions — code, ideas, translations or documentation. Contributing helps you level up while making the project better for everyone.
Before you start, please take a moment to read the relevant section. It helps us review and accept contributions faster, and makes the whole process smoother for everyone. 💚
PS: We work closely with contributors on our Discord channel. You’ll find community members, core maintainers, and first-timers helping each other out.
Table of contents
How do I...
Get help or ask a question?
Ask anything in our Discord server — we’re friendly and happy to help. Our core contributors are active and ready to support you. You can also use GitHub Discussions section to ask your questions.
Report a bug?
- Search existing issues.
- If it’s not listed, open a new issue.
- Include as much detail as possible: what happened, what you expected, and steps to reproduce. Logs and screenshots help.
Suggest a new feature?
- Open a new issue with the feature request template.
- Share your use case and why it would help.
- You can discuss it in Discord before you code.
Set up Checkmate locally?
Frontend & backend:
npm install
npm run dev
By default, the frontend expects the backend on http://localhost:3001. Update configs if needed.
Start contributing code?
- Pick or open an issue (check
good-first-issues first) - (optional but highly suggested) Read a detailed structure of Checkmate if you would like to deep dive into the architecture.
- Ask to be assigned. If there is alrady someone assigned and it's been more than 7 days, you can raise the flag and ask to be assigned as well.
- Create a branch from
develop. - Write your code.
- Run and test locally.
- Open a PR to
develop.
Start with good first issues.
Improve the documentation?
Docs live in checkmate-documentation. You can fix typos, add guides, or explain features better.
Help with translations?
We use PoEditor for translations. You can:
- Sign up and join your language team.
- Translate UI strings.
- Ask questions on Discord in the relevant #translations channel.
Make sure all new UI strings in code use t('key').
Submit a pull request?
Follow the pull request checklist. Your PR should:
- Be focused on one issue.
- Be tested locally.
- Use our linting and translation rules.
- Include the related issue (e.g.
Fixes #123). - Be opened against the
developbranch.
Code guidelines
- Use ESLint and Prettier (
npm run lint). - Follow naming conventions:
camelCasefor variables,PascalCasefor components,UPPER_CASEfor constants. - No hard-coded strings — use
t('your.key')for everything visible. - Use the shared theme and components. No magic numbers or hardcoded styles.
- Follow structure and patterns already used in the codebase.
Pull request checklist
Before submitting your pull request, please confirm the following:
- You have tested the app locally and confirmed your changes work.
- You reviewed your code and removed debug logs or leftover code.
- The GitHub issue is assigned to you.
- You included the related issue number in the PR description (e.g.
Fixes #123). - All user-facing text uses the translation function
t('key'); no hardcoded strings. - You avoided hardcoded URLs, config values, or sensitive data.
- You used the shared theme for any styling — no magic numbers or inline styles.
- The pull request addresses only one issue or topic.
- You added screenshots or a video for any UI-related changes.
- Your code passes linting and has no TypeScript errors.
If one or more of these are missing, we may ask you to update your pull request before we can merge it.
Branching model
- Code contributions should go to the
developbranch. masteris used for stable releases.- Use descriptive branch names, like
fix/login-errororfeat/add-alerts. - Make sure that you are using the latest version.
- Make sure you run the code locally. The Checkmate documentation covers it.
- Find out if the functionality is already covered, maybe by an individual configuration.
- Perform a search to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
Thank you
Thanks for making Checkmate better. We mean it. Whether it’s your first pull request or your 50th, we’re excited to build with you.
PS: feel free to introduce yourself on Discord and say hi.
-- Checkmate team
Also make sure you read the document about how to make a good pull request.