Skip to content

Conversation

@meguminnnnnnnnn
Copy link
Contributor

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@codecov
Copy link

codecov bot commented Jan 4, 2026

Codecov Report

❌ Patch coverage is 79.22078% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.36%. Comparing base (d11713a) to head (52ba06d).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
adk/middlewares/skill/skill.go 67.08% 13 Missing and 13 partials ⚠️
adk/middlewares/skill/local.go 92.00% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #661      +/-   ##
==========================================
+ Coverage   80.31%   80.36%   +0.04%     
==========================================
  Files         124      126       +2     
  Lines       11904    12060     +156     
==========================================
+ Hits         9561     9692     +131     
- Misses       1613     1621       +8     
- Partials      730      747      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@turingboot
Copy link

hi team!thanks for ur works. When is this skills feature roughly expected to be merged? This is a promising feature, and we look forward to its integration.

@hi-pender
Copy link
Contributor

hi team!thanks for ur works. When is this skills feature roughly expected to be merged? This is a promising feature, and we look forward to its integration.

it maybe released on the end of this week

@meguminnnnnnnnn meguminnnnnnnnn force-pushed the feat/wdz/adk_skill branch 5 times, most recently from 2dec249 to ca307c3 Compare January 9, 2026 03:44
</skills_instructions>

`
skillToolDescriptionTemplate = `
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skill 中需要包含 skillPath, skill 的使用,可能会涉及 skillPath 下的 assets、scripts、references 目录
Image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

考虑到模型使用 skill 的场景,下面这俩抽象确实不够。 skill 使用时,可能会需要 read、bash 等工具

Image

How to invoke:
- Use this tool with the skill name only (no arguments)
- Examples:
- ` + "`" + `skill: "pdf"` + "`" + ` - invoke the pdf skill
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这地方把 ` 改成 ' 是不是也没啥影响, 这样 Prompt 更易维护一些

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

' 里套 " 感觉不好吧

return "", fmt.Errorf("failed to get skill: %w", err)
}

err = validateSkillName(skill.Name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

validateSkillName 和 validateSkillContent 不应该在 skill 工具调用时校验,应该在构建时

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants