Commit Graph

225 Commits

Author SHA1 Message Date
John Ryan cc06019c0d Merge pull request #8 from jwren/second-github-workflow-analyzer-3
Add Flutter `dart test` into the CI workflow
2026-03-03 07:45:52 -08:00
John Ryan 764a389d16 Merge pull request #10 from jwren/9-rm-resources-from-generated-skills
feat: Remove the `resources` field from skill generation and metadata.
2026-03-03 07:45:44 -08:00
Jaime Wren dfbbaa7f92 Run dart format . 2026-03-03 07:21:44 -08:00
Jaime Wren 835ecba9d6 wip, pushing this change to test the presubmit 2026-03-03 07:08:20 -08:00
Jaime Wren 332c03cda3 feat: Remove the resources field from skill generation and metadata, and add a new flutter-architecture skill.
This resolves https://github.com/flutter/skills/issues/9
2026-03-02 23:52:13 -08:00
John Ryan 59278f0e27 Add animation skill 2026-03-02 13:45:43 -08:00
John Ryan 8f9f143d2c Add routing and navigation skill 2026-03-02 13:35:11 -08:00
Jaime Wren 90636dc21d Add Flutter integrate dart test into the CI workflow.
Expected to fail on initial PR creation, not out for review yet.

https://github.com/flutter/flutter/issues/183124
2026-03-02 13:08:39 -08:00
John Ryan 88c4b24f0d Merge pull request #5 from jwren/second-github-workflow-analyzer-2
ci: Add a second GitHub actions workflow
2026-03-02 11:46:03 -08:00
Jaime Wren 11b066705f Add a second GitHub actions workflow
Adds a GitHub Actions workflow to automatically run CI checks for the skills CLI tool. Tests are run on both Ubuntu, Mac and Windows for the `stable` and `dev` Dart SDK channels. The workflow triggers on pushes and pull requests to the main branch that modify the `tool/` directory, and runs:
- `dart pub get`
- `dart analyze --fatal-infos`
- `dart format` (on the dev channel only)
- `dart test` - is currently omitted as the test suite needs to be refactored to work properly without relying on real API keys in the CI environment

https://github.com/flutter/flutter/issues/183124
2026-03-02 10:41:30 -08:00
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