Reid Baker
ff0c8fce59
Move documentation to rules.dart for urls in spec
2026-04-06 15:23:18 -04:00
Reid Baker
007667fcc0
Add tests for cli, config and default override behvior
2026-04-06 15:10:05 -04:00
Reid Baker
6eb918639e
Change check types code to no longer manipulate global state
2026-04-06 15:00:55 -04:00
Reid Baker
8a3e1c78ff
remove dead whitespace
2026-04-02 10:24:28 -04:00
Reid Baker
47cc90a34b
Remove stale doc
2026-04-02 10:17:28 -04:00
Reid Baker
2e1b0fcad1
use const for json keys
2026-04-02 10:14:18 -04:00
Reid Baker
17fb0fa006
Extract analysis severity to its own file
2026-04-02 09:53:14 -04:00
Reid Baker
01738b514e
Update specification to remove subjective parts of the validation
2026-04-02 09:48:11 -04:00
Reid Baker
0c4b35dda9
Move how to to a skill
2026-04-02 09:38:09 -04:00
Reid Baker
3bf6971586
remove implemented feature
2026-04-02 09:29:10 -04:00
Jaime Wren
64e4e71eab
Nit tool/generator/README.md changes
...
- add --dry-run option
- update resource path references in README
2026-04-01 23:36:36 -07:00
Reid Baker
1b651bf282
copyright files
2026-04-01 15:01:02 -04:00
Reid Baker
76a79fd9b9
Fix io errors
2026-04-01 14:54:39 -04:00
Reid Baker
adeb95dd3d
analyze errors
2026-04-01 14:50:29 -04:00
Reid Baker
7e50815dca
extract a utility for creating skill frontmatter
2026-04-01 14:43:55 -04:00
Reid Baker
041c6d8052
extract frontmatter string creation
2026-04-01 14:28:54 -04:00
Reid Baker
36e0b65e9f
Analyzer warnings
2026-04-01 12:23:03 -04:00
Reid Baker
c92894f290
Dart formatting
2026-04-01 12:09:03 -04:00
Reid Baker
4d7a626b30
Add flutter analysis optoins then auto fix any fixable errors
2026-04-01 12:07:05 -04:00
Reid Baker
b1905508a9
Add ignore file for repo skills
2026-04-01 12:01:49 -04:00
Reid Baker
3a7f7682ee
Inital commit of dart based skills linter
2026-04-01 12:00:29 -04:00
Jaime Wren
b3b2ca1bc4
Move the generator tool to tool/generator and update docs
2026-03-31 14:39:41 -07:00
Jaime Wren
44685e8086
Remove yaml_writer dependency and update frontmatter generation to not have content in quotes
2026-03-30 15:51:33 -07:00
John Ryan
78d18121bb
Dart format
2026-03-12 15:41:26 -07:00
John Ryan
094df61adc
Address feedback, adjust prompts, and regenerate
2026-03-12 15:33:52 -07:00
John Ryan
fbc47fd9df
Merge pull request #28 from jwren/rm-http-check-from-cmds
...
Remove redundant HTTP check from the commands.
2026-03-10 09:31:29 -07:00
Jaime Wren
fb060bff46
feat: report dry run sizes in tokens instead of characters
2026-03-09 23:48:57 -07:00
Jaime Wren
06a0be1bec
Fix analyzer warnings in update_readme_command.dart
2026-03-09 23:48:57 -07:00
Jaime Wren
bac9fc29bb
Add --dry-run flag
...
Add --dry-run flag to generate, update, and validate commands to allow previewing fetched resources and configurations without triggering Gemini API calls or file modifications.
2026-03-09 23:48:56 -07:00
John Ryan
32dd443beb
Add command to update the README, add missing instructions to READMEs.
2026-03-05 14:39:41 -08:00
Jaime Wren
9f939a6e18
Add description assertions to YAML asset tests
...
- Enforce that all skills in `flutter_skills.yaml` contain the keyword "Flutter" in their description.
- Enforce that all skills in `dart_skills.yaml` contain the keyword "Dart" in their description.
2026-03-05 00:48:11 -08:00
Jaime Wren
bdd31b80b6
Remove redundant HTTP check from the commands.
...
The check already happens in ResourceFetcherService.
2026-03-05 00:30:29 -08:00
Jaime Wren
fb607cd88c
Add update-skill command to merge new docs into existing skills
...
This resoves https://github.com/flutter/skills/issues/7
2026-03-04 13:45:58 -08:00
John Ryan
d7f914e8b1
Merge pull request #25 from jwren/init-fetching-service
...
refactoring: Implement resource fetching service, add new skill definitions, and introduce prompts file.
2026-03-04 09:34:41 -08:00
Jaime Wren
13b3b324f7
refactoring: Implement resource fetching service, add new skill definitions, and introduce prompts file.
2026-03-04 08:36:37 -08:00
Jaime Wren
cbec08b894
Enable strict analysis options and resolve type warnings
2026-03-03 08:27:45 -08:00
John Ryan
1b30826f8a
Merge pull request #11 from jwren/rm-url-restrictions
...
Remove the URL restrictions for Flutter and Dart documentation
2026-03-03 08:12:35 -08:00
John Ryan
86a4e4cc26
Merge pull request #12 from jwren/rm-skill_assertions_test
...
Remove skill_assertions_test.dart, the validate command should be used instead
2026-03-03 08:12:09 -08:00
Jaime Wren
b56aca04ee
Remove the restriction that no URLs should be included in SKILLS.md files
2026-03-03 08:07:20 -08:00
Jaime Wren
f952a55478
Remove skill_assertions_test.dart, the validate command should be used instead
2026-03-03 08:04:07 -08:00
Jaime Wren
504f3c715e
Remove the URL restrictions for Flutter and Dart documentation
2026-03-03 07:53:35 -08:00
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
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
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