feat(frontend): multi-source skill picker (Skill Hub + local upload + validation)#670
Merged
yaozheng-fang merged 1 commit intoJul 17, 2026
Conversation
richarddancin
force-pushed
the
feat/multi-source-skills
branch
from
July 16, 2026 15:22
ed9797f to
c59adff
Compare
… AgentKit SkillSpaces)
Adds three skill sources to the custom agent-creation wizard's skill step.
- **Skill Hub** (existing public marketplace at skills.volces.com/findskill.com):
unchanged behavior, just extracted into its own tab.
- **Local files** (new): upload a folder or .zip from the browser. Each skill
directory must contain a SKILL.md with name (kebab-case, <=64 chars) and
description (<=1024 chars, no XML tags); quoted frontmatter values are
accepted and stripped; zip-slip paths are rejected. Files are embedded
directly in the generated project under skills/<name>/.
- **AgentKit SkillSpaces** (new): browse account-scoped SkillSpaces (ss-*) and
the skills inside them. Backend adds three SSO-gated /web/skill-spaces*
routes that call AgentkitSkillsClient with the server's Volcengine
credentials (env -> IAM file chain, including VOLCENGINE_SESSION_TOKEN for
STS). The browser never sees AK/SK. v1 materializes the SKILL.md
(SkillMd) for each selected skill; full TOS-zip download of scripts/assets
is a follow-up.
Wiring:
- frontend/src/create/skills.ts refactored into skills/ module (types, zip,
skillhub, local, skillspace, barrel).
- SkillsSourceTabs replaces the single picker; shared source-badged pill list.
- codegen emits a SkillToolset loading every selected skill via
load_skill_from_dir (one per line for readability); skills are added to
Agent(tools=[...]).
- configYaml + normalizeDraft round-trip the new SelectedSkill shape; old
{slug,name,namespace}-only YAMLs default to source='skillhub' for backward
compat.
- finish() dispatches per-source (local uses embedded files, hub downloads,
skillspace fetches SKILL.md); dedup key is source-aware.
richarddancin
force-pushed
the
feat/multi-source-skills
branch
from
July 17, 2026 02:29
c59adff to
0bf6319
Compare
yaozheng-fang
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… AgentKit SkillSpaces)
Adds three skill sources to the custom agent-creation wizard's skill step.
Wiring: