11 Commits

Author SHA1 Message Date
Reid-Agent df9bebe7ec [tool] Update skills_lint to published version ^0.5.1 (#229)
- Update tool/generator/pubspec.yaml to depend on published skills_lint: ^0.5.1
- Remove custom LastModifiedRule and its enforcement from lint_skills_test.dart
- Verify all 100 tests and static analysis pass cleanly
2026-09-01 10:27:19 -07:00
Reid Baker f8408b8e76 feat: migrate from dart_skills_lint to skills_lint package (#226)
* feat: migrate from dart_skills_lint to skills_lint package

* Apply suggestion from @reidbaker

* test: improve skill linting and validation test robustness

* Update .github/workflows/skills_tool.yaml

* style: format test/lint_skills_test.dart

---------

Co-authored-by: Reid-Agent <269567208+reidbaker-agent@users.noreply.github.com>
2026-08-24 11:59:07 -04:00
Reid Baker 52a959374c Migrate tool/generator test to ConfigParser.loadConfig and clean up workflow (#186)
* Migrate generator test off deprecated resolvedRules onto resolvedRuleConfigs

* Remove duplicate validate_skills CLI workflow job

* Ensure lint_skills_test is path-resilient and asserts non-empty directoryConfigs

* Fix omit_local_variable_types lints in lint_skills_test.dart

* Simplify lint_skills_test to direct ConfigParser.loadConfig() call

* Update onboarding docs and skills to include directoryConfigs.isNotEmpty assertion when loading config

* Address PR discussion r3617291798: handle working directory when run from repo root

* Make working directory path resolution cross-platform for Windows, macOS, and Linux

* Format lint_skills_test.dart with dart format

---------

Co-authored-by: Reid-Agent <269567208+reidbaker-agent@users.noreply.github.com>
2026-07-20 16:52:02 -04:00
John Ryan 85b5080161 Merge pull request #122 from jwren/32-valid-input
Migrate YAML input asset validation to validate-skill command
2026-05-07 10:18:56 -07:00
Jaime Wren e17efb5eb1 Migrate YAML input asset validation to validate-skill command
- Resolves https://github.com/flutter/skills/issues/32
- Move structural, prefix, and protocol checks from `yaml_assets_test.dart` to `ValidateSkillCommand.run()`.
- Allow configuration validation to run upfront without requiring a Gemini API key.
- Delete legacy `test/yaml_assets_test.dart`.
- Add comprehensive edge case coverage in `test/commands/validate_skills_input_test.dart`.
2026-05-06 11:51:06 -07:00
Jaime Wren 645dc13f83 [generator] Bug Fix: Restrict markdown table parser to child rows and expand edge-case test coverage 2026-05-04 13:48:35 -07:00
Reid Baker 483fee361e formatting 2026-04-09 20:02:57 -04:00
Reid Baker e2102117e1 Added custom rules, documenation and examples 2026-04-09 19:57:13 -04:00
Reid Baker 6980100eef Improve documentation and intial test 2026-04-09 18:26:29 -04:00
Reid Baker 8396c325e1 give a public api to dart test code and Update readme with expanded set of metadata tags 2026-04-09 18:11:10 -04:00
Jaime Wren b3b2ca1bc4 Move the generator tool to tool/generator and update docs 2026-03-31 14:39:41 -07:00