Skip to content

Latest commit

 

History

History
89 lines (59 loc) · 3.51 KB

CONTRIBUTING.md

File metadata and controls

89 lines (59 loc) · 3.51 KB

Contributing to Skiff

Contributions are always welcome! Here are a few guidelines that will help you along the way.

Summary

Code of Conduct

Skiff contributors adhere to the Contributor Covenant as the Code of Conduct. The full text is available here.

Your first Pull Request

To get familiar with contributing to Skiff, you can start by looking at our list of good first issues. These issues are either small in scope or have a clear solution in the ticket description.

Once you've become familiar, you can also take a look at the list of dev ready tickets. These are issues that are slightly larger in scope but have a clear solution in the ticket description.

You should expect issues that lack a clear solution or are not already on our roadmap, to undergo a longer development and review process.

To avoid duplicated effort, you must comment that you are taking the issue on the thread. Assigned contributors will show up in the "Assignee" section. If there have been no commits or progress past 7 days, anyone should feel free to leave a comment and take over the issue.

Opening a Pull Request

Always make sure to create an issue first, before opening a Pull Request. You should aim to keep Pull Requests small and associated with only a single issue for faster review.

  1. Fork the repository.

  2. Clone the fork to your local machine and add upstream remote:

git clone https://github.com/<your username>/skiff-apps.git
cd libs/skiff-crypto
git remote add upstream https://github.com/skiff-org/skiff-apps.git
  1. Synchronize your local main branch with the upstream one:
git checkout main
git pull upstream main
  1. Install the dependencies with yarn:
yarn install
  1. Create a new branch:
git checkout -b new-branch
  1. Make changes, commit and push to your fork:
git push -u origin HEAD
  1. Go to the repository and make a Pull Request.

The core team will promptly review your Pull Request and either merge it or request changes.

How to structure Pull Requests?

  • All branches should be targeted at main.
  • The reference issue number should be include in the branch name.
  • Pull Request titles should be formated as [Issue #] [Component] Imperative description. For example, [#1045] [Button] Add force theme support.
  • There should be a description for the reviewer on how the code is structured and what to review.
  • All code should be linted, well-formated, and type-safe (running yarn prettier, yarn lint, and yarn typescript)
  • Any API changes should tag the core team to update documentation.
  • Self-reviewing and commenting on your own code is highly appreciated.
  • The branch should be up-to-date with the target branch main.

Code style

Make sure to enable lint on-save. You can also run the commands yarn prettier and yarn lint. This will be checked by CI when you open a Pull request.