skill sync: add ar skill sync subcommand with --tool choice and github-copilot/cursor/qoder support#10
skill sync: add ar skill sync subcommand with --tool choice and github-copilot/cursor/qoder support#10Copilot wants to merge 5 commits into
Conversation
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: OhYee <13498329+OhYee@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: OhYee <13498329+OhYee@users.noreply.github.com>
…t/cursor/qoder Signed-off-by: GitHub <noreply@github.com> Co-authored-by: OhYee <13498329+OhYee@users.noreply.github.com>
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: OhYee <13498329+OhYee@users.noreply.github.com>
Suggestion: Move
|
@copilot 改一下 |
Signed-off-by: GitHub <noreply@github.com> Co-authored-by: OhYee <13498329+OhYee@users.noreply.github.com>
Done in commit 6459e9b. |
Introduces
ar skill syncas a new subcommand of the existingskillgroup, replacing the previously proposed top-levelar sync-skillscommand. The command bulk-syncs platform Skills to a local AI tool directory with change-detection and optional cleanup.Changes
ar skill sync— registered under theskillgroup (not top-level), consistent with the noun-verb CLI model.ar skill --helpnow listssyncalongsidecreate,list,get,download,delete,scan,load,read-file,exec--tool <choice>option — single required option replacing the old--claude-code/--codexboolean flags; ClickChoicevalidation lists all valid values in--helpautomaticallyFive supported tools with conventional directory layouts:
--toolclaude-code~/.claude/skills.claude/skillscodex~/.codex/skills.codex/skillsgithub-copilot~/.github/copilot/skills.github/copilot/skillscursor~/.cursor/skills.cursor/skillsqoder~/.qoder/skills.qoder/skills_TOOL_ROOTSdict replaces the if/elif chain in_resolve_target_dir; adding a tool is now one lineTests: 14 tests covering all 5 tools, both scopes, workspace filter, update-skip, delete-unmanaged, and error paths; integration tests invoke via
["skill", "sync", ...]Docs:
syncsection added todocs/en/skill.mdanddocs/zh/skill.md; standalonesync-skills.mdpages removed;skillrow in README/index tables updated to mention sync# usage ar skill sync --tool claude-code --user --workspace abc --workspace def ar skill sync --tool cursor --project -y ar skill sync --tool github-copilot --user --delete-unmanaged ar skill sync --tool qoder --project --workspace my-workspace