extract-skill-to-repository
Extract Skill to Repository
Move exactly one complete project skill into the sibling skills repository. Preserve the source until the destination is committed; never overwrite a target skill or expand scope without user approval.
Inputs
A. Source skill selector
A required user-supplied skill name or .agents/skills/<name>/ path, resolved from the active repository root. It must identify exactly one direct child containing SKILL.md.
B. Repository context
Required repository context: the active Git repository, its sibling ../skills Git repository, and the repository instructions, remotes, branch conventions, and validation commands that govern each. The target layout is ../skills/<name>/, without a skills/ or .agents/skills/ wrapper.
C. Scope authorizations
Optional user approval for changes beyond moving the selected directory, such as rewriting incoming references, moving a dependency skill, changing workflow behavior, or pushing commits. Without explicit approval, those changes are outside scope.