
Haiyuan CaoandCopybara-Service
223d9a7ff5
feat: Agent Skills spec compliance — validation, aliases, scripts, and auto-injection
Close gaps between ADK's Agent Skills implementation and the public
Agent Skills spec (agentskills.io/specification):
- Frontmatter: add field validators for name (kebab-case, max 64),
description (non-empty, max 1024), compatibility (max 500);
add allowed-tools alias; add extra='allow'; add populate_by_name
- utils: extract _parse_skill_md helper; use model_validate() for
alias support; enforce name-dir matching; add validate_skill_dir()
and read_skill_properties()
- prompt: accept Union[Frontmatter, Skill];
- skill_toolset: add scripts/ resource loading; auto-inject system
instruction (with inject_instruction opt-out); duplicate name check;
_list_skills() returns Skill objects
- sample agent: remove manual instruction (auto-injected now)
Co-authored-by: Haiyuan Cao <haiyuan@google.com>
PiperOrigin-RevId: 873177060
2026-02-20 19:56:43 -08:00
..
2026-02-05 16:55:06 -08:00
2026-02-11 13:01:32 -08:00
2026-02-09 10:25:03 -08:00
2026-02-20 11:59:54 -08:00
2026-02-09 10:25:03 -08:00
2026-01-20 14:50:09 -08:00
2026-02-12 13:58:05 -08:00
2026-01-20 14:50:09 -08:00
2026-02-16 18:50:30 -08:00
2026-02-12 15:01:51 -08:00
2026-02-10 17:21:38 -08:00
2026-02-19 12:02:27 -08:00
2026-02-09 10:25:03 -08:00
2026-01-20 14:50:09 -08:00
2026-01-21 23:02:33 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-02-10 17:21:38 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-02-19 12:02:27 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-02-11 13:01:32 -08:00
2026-02-09 10:20:08 -08:00
2026-02-19 12:02:27 -08:00
2026-01-20 14:50:09 -08:00
2026-02-19 12:02:27 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-01-19 23:36:53 -08:00
2026-02-06 11:18:32 -08:00
2026-01-19 23:36:53 -08:00
2026-01-20 14:50:09 -08:00
2026-02-11 13:01:32 -08:00
2026-02-20 19:56:43 -08:00
2026-01-20 14:50:09 -08:00
2026-01-20 14:50:09 -08:00
2026-02-19 12:02:27 -08:00
2026-02-19 12:02:27 -08:00