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.2 KiB
1.2 KiB
name, description, agent
| name | description | agent |
|---|---|---|
| commit | Create a git commit with auto-generated conventional commit message | git-assistant |
/commit - Smart Commit
Skills
- skills/visual-header.md
- skills/git-safety.md
- skills/commit-conventions.md
- skills/environment-variables.md
Purpose
Create a git commit with an auto-generated conventional commit message based on staged changes.
Parameters
| Parameter | Description |
|---|---|
--message, -m |
Override auto-generated message |
--all, -a |
Stage all changes before commit |
Workflow
- Display header - Show GIT-FLOW Smart Commit header
- Check protected branch - Warn if on protected branch (per git-safety.md)
- Analyze changes - Run
git statusandgit diff --staged - Handle unstaged - Prompt to stage if nothing staged
- Generate message - Create conventional commit message (per commit-conventions.md)
- Confirm or edit - Present message with options to use, edit, regenerate, or cancel
- Execute commit - Run
git commitwith message and co-author footer
Output
Committed: abc1234
feat(auth): add password reset functionality
Files: 3 changed, 45 insertions(+), 12 deletions(-)