Refactored commands to extract reusable skills following the Commands → Skills separation pattern. Each command is now <50 lines and references skill files for detailed knowledge. Plugins refactored: - claude-config-maintainer: 5 commands → 7 skills - code-sentinel: 3 commands → 2 skills - contract-validator: 5 commands → 6 skills - data-platform: 10 commands → 6 skills - doc-guardian: 5 commands → 6 skills (replaced nested dir) - git-flow: 8 commands → 7 skills Skills contain: workflows, validation rules, conventions, reference data, tool documentation Commands now contain: YAML frontmatter, agent assignment, skills list, brief workflow steps, parameters Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
name, description, agent
| name | description | agent |
|---|---|---|
| commit-merge | Commit current changes and merge branch into target | git-assistant |
/commit-merge - Commit and Merge
Skills
- skills/visual-header.md
- skills/commit-conventions.md
- skills/merge-workflow.md
- skills/git-safety.md
- skills/environment-variables.md
Purpose
Commit current changes, then merge the current branch into a target branch.
Parameters
| Parameter | Description |
|---|---|
--target |
Target branch (default: GIT_DEFAULT_BASE) |
--squash |
Squash commits on merge |
--no-delete |
Keep branch after merge |
Workflow
- Display header - Show GIT-FLOW Commit & Merge header
- Run /commit - Execute standard commit workflow
- Identify target - Prompt for target branch if not specified
- Select strategy - Merge commit, squash, or rebase (per merge-workflow.md)
- Execute merge - Switch to target, pull, merge, push
- Handle conflicts - Guide resolution if needed
- Cleanup - Offer to delete merged branch (per git-safety.md)
- Report - Show merge summary
Output
Committed: abc1234
feat(auth): add password reset functionality
Merged feat/password-reset -> development
Deleted branch: feat/password-reset
development is now at: def5678