Repository navigation
feat(cli): add zcode agent profile - #917
Conversation
Add a first-class zcode profile so skills can be installed into ZCode's skills directories with --agent zcode: - project-level: <project>/.zcode/skills/ - user-level: ~/.zcode/skills/ The profile follows the existing makeProfile pattern with automatic detection of both scopes, and is covered by unit tests. Docs tables and the CLI changelog are updated accordingly. Signed-off-by: twodogegg <971270272@qq.com>
cea5f44 to
7e86caf
Compare
|
Thanks for adding the ZCode profile — the change follows the existing Two process items before we can merge:
Could you also link ZCode's documentation for the skills directory locations (especially the user-level |
|
@FenjuFu Thanks for the review! Here are the official ZCode documentation references:
The current head commit, The Security, PR CLI, and PR Tests workflows currently show |
FenjuFu
left a comment
There was a problem hiding this comment.
Thanks for the links. ~/.zcode/skills/<skill-name>/SKILL.md is confirmed in ZCode's docs. I've approved the CI runs and they all pass; the change follows the existing makeProfile pattern and keeps both doc tables and the CHANGELOG in sync. LGTM.
Summary
zcodeagent profile (display name ZCode) so Skills can be installed with--agent zcode:<project>/.zcode/skills/~/.zcode/skills/makeProfilepattern with automatic detection of both scopes, and registers the profile inallProfiles/profileMap.cli/README.mdanddocs/skillhub/{,en/}guide/cli.md, adds acli/CHANGELOG.mdentry, and extendstest/unit/agents/profiles.test.tsfor the new profile.Validation
bun test: 561 pass, 0 fail)bun run typecheck,bun run build)--agent zcodeto~/.zcode/skillsand detects an existing installation there)Commands run:
Risk
--agent zcodechoice and auto-detection of.zcode/skillsdirectories; no change to existing agents or default behavior.Notes
cli/README.md,docs/skillhub/guide/cli.md,docs/skillhub/en/guide/cli.md,cli/CHANGELOG.md)