From d8add4d3c150fbb0a0cc610c7145dbbeeea9b050 Mon Sep 17 00:00:00 2001 From: DevCats Date: Mon, 11 May 2026 21:14:02 +0000 Subject: [PATCH] fix: add skills to allowed namespace subdirectories The README validation tool has an allowlist of directories permitted under registry//. Add 'skills' to that list so the skills/README.md catalogue entry passes validation. Skills are added to supportedUserNameSpaceDirectories but not to supportedResourceTypes, so the skills directory is allowed to exist without being validated as a module or template. --- cmd/readmevalidation/repostructure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/readmevalidation/repostructure.go b/cmd/readmevalidation/repostructure.go index c77c723b..98421886 100644 --- a/cmd/readmevalidation/repostructure.go +++ b/cmd/readmevalidation/repostructure.go @@ -11,7 +11,7 @@ import ( "golang.org/x/xerrors" ) -var supportedUserNameSpaceDirectories = append(supportedResourceTypes, ".images") +var supportedUserNameSpaceDirectories = append(supportedResourceTypes, ".images", "skills") // validNameRe validates that names contain only alphanumeric characters and hyphens var validNameRe = regexp.MustCompile(`^[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$`)