Here are three steps to making decisions, such as introducing new tools and processes:
Decide.
Automate.
Document.
First of all, a decision needs to be made about what you will introduce.
It could be whether to write automated tests, use static analysis, choose which coding standard to use, or make architecture decisions about how you want to build your application.
Once you've decided and added the tool or process, automate it if you can.
A CI pipeline or Git Hooks can run tests and checks automatically to know if the code complies with what was agreed upon rather than relying on this being done manually.
Finally, document it so that it's available for others to read and reference, including new team members.
Ensure to document why this was added, what problem it solves, any alternatives that were considered and any side effects or consequences. Technical design documents and ADRs (architectural decision records) are great for this!
In the future, you may want to revisit the decision and decide if it's still correct, and you'll appreciate having the information documented.
- Oliver
Was this interesting?
About me
I'm an Acquia-certified Drupal Triple Expert with 17 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.