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
+33
View File
@@ -0,0 +1,33 @@
import unittest
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
CURATION = ROOT / "skills" / "thirdparty" / "thirdparty-skills.yml"
def read_text(path: Path) -> str:
return path.read_text(encoding="utf-8")
class ThirdpartySkillCurationTests(unittest.TestCase):
def test_architecture_skills_are_recorded_for_sync(self):
text = read_text(CURATION)
self.assertIn("id: brooks-lint", text)
self.assertIn("upstream_repo: https://github.com/hyhmrright/brooks-lint", text)
self.assertIn("architecture audit", text)
self.assertIn("sync: enabled", text)
self.assertIn("id: codebase-recon", text)
self.assertIn("upstream_repo: https://github.com/outfitter-dev/agents", text)
self.assertIn("upstream_path: plugins/outfitter/skills/codebase-recon", text)
self.assertIn("risk scan", text)
self.assertIn("id: codebase-migrate", text)
self.assertIn("upstream_repo: https://github.com/ComposioHQ/awesome-codex-skills", text)
self.assertIn("upstream_path: codebase-migrate", text)
self.assertIn("large codebase migrations", text)
if __name__ == "__main__":
unittest.main()