Leyuu_5 on X: "功能越来越多,感觉可以来个skill让AI来帮设置需求了". The skill
lives in magpie-community/plugins (skills/magpie-setup, e513644) and
teaches an agent to turn a request into magpie's own commands. Listing
it in featuredSkills puts it first under Library › Market › Skills,
official, one click to add, with no setup.
What was run at this head:
- go test ./internal/library ./internal/cli: ok (library's first run
failed only with "no space left on device" while writing testlog.txt;
run again on its own: ok 193.7s)
- TestFeaturedSkills extended: magpie-setup first, quota second, both
Official/Featured with a description; "setup", "routing" and
"gateway key" find magpie-setup first, "quota" finds magpie-quota
and not setup. Red with magpie-setup taken out of the list.
- gofmt -l internal/: empty; go vet (darwin), GOOS=linux go vet -tags
nogui, GOOS=windows go vet on internal/library and internal/cli; go build
- library.InstallMarketSkill("magpie-community/plugins", "magpie-setup")
in a sandbox HOME against the pushed plugins repo: Installed
[magpie-setup], SKILL.md in library/skills/magpie-setup.
Not run: the full ./... suite (the disk had under 1GB free), the GUI
suite (no GUI asset changed; market-featured-skill.test.cjs fakes the
list).