Skip to content

feat(validation): Add script for skill validation#2

Closed
galElmalah wants to merge 4 commits intomainfrom
add-workflow-validation
Closed

feat(validation): Add script for skill validation#2
galElmalah wants to merge 4 commits intomainfrom
add-workflow-validation

Conversation

@galElmalah
Copy link
Collaborator

This commit introduces a new script to automate the validation of skills within the repository. It leverages the skills-ref library to ensure all skills adhere to a defined schema and structure.

  • Adds skills-ref to requirements.txt.
  • Provides scripts/validate.sh to check all skills in the skills/ directory or a specified skill path.
  • Outputs colored pass/fail status for each skill.
  • Generates a summary of validation results.
  • Exits with a non-zero status if any skill fails validation, facilitating integration into CI/CD pipelines.

This commit introduces a new script to automate the validation of skills
within the repository. It leverages the `skills-ref` library to ensure
all skills adhere to a defined schema and structure.

- Adds `skills-ref` to `requirements.txt`.
- Provides `scripts/validate.sh` to check all skills in the `skills/`
  directory or a specified skill path.
- Outputs colored pass/fail status for each skill.
- Generates a summary of validation results.
- Exits with a non-zero status if any skill fails validation,
  facilitating integration into CI/CD pipelines.
Automatically validates skills on push/PR to master when relevant files change.
The correct PyPI package is skills-cli with the `skills` CLI command.
The skills-ref package is not published to PyPI - install directly
from the agentskills/agentskills GitHub repository.
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.

1 participant