diff --git a/wonderyl-style-guide.md b/wonderyl-style-guide.md index b3710c0852..6bee09ba1e 100644 --- a/wonderyl-style-guide.md +++ b/wonderyl-style-guide.md @@ -103,6 +103,11 @@ Discoverability beats strict taxonomy. `runkperf` and `collectKperfResult` are a together, so they belong in one `kperf/` folder even though one shells out to `az`. *(PR [#1184](https://github.com/Azure/telescope/pull/1184), [#1296](https://github.com/Azure/telescope/pull/1296))* +## Put new library code in an appropriate subfolder + +Use an existing subfolder when the code fits its purpose. If none fits, create a clearly +named subfolder rather than adding the code at the library root. + ## Place modules by the domain they belong to, and keep layers clean A step that is fundamentally about Kubernetes belongs under `lib/steps/k8s` (or a dedicated