From d512112a6a64e49222a274c65bc437cbd3c5eca8 Mon Sep 17 00:00:00 2001 From: Lei Yao Date: Mon, 30 Nov 2026 14:51:15 +1100 Subject: [PATCH] docs: add library subfolder guideline Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- wonderyl-style-guide.md | 5 +++++ 1 file changed, 5 insertions(+) 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