Enforce README naming convention for subdirectories

The root keeps README.md; every subdirectory README must be <dir>.readme.md with leading dots stripped. Add a blocking governance checker with 12 tests, wire it into package scripts, CI, and pre-commit, and rename the existing subdirectory READMEs.
This commit is contained in:
gitea committed 2026-11-19 16:26:37 +08:00
1 parent 7fe5cae62c
commit 666a12c676
13 files changed
+288 -21

No files matched your search

+4
View File
@@ -130,4 +130,8 @@ if printf '%s\n' "$staged" | grep -qE "^skills/seal-use/(SKILL\.md|references/[^
bun run verify:skill-md || exit 1
fi
if printf '%s\n' "$staged" | grep -qiE "(^|/)readme"; then
bun run verify:readme-naming || exit 1
fi
exit 0