Files
microsoft-SkillOpt/skillopt_sleep/adapters/__init__.py
NovusEdge 4c8fbda1a3 feat(adapters): add Superpowers skill evaluation adapter (#132)
Add adapter to evaluate Superpowers skills against synthetic scenarios:

- `skillopt_sleep/adapters/superpowers.py`: SuperpowersEvaluator class
  - Embedded scenarios for verification-before-completion skill
  - Rule-based judge (contains, regex, order, any_of ops)
  - Isolated HOME per scenario for clean state
  - Returns score compatible with SkillOpt gate

- `tests/test_superpowers_scenarios.py`: Offline tests for judge logic

Usage:
  from skillopt_sleep.adapters.superpowers import SuperpowersEvaluator
  evaluator = SuperpowersEvaluator(skill="verification-before-completion")
  results = evaluator.evaluate(candidate_skill_path)

Refs #132

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-07-13 21:13:17 +03:00

2 lines
55 B
Python

"""SkillOpt adapters for external skill frameworks."""