diff --git a/HACKING.md b/HACKING.md
index 6ac6dc23e418ac31b6c69080312f73df59903033..dcaec3bfc4a5b992bf01a6acaae55132fe85669d 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -1,5 +1,29 @@
 # Hacking guide
 
+## Running style checks and unit tests
+
+When working on the code base, consider running the style checks and unit
+tests locally, because the CI will complain anyway:
+
+    ./gradlew :check
+
+The above command does both. To run style checks only:
+
+    ./gradlew ktlintCheck
+
+If that fails, try formatting:
+
+    ./gradlew ktlintFormat
+
+Running unit tests only:
+
+    ./gradlew :test --tests "*"
+
+That will run tests from the desktop project only. On the other hand, this
+will also run tests on briar core:
+
+    ./gradlew test
+
 ## Testing different locales
 
 To test the app with a different locale, add this e.g. in `Main.kt`: