• Use American English spellings.
  • Check with the user first before deleting or overwriting files.
  • Default to allowing the user to launch long-running jobs and scripts.
  • Keep documentation up to date.
  • Put test cases into tests/
  • Follow the Test-Driven Development framework.
  1. List use cases of the new feature.
  2. Write a test for one of the items on the list from (1).
  3. Run all tests. The new test from (2) should fail because we haven’t implemented the desired feature yet.
  4. Write the simplest code that passes the new test from (2).
  5. Check that all tests pass.
  6. Refactor as needed while ensuring that all tests continue to pass.
  7. Repeat the previous steps, starting with step 2, until all tests are implemented and passing.