🔧 Add Pre-commit Integration to /git Command (#46)

feat: add pre-commit integration to /git command

- Add --pre-commit flag with setup and management capabilities
- Create pre-commit-patterns.yml with Python (uv) and Node (npm) support
- Include hooks for linting, formatting, and security scanning
- Add usage examples to command documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
luciano
2025-07-02 11:36:54 -04:00
committed by GitHub
parent 94ab5700dc
commit d3b2c2a029
4 changed files with 43 additions and 0 deletions

View File

@@ -352,11 +352,14 @@ Professional Git operations with safety features.
- `--checkpoint` - Create checkpoint
- `--merge` - Smart merge
- `--history` - History analysis
- `--pre-commit` - Setup and run pre-commit hooks
**Examples:**
```bash
/git --checkpoint "before refactor" # Safety checkpoint
/git --commit --validate --test # Safe commit
/git --pre-commit # Setup pre-commit hooks
/git --commit --pre-commit # Commit with validation
```
### 🎨 Design & Architecture Commands (1)