Repository navigation
feat(skill): add codex target subcommand for skill install - #90
Merged
Merged
Conversation
This change introduces subcommand-style targets for the `skill` command, allowing users to pick an installation destination via `jevwise skill codex`, `claude`, or `agent` rather than relying solely on target flags. **New Codex target support:** * Added a new `codex` target that installs under `.agents/skills`, matching the official Codex project skill location, distinct from the legacy singular `.agent/skills` used by the generic `agent` target. * Registered `codex`, `claude`, and `agent` as subcommands that share the parent's args and run logic, with target flags moved to persistent flags so they apply across subcommands. * Extended the install validation to accept `.agents` alongside `.agent` and `.claude`. **Backward compatibility and guards:** * Kept legacy `--agent`/`--claude` flags working but hidden from help, and rejected combining them with target subcommands. * Made online mode reject target subcommands in addition to the existing target and force flags. **Docs and tests:** * Updated usage docs to document the new subcommands and the separate `.agents` vs `.agent` directories. * Added tests covering the new targets, force combinations, and invalid flag/subcommand pairings.
benbenbang
enabled auto-merge (squash)
October 14, 2026 02:52
|
🎉 This PR is included in version 1.6.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
This change introduces subcommand-style targets for the
skillcommand, allowing users to pick an installation destination viajevwise skill codex,claude, oragentrather than relying solely on target flags.New Codex target support:
codextarget that installs under.agents/skills, matching the official Codex project skill location, distinct from the legacy singular.agent/skillsused by the genericagenttarget.codex,claude, andagentas subcommands that share the parent's args and run logic, with target flags moved to persistent flags so they apply across subcommands..agentsalongside.agentand.claude.Backward compatibility and guards:
--agent/--claudeflags working but hidden from help, and rejected combining them with target subcommands.Docs and tests:
.agentsvs.agentdirectories.