Skip to content

Add skills for Olive#2570

Open
xiaoyu-work wants to merge 3 commits into
mainfrom
xiaoyu/skill
Open

Add skills for Olive#2570
xiaoyu-work wants to merge 3 commits into
mainfrom
xiaoyu/skill

Conversation

@xiaoyu-work

Copy link
Copy Markdown
Collaborator

Describe your changes

Add skills for Olive

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

Copilot-Session: bac74ed5-49e1-4037-a29d-cbc2908627bd
Copilot-Session: bac74ed5-49e1-4037-a29d-cbc2908627bd
Copilot-Session: bac74ed5-49e1-4037-a29d-cbc2908627bd
Copilot AI review requested due to automatic review settings July 15, 2026 05:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a portable Agent Skill bundle for Microsoft Olive, including end-user guidance plus helper scripts for inspecting passes and validating workflow configs against the active Olive installation.

Changes:

  • Introduces the olive Agent Skill definition with guidance on choosing CLI interfaces and safely authoring workflows.
  • Adds reference docs and a starter workflow template for YAML/JSON workflow configuration and CLI usage.
  • Adds helper scripts to inspect installed pass schemas and to validate workflow configs / list required packages.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
skills/README.md Top-level index and installation guidance for the skills directory.
skills/olive/SKILL.md Core Olive skill definition and usage rules for CLI/workflow assistance.
skills/olive/scripts/validate_config.py Validates workflow structure and pass parameters; prints required packages.
skills/olive/scripts/inspect_pass.py Inspects/list passes from the installed Olive package and emits JSON schemas.
skills/olive/references/workflow-config.md Detailed workflow configuration reference and best practices for authorship/validation.
skills/olive/references/cli.md CLI-focused guide with common command patterns and cautions.
skills/olive/assets/workflow.yaml Example workflow template (HF → ONNX conversion + optimization).

Comment on lines +18 to +20
if isinstance(value, (list, tuple, set)):
return [_serialize(item) for item in value]
if isinstance(value, dict):
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