feat(skills): curate code workflow skills

Add a Gitea CI triage skill with legacy web-log fallback, document first-party and third-party skill roles, and register selected third-party code workflow sources.

Remove the first-party bulk refactor workflow in favor of the registered codebase migration replacement.
This commit is contained in:
csh
2026-05-29 12:55:10 +08:00
parent d8eb418277
commit 3023aef8a0
12 changed files with 476 additions and 123 deletions
+44
View File
@@ -0,0 +1,44 @@
import unittest
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
README = ROOT / "skills" / "README.md"
class SkillsReadmeTests(unittest.TestCase):
def test_readme_describes_first_party_and_thirdparty_skill_groups(self):
text = README.read_text(encoding="utf-8")
for name in ("commit-message", "gitea-fix-ci", "style-cleanup"):
self.assertIn(name, text)
for name in (
"brainstorming",
"executing-plans",
"systematic-debugging",
"test-driven-development",
"requesting-code-review",
"receiving-code-review",
"ui-ux-pro-max",
"karpathy-guidelines",
):
self.assertIn(name, text)
def test_readme_explains_suite_membership_for_registered_sources(self):
text = README.read_text(encoding="utf-8")
self.assertIn("brooks-lint", text)
self.assertIn("brooks-review", text)
self.assertIn("brooks-audit", text)
self.assertIn("brooks-debt", text)
self.assertIn("brooks-test", text)
self.assertIn("_shared", text)
self.assertIn("codebase-recon", text)
self.assertIn("codebase-migrate", text)
self.assertIn("已登记待同步", text)
if __name__ == "__main__":
unittest.main()