Commit Graph

3 Commits

Author SHA1 Message Date
John Ryan 32dd443beb Add command to update the README, add missing instructions to READMEs. 2026-03-05 14:39:41 -08:00
Jaime Wren 75d8d9671a Improve CLI error handling, validation edge cases, and resource paths
Addresses several points of failure during the skill generation and validation lifecycle to prevent crashes and provide better error visibility. Additionally, it expands the capability of the `resources` field to accept local relative file paths in addition to URLs.
Key changes include:
- **Expanded Resource Support:** Updated `BaseSkillCommand` and `SkillParams` to allow the `resources` list to take both URLs and relative file paths, improving local testing and generation workflows.
- **Service Robustness:** Enhanced `GeminiService` and API interactions to gracefully handle errors, empty responses, and malformed JSON payloads.
- **Command Reliability:** Updated `GenerateSkillCommand` and `ValidateSkillCommand` to detect and gracefully log generic exceptions and empty content fetches instead of failing silently or crashing.
- **HTML/Markdown Parsing:** Broadened test coverage to cover conversions for tables, definition lists (dl/dt/dd), video sources, iframes, and details/summary HTML tags.
- **Comprehensive Testing:** Added unit tests across `generate_skills_test.dart`, `validate_skills_test.dart`, and `gemini_service_test.dart` to explicitly cover invalid API responses, missing metadata fallbacks, and retry logic.
- **Documentation:** Updated `README.md` to reflect the refined parameters, new resource path capabilities, and handling logic.
2026-03-01 23:16:47 -08:00
Jaime Wren fca56eee22 This introduces a new Dart CLI application in the tool/ directory designed to automate the creation and validation of Agent Skills
Contributions from @jwren as well as @johnpryan

https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview
2026-02-25 15:23:31 -08:00