Thank you for your interest in contributing to Custos! We welcome contributions of all types, whether you're fixing a bug, adding new features, or improving documentation. Please follow these guidelines to ensure a smooth contribution process.
- Code of Conduct
- How to Contribute
- Setting Up the Project
- Branching and Commit Guidelines
- Pull Requests
- Coding Standards
- Styling Guidelines
- Issue Reporting
- Resources
- License
Please read and adhere to our Code of Conduct. We expect all contributors to act with respect and professionalism when engaging with the Custos community.
There are several ways you can contribute to Custos:
- Report Bugs: If you find any bugs or issues, please report them by opening an issue on GitHub.
- Submit Feature Requests: If you have an idea for a new feature, create an issue describing the feature and how it can benefit the project.
- Fix Issues: Look through our open issues for bugs or enhancements, and submit a pull request (PR) with your fix or improvement.
- Improve Documentation: Contributions to the documentation are always appreciated.
Before contributing, you need to set up the project locally:
- Fork the repository from the Custos GitHub.
- Clone your fork to your local machine:
git clone https://github.com/your-username/Custos-Dapp.git
- Navigate to the project directory:
cd Custos-Dapp
- Install project dependencies:
yarn
- Run the project:
yarn dev
- Ensure everything is working properly before making any changes.
-
Branch Naming:
feature/your-feature-name
for new features.bugfix/issue-number-description
for bug fixes.hotfix/critical-fix
for critical updates.
-
Commit Messages: Write clear, descriptive commit messages following this template:
- Short Summary: What the commit does.
- Details: (Optional) Any relevant details or context.
Example:
fix: resolve issue with user authentication Fixed a bug where users were unable to log in after a token expired.
-
Submitting a Pull Request:
- Ensure your branch is up to date with the main branch:
git pull origin master
- Push your branch to your forked repository:
git push origin your-branch-name
- Open a Pull Request (PR) against the master branch of Custos.
- Ensure your branch is up to date with the main branch:
-
Checklist Before Submitting:
- Provide a clear description of the problem/feature in the PR.
- Ensure your code follows the project’s Coding Standards.
- Link any relevant issues in the PR description (e.g., closes #issue-number).
-
PR Review Process:
- PRs will be reviewed by maintainers.
- You may be asked to make changes. Please respond promptly to feedback.
- Once approved and merged, your contribution will become part of Custos!
- Style Guide: Follow our coding style, which is based on ESLint rules for JavaScript.
- Code Quality: Write clean, readable, and maintainable code. Use meaningful names for variables, functions, and classes.
- Testing: Ensure your changes are covered by tests. Run tests locally before submitting a PR
We use Tailwind CSS for styling across the project. Please ensure that all UI changes adhere to Tailwind's utility-first approach.
- Use Tailwind CSS documentation as a reference for styling components.
- Ensure that your changes align with our design system by following the Figma design.
If you encounter any issues or have suggestions, please open an issue on GitHub using the following format:
- Title: A brief description of the issue.
- Description: A detailed explanation of the issue, including steps to reproduce it, if applicable.
- Environment: Include any relevant environment details (e.g., OS, browser, Node version).
- Screenshots/Logs: Attach screenshots or logs to help with debugging.
We’re excited to have you contribute to Custos and look forward to building something amazing together!