Commit Graph

65 Commits

Author SHA1 Message Date
John Ryan fadc98790f Merge pull request #3 from jwren/2-27-26-edge-cases
Improve CLI error handling, validation edge cases, and resource paths
2026-03-02 09:15:26 -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
John Ryan b24928f193 Merge pull request #2 from jwren/init-github-dependabot
Create the initial Github Action for the Skills repo
2026-02-27 13:59:22 -08:00
Jaime Wren 1d08991346 Create the initial github action for the skills repo
Same as content in dart-lang/ai: https://github.com/dart-lang/ai/commit/5ecadd3f967b6f663bb36504a589c5ae8ba2dab8
2026-02-27 12:30:22 -08:00
John Ryan fac8690703 update layout skill, add theming skill 2026-02-26 16:31:50 -08:00
John Ryan 1d9b1e33a7 Add layout skill 2026-02-26 16:16:01 -08:00
John Ryan e51fce1f73 Fix issues and regenerate 2026-02-26 15:47:44 -08:00
John Ryan 324ce39dfa add flutter-environment-setup-windows 2026-02-26 15:19:57 -08:00
John Ryan a8d3c02987 Add flutter- prefix to skills 2026-02-26 15:17:00 -08:00
John Ryan a73d7dbd2c Add architecture and setup-macos skill 2026-02-26 15:02:57 -08:00
John Ryan ed78f9a464 Merge pull request #1 from jwren/init-tool-dir
This introduces a new Dart CLI application in the `tool/` directory designed to automate the creation and validation of Agent Skills
2026-02-25 15:28:53 -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
John Ryan 2b0367064d Use exact BSD-3 clause license
Change-Id: I0d6bd77fcfe28ca8f66aa529601ad4f02b70de30
2026-02-05 13:42:40 -08:00
John Ryan 6cba408007 add required files
Change-Id: I5a79af45570f613cf4d7ed033b9bfecabcca7139
2026-02-03 11:50:14 -08:00
Anna Eilering 99da977cac Initialize main branch
Change-Id: I9688a12eede15376ca9a30b816d90da157890c3d
2026-02-02 16:11:00 -08:00