Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:14:08 +08:00
commit f0a2cfe2f6
4 changed files with 160 additions and 0 deletions

100
commands/2-commit-fast.md Normal file
View File

@@ -0,0 +1,100 @@
---
title: 'ClaudeForge Fast Commit'
read_only: true
type: 'command'
---
# ClaudeForge Fast Commit
ClaudeForge optimized rapid commit system that generates intelligent, structured commit messages automatically without manual confirmation.
## Purpose
Accelerate development workflow with smart commit message generation while maintaining professional standards and project consistency.
## Features
- **Intelligent Analysis**: Analyzes staged changes to generate contextually appropriate commit messages
- **Structured Format**: Follows conventional commit standards with proper type, scope, and description
- **Auto-execution**: Automatically applies the best-generated commit message without user confirmation
- **Professional Standards**: Maintains ClaudeForge branding and removes AI co-authorship
- **Package Focus**: Specialized recognition of package management and dependency changes
## Execution Process
1. **Change Analysis**: Examine all staged files and modifications
2. **Context Detection**: Identify file types, directories, and change patterns
3. **Message Generation**: Create three structured commit message options
4. **Auto-selection**: Choose the highest quality message automatically
5. **Instant Commit**: Execute `git commit` with selected message
## Message Format
```
<type>(<scope>): <description>
[optional body]
[optional footer]
```
**Types**: feat, fix, docs, style, refactor, test, chore, perf, ci, build, revert
**Scopes**: Package names, directories, or functional areas
## Examples
### Feature Addition
```bash
feat(auth): add OAuth2 integration with Google provider
```
### Bug Fix
```bash
fix(api): resolve user authentication timeout issue
```
### Documentation
```bash
docs(readme): update installation instructions for v2.0
```
### Performance
```bash
perf(database): optimize query performance by 40%
```
## Smart Recognition
- **Package Updates**: Recognizes package.json, requirements.txt, Cargo.toml changes
- **Configuration**: Identifies config file modifications and environment changes
- **Dependencies**: Detects dependency additions, removals, and version updates
- **Tests**: Recognizes test file additions and modifications
- **Documentation**: Identifies README, API docs, and code documentation changes
## Benefits
- **Speed**: Eliminate manual commit message writing time
- **Consistency**: Maintain uniform commit message standards across project
- **Professional**: Generate high-quality, meaningful commit messages
- **Integration**: Seamlessly works with existing Git workflows
- **Productivity**: Focus on coding while maintaining commit quality
## Usage
```bash
# Stage your changes
git add .
# Execute fast commit
/2-commit-fast
# Your changes are committed with an intelligent message
```
## ClaudeForge Standards
All commits generated by this tool follow ClaudeForge's professional development standards and best practices for version control and project management.
---
**ClaudeForge Fast Commit** - Accelerate your development workflow without compromising on quality.