feat(claude): support natural-language skill optimization by rajadityaaa · Pull Request #267 · microsoft/SkillOpt · GitHub
Skip to content

feat(claude): support natural-language skill optimization - #267

Open
ADITYA RAJ SINHA (rajadityaaa) wants to merge 1 commit into
microsoft:mainfrom
rajadityaaa:feat/236-automated-skillopt
Open

feat(claude): support natural-language skill optimization#267
ADITYA RAJ SINHA (rajadityaaa) wants to merge 1 commit into
microsoft:mainfrom
rajadityaaa:feat/236-automated-skillopt

Conversation

@rajadityaaa

Copy link
Copy Markdown

Summary

Implements #236 by allowing the Claude Code SkillOpt-Sleep interface to accept natural-language optimization requests.

What changed

  • Added natural-language request handling to the SkillOpt-Sleep command.
  • Added mappings from natural-language requests to existing SkillOpt-Sleep actions:
    • improve/optimize → run
    • preview → dry-run
    • inspect sessions → harvest
    • inspect state → status
    • apply reviewed proposal → adopt
    • recurring optimization → schedule
    • stop scheduling → unschedule
  • Preserves existing CLI behavior for explicit actions.
  • Prevents invention of paths, skill names, backends, or other configuration values.
  • Ambiguous optimization requests default to dry-run.
  • Preserves validation gates, staging, backups, and explicit adoption safeguards.
  • Added guidance for reporting baseline score, candidate score, gate decision, edits, and staging location.

Testing

  • python -m unittest tests.test_mcp_schema -v
    • 18/18 passed
  • python -m pytest -q
    • 1428 passed
    • 74 skipped
    • 2 failed due to Windows symlink privilege (WinError 1314), unrelated to this change
    • 353 subtests passed

Notes

The implementation builds on the existing SkillOpt-Sleep engine rather than introducing a separate optimization pipeline.

@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

@Yif-Yang

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants