Commit Graph

108 Commits

Author SHA1 Message Date
Reid Baker e2102117e1 Added custom rules, documenation and examples 2026-04-09 19:57:13 -04:00
Reid Baker 9a93f065da Add models for new rules structure 2026-04-09 19:08:59 -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
John Ryan 631e71bb4f Add the ability to run update-readme command on a different project 2026-04-09 09:30:19 -07:00
Reid Baker 901b8c5010 Align dart_skills_lint with the example in https://github.com/dart-archive/dartlang_project_templates/tree/main 2026-04-07 15:04:35 -04:00
Reid Baker 4603098a56 Setup precommit linting, formatting, analyzing 2026-04-07 11:39:18 -04:00
Reid Baker 8122021bbf rename dart-skills-lint to dart_skills_liint 2026-04-07 11:07:54 -04:00
Reid Baker 337b1a85d7 move dart-skills-lint to dart_skills_lint 2026-04-07 11:05:47 -04:00
Reid Baker 12ff65d416 Merge pull request #57 from reidbaker/r-linter-for-skills
Add Static analysis tool written in dart that checks for skill compliance with the open skills specification.
2026-04-06 15:32:20 -04:00
Reid Baker 39ff8f24e4 Ignore dot directories in folders of skills 2026-04-06 15:25:56 -04:00
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