Here are some best practices to increase the chances of your open-source pull requests getting accepted by maintainers:

Before you start coding:

While coding:

Creating the pull request:

After submitting: