✨ 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:
@@ -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()
|
||||
Reference in New Issue
Block a user