SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-09-28 14:25 UTC

skillsv0.5.2

Version [0.5.2] committed by reidbaker-agent. Update Category: Feature Addition & Enhancement. Commit details: [tool] Update skills_lint to ^0.5.2 and add SARIF code scanning (#48). This update introduces new capabilities and module extensions.

reidbaker-agent 0d9f1c4 dart-lang/skills

CommitRaw commit message

[tool] Update skills_lint to ^0.5.2 and add SARIF code scanning (#48)

I dont know if we want the comments in prs that edit skills. I think we
do.
If you dont just close this pr and update on your own schedule. 
<details>
### Summary

- Updates the `skills_lint` dev_dependency in `repo_tool/pubspec.yaml`
from `^0.5.1` to `^0.5.2`.
- Adds `.github/workflows/code_scanning.yaml` to generate and upload
SARIF reports to GitHub Code Scanning on pull requests and pushes to
`main` affecting skills or repo tooling.

### Workflow Details

- Modeled on the upstream SARIF workflow.
- Scoped permissions: top-level `contents: read`; scan job `contents:
read`, `security-events: write`.
- Guarded SARIF upload step to prevent failures on fork pull requests
where `security-events: write` is unavailable.
- Fails the job if `skills_lint` detects any lint errors while ensuring
the SARIF report is uploaded prior to failure.

### Verification

- `dart pub get` in `repo_tool/`: clean resolution.
- Empirical path resolution tested with 0.5.2 from `repo_tool/` and
root.
- Local SARIF generation verified (`dart run skills_lint
--format=sarif`), producing valid SARIF 2.1.0 JSON.
- `dart test` in `repo_tool/`: all 15 skills passed validation.
- `dart format --output=none --set-exit-if-changed .`: all files
formatted.
- `dart analyze --fatal-infos
--packages=repo_tool/.dart_tool/package_config.json repo_tool skills`:
no issues found.
</details>

Co-authored-by: Reid Baker <reidbaker@google.com>