There’s an excellent guide on our wiki on how to help the project by contributing dialect changes.
Documentation for SQLFluff: