{"id":50735429,"url":"https://github.com/bjester/shinyskills","last_synced_at":"2026-06-10T13:01:33.523Z","repository":{"id":349192229,"uuid":"1201382022","full_name":"bjester/shinyskills","owner":"bjester","description":"An agent skill validator based on agentskills/skills-ref","archived":false,"fork":false,"pushed_at":"2026-04-04T17:04:02.000Z","size":37,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T19:36:16.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-04T15:50:46.000Z","updated_at":"2026-04-04T17:04:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bjester/shinyskills","commit_stats":null,"previous_names":["bjester/shinyskills"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bjester/shinyskills","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjester%2Fshinyskills","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjester%2Fshinyskills/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjester%2Fshinyskills/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjester%2Fshinyskills/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjester","download_url":"https://codeload.github.com/bjester/shinyskills/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjester%2Fshinyskills/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34153483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-10T13:01:32.323Z","updated_at":"2026-06-10T13:01:33.515Z","avatar_url":"https://github.com/bjester.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShinySkills\n\nA validation tool for Agent Skills (Rust port of the reference library [agentskills/skills-ref](https://github.com/agentskills/agentskills/tree/main/skills-ref)).\n\nThis CLI utility is designed to validate LLM agent skills (their directories), checking for proper structure, required fields, and file references. Additionally, it provides a `validate-staged` subcommand intended for pre-commit hooks.\n\n\u003e [!NOTE]\n\u003e This was vibe coded. Happy to have Rust engineers get involved!\n\n## What's different\n\nThe `skills-ref` tool is described as only a demonstration and reference library. They aren't accepting contributions there at this time. \n\nSo this project has some additional features:\n- It validates the skill's file references ([proposal](https://github.com/agentskills/agentskills/discussions/282))\n- It prototypes allowing agent-specific customization of skills:\n  - For example, `shinyskills validate --vibe \u003cskill_dir\u003e` allows `user-invocable` in the frontmatter\n- It adds an additional `validate-staged` subcommand for pre-commit hook integration\n\n## Building\n\n```bash\ncargo build --release\n```\n\n## Usage\n\n### Validate a skill directory\n\n```bash\ncargo run -- validate /path/to/skill-directory\n```\n\nExit codes:\n- 0: Valid skill\n- 1: Validation errors found\n\nOptions:\n- `--vibe`: Enable Vibe-specific validation rules (allows `user-invocable` in frontmatter)\n\n### Validate based on changed files (for pre-commit)\n\n```bash\ncargo run -- validate-staged /path/to/changed/file1.py /path/to/changed/SKILL.md\n```\n\nThis command is designed for pre-commit hooks. It:\n- Accepts a list of changed files\n- Finds which skill directories contain those files\n- Validates each unique skill directory only once\n- Reports errors prefixed with skill names\n\nOptions:\n- `--vibe`: Enable Vibe-specific validation rules\n- `--context-dir \u003cDIR\u003e`: Limit upward search to within this directory\n- `--max-depth \u003cN\u003e`: Maximum levels to walk up when searching for skill directory (default: 3)\n\n### Read skill properties as JSON\n\n```bash\ncargo run -- read-properties /path/to/skill-directory\n```\n\n### Generate XML prompt block\n\n```bash\ncargo run -- to-prompt /path/to/skill1 /path/to/skill2\n```\n\n## Pre-Commit Hook\n\nAdd to your `.pre-commit-config.yaml`:\n\n```yaml\nrepos:\n  - repo: https://github.com/yourusername/shinyskills\n    rev: v0.1.0  # Use the git tag you want\n    hooks:\n      - id: shinyskills-validate\n        # Optional: limit search to your project directory\n        args: [\"--context-dir\", \".\"]\n        # Optional: adjust max depth (default is 3)\n        # args: [\"--max-depth\", \"2\"]\n```\n\nThe hook will:\n- Run on any file change in your repository\n- Automatically detect which skill directories need validation\n- Only validate skills that contain changed files\n- Report errors with skill names prefixed for clarity\n\n## Development\n\n```bash\n# Build\ncargo build\n\n# Run tests\ncargo test\n\n# Format code\ncargo fmt\n\n# Lint code\ncargo clippy\n```\n\n## Structure\n\n- `src/main.rs` - CLI entry point\n- `src/lib.rs` - Library root\n- `src/errors.rs` - Custom error types\n- `src/models.rs` - Data models (SkillProperties)\n- `src/parser.rs` - YAML frontmatter parsing and file scanning\n- `src/validator.rs` - Validation logic\n- `src/prompt.rs` - XML prompt generation\n\n## AI Disclosure\n\nI'm not a Rust developer, but I was keen to port the tool to Rust because of its speed benefits, particularly for pre-commit integration. I used Qwen3.5-122B to complete most of the port, then Kimi-k2.5 to do review and set up pre-commit integration with new `validate-staged` subcommand.\n\n\n## License \u0026 Attribution\n\nThis project is a Rust port of [agentskills/skills-ref](https://github.com/agentskills/agentskills/tree/main/skills-ref), originally licensed under Apache 2.0, copyright (c) 2025 Anthropic, PBC.\n\nKey changes and additions in this port:\n\n- Language: Complete rewrite from Python to Rust for performance and type safety.\n\n- Validation: Added skill file reference validation ([link to proposal](https://github.com/agentskills/agentskills/discussions/282)).\n\n- Customization: Implemented agent-specific skill customization (e.g., --vibe flag).\n\n- CLI Tools: Added validate-staged for pre-commit integration.\n\n[MIT](LICENSE) :: Copyright 2026 Blaine Jester\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjester%2Fshinyskills","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjester%2Fshinyskills","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjester%2Fshinyskills/lists"}